E CVS: apps/e raster
Enlightenment CVS committal Author : raster Project : e17 Module : apps/e Dir : e17/apps/e/src/modules/exebuf Modified Files: e_exebuf.c Log Message: winlist -> module! === RCS file: /cvs/e/e17/apps/e/src/modules/exebuf/e_exebuf.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- e_exebuf.c 1 Aug 2007 12:37:01 - 1.1 +++ e_exebuf.c 5 Aug 2007 04:41:55 - 1.2 @@ -148,7 +148,6 @@ E_OBJECT_CHECK_RETURN(zone, 0); E_OBJECT_TYPE_CHECK_RETURN(zone, E_ZONE_TYPE, 0); - if (e_winlist_active_get()) return 0; if (exebuf) return 0; input_window = ecore_x_window_input_new(zone->container->win, zone->x, - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/e raster
Enlightenment CVS committal Author : raster Project : e17 Module : apps/e Dir : e17/apps/e/src/modules Modified Files: Makefile.am Log Message: winlist -> module! === RCS file: /cvs/e/e17/apps/e/src/modules/Makefile.am,v retrieving revision 1.36 retrieving revision 1.37 diff -u -3 -r1.36 -r1.37 --- Makefile.am 3 Aug 2007 22:44:21 - 1.36 +++ Makefile.am 5 Aug 2007 04:41:55 - 1.37 @@ -11,6 +11,7 @@ start \ layout \ exebuf \ +winlist \ conf_wallpaper \ conf_theme \ conf_colors \ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/e raster
Enlightenment CVS committal Author : raster Project : e17 Module : apps/e Dir : e17/apps/e/po Modified Files: POTFILES.in Log Message: winlist -> module! === RCS file: /cvs/e/e17/apps/e/po/POTFILES.in,v retrieving revision 1.29 retrieving revision 1.30 diff -u -3 -r1.29 -r1.30 --- POTFILES.in 3 Aug 2007 11:33:00 - 1.29 +++ POTFILES.in 5 Aug 2007 04:41:54 - 1.30 @@ -126,7 +126,6 @@ src/bin/e_widget_textblock.c src/bin/e_widget_tlist.c src/bin/e_win.c -src/bin/e_winlist.c src/bin/e_xinerama.c src/bin/e_zone.c src/modules/battery/e_mod_config.c @@ -211,6 +210,8 @@ src/modules/dropshadow/e_mod_main.c src/modules/exebuf/e_mod_main.c src/modules/exebuf/e_exebuf.c +src/modules/winlist/e_mod_main.c +src/modules/winlist/e_winlist.c src/modules/ibar/e_mod_config.c src/modules/ibar/e_mod_main.c src/modules/ibox/e_mod_config.c - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/e raster
Enlightenment CVS committal Author : raster Project : e17 Module : apps/e Dir : e17/apps/e/src/bin Modified Files: Makefile.am e_actions.c e_border.c e_border.h e_config.c e_includes.h e_main.c Removed Files: e_winlist.c e_winlist.h Log Message: winlist -> module! === RCS file: /cvs/e/e17/apps/e/src/bin/Makefile.am,v retrieving revision 1.198 retrieving revision 1.199 diff -u -3 -r1.198 -r1.199 --- Makefile.am 1 Aug 2007 12:37:00 - 1.198 +++ Makefile.am 5 Aug 2007 04:41:55 - 1.199 @@ -72,7 +72,6 @@ e_prefix.h \ e_datastore.h \ e_msg.h \ -e_winlist.h \ e_alert.h \ e_maximize.h \ e_grabinput.h \ @@ -199,7 +198,6 @@ e_prefix.c \ e_datastore.c \ e_msg.c \ -e_winlist.c \ e_alert.c \ e_maximize.c \ e_grabinput.c \ === RCS file: /cvs/e/e17/apps/e/src/bin/e_actions.c,v retrieving revision 1.104 retrieving revision 1.105 diff -u -3 -r1.104 -r1.105 --- e_actions.c 1 Aug 2007 12:37:00 - 1.104 +++ e_actions.c 5 Aug 2007 04:41:55 - 1.105 @@ -1441,100 +1441,6 @@ } /***/ -ACT_FN_GO(winlist) -{ - E_Zone *zone; - - zone = _e_actions_zone_get(obj); - if (zone) - { - if (params) - { -if (!strcmp(params, "next")) - { - if (!e_winlist_show(zone)) - e_winlist_next(); - } -else if (!strcmp(params, "prev")) - { - if (!e_winlist_show(zone)) - e_winlist_prev(); - } - } - else - { -if (!e_winlist_show(zone)) - e_winlist_next(); - } - } -} -ACT_FN_GO_MOUSE(winlist) -{ - E_Zone *zone; - - zone = _e_actions_zone_get(obj); - if (zone) - { - if (params) - { -if (!strcmp(params, "next")) - { - if (e_winlist_show(zone)) - e_winlist_modifiers_set(ev->modifiers); - else - e_winlist_next(); - } -else if (!strcmp(params, "prev")) - { - if (e_winlist_show(zone)) - e_winlist_modifiers_set(ev->modifiers); - else - e_winlist_prev(); - } - } - else - { -if (e_winlist_show(zone)) - e_winlist_modifiers_set(ev->modifiers); -else - e_winlist_next(); - } - } -} -ACT_FN_GO_KEY(winlist) -{ - E_Zone *zone; - - zone = _e_actions_zone_get(obj); - if (zone) - { - if (params) - { -if (!strcmp(params, "next")) - { - if (e_winlist_show(zone)) - e_winlist_modifiers_set(ev->modifiers); - else - e_winlist_next(); - } -else if (!strcmp(params, "prev")) - { - if (e_winlist_show(zone)) - e_winlist_modifiers_set(ev->modifiers); - else - e_winlist_prev(); - } - } - else - { -if (e_winlist_show(zone)) - e_winlist_modifiers_set(ev->modifiers); -else - e_winlist_next(); - } - } -} - ACT_FN_GO(desk_deskshow_toggle) { E_Zone *zone; @@ -2248,15 +2154,6 @@ ACT_GO(app); e_action_predef_name_set(_("Launch"), _("Application"), "app", NULL, "syntax: , example:", 1); - - /* winlist */ - ACT_GO(winlist); - e_action_predef_name_set(_("Window : List"), _("Next Window"), "winlist", - "next", NULL, 0); - e_action_predef_name_set(_("Window : List"), _("Previous Window"), - "winlist", "prev", NULL, 0); - ACT_GO_MOUSE(winlist); - ACT_GO_KEY(winlist); ACT_GO(restart); e_action_predef_name_set(_("Enlightenment"), _("Restart"), "restart", === RCS file: /cvs/e/e17/apps/e/src/bin/e_border.c,v retrieving revision 1.599 retrieving revision 1.600 diff -u -3 -r1.599 -r1.600 --- e_border.c 26 Jul 2007 12:38:18 - 1.599 +++ e_border.c 5 Aug 2007 04:41:55 - 1.600 @@ -118,6 +118,8 @@ static Ecore_X_Screen_Size screen_size = { -1, -1 }; +static int focus_track_frozen = 0; + EAPI int E_EVENT_BORDER_ADD = 0; EAPI int E_EVENT_BORDER_REMOVE = 0; EAPI int E_EVENT_BORDER_ZONE_SET = 0; @@ -1324,7 +1326,7 @@ } if (bd->visible) { -if (!e_winlist_active_get()) +if (focus_track_frozen > 0) e_border_focus_latest_set(bd); } // printf("EMIT 0x%x activeve\n", bd->client.wi
E CVS: apps/e raster
Enlightenment CVS committal Author : raster Project : e17 Module : apps/e Dir : e17/apps/e Modified Files: configure.in Log Message: winlist -> module! === RCS file: /cvs/e/e17/apps/e/configure.in,v retrieving revision 1.180 retrieving revision 1.181 diff -u -3 -r1.180 -r1.181 --- configure.in3 Aug 2007 22:44:21 - 1.180 +++ configure.in5 Aug 2007 04:41:54 - 1.181 @@ -256,6 +256,8 @@ src/modules/layout/module.desktop src/modules/exebuf/Makefile src/modules/exebuf/module.desktop +src/modules/winlist/Makefile +src/modules/winlist/module.desktop src/modules/conf_wallpaper/Makefile src/modules/conf_wallpaper/module.desktop src/modules/conf_theme/Makefile - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/e raster
Enlightenment CVS committal Author : raster Project : e17 Module : apps/e Dir : e17/apps/e/src/modules/winlist Added Files: Makefile.am e-module-winlist.edj e_mod_main.c e_mod_main.h e_winlist.c e_winlist.h module.desktop.in Log Message: winlist -> module! - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/e raster
Enlightenment CVS committal Author : raster Project : e17 Module : apps/e Dir : e17/apps/e/src/modules/winlist Log Message: Directory /cvs/e/e17/apps/e/src/modules/winlist added to the repository - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/e raster
Enlightenment CVS committal Author : raster Project : e17 Module : apps/e Dir : e17/apps/e/src/bin Modified Files: e_flowlayout.c Log Message: oops - missed version member === RCS file: /cvs/e/e17/apps/e/src/bin/e_flowlayout.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- e_flowlayout.c 4 Aug 2007 13:12:41 - 1.5 +++ e_flowlayout.c 5 Aug 2007 03:13:23 - 1.6 @@ -826,6 +826,7 @@ static const Evas_Smart_Class sc = { "e_flowlayout", + EVAS_SMART_CLASS_VERSION, _e_flowlayout_smart_add, _e_flowlayout_smart_del, _e_flowlayout_smart_move, - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: davemds davemds
Enlightenment CVS committal Author : davemds Project : devs Module : davemds Dir : devs/davemds Modified Files: info.txt Log Message: Retest after-commit script...sorry for bugging you ;) === RCS file: /cvs/e/devs/davemds/info.txt,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- info.txt5 Aug 2007 01:50:20 - 1.5 +++ info.txt5 Aug 2007 02:32:32 - 1.6 @@ -6,5 +6,5 @@ WWW: http://www.gurumeditation.it/ Managing: edje_editor Contributing: Engrave, Etk -Platform: linux +Platform: Linux GeoData: 45.4447 9.159 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: CVSROOT davemds
Enlightenment CVS committal Author : davemds Module : CVSROOT Dir : CVSROOT Modified Files: commit.pl Log Message: actually $modulename contain the first dir in module. Not the module name === RCS file: /cvs/e/CVSROOT/commit.pl,v retrieving revision 1.28 retrieving revision 1.29 diff -u -3 -r1.28 -r1.29 --- commit.pl 4 Aug 2007 21:47:52 - 1.28 +++ commit.pl 5 Aug 2007 02:23:54 - 1.29 @@ -119,7 +119,7 @@ system("wget http://web.enlightenment.org/u.php -O /dev/null >& /dev/null"); } # also flag www if devs updates -if ($modulename eq "devs") { +if ($basename eq "devs") { print("--- FLAGGING UPDATE OF WWW/DEVS ---\n"); system("wget http://web.enlightenment.org/u.php -O /dev/null >& /dev/null"); } - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: davemds davemds
Enlightenment CVS committal Author : davemds Project : devs Module : davemds Dir : devs/davemds Modified Files: info.txt Log Message: Minor info change and test the after-commit script === RCS file: /cvs/e/devs/davemds/info.txt,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- info.txt24 Jul 2007 01:12:36 - 1.4 +++ info.txt5 Aug 2007 01:50:20 - 1.5 @@ -1,10 +1,10 @@ Login:davemds IRC Nick: davemds Name: Davide Andreoli -Location: Malaga, Milano, Italy +Location: Milano, Italy E-Mail: [EMAIL PROTECTED] WWW: http://www.gurumeditation.it/ Managing: edje_editor -Contributing: Engrave,Etk +Contributing: Engrave, Etk Platform: linux GeoData: 45.4447 9.159 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: proto chaos
Enlightenment CVS committal Author : chaos Project : e17 Module : proto Dir : e17/proto/entropy/src/dialogs Modified Files: etk_options_dialog.c Log Message: * API updates === RCS file: /cvs/e/e17/proto/entropy/src/dialogs/etk_options_dialog.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -3 -r1.17 -r1.18 --- etk_options_dialog.c25 Jul 2007 17:01:03 - 1.17 +++ etk_options_dialog.c5 Aug 2007 01:10:49 - 1.18 @@ -237,9 +237,9 @@ etk_box_append(ETK_BOX(hbox), slider, ETK_BOX_START, ETK_BOX_EXPAND_FILL, 0); label = etk_label_new(""); etk_box_append(ETK_BOX(hbox), label, ETK_BOX_START, ETK_BOX_NONE, 0); - etk_signal_connect("value_changed", ETK_OBJECT(slider), ETK_CALLBACK(etk_options_dialog_slider_cb), + etk_signal_connect("value-changed", ETK_OBJECT(slider), ETK_CALLBACK(etk_options_dialog_slider_cb), label); - etk_signal_connect("value_changed", ETK_OBJECT(slider), ETK_CALLBACK(entropy_etk_options_slider_generic_cb), + etk_signal_connect("value-changed", ETK_OBJECT(slider), ETK_CALLBACK(entropy_etk_options_slider_generic_cb), "general.iconsize"); - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: proto chaos
Enlightenment CVS committal Author : chaos Project : e17 Module : proto Dir : e17/proto/entropy/src/plugins Modified Files: etk_icon_viewer.c Log Message: * Bring available key actions for iconviewer into line with other plugins === RCS file: /cvs/e/e17/proto/entropy/src/plugins/etk_icon_viewer.c,v retrieving revision 1.27 retrieving revision 1.28 diff -u -3 -r1.27 -r1.28 --- etk_icon_viewer.c 4 Aug 2007 13:46:26 - 1.27 +++ etk_icon_viewer.c 5 Aug 2007 01:00:48 - 1.28 @@ -8,6 +8,7 @@ #include "etk_directory_add_dialog.h" #include "etk_properties_dialog.h" #include "entropy_etk_context_menu.h" +#include "etk_user_interaction_dialog.h" #define EN_DND_COL_NUM 5 @@ -244,6 +245,39 @@ return 0; } +/* Called when the user presses a key */ +static void _etk_entropy_iconviewer_key_down_cb(Etk_Object *object, void *event, void *data) +{ + Etk_Event_Key_Down *key_event = event; + Etk_Iconbox* iconbox = ETK_ICONBOX(object); + + if (!strcmp(key_event->key, "Delete")) { + Etk_Iconbox_Icon* icon; + entropy_generic_file* file; + + printf("Delete pressed!\n"); + + for (icon = iconbox->first_icon; icon ; icon = icon->next ) { + if (etk_iconbox_is_selected(icon)) { + file = etk_iconbox_icon_data_get(icon); + + if (file) { + printf("Deleting '%s'...\n", file->filename); + + if (key_event->modifiers & ETK_MODIFIER_SHIFT) { + entropy_plugin_filesystem_file_remove(file, (entropy_gui_component_instance*)data); + } else { + entropy_etk_delete_dialog_new(file, (entropy_gui_component_instance*)data); + } + } + } + } + + } + +} + + void _entropy_etk_icon_viewer_move_cb(Etk_Object *object, void *event_info, void *data) { @@ -652,6 +686,8 @@ etk_signal_connect("mouse-down", ETK_OBJECT(viewer->iconbox), ETK_CALLBACK(_entropy_etk_icon_viewer_click_cb), instance); etk_signal_connect("mouse-move", ETK_OBJECT(viewer->iconbox), ETK_CALLBACK(_entropy_etk_icon_viewer_move_cb), instance); + etk_signal_connect("key-down", ETK_OBJECT(viewer->iconbox), + ETK_CALLBACK(_etk_entropy_iconviewer_key_down_cb), instance); /*DND Setup*/ /* dnd_types_num = 1; - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: CVSROOT raster
Enlightenment CVS committal Author : raster Module : CVSROOT Dir : CVSROOT Modified Files: commit.pl Log Message: also on devs commits - update www === RCS file: /cvs/e/CVSROOT/commit.pl,v retrieving revision 1.27 retrieving revision 1.28 diff -u -3 -r1.27 -r1.28 --- commit.pl 25 Mar 2007 04:15:58 - 1.27 +++ commit.pl 4 Aug 2007 21:47:52 - 1.28 @@ -118,3 +118,8 @@ print("--- FLAGGING UPDATE OF WWW ---\n"); system("wget http://web.enlightenment.org/u.php -O /dev/null >& /dev/null"); } +# also flag www if devs updates +if ($modulename eq "devs") { +print("--- FLAGGING UPDATE OF WWW/DEVS ---\n"); +system("wget http://web.enlightenment.org/u.php -O /dev/null >& /dev/null"); +} - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: proto davemds
Enlightenment CVS committal Author : davemds Project : e17 Module : proto Dir : e17/proto/edje_editor/src/bin Modified Files: inout.c Log Message: Include the new file === RCS file: /cvs/e/e17/proto/edje_editor/src/bin/inout.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- inout.c 4 Aug 2007 21:22:21 - 1.1 +++ inout.c 4 Aug 2007 21:33:30 - 1.2 @@ -3,5 +3,5 @@ #include #include "main.h" #include "interface.h" -#include "parse.h" +#include "inout.h" - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: proto davemds
Enlightenment CVS committal Author : davemds Project : e17 Module : proto Dir : e17/proto/edje_editor/src/bin Modified Files: Makefile.am Added Files: inout.c inout.h Removed Files: parse.c parse.h Log Message: Remove unused files and add new ones === RCS file: /cvs/e/e17/proto/edje_editor/src/bin/Makefile.am,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- Makefile.am 8 Jan 2007 20:01:52 - 1.2 +++ Makefile.am 4 Aug 2007 21:22:21 - 1.3 @@ -18,14 +18,14 @@ evas.h \ interface.h \ main.h \ -parse.h +inout.h edje_editor_SOURCES = \ callbacks.c \ evas.c \ interface.c \ main.c \ -parse.c \ +inout.c \ $(edje_editor_INCLUDES) edje_editor_LDADD = @ECORE_LIBS@ @ETK_LIBS@ @EVAS_LIBS@ @ENGRAVE_LIBS@ @EDJE_LIBS@ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: caro pfritz
Enlightenment CVS committal Author : pfritz Project : devs Module : caro Dir : devs/caro Added Files: id_dsa3.pub Log Message: a key for caro - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: proto lok
Enlightenment CVS committal Author : lok Project : e17 Module : proto Dir : e17/proto/edvi/src/lib Modified Files: esmart_dvi.c Log Message: use evas_smart_class_new() === RCS file: /cvs/e/e17/proto/edvi/src/lib/esmart_dvi.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- esmart_dvi.c22 Feb 2007 17:26:50 - 1.2 +++ esmart_dvi.c4 Aug 2007 15:18:38 - 1.3 @@ -42,11 +42,6 @@ static void _smart_init (void); static void _smart_add (Evas_Object *obj); static void _smart_del (Evas_Object *obj); -static void _smart_layer_set (Evas_Object *obj, int layer); -static void _smart_raise (Evas_Object *obj); -static void _smart_lower (Evas_Object *obj); -static void _smart_stack_above (Evas_Object *obj, Evas_Object *above); -static void _smart_stack_below (Evas_Object *obj, Evas_Object *below); static void _smart_move (Evas_Object *obj, Evas_Coord x, Evas_Coord y); static void _smart_resize (Evas_Object *obj, Evas_Coord w, Evas_Coord h); static void _smart_show (Evas_Object *obj); @@ -432,22 +427,22 @@ _smart_init (void) { if (smart) return; - smart = evas_smart_new (E_OBJ_NAME, - _smart_add, - _smart_del, - _smart_layer_set, - _smart_raise, - _smart_lower, - _smart_stack_above, - _smart_stack_below, - _smart_move, - _smart_resize, - _smart_show, - _smart_hide, - _smart_color_set, - _smart_clip_set, - _smart_clip_unset, - NULL); + static const Evas_Smart_Class sc = +{ + E_OBJ_NAME, + EVAS_SMART_CLASS_VERSION, + _smart_add, + _smart_del, + _smart_move, + _smart_resize, + _smart_show, + _smart_hide, + _smart_color_set, + _smart_clip_set, + _smart_clip_unset, + NULL +}; + smart = evas_smart_class_new(&sc); } static void @@ -485,61 +480,6 @@ edvi_page_delete (sp->dvi_page); free (sp); -} - -static void -_smart_layer_set (Evas_Object *obj, int layer) -{ - Smart_Dvi *sp; - - sp = evas_object_smart_data_get (obj); - if (!sp) return; - - evas_object_layer_set (sp->obj, layer); -} - -static void -_smart_raise (Evas_Object *obj) -{ - Smart_Dvi *sp; - - sp = evas_object_smart_data_get (obj); - if (!sp) return; - - evas_object_raise (sp->obj); -} - -static void -_smart_lower (Evas_Object *obj) -{ - Smart_Dvi *sp; - - sp = evas_object_smart_data_get (obj); - if (!sp) return; - - evas_object_lower (sp->obj); -} - -static void -_smart_stack_above (Evas_Object *obj, Evas_Object *above) -{ - Smart_Dvi *sp; - - sp = evas_object_smart_data_get (obj); - if (!sp) return; - - evas_object_stack_above (sp->obj, above); -} - -static void -_smart_stack_below (Evas_Object *obj, Evas_Object *below) -{ - Smart_Dvi *sp; - - sp = evas_object_smart_data_get (obj); - if (!sp) return; - - evas_object_stack_below (sp->obj, below); } static void - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: proto lok
Enlightenment CVS committal Author : lok Project : e17 Module : proto Dir : e17/proto/epdf/src/lib Modified Files: esmart_pdf.c Log Message: use evas_smart_class_new() === RCS file: /cvs/e/e17/proto/epdf/src/lib/esmart_pdf.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- esmart_pdf.c3 Jun 2006 10:11:38 - 1.5 +++ esmart_pdf.c4 Aug 2007 15:18:17 - 1.6 @@ -42,11 +42,6 @@ static void _smart_init (void); static void _smart_add (Evas_Object *obj); static void _smart_del (Evas_Object *obj); -static void _smart_layer_set (Evas_Object *obj, int layer); -static void _smart_raise (Evas_Object *obj); -static void _smart_lower (Evas_Object *obj); -static void _smart_stack_above (Evas_Object *obj, Evas_Object *above); -static void _smart_stack_below (Evas_Object *obj, Evas_Object *below); static void _smart_move (Evas_Object *obj, Evas_Coord x, Evas_Coord y); static void _smart_resize (Evas_Object *obj, Evas_Coord w, Evas_Coord h); static void _smart_show (Evas_Object *obj); @@ -453,22 +448,22 @@ _smart_init (void) { if (smart) return; - smart = evas_smart_new (E_OBJ_NAME, - _smart_add, - _smart_del, - _smart_layer_set, - _smart_raise, - _smart_lower, - _smart_stack_above, - _smart_stack_below, - _smart_move, - _smart_resize, - _smart_show, - _smart_hide, - _smart_color_set, - _smart_clip_set, - _smart_clip_unset, - NULL); + static const Evas_Smart_Class sc = +{ + E_OBJ_NAME, + EVAS_SMART_CLASS_VERSION, + _smart_add, + _smart_del, + _smart_move, + _smart_resize, + _smart_show, + _smart_hide, + _smart_color_set, + _smart_clip_set, + _smart_clip_unset, + NULL +}; + smart = evas_smart_class_new(&sc); } static void @@ -508,61 +503,6 @@ epdf_index_delete (sp->pdf_index); free (sp); -} - -static void -_smart_layer_set (Evas_Object *obj, int layer) -{ - Smart_Pdf *sp; - - sp = evas_object_smart_data_get (obj); - if (!sp) return; - - evas_object_layer_set (sp->obj, layer); -} - -static void -_smart_raise (Evas_Object *obj) -{ - Smart_Pdf *sp; - - sp = evas_object_smart_data_get (obj); - if (!sp) return; - - evas_object_raise (sp->obj); -} - -static void -_smart_lower (Evas_Object *obj) -{ - Smart_Pdf *sp; - - sp = evas_object_smart_data_get (obj); - if (!sp) return; - - evas_object_lower (sp->obj); -} - -static void -_smart_stack_above (Evas_Object *obj, Evas_Object *above) -{ - Smart_Pdf *sp; - - sp = evas_object_smart_data_get (obj); - if (!sp) return; - - evas_object_stack_above (sp->obj, above); -} - -static void -_smart_stack_below (Evas_Object *obj, Evas_Object *below) -{ - Smart_Pdf *sp; - - sp = evas_object_smart_data_get (obj); - if (!sp) return; - - evas_object_stack_below (sp->obj, below); } static void - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/esmart pfritz
Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/esmart Dir : e17/libs/esmart/src/lib/esmart_container Modified Files: esmart_container_smart.c Log Message: use evas_smart_class_new() === RCS file: /cvs/e/e17/libs/esmart/src/lib/esmart_container/esmart_container_smart.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- esmart_container_smart.c20 Dec 2005 05:51:55 - 1.5 +++ esmart_container_smart.c4 Aug 2007 14:50:40 - 1.6 @@ -1,3 +1,6 @@ +/* + * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 + */ #include "Esmart_Container.h" #include "esmart_container_private.h" @@ -48,28 +51,26 @@ Evas_Smart * _container_smart_get() { - if (smart) return smart; + if (!smart) + { + static const Evas_Smart_Class sc = + { +"container", +EVAS_SMART_CLASS_VERSION, +_container_add, +_container_del, +_container_move, +_container_resize, +_container_show, +_container_hide, +_container_color_set, +_container_clip_set, +_container_clip_unset, +NULL + }; - smart = evas_smart_new ("container", - _container_add, - _container_del, - NULL, NULL, NULL, NULL, NULL, - /* - _container_layer_set, - _container_raise, - _container_lower, - _container_stack_above, - _container_stack_below, - */ - _container_move, - _container_resize, - _container_show, - _container_hide, - _container_color_set, - _container_clip_set, - _container_clip_unset, - NULL - ); + smart = evas_smart_class_new(&sc); + } return smart; } - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/esmart pfritz
Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/esmart Dir : e17/libs/esmart/src/lib/esmart_draggies Modified Files: esmart_draggies.c Log Message: use evas_smart_class_new() === RCS file: /cvs/e/e17/libs/esmart/src/lib/esmart_draggies/esmart_draggies.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- esmart_draggies.c 6 Sep 2006 07:17:48 - 1.4 +++ esmart_draggies.c 4 Aug 2007 14:50:40 - 1.5 @@ -1,3 +1,6 @@ +/* + * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 + */ /** * draggies.c : a rectangle to add to your borderless/shaped ecore_evas app * that will handle moving the ecore evas, as if it were a border. @@ -113,22 +116,22 @@ return (NULL); if ((result = esmart_dragable_object_new (ecore_evas_get (ee { - if ((data = evas_object_smart_data_get (result))) - { - data->ee = ee; - o = evas_object_rectangle_add (ecore_evas_get (ee)); - evas_object_color_set (o, 255, 255, 255, 0); - evas_object_repeat_events_set (o, 1); - evas_object_event_callback_add (o, EVAS_CALLBACK_MOUSE_DOWN, - _mouse_down_cb, data); - evas_object_event_callback_add (o, EVAS_CALLBACK_MOUSE_UP, - _mouse_up_cb, data); - evas_object_event_callback_add (o, EVAS_CALLBACK_MOUSE_MOVE, - _mouse_move_cb, data); - data->obj = o; + if ((data = evas_object_smart_data_get (result))) +{ + data->ee = ee; + o = evas_object_rectangle_add (ecore_evas_get (ee)); + evas_object_color_set (o, 255, 255, 255, 0); + evas_object_repeat_events_set (o, 1); + evas_object_event_callback_add (o, EVAS_CALLBACK_MOUSE_DOWN, + _mouse_down_cb, data); + evas_object_event_callback_add (o, EVAS_CALLBACK_MOUSE_UP, + _mouse_up_cb, data); + evas_object_event_callback_add (o, EVAS_CALLBACK_MOUSE_MOVE, + _mouse_move_cb, data); + data->obj = o; -evas_object_smart_member_add(o, result); - } + evas_object_smart_member_add(o, result); +} } return (result); } @@ -177,20 +180,26 @@ { static Evas_Smart *smart = NULL; - if (smart) - return smart; - - smart = evas_smart_new ("esmart_dragable_object", - _esmart_dragable_object_add, - _esmart_dragable_object_del, -NULL, NULL, NULL, NULL, NULL, - _esmart_dragable_object_move, - _esmart_dragable_object_resize, - _esmart_dragable_object_show, - _esmart_dragable_object_hide, - _esmart_dragable_object_color_set, - _esmart_dragable_object_clip_set, - _esmart_dragable_object_clip_unset, NULL); + if (!smart) +{ + static const Evas_Smart_Class sc = +{ + "esmart_dragable_object", + EVAS_SMART_CLASS_VERSION, + _esmart_dragable_object_add, + _esmart_dragable_object_del, + _esmart_dragable_object_move, + _esmart_dragable_object_resize, + _esmart_dragable_object_show, + _esmart_dragable_object_hide, + _esmart_dragable_object_color_set, + _esmart_dragable_object_clip_set, + _esmart_dragable_object_clip_unset, + NULL +}; + + smart = evas_smart_class_new(&sc); +} return smart; } - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/esmart pfritz
Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/esmart Dir : e17/libs/esmart/src/lib/esmart_resize Modified Files: esmart_resize.c Log Message: use evas_smart_class_new() === RCS file: /cvs/e/e17/libs/esmart/src/lib/esmart_resize/esmart_resize.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- esmart_resize.c 26 Jun 2007 20:01:39 - 1.1 +++ esmart_resize.c 4 Aug 2007 14:50:40 - 1.2 @@ -220,21 +220,27 @@ { static Evas_Smart *smart = NULL; - if (smart) - return smart; - - smart = evas_smart_new("esmart_resize_object", -_esmart_resize_object_add, -_esmart_resize_object_del, -NULL, NULL, NULL, NULL, NULL, -_esmart_resize_object_move, -_esmart_resize_object_resize, -_esmart_resize_object_show, -_esmart_resize_object_hide, -_esmart_resize_object_color_set, -_esmart_resize_object_clip_set, -_esmart_resize_object_clip_unset, NULL); + if (!smart) + { + static const Evas_Smart_Class sc = + { +"esmart_resize_object", +EVAS_SMART_CLASS_VERSION, +_esmart_resize_object_add, +_esmart_resize_object_del, +_esmart_resize_object_move, +_esmart_resize_object_resize, +_esmart_resize_object_show, +_esmart_resize_object_hide, +_esmart_resize_object_color_set, +_esmart_resize_object_clip_set, +_esmart_resize_object_clip_unset, +NULL + }; + smart = evas_smart_class_new(&sc); + } + return smart; } - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/etk lok
Enlightenment CVS committal Author : lok Project : e17 Module : libs/etk Dir : e17/libs/etk/src/lib Modified Files: etk_colorpicker.c etk_editable.c etk_textblock.c etk_widget.c Log Message: use evas_smart_class_new() === RCS file: /cvs/e/e17/libs/etk/src/lib/etk_colorpicker.c,v retrieving revision 1.32 retrieving revision 1.33 diff -u -3 -r1.32 -r1.33 --- etk_colorpicker.c 25 Mar 2007 18:22:00 - 1.32 +++ etk_colorpicker.c 4 Aug 2007 14:46:21 - 1.33 @@ -887,14 +887,12 @@ if (!_etk_colorpicker_picker_smart) { - _etk_colorpicker_picker_smart = evas_smart_new("Picker_Object", + static const Evas_Smart_Class sc = + { + "Picker_Object", + EVAS_SMART_CLASS_VERSION, _etk_colorpicker_picker_smart_add, _etk_colorpicker_picker_smart_del, - NULL, - NULL, - NULL, - NULL, - NULL, _etk_colorpicker_picker_smart_move, _etk_colorpicker_picker_smart_resize, _etk_colorpicker_picker_smart_show, @@ -902,7 +900,9 @@ NULL, _etk_colorpicker_picker_smart_clip_set, _etk_colorpicker_picker_smart_clip_unset, - NULL); + NULL + }; + _etk_colorpicker_picker_smart = evas_smart_class_new(&sc); _etk_colorpicker_picker_smart_use = 0; } _etk_colorpicker_picker_smart_use++; === RCS file: /cvs/e/e17/libs/etk/src/lib/etk_editable.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- etk_editable.c 19 Mar 2007 15:02:29 - 1.11 +++ etk_editable.c 4 Aug 2007 14:46:21 - 1.12 @@ -79,10 +79,12 @@ { if (!_etk_editable_smart) { - _etk_editable_smart = evas_smart_new("Editable_Object", + static const Evas_Smart_Class sc = + { + "Editable_Object", + EVAS_SMART_CLASS_VERSION, _etk_editable_smart_add, _etk_editable_smart_del, - NULL, NULL, NULL, NULL, NULL, _etk_editable_smart_move, _etk_editable_smart_resize, _etk_editable_smart_show, @@ -90,7 +92,9 @@ _etk_editable_color_set, _etk_editable_clip_set, _etk_editable_clip_unset, - NULL); + NULL + }; + _etk_editable_smart = evas_smart_class_new(&sc); _etk_editable_smart_use = 0; } === RCS file: /cvs/e/e17/libs/etk/src/lib/etk_textblock.c,v retrieving revision 1.31 retrieving revision 1.32 diff -u -3 -r1.31 -r1.32 --- etk_textblock.c 8 Mar 2007 18:27:52 - 1.31 +++ etk_textblock.c 4 Aug 2007 14:46:21 - 1.32 @@ -1055,14 +1055,12 @@ if (!_etk_tb_object_smart) { - _etk_tb_object_smart = evas_smart_new("Textblock_Object", + static const Evas_Smart_Class sc = + { + "Textblock_Object", + EVAS_SMART_CLASS_VERSION, _etk_tb_object_smart_add, _etk_tb_object_smart_del, - NULL, - NULL, - NULL, - NULL, - NULL, _etk_tb_object_smart_move, _etk_tb_object_smart_resize, _etk_tb_object_smart_show, @@ -1070,7 +1068,9 @@ _etk_tb_object_smart_color_set, _etk_tb_object_smart_clip_set, _etk_tb_object_smart_clip_unset, - NULL); + NULL + }; + _etk_tb_object_smart = evas_smart_class_new(&sc); } _etk_tb_object_smart_use++; === RCS file: /cvs/e/e17/libs/etk/src/lib/etk_widget.c,v retrieving revision 1.116 retrieving revision 1.117 diff -u -3 -r1.116 -r1.117 --- etk_widget.c24 Jul 2007 21:40:16 - 1.116 +++ etk_widget.c4 Aug 2007 14:46:22 - 1.117 @@ -3121,14 +3121,12 @@ if (!_etk_widget_smart_object_smart) { - _etk_widget_smart_object_smart = evas_smart_new("Widget_Object", - NULL, /* add */ - NULL, /* del */ - NULL, /* layer_set */ - NULL, /* raise */ - NULL, /* lower */ - NULL, /* stack_above */ - NULL, /* stack_below */ + static const Evas_Smart_Class sc = + { + "Widget_Object", + EVAS_SMART_CLASS_VERSION, + NULL, + NULL, _etk_widget_smart_object_move_cb, /* move */ _etk_widget_smart_object_resize_cb, /* resize */ _etk_widget_smart_object_show_cb, /* show */ @@ -3136,7 +3134,9 @@ _etk_widget_smart_object_color_set_cb, /* color_set */ _etk_widget_smart_object_clip_set_cb, /* clip_set */ _etk_widget_smart_object_clip_unset_cb, /* clip_unset */ - NULL); /* data*/ + NULL + }; + _etk_widget_smart_object_smart = evas_smart_class_new(&sc); } new_object = evas_o
E CVS: libs/ewl pfritz
Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ewl Dir : e17/libs/ewl/src/lib Modified Files: ewl_embed.c ewl_widget.c Log Message: use evas_smart_class_new() === RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_embed.c,v retrieving revision 1.124 retrieving revision 1.125 diff -u -3 -r1.124 -r1.125 --- ewl_embed.c 31 Jul 2007 18:35:47 - 1.124 +++ ewl_embed.c 4 Aug 2007 14:21:37 - 1.125 @@ -206,8 +206,6 @@ { Ecore_List *paths; char *font_path; - char *name = "EWL Embedded Smart Object"; - DENTER_FUNCTION(DLEVEL_STABLE); DCHECK_PARAM_PTR_RET("emb", emb, NULL); DCHECK_PARAM_PTR_RET("canvas", canvas, NULL); @@ -217,17 +215,21 @@ emb->canvas_window = canvas_window; if (!embedded_smart) { - embedded_smart = evas_smart_new(name, + static const Evas_Smart_Class sc = { + "EWL Embedded Smart Object", + EVAS_SMART_CLASS_VERSION, NULL, ewl_embed_smart_cb_del, - NULL, NULL, NULL, NULL, NULL, ewl_embed_smart_cb_move, ewl_embed_smart_cb_resize, ewl_embed_smart_cb_show, ewl_embed_smart_cb_hide, NULL, ewl_embed_smart_cb_clip_set, - ewl_embed_smart_cb_clip_unset, NULL); + ewl_embed_smart_cb_clip_unset, + NULL + }; + embedded_smart = evas_smart_class_new(&sc); } if (emb->smart) { === RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_widget.c,v retrieving revision 1.140 retrieving revision 1.141 diff -u -3 -r1.140 -r1.141 --- ewl_widget.c25 Jul 2007 17:01:00 - 1.140 +++ ewl_widget.c4 Aug 2007 14:21:37 - 1.141 @@ -2339,11 +2339,13 @@ w->smart_object = ewl_embed_object_request(emb, "Ewl Widget Smart Object"); if (!w->smart_object) { if (!widget_smart) { - widget_smart = evas_smart_new("Ewl Widget Smart Object", - NULL, NULL, NULL, NULL, - NULL, NULL, NULL, NULL, - NULL, NULL, NULL, NULL, - NULL, NULL, NULL); + static const Evas_Smart_Class sc = { + "Ewl Widget Smart Object", + EVAS_SMART_CLASS_VERSION, + NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL + }; + widget_smart = evas_smart_class_new(&sc); } w->smart_object = evas_object_smart_add(emb->canvas, widget_smart); } - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/etk lok
Enlightenment CVS committal Author : lok Project : e17 Module : libs/etk Dir : e17/libs/etk/src/lib Modified Files: etk_tree.c etk_tree_model.c Log Message: Better handling of the text alignement in treeviews. === RCS file: /cvs/e/e17/libs/etk/src/lib/etk_tree.c,v retrieving revision 1.100 retrieving revision 1.101 diff -u -3 -r1.100 -r1.101 --- etk_tree.c 10 Jul 2007 02:30:51 - 1.100 +++ etk_tree.c 4 Aug 2007 14:13:35 - 1.101 @@ -2389,6 +2389,7 @@ col = tree->columns[i]; if (col->visible && col->expand) { + col->width += freespace / num_expand_cols; columns_width += freespace / num_expand_cols; col->visible_width += freespace / num_expand_cols; } @@ -2604,7 +2605,7 @@ { cell_geometry.x = geometry.x + col->xoffset + CELL_HMARGINS; cell_geometry.y = geometry.y + row_y + CELL_VMARGINS; - cell_geometry.w = col->width - (2 * CELL_HMARGINS); + cell_geometry.w = col->visible_width - (2 * CELL_HMARGINS); cell_geometry.h = tree->rows_height - (2 * CELL_VMARGINS); /* Render the expander of the row */ === RCS file: /cvs/e/e17/libs/etk/src/lib/etk_tree_model.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- etk_tree_model.c4 Aug 2007 12:43:04 - 1.20 +++ etk_tree_model.c4 Aug 2007 14:13:35 - 1.21 @@ -379,8 +379,8 @@ return ETK_FALSE; edje_object_part_text_set(cell_objects[0], "etk.text.label", *text_data); + evas_object_resize(cell_objects[0], geometry.w, geometry.h - (geometry.y / 2)); evas_object_move(cell_objects[0], geometry.x, geometry.y + (geometry.h / 2)); - evas_object_resize(cell_objects[0], geometry.w + (geometry.x / 2), geometry.h - (geometry.y / 2)); evas_object_show(cell_objects[0]); return ETK_FALSE; - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/elitaire pfritz
Enlightenment CVS committal Author : pfritz Project : e17 Module : apps/elitaire Dir : e17/apps/elitaire/src Modified Files: elitaire.cpp elitaire_card.cpp Log Message: use evas_smart_class_new() === RCS file: /cvs/e/e17/apps/elitaire/src/elitaire.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- elitaire.cpp8 Jun 2007 17:32:49 - 1.1 +++ elitaire.cpp4 Aug 2007 14:00:29 - 1.2 @@ -717,20 +717,23 @@ static Evas_Smart * _elitaire_smart_get() { -if (smart) return smart; - -smart = evas_smart_new("Elitaire", - _elitaire_object_add, - _elitaire_object_del, - NULL, NULL, NULL, NULL, NULL, - _elitaire_object_move, - _elitaire_object_resize, - _elitaire_object_show, - _elitaire_object_hide, - _elitaire_object_color_set, - _elitaire_object_clip_set, - _elitaire_object_clip_unset, - NULL); +if (!smart) { +static const Evas_Smart_Class sc = { +"Elitaire", +EVAS_SMART_CLASS_VERSION, +_elitaire_object_add, +_elitaire_object_del, +_elitaire_object_move, +_elitaire_object_resize, +_elitaire_object_show, +_elitaire_object_hide, +_elitaire_object_color_set, +_elitaire_object_clip_set, +_elitaire_object_clip_unset, +NULL +}; +smart = evas_smart_class_new(&sc); +} return smart; } === RCS file: /cvs/e/e17/apps/elitaire/src/elitaire_card.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- elitaire_card.cpp 4 Aug 2007 00:43:18 - 1.2 +++ elitaire_card.cpp 4 Aug 2007 14:00:29 - 1.3 @@ -347,20 +347,23 @@ static Evas_Smart * _elitaire_card_smart_get() { -if (smart) return smart; - -smart = evas_smart_new("Elitaire_Card", - _elitaire_card_add, - _elitaire_card_del, - NULL, NULL, NULL, NULL, NULL, - _elitaire_card_move, - _elitaire_card_resize, - _elitaire_card_show, - _elitaire_card_hide, - _elitaire_card_color_set, - _elitaire_card_clip_set, - _elitaire_card_clip_unset, - NULL); +if (!smart) { +static const Evas_Smart_Class sc = { +"Elitaire_Card", +EVAS_SMART_CLASS_VERSION, +_elitaire_card_add, +_elitaire_card_del, +_elitaire_card_move, +_elitaire_card_resize, +_elitaire_card_show, +_elitaire_card_hide, +_elitaire_card_color_set, +_elitaire_card_clip_set, +_elitaire_card_clip_unset, +NULL +}; +smart = evas_smart_class_new(&sc); +} return smart; } - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: proto chaos
Enlightenment CVS committal Author : chaos Project : e17 Module : proto Dir : e17/proto/entropy/src/dialogs Modified Files: etk_interaction_dialog.c Log Message: * Add 'hover plugin' - try it in icon mode, hover for ~2 secs over a video or image * Misc bugfixes === RCS file: /cvs/e/e17/proto/entropy/src/dialogs/etk_interaction_dialog.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- etk_interaction_dialog.c2 Aug 2007 03:30:32 - 1.10 +++ etk_interaction_dialog.c4 Aug 2007 13:46:25 - 1.11 @@ -4,6 +4,7 @@ #include #include + void etk_entropy_user_interaction_dialog_cb(Etk_Object* w, void* user_data) { long id = (long)etk_object_data_get(ETK_OBJECT(w),"operation"); - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: proto chaos
Enlightenment CVS committal Author : chaos Project : e17 Module : proto Dir : e17/proto/entropy/src/include Modified Files: entropy_gui.h entropy_gui_event_handler.h notification_engine.h plugin_base.h plugin_helper.h Log Message: * Add 'hover plugin' - try it in icon mode, hover for ~2 secs over a video or image * Misc bugfixes === RCS file: /cvs/e/e17/proto/entropy/src/include/entropy_gui.h,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- entropy_gui.h 7 Sep 2006 13:40:15 - 1.13 +++ entropy_gui.h 4 Aug 2007 13:46:25 - 1.14 @@ -22,6 +22,9 @@ #define ENTROPY_GUI_EVENT_CUT_REQUEST "entropy_gui_event_cut_request" #define ENTROPY_GUI_EVENT_PASTE_REQUEST "entropy_gui_event_paste_request" +#define ENTROPY_GUI_EVENT_HOVER "entropy_gui_event_hover" +#define ENTROPY_GUI_EVENT_DEHOVER "entropy_gui_event_dehover" + #define ENTROPY_TOOLKIT_EWL "ewl" #define ENTROPY_TOOLKIT_ETK "etk" === RCS file: /cvs/e/e17/proto/entropy/src/include/entropy_gui_event_handler.h,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- entropy_gui_event_handler.h 7 Sep 2006 13:40:15 - 1.10 +++ entropy_gui_event_handler.h 4 Aug 2007 13:46:26 - 1.11 @@ -123,4 +123,18 @@ Entropy_Gui_Event_Handler_Instance_Data* entropy_event_handler_paste_request_instance_data(entropy_gui_event* event, entropy_gui_component_instance* requestor) ; + +/*Hover Request */ +Entropy_Gui_Event_Handler* entropy_event_handler_hover_request_handler(); +Entropy_Gui_Event_Handler_Instance_Data* +entropy_event_handler_hover_request_instance_data(entropy_gui_event* event, + entropy_gui_component_instance* requestor); + +/*DeHover Request */ +Entropy_Gui_Event_Handler* entropy_event_handler_dehover_request_handler(); +Entropy_Gui_Event_Handler_Instance_Data* +entropy_event_handler_dehover_request_instance_data(entropy_gui_event* event, + entropy_gui_component_instance* requestor); + + #endif === RCS file: /cvs/e/e17/proto/entropy/src/include/notification_engine.h,v retrieving revision 1.14 retrieving revision 1.15 diff -u -3 -r1.14 -r1.15 --- notification_engine.h 7 Sep 2006 13:40:15 - 1.14 +++ notification_engine.h 4 Aug 2007 13:46:26 - 1.15 @@ -21,7 +21,9 @@ ENTROPY_NOTIFY_METADATA_GROUPS = 16, ENTROPY_NOTIFY_COPY_REQUEST = 17, ENTROPY_NOTIFY_CUT_REQUEST = 18, - ENTROPY_NOTIFY_PASTE_REQUEST = 19 + ENTROPY_NOTIFY_PASTE_REQUEST = 19, + ENTROPY_NOTIFY_HOVER = 20, + ENTROPY_NOTIFY_DEHOVER = 21 }; enum ENTROPY_GUI_EVENT_HINTS { === RCS file: /cvs/e/e17/proto/entropy/src/include/plugin_base.h,v retrieving revision 1.17 retrieving revision 1.18 diff -u -3 -r1.17 -r1.18 --- plugin_base.h 29 Dec 2006 13:02:53 - 1.17 +++ plugin_base.h 4 Aug 2007 13:46:26 - 1.18 @@ -21,7 +21,8 @@ ENTROPY_PLUGIN_SUB_TYPE_ALL, ENTROPY_PLUGIN_GUI_COMPONENT_STRUCTURE_VIEW, ENTROPY_PLUGIN_GUI_COMPONENT_LOCAL_VIEW, - ENTROPY_PLUGIN_GUI_COMPONENT_INFO_PROVIDER + ENTROPY_PLUGIN_GUI_COMPONENT_INFO_PROVIDER, + ENTROPY_PLUGIN_GUI_COMPONENT_HOVER_PROVIDER }; === RCS file: /cvs/e/e17/proto/entropy/src/include/plugin_helper.h,v retrieving revision 1.27 retrieving revision 1.28 diff -u -3 -r1.27 -r1.28 --- plugin_helper.h 29 Dec 2006 13:02:53 - 1.27 +++ plugin_helper.h 4 Aug 2007 13:46:26 - 1.28 @@ -38,5 +38,7 @@ void entropy_event_copy_request(entropy_gui_component_instance* instance); void entropy_event_cut_request(entropy_gui_component_instance* instance); void entropy_event_paste_request(entropy_gui_component_instance* instance); +void entropy_event_hover_request(entropy_gui_component_instance* instance, entropy_generic_file* file, int x, int y); +void entropy_event_dehover_request(entropy_gui_component_instance* instance, entropy_generic_file* file); #endif - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: proto chaos
Enlightenment CVS committal Author : chaos Project : e17 Module : proto Dir : e17/proto/entropy/src Modified Files: entropy_core.c entropy_gui_event_handlers.c notification_engine.c plugin_helper.c Log Message: * Add 'hover plugin' - try it in icon mode, hover for ~2 secs over a video or image * Misc bugfixes === RCS file: /cvs/e/e17/proto/entropy/src/entropy_core.c,v retrieving revision 1.96 retrieving revision 1.97 diff -u -3 -r1.96 -r1.97 --- entropy_core.c 27 Jul 2007 14:09:42 - 1.96 +++ entropy_core.c 4 Aug 2007 13:46:25 - 1.97 @@ -292,7 +292,8 @@ entropy_core_gui_event_handler_add(ENTROPY_GUI_EVENT_COPY_REQUEST, entropy_event_handler_copy_request_handler); entropy_core_gui_event_handler_add(ENTROPY_GUI_EVENT_CUT_REQUEST, entropy_event_handler_cut_request_handler); entropy_core_gui_event_handler_add(ENTROPY_GUI_EVENT_PASTE_REQUEST, entropy_event_handler_paste_request_handler); - + entropy_core_gui_event_handler_add(ENTROPY_GUI_EVENT_HOVER, entropy_event_handler_hover_request_handler); + entropy_core_gui_event_handler_add(ENTROPY_GUI_EVENT_DEHOVER, entropy_event_handler_dehover_request_handler); //printf("\n\nDetails of thumbnailers:\n"); @@ -639,6 +640,10 @@ return "entropy_gui_event_cut_request"; } else if (!strcmp(event, ENTROPY_GUI_EVENT_PASTE_REQUEST)) { return "entropy_gui_event_paste_request"; + } else if (!strcmp(event, ENTROPY_GUI_EVENT_HOVER)) { + return "entropy_gui_event_hover"; + } else if (!strcmp(event, ENTROPY_GUI_EVENT_DEHOVER)) { + return "entropy_gui_event_dehover"; } else return ""; } === RCS file: /cvs/e/e17/proto/entropy/src/entropy_gui_event_handlers.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -3 -r1.15 -r1.16 --- entropy_gui_event_handlers.c7 Sep 2006 13:40:14 - 1.15 +++ entropy_gui_event_handlers.c4 Aug 2007 13:46:25 - 1.16 @@ -608,3 +608,65 @@ return data; } + +/*Hover Request */ +Entropy_Gui_Event_Handler* entropy_event_handler_hover_request_handler() +{ + return entropy_gui_event_handler_new( + entropy_event_handler_hover_request_instance_data, + entropy_event_handler_instance_data_generic_cleanup); + +} + +Entropy_Gui_Event_Handler_Instance_Data* +entropy_event_handler_hover_request_instance_data(entropy_gui_event* event, + entropy_gui_component_instance* requestor) +{ + Entropy_Gui_Event_Handler_Instance_Data* data = NULL; + entropy_notify_event* ev = NULL; + + data = entropy_malloc(sizeof(Entropy_Gui_Event_Handler_Instance_Data)); + + ev = entropy_notify_event_new(); + ev->event_type = ENTROPY_NOTIFY_HOVER; + ev->return_struct = event->data; /*An entropy generic file*/ + ev->key = event->key; + ev->hints = event->hints; + ev->processed = 1; + + data->notify = ev; + + + return data; +} + +/*Hover Request */ +Entropy_Gui_Event_Handler* entropy_event_handler_dehover_request_handler() +{ + return entropy_gui_event_handler_new( + entropy_event_handler_dehover_request_instance_data, + entropy_event_handler_instance_data_generic_cleanup); + +} + +Entropy_Gui_Event_Handler_Instance_Data* +entropy_event_handler_dehover_request_instance_data(entropy_gui_event* event, + entropy_gui_component_instance* requestor) +{ + Entropy_Gui_Event_Handler_Instance_Data* data = NULL; + entropy_notify_event* ev = NULL; + + data = entropy_malloc(sizeof(Entropy_Gui_Event_Handler_Instance_Data)); + + ev = entropy_notify_event_new(); + ev->event_type = ENTROPY_NOTIFY_DEHOVER; + ev->return_struct = event->data; /*An entropy generic file*/ + ev->key = event->key; + ev->hints = event->hints; + ev->processed = 1; + + data->notify = ev; + + + return data; +} === RCS file: /cvs/e/e17/proto/entropy/src/notification_engine.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- notification_engine.c 25 Jul 2007 17:01:03 - 1.13 +++ notification_engine.c 4 Aug 2007 13:46:25 - 1.14 @@ -217,6 +217,20 @@ } break; + case ENTROPY_NOTIFY_HOVER: { + entropy_generic_file* file = eevent->data; + entropy_core_file_cache_remove_reference ( +
E CVS: proto chaos
Enlightenment CVS committal Author : chaos Project : e17 Module : proto Dir : e17/proto/entropy/src/plugins Modified Files: Makefile.am etk_icon_viewer.c etk_meta_plugin.c layout_etk_simple.c Added Files: etk_hover_viewer.c Log Message: * Add 'hover plugin' - try it in icon mode, hover for ~2 secs over a video or image * Misc bugfixes === RCS file: /cvs/e/e17/proto/entropy/src/plugins/Makefile.am,v retrieving revision 1.46 retrieving revision 1.47 diff -u -3 -r1.46 -r1.47 --- Makefile.am 2 Aug 2007 03:30:32 - 1.46 +++ Makefile.am 4 Aug 2007 13:46:26 - 1.47 @@ -40,6 +40,7 @@ ETK_METADATA_L = etk_metadata.la ETK_ICONBOX_L = etk_iconbox.la ETK_TRACKBACK_L = etk_trackback.la +ETK_HOVER_L = etk_hover.la else LAYOUT_ETK_L = ETK_LIST_VIEWER_L = @@ -47,9 +48,10 @@ ETK_METADATA_L = ETK_ICONBOX_L = ETK_TRACKBACK_L = +ETK_HOVER_L = endif -pkg_LTLIBRARIES= $(MIME_L) $(THUMBNAILER_L) $(POSIX_L) $(LAYOUT_L) $(EWL_LOCAL_ICON_L) $(STRUCTURE_VIEWER_L) $(SYSTEM_THUMBNAILER_L) $(ACTION_SIMPLE_L) $(LAYOUT_ETK_L) $(EWL_LIST_L) $(REMOTE_THUMBNAILER_L) $(DISTRIB_THUMBNAILER_L) $(ETK_STRUCTURE_VIEWER_L) $(ETK_LIST_VIEWER_L) $(METADATA_EXTRACT_L) $(ETK_METADATA_L) $(ETK_ICONBOX_L) $(ETK_TRACKBACK_L) +pkg_LTLIBRARIES= $(MIME_L) $(THUMBNAILER_L) $(POSIX_L) $(LAYOUT_L) $(EWL_LOCAL_ICON_L) $(STRUCTURE_VIEWER_L) $(SYSTEM_THUMBNAILER_L) $(ACTION_SIMPLE_L) $(LAYOUT_ETK_L) $(EWL_LIST_L) $(REMOTE_THUMBNAILER_L) $(DISTRIB_THUMBNAILER_L) $(ETK_STRUCTURE_VIEWER_L) $(ETK_LIST_VIEWER_L) $(METADATA_EXTRACT_L) $(ETK_METADATA_L) $(ETK_ICONBOX_L) $(ETK_TRACKBACK_L) $(ETK_HOVER_L) ewl_local_icon_la_SOURCES = $(top_srcdir)/src/entropy_gui.c \ $(top_srcdir)/src/dialogs/ewl_progress_dialog.c \ @@ -161,6 +163,14 @@ etk_metadata_la_CFLAGS = @ETK_CFLAGS@ etk_metadata_la_LDFLAGS = -module -avoid-version etk_metadata_la_LIBADD = @ETK_LIBS@ + +if HAVE_EMOTION +etk_hover_la_SOURCES = etk_hover_viewer.c +etk_hover_la_CFLAGS = @ETK_CFLAGS@ @EMOTION_CFLAGS@ +etk_hover_la_LDFLAGS = -module -avoid-version +etk_hover_la_LIBADD = @ETK_LIBS@ @EMOTION_LIBS@ +endif + endif mime_la_SOURCES= mime.c $(top_srcdir)/src/entropy_core.c === RCS file: /cvs/e/e17/proto/entropy/src/plugins/etk_icon_viewer.c,v retrieving revision 1.26 retrieving revision 1.27 diff -u -3 -r1.26 -r1.27 --- etk_icon_viewer.c 25 Jul 2007 17:01:03 - 1.26 +++ etk_icon_viewer.c 4 Aug 2007 13:46:26 - 1.27 @@ -33,6 +33,17 @@ /*A file we're waiting on for passback properties*/ Ecore_Hash* properties_request_hash; + + /*Timer for tooltips*/ + Ecore_Timer* tooltimer; + Ecore_Timer* popuptimer; + + /*Hover positions*/ + int hx; + int hy; + + /*Hover file*/ + entropy_generic_file* hover_file; }; void _entropy_etk_icon_viewer_click_cb(Etk_Object *object, void *event_info, void *data); @@ -211,6 +222,73 @@ entropy_etk_icon_viewer_icon_size_set(viewer, value); } +int _entropy_etk_icon_viewer_hover_popup_cb(void* data) +{ + entropy_gui_component_instance *instance; + entropy_etk_iconbox_viewer *viewer; + entropy_file_request* req; + + req = data; + instance = (entropy_gui_component_instance*)req->requester; + viewer = instance->data; + + entropy_event_hover_request(instance,req->file, viewer->hx, viewer->hy); + entropy_core_file_cache_remove_reference(req->file->md5); + + viewer->hover_file = req->file; + free(req); + + ecore_timer_del(viewer->popuptimer); + viewer->popuptimer = NULL; + + return 0; +} + + +void _entropy_etk_icon_viewer_move_cb(Etk_Object *object, void *event_info, void *data) +{ + Etk_Event_Mouse_Move *event =event_info; + Etk_Iconbox_Icon* icon; + entropy_generic_file* file; + entropy_gui_component_instance *instance; + entropy_etk_iconbox_viewer *viewer; + Etk_Toplevel* toplevel; + int win_x,win_y; + + instance = data; + viewer = instance->data; + + if (viewer->popuptimer) { + ecore_timer_del(viewer->popuptimer); + viewer->popuptimer = NULL; + } + + if (viewer->hover_file) { + entropy_event_dehover_request(instance,viewer->hover_file); + viewer->hover_file = NULL; + } + + if (!(icon = etk_iconbox_icon_get_at_xy(ETK_ICONBOX(viewer->iconbox), + event->cur.canvas.x, event->cur.canvas.y, ETK_FALSE, ETK_TRUE, ETK_TRUE))) return; + + toplevel = etk_widget_toplevel_parent_get(viewer->iconbox); + etk_window_geometry_get(ETK_WINDOW(toplevel), &win_x, &win_y, NULL, NULL); + + file = etk_iconbox_icon_data_get(icon); + + if (file) { + e
E CVS: apps/e maxerba
Enlightenment CVS committal Author : maxerba Project : e17 Module : apps/e Dir : e17/apps/e/po Modified Files: ru.po Log Message: - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/entrance raster
Enlightenment CVS committal Author : raster Project : e17 Module : apps/entrance Dir : e17/apps/entrance/src/client Modified Files: entrance_smart.c Log Message: and remove now unused methods === RCS file: /cvs/e/e17/apps/entrance/src/client/entrance_smart.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- entrance_smart.c4 Aug 2007 13:12:41 - 1.3 +++ entrance_smart.c4 Aug 2007 13:13:54 - 1.4 @@ -21,11 +21,6 @@ static Evas_Object *entrance_smart_object_new(Evas * evas); void _entrance_smart_object_add(Evas_Object * o); void _entrance_smart_object_del(Evas_Object * o); -void _entrance_smart_object_layer_set(Evas_Object * o, int l); -void _entrance_smart_object_raise(Evas_Object * o); -void _entrance_smart_object_lower(Evas_Object * o); -void _entrance_smart_object_stack_above(Evas_Object * o, Evas_Object * above); -void _entrance_smart_object_stack_below(Evas_Object * o, Evas_Object * below); void _entrance_smart_object_move(Evas_Object * o, Evas_Coord x, Evas_Coord y); void _entrance_smart_object_resize(Evas_Object * o, Evas_Coord w, Evas_Coord h); @@ -166,63 +161,6 @@ evas_object_del(data->edje); evas_object_del(data->clip); free(data); - } -} - -void -_entrance_smart_object_layer_set(Evas_Object * o, int l) -{ - Entrance_Smart *data; - - if ((data = evas_object_smart_data_get(o))) - { - evas_object_layer_set(data->clip, l); - evas_object_layer_set(data->edje, l); - evas_object_layer_set(data->avatar, l); - } -} - -void -_entrance_smart_object_raise(Evas_Object * o) -{ - Entrance_Smart *data; - - if ((data = evas_object_smart_data_get(o))) - { - evas_object_raise(data->clip); - } -} - -void -_entrance_smart_object_lower(Evas_Object * o) -{ - Entrance_Smart *data; - - if ((data = evas_object_smart_data_get(o))) - { - evas_object_lower(data->clip); - } -} - -void -_entrance_smart_object_stack_above(Evas_Object * o, Evas_Object * above) -{ - Entrance_Smart *data; - - if ((data = evas_object_smart_data_get(o))) - { - evas_object_stack_above(data->edje, above); - } -} - -void -_entrance_smart_object_stack_below(Evas_Object * o, Evas_Object * below) -{ - Entrance_Smart *data; - - if ((data = evas_object_smart_data_get(o))) - { - evas_object_stack_below(data->edje, below); } } - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/entrance raster
Enlightenment CVS committal Author : raster Project : e17 Module : apps/entrance Dir : e17/apps/entrance/src/client Modified Files: entrance_session.c entrance_smart.c Log Message: move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will probably die as it's already got legacy funcion methods for layer etc. stuff. === RCS file: /cvs/e/e17/apps/entrance/src/client/entrance_session.c,v retrieving revision 1.93 retrieving revision 1.94 diff -u -3 -r1.93 -r1.94 --- entrance_session.c 1 Apr 2007 02:42:29 - 1.93 +++ entrance_session.c 4 Aug 2007 13:12:41 - 1.94 @@ -467,17 +467,25 @@ entrance_config_prevuser_save(e->auth->user, e->db); + syslog(LOG_INFO, "DEBUG1"); /* avoid doubling up pam handles before the fork */ pwent = struct_passwd_dup(e->auth->pw); + syslog(LOG_INFO, "DEBUG2"); entrance_auth_free(e->auth); e->auth = NULL; + syslog(LOG_INFO, "DEBUG3"); /* Shutdown subsytems */ edje_shutdown(); + syslog(LOG_INFO, "DEBUG4"); ecore_evas_shutdown(); + syslog(LOG_INFO, "DEBUG5"); ecore_config_shutdown(); + syslog(LOG_INFO, "DEBUG6"); ecore_x_sync(); + syslog(LOG_INFO, "DEBUG7"); entrance_ipc_shutdown(); + syslog(LOG_INFO, "DEBUG8"); switch ((pid = fork())) { === RCS file: /cvs/e/e17/apps/entrance/src/client/entrance_smart.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- entrance_smart.c27 Jun 2004 19:33:28 - 1.2 +++ entrance_smart.c4 Aug 2007 13:12:41 - 1.3 @@ -122,24 +122,25 @@ { static Evas_Smart *smart = NULL; - if (smart) - return (smart); - - smart = - evas_smart_new("entrance_smart_object", _entrance_smart_object_add, - _entrance_smart_object_del, - _entrance_smart_object_layer_set, - _entrance_smart_object_raise, - _entrance_smart_object_lower, - _entrance_smart_object_stack_above, - _entrance_smart_object_stack_below, - _entrance_smart_object_move, - _entrance_smart_object_resize, - _entrance_smart_object_show, _entrance_smart_object_hide, - _entrance_smart_object_color_set, - _entrance_smart_object_clip_set, - _entrance_smart_object_clip_unset, NULL); - + if (smart) return (smart); + { + static const Evas_Smart_Class sc = + { +"entrance_smart_object", + EVAS_SMART_CLASS_VERSION, + _entrance_smart_object_add, + _entrance_smart_object_del, + _entrance_smart_object_move, + _entrance_smart_object_resize, + _entrance_smart_object_show, + _entrance_smart_object_hide, + _entrance_smart_object_color_set, + _entrance_smart_object_clip_set, + _entrance_smart_object_clip_unset, + NULL + }; + smart = evas_smart_class_new(&sc); + } return smart; } - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/e raster
Enlightenment CVS committal Author : raster Project : e17 Module : apps/e Dir : e17/apps/e/src/bin Modified Files: e_box.c e_editable.c e_entry.c e_flowlayout.c e_fm.c e_gadcon.c e_icon.c e_ilist.c e_int_config_modules.c e_layout.c e_livethumb.c e_module.c e_pan.c e_scrollframe.c e_slider.c e_spectrum.c e_table.c e_tlist.c e_widget.c Log Message: move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will probably die as it's already got legacy funcion methods for layer etc. stuff. === RCS file: /cvs/e/e17/apps/e/src/bin/e_box.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -3 -r1.21 -r1.22 --- e_box.c 9 May 2007 18:44:19 - 1.21 +++ e_box.c 4 Aug 2007 13:12:40 - 1.22 @@ -649,18 +649,24 @@ _e_box_smart_init(void) { if (_e_smart) return; - _e_smart = evas_smart_new("e_box", -_e_box_smart_add, -_e_box_smart_del, -NULL, NULL, NULL, NULL, NULL, -_e_box_smart_move, -_e_box_smart_resize, -_e_box_smart_show, -_e_box_smart_hide, -_e_box_smart_color_set, -_e_box_smart_clip_set, -_e_box_smart_clip_unset, -NULL); + { + static const Evas_Smart_Class sc = + { +"e_box", + EVAS_SMART_CLASS_VERSION, + _e_box_smart_add, + _e_box_smart_del, + _e_box_smart_move, + _e_box_smart_resize, + _e_box_smart_show, + _e_box_smart_hide, + _e_box_smart_color_set, + _e_box_smart_clip_set, + _e_box_smart_clip_unset, + NULL + }; + _e_smart = evas_smart_class_new(&sc); + } } static void === RCS file: /cvs/e/e17/apps/e/src/bin/e_editable.c,v retrieving revision 1.19 retrieving revision 1.20 diff -u -3 -r1.19 -r1.20 --- e_editable.c22 Apr 2007 05:30:37 - 1.19 +++ e_editable.c4 Aug 2007 13:12:41 - 1.20 @@ -74,18 +74,22 @@ { if (!_e_editable_smart) { -_e_editable_smart = evas_smart_new("e_editable", - _e_editable_smart_add, /* add */ - _e_editable_smart_del, /* del */ - NULL, NULL, NULL, NULL, NULL, /* stacking */ - _e_editable_smart_move, /* move */ - _e_editable_smart_resize, /* resize */ - _e_editable_smart_show, /* show */ - _e_editable_smart_hide, /* hide */ - _e_editable_color_set, /* color_set */ - _e_editable_clip_set, /* clip_set */ - _e_editable_clip_unset, /* clip_unset */ - NULL); /* data*/ + static const Evas_Smart_Class sc = + { +"e_editable", + EVAS_SMART_CLASS_VERSION, + _e_editable_smart_add, + _e_editable_smart_del, + _e_editable_smart_move, + _e_editable_smart_resize, + _e_editable_smart_show, + _e_editable_smart_hide, + _e_editable_color_set, + _e_editable_clip_set, + _e_editable_clip_unset, + NULL + }; + _e_editable_smart = evas_smart_class_new(&sc); _e_editable_smart_use = 0; } === RCS file: /cvs/e/e17/apps/e/src/bin/e_entry.c,v retrieving revision 1.44 retrieving revision 1.45 diff -u -3 -r1.44 -r1.45 --- e_entry.c 12 Jun 2007 11:59:47 - 1.44 +++ e_entry.c 4 Aug 2007 13:12:41 - 1.45 @@ -70,18 +70,22 @@ { if (!_e_entry_smart) { -_e_entry_smart = evas_smart_new("e_entry", - _e_entry_smart_add, /* add */ - _e_entry_smart_del, /* del */ - NULL, NULL, NULL, NULL, NULL, /* stacking */ - _e_entry_smart_move, /* move */ - _e_entry_smart_resize, /* resize */ - _e_entry_smart_show, /* show */ - _e_entry_smart_hide, /* hide */ - _e_entry_color_set, /* color_set */ - _e_entry_clip_set, /* clip_set */ - _e
E CVS: libs/evas raster
Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas Dir : e17/libs/evas/src/lib/canvas Modified Files: evas_smart.c Log Message: move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will probably die as it's already got legacy funcion methods for layer etc. stuff. === RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_smart.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -3 -r1.14 -r1.15 --- evas_smart.c8 Dec 2006 07:51:48 - 1.14 +++ evas_smart.c4 Aug 2007 13:12:43 - 1.15 @@ -59,6 +59,9 @@ { Evas_Smart *s; + printf("- WARNING. evas_smart_new() will be deprecated and removed soon\n", + "- Please use evas_smart_class_new() instead\n"); + if (!name) return NULL; s = evas_mem_calloc(sizeof(Evas_Smart)); @@ -117,7 +120,7 @@ * @return an Evas_Smart */ EAPI Evas_Smart * -evas_smart_class_new(Evas_Smart_Class *sc) +evas_smart_class_new(const Evas_Smart_Class *sc) { Evas_Smart *s; @@ -142,7 +145,7 @@ * @param s the Evas_Smart * @return the Evas_Smart_Class */ -EAPI Evas_Smart_Class * +EAPI const Evas_Smart_Class * evas_smart_class_get(Evas_Smart *s) { MAGIC_CHECK(s, Evas_Smart, MAGIC_SMART); - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/edje raster
Enlightenment CVS committal Author : raster Project : e17 Module : libs/edje Dir : e17/libs/edje/src/lib Modified Files: edje_container.c edje_smart.c Log Message: move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will probably die as it's already got legacy funcion methods for layer etc. stuff. === RCS file: /cvs/e/e17/libs/edje/src/lib/edje_container.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- edje_container.c27 Oct 2005 02:44:36 - 1.10 +++ edje_container.c4 Aug 2007 13:12:41 - 1.11 @@ -749,18 +749,23 @@ _smart_init(void) { if (smart) return; - smart = evas_smart_new(E_OBJ_NAME, - _smart_add, - _smart_del, - NULL, NULL, NULL, NULL, NULL, - _smart_move, - _smart_resize, - _smart_show, - _smart_hide, - _smart_color_set, - _smart_clip_set, - _smart_clip_unset, - NULL); + { + static const Evas_Smart_Class sc = + { +E_OBJ_NAME, + _smart_add, + _smart_del, + _smart_move, + _smart_resize, + _smart_show, + _smart_hide, + _smart_color_set, + _smart_clip_set, + _smart_clip_unset, + NULL + }; +smart = evas_smart_class_new(&sc); + } } static void === RCS file: /cvs/e/e17/libs/edje/src/lib/edje_smart.c,v retrieving revision 1.30 retrieving revision 1.31 diff -u -3 -r1.30 -r1.31 --- edje_smart.c26 May 2007 23:57:21 - 1.30 +++ edje_smart.c4 Aug 2007 13:12:41 - 1.31 @@ -29,18 +29,22 @@ { if (!_edje_smart) { - _edje_smart = evas_smart_new("edje", -_edje_smart_add, -_edje_smart_del, -NULL, NULL, NULL, NULL, NULL, -_edje_smart_move, -_edje_smart_resize, -_edje_smart_show, -_edje_smart_hide, -_edje_smart_color_set, -_edje_smart_clip_set, -_edje_smart_clip_unset, -NULL); +static const Evas_Smart_Class sc = + { +"edje", + EVAS_SMART_CLASS_VERSION, + _edje_smart_add, + _edje_smart_del, + _edje_smart_move, + _edje_smart_resize, + _edje_smart_show, + _edje_smart_hide, + _edje_smart_color_set, + _edje_smart_clip_set, + _edje_smart_clip_unset, + NULL + }; + _edje_smart = evas_smart_class_new(&sc); } return evas_object_smart_add(evas, _edje_smart); } - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/evas raster
Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas Dir : e17/libs/evas/src/lib Modified Files: Evas.h Log Message: move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will probably die as it's already got legacy funcion methods for layer etc. stuff. === RCS file: /cvs/e/e17/libs/evas/src/lib/Evas.h,v retrieving revision 1.102 retrieving revision 1.103 diff -u -3 -r1.102 -r1.103 --- Evas.h 24 Jul 2007 14:20:07 - 1.102 +++ Evas.h 4 Aug 2007 13:12:43 - 1.103 @@ -710,8 +710,8 @@ /* smart objects */ EAPI Evas_Smart *evas_smart_new(const char *name, void (*func_add) (Evas_Object *obj), void (*func_del) (Evas_Object *obj), void (*func_layer_set) (Evas_Object *obj, int l), void (*func_raise) (Evas_Object *obj), void (*func_lower) (Evas_Object *obj), void (*func_stack_above) (Evas_Object *obj, Evas_Object *above), void (*func_stack_below) (Evas_Object *obj, Evas_Object *below), void (*func_move) (Evas_Object *obj, Evas_Coord x, Evas_Coord y), void (*func_resize) (Evas_Object *obj, Evas_Coord w, Evas_Coord h), void (*func_show) (Evas_Object *obj), void (*func_hide) (Evas_Object *obj), void (*func_color_set) (Evas_Object *obj, int r, int g, int b, int a), void (*func_clip_set) (Evas_Object *obj, Evas_Object *clip), void (*func_clip_unset) (Evas_Object *obj), const void *data); EAPI void evas_smart_free (Evas_Smart *s); - EAPI Evas_Smart *evas_smart_class_new (Evas_Smart_Class *sc); - EAPI Evas_Smart_Class *evas_smart_class_get (Evas_Smart *s); + EAPI Evas_Smart *evas_smart_class_new (const Evas_Smart_Class *sc); + EAPI const Evas_Smart_Class *evas_smart_class_get(Evas_Smart *s); EAPI void *evas_smart_data_get (Evas_Smart *s); - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/emotion raster
Enlightenment CVS committal Author : raster Project : e17 Module : libs/emotion Dir : e17/libs/emotion/src/lib Modified Files: emotion_smart.c Log Message: move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will probably die as it's already got legacy funcion methods for layer etc. stuff. === RCS file: /cvs/e/e17/libs/emotion/src/lib/emotion_smart.c,v retrieving revision 1.29 retrieving revision 1.30 diff -u -3 -r1.29 -r1.30 --- emotion_smart.c 18 Jul 2007 04:42:31 - 1.29 +++ emotion_smart.c 4 Aug 2007 13:12:41 - 1.30 @@ -74,11 +74,6 @@ static void _smart_init(void); static void _smart_add(Evas_Object * obj); static void _smart_del(Evas_Object * obj); -static void _smart_layer_set(Evas_Object * obj, int layer); -static void _smart_raise(Evas_Object * obj); -static void _smart_lower(Evas_Object * obj); -static void _smart_stack_above(Evas_Object * obj, Evas_Object * above); -static void _smart_stack_below(Evas_Object * obj, Evas_Object * below); static void _smart_move(Evas_Object * obj, Evas_Coord x, Evas_Coord y); static void _smart_resize(Evas_Object * obj, Evas_Coord w, Evas_Coord h); static void _smart_show(Evas_Object * obj); @@ -239,7 +234,6 @@ { sd->module->file_close(sd->video); sd->video = NULL; -printf("VIDEO -> NULL\n"); evas_object_image_size_set(sd->obj, 0, 0); } } @@ -1130,22 +1124,24 @@ _smart_init(void) { if (smart) return; - smart = evas_smart_new(E_OBJ_NAME, - _smart_add, - _smart_del, - _smart_layer_set, - _smart_raise, - _smart_lower, - _smart_stack_above, - _smart_stack_below, - _smart_move, - _smart_resize, - _smart_show, - _smart_hide, - _smart_color_set, - _smart_clip_set, - _smart_clip_unset, - NULL); + { + static const Evas_Smart_Class sc = + { +E_OBJ_NAME, + EVAS_SMART_CLASS_VERSION, + _smart_add, + _smart_del, + _smart_move, + _smart_resize, + _smart_show, + _smart_hide, + _smart_color_set, + _smart_clip_set, + _smart_clip_unset, + NULL + }; +smart = evas_smart_class_new(&sc); + } } static void @@ -1179,67 +1175,14 @@ Smart_Data *sd; sd = evas_object_smart_data_get(obj); if (!sd) return; - printf("DEL: sd->video = %p\n", sd->video); if (sd->video) sd->module->file_close(sd->video); - printf("MOD CLOSE: sd->video = %p\n", sd->video); _emotion_module_close(sd->module, sd->video); - printf("DEL SD: sd = %p\n", sd); evas_object_del(sd->obj); if (sd->file) free(sd->file); if (sd->job) ecore_job_del(sd->job); if (sd->progress.info) free(sd->progress.info); if (sd->ref.file) free(sd->ref.file); free(sd); -} - -static void -_smart_layer_set(Evas_Object * obj, int layer) -{ - Smart_Data *sd; - - sd = evas_object_smart_data_get(obj); - if (!sd) return; - evas_object_layer_set(sd->obj, layer); -} - -static void -_smart_raise(Evas_Object * obj) -{ - Smart_Data *sd; - - sd = evas_object_smart_data_get(obj); - if (!sd) return; - evas_object_raise(sd->obj); -} - -static void -_smart_lower(Evas_Object * obj) -{ - Smart_Data *sd; - - sd = evas_object_smart_data_get(obj); - if (!sd) return; - evas_object_lower(sd->obj); -} - -static void -_smart_stack_above(Evas_Object * obj, Evas_Object * above) -{ - Smart_Data *sd; - - sd = evas_object_smart_data_get(obj); - if (!sd) return; - evas_object_stack_above(sd->obj, above); -} - -static void -_smart_stack_below(Evas_Object * obj, Evas_Object * below) -{ - Smart_Data *sd; - - sd = evas_object_smart_data_get(obj); - if (!sd) return; - evas_object_stack_below(sd->obj, below); } static void - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: apps/entice raster
Enlightenment CVS committal Author : raster Project : e17 Module : apps/entice Dir : e17/apps/entice/src/bin Modified Files: image.c Log Message: move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will probably die as it's already got legacy funcion methods for layer etc. stuff. === RCS file: /cvs/e/e17/apps/entice/src/bin/image.c,v retrieving revision 1.49 retrieving revision 1.50 diff -u -3 -r1.49 -r1.50 --- image.c 29 Dec 2006 05:28:11 - 1.49 +++ image.c 4 Aug 2007 13:12:41 - 1.50 @@ -813,15 +813,25 @@ static Evas_Smart *s = NULL; if (!s) - { - s = evas_smart_new("EnticeImage", entice_image_add, entice_image_del, - NULL, NULL, NULL, NULL, NULL, -entice_image_move, entice_image_resize, entice_image_show, - entice_image_hide, entice_image_color_set, - entice_image_clip_set, entice_image_clip_unset, - NULL); - } - return (s); + { +static const Evas_Smart_Class sc = + { +"EnticeImage", + EVAS_SMART_CLASS_VERSION, + entice_image_add, + entice_image_del, + entice_image_move, + entice_image_resize, + entice_image_show, + entice_image_hide, + entice_image_color_set, + entice_image_clip_set, + entice_image_clip_unset, + NULL + }; + s = evas_smart_class_new(&sc); + } + return s; } Evas_Object * - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: proto raster
Enlightenment CVS committal Author : raster Project : e17 Module : proto Dir : e17/proto/python-efl/python-edje/examples/evas-demo/03-kinetic_list Modified Files: 03-kinetic_list.py Log Message: move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will probably die as it's already got legacy funcion methods for layer etc. stuff. === RCS file: /cvs/e/e17/proto/python-efl/python-edje/examples/evas-demo/03-kinetic_list/03-kinetic_list.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- 03-kinetic_list.py 31 Jul 2007 22:35:16 - 1.1 +++ 03-kinetic_list.py 4 Aug 2007 13:12:43 - 1.2 @@ -204,7 +204,7 @@ self.pixel_per_sec -= self.pixel_per_sec / 10 self.__update_screen() -ecore.timer_add(0.1, self.__do_scroll) +ecore.timer_add(0.02, self.__do_scroll) def __do_magnetic_scroll(self): if self.pixels_left <= 0 or abs(self.pixel_per_sec) < 1: - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/etk lok
Enlightenment CVS committal Author : lok Project : e17 Module : libs/etk Dir : e17/libs/etk/data/themes/default/fonts Modified Files: Makefile.am Added Files: VeraBI.ttf Log Message: Label's markups left, center and right are now usable within a tree row. Added missing font Vera Bold Italic to the default theme. === RCS file: /cvs/e/e17/libs/etk/data/themes/default/fonts/Makefile.am,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- Makefile.am 22 Mar 2007 13:53:12 - 1.3 +++ Makefile.am 4 Aug 2007 12:43:04 - 1.4 @@ -1,5 +1,6 @@ MAINTAINERCLEANFILES = Makefile.in EXTRA_DIST = VeraBd.ttf \ +VeraBI.ttf \ VeraIt.ttf \ VeraMono.ttf \ Vera.ttf - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/etk lok
Enlightenment CVS committal Author : lok Project : e17 Module : libs/etk Dir : e17/libs/etk/data/themes/default Modified Files: default.edc Log Message: Label's markups left, center and right are now usable within a tree row. Added missing font Vera Bold Italic to the default theme. === RCS file: /cvs/e/e17/libs/etk/data/themes/default/default.edc,v retrieving revision 1.36 retrieving revision 1.37 diff -u -3 -r1.36 -r1.37 --- default.edc 20 Jul 2007 22:43:25 - 1.36 +++ default.edc 4 Aug 2007 12:43:04 - 1.37 @@ -12,6 +12,7 @@ font: "Vera.ttf" "Vera"; font: "VeraBd.ttf" "Vera-Bold"; font: "VeraIt.ttf" "Vera-Italic"; + font: "VeraBI.ttf" "Vera-Bold-Italic"; font: "VeraMono.ttf" "Vera-Mono"; } - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/etk lok
Enlightenment CVS committal Author : lok Project : e17 Module : libs/etk Dir : e17/libs/etk/src/lib Modified Files: etk_tree_model.c Log Message: Label's markups left, center and right are now usable within a tree row. Added missing font Vera Bold Italic to the default theme. === RCS file: /cvs/e/e17/libs/etk/src/lib/etk_tree_model.c,v retrieving revision 1.19 retrieving revision 1.20 diff -u -3 -r1.19 -r1.20 --- etk_tree_model.c6 Jul 2007 21:51:37 - 1.19 +++ etk_tree_model.c4 Aug 2007 12:43:04 - 1.20 @@ -380,6 +380,7 @@ edje_object_part_text_set(cell_objects[0], "etk.text.label", *text_data); evas_object_move(cell_objects[0], geometry.x, geometry.y + (geometry.h / 2)); + evas_object_resize(cell_objects[0], geometry.w + (geometry.x / 2), geometry.h - (geometry.y / 2)); evas_object_show(cell_objects[0]); return ETK_FALSE; - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/evas raster
Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas Dir : e17/libs/evas/src/modules/engines/gl_common Modified Files: evas_gl_gradient.c Log Message: grad fixes from jose === RCS file: /cvs/e/e17/libs/evas/src/modules/engines/gl_common/evas_gl_gradient.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- evas_gl_gradient.c 4 Aug 2007 07:20:17 - 1.6 +++ evas_gl_gradient.c 4 Aug 2007 12:33:12 - 1.7 @@ -163,15 +163,18 @@ } void -evas_gl_common_gradient_draw(Evas_GL_Context *gc, Evas_GL_Gradient *gr, int x, int y, int w, int h) +evas_gl_common_gradient_draw(Evas_GL_Context *gc, +Evas_GL_Gradient *gr, +int x, int y, int w, int h) { int r, g, b, a; RGBA_Draw_Context *dc; - + double tx2, ty2; + if ((w < 1) || (h < 1)) return; if (!gr || !gc || !gc->dc) return; if (!gr->grad || !gr->grad->type.geometer) return; - + dc = gc->dc; if (dc->mul.use) { @@ -185,10 +188,10 @@ r = g = b = a = 255; } evas_gl_common_context_color_set(gc, r, g, b, a); - + a = !evas_gl_common_gradient_is_opaque(gc, gr, x, y, w, h); evas_gl_common_context_blend_set(gc, a); - + if (dc->clip.use) evas_gl_common_context_clip_set(gc, 1, dc->clip.x, dc->clip.y, @@ -196,7 +199,7 @@ else evas_gl_common_context_clip_set(gc, 0, 0, 0, 0, 0); - + if (!gr->tex) gr->changed = 1; if (((w != gr->tw) || (h != gr->th)) && gr->tex) { @@ -208,33 +211,45 @@ { RGBA_Image *im; int op = dc->render_op, cuse = dc->clip.use; - + im = evas_common_image_create(w, h); if (!im) return; dc->render_op = _EVAS_RENDER_FILL; dc->clip.use = 0; evas_common_gradient_draw(im, dc, 0, 0, w, h, gr->grad); if (!gr->tex) - gr->tex = evas_gl_common_texture_new(gc, im, 0); + gr->tex = evas_gl_common_texture_new(gc, im, 0); else - evas_gl_common_texture_update(gr->tex, im, 0); - + evas_gl_common_texture_update(gr->tex, im, 0); + evas_common_image_delete(im); dc->render_op = op; dc->clip.use = cuse; if (!gr->tex) return; } - - evas_gl_common_context_texture_set(gc, gr->tex, 0, w, h); - + + if (gr->tex->rectangle) + { + tx2 = w; + ty2 = h; + } + else + { + tx2 = (double)w / (double)(gr->tex->w); + ty2 = (double)h / (double)(gr->tex->h); + } + + evas_gl_common_context_texture_set(gc, gr->tex, 0, + gr->tex->tw, gr->tex->th); + evas_gl_common_context_read_buf_set(gc, GL_BACK); evas_gl_common_context_write_buf_set(gc, GL_BACK); - + glBegin(GL_QUADS); glTexCoord2d(0.0, 0.0); glVertex2i(x, y); - glTexCoord2d(1.0, 0.0); glVertex2i(x + w, y); - glTexCoord2d(1.0, 1.0); glVertex2i(x + w, y + h); - glTexCoord2d(0.0, 1.0); glVertex2i(x, y + h); + glTexCoord2d(tx2, 0.0); glVertex2i(x + w, y); + glTexCoord2d(tx2, ty2); glVertex2i(x + w, y + h); + glTexCoord2d(0.0, ty2); glVertex2i(x, y + h); glEnd(); gr->changed = 0; gr->tw = w; gr->th = h; - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/evas raster
Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas Dir : e17/libs/evas/src/modules/engines/gl_common Modified Files: evas_gl_texture.c Log Message: actually - yes - in texture drop not del. === RCS file: /cvs/e/e17/libs/evas/src/modules/engines/gl_common/evas_gl_texture.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- evas_gl_texture.c 4 Aug 2007 07:20:17 - 1.10 +++ evas_gl_texture.c 4 Aug 2007 09:54:35 - 1.11 @@ -385,7 +385,7 @@ im2->image->data, pw, ph); } - if (im1 != im) evas_common_image_delete(im1); + if (im1 != im) evas_cache_image_drop(im1); im1 = NULL; im_data = im2->image->data; - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/evas raster
Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas Dir : e17/libs/evas/src/modules/engines/gl_common Modified Files: evas_gl_gradient.c evas_gl_texture.c Log Message: gradients dont crash now. draw funny tho :-P === RCS file: /cvs/e/e17/libs/evas/src/modules/engines/gl_common/evas_gl_gradient.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- evas_gl_gradient.c 16 Apr 2007 02:01:11 - 1.5 +++ evas_gl_gradient.c 4 Aug 2007 07:20:17 - 1.6 @@ -219,7 +219,7 @@ else evas_gl_common_texture_update(gr->tex, im, 0); - evas_common_image_free(im); + evas_common_image_delete(im); dc->render_op = op; dc->clip.use = cuse; if (!gr->tex) return; === RCS file: /cvs/e/e17/libs/evas/src/modules/engines/gl_common/evas_gl_texture.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- evas_gl_texture.c 2 Jun 2007 15:30:58 - 1.9 +++ evas_gl_texture.c 4 Aug 2007 07:20:17 - 1.10 @@ -385,7 +385,7 @@ im2->image->data, pw, ph); } - if (im1 != im) evas_common_image_free(im1); + if (im1 != im) evas_common_image_delete(im1); im1 = NULL; im_data = im2->image->data; @@ -413,7 +413,7 @@ im1 = im2; im2 = NULL; } - if ((im1 != im) && (im1)) evas_common_image_free(im1); + if ((im1 != im) && (im1)) evas_common_image_delete(im1); tex->have_mipmaps = 1; #ifdef BUILD_MMX if (mmx) evas_common_cpu_end_opt(); - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/evas raster
Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas Dir : e17/libs/evas/src/modules/engines/gl_x11 Modified Files: evas_engine.c Log Message: wrong gradient call === RCS file: /cvs/e/e17/libs/evas/src/modules/engines/gl_x11/evas_engine.c,v retrieving revision 1.26 retrieving revision 1.27 diff -u -3 -r1.26 -r1.27 --- evas_engine.c 17 Jun 2007 02:56:58 - 1.26 +++ evas_engine.c 4 Aug 2007 07:04:45 - 1.27 @@ -421,7 +421,7 @@ static void eng_gradient_fill_angle_set(void *data, void *gradient, double angle) { - evas_common_gradient_fill_angle_set(gradient, angle); + evas_gl_common_gradient_fill_angle_set(gradient, angle); } static void - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs