Enlightenment CVS committal Author : sebastid Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e.h e_border.c e_file.c e_file.h e_gadman.c e_module.c e_path.c e_zone.h e_main.c Log Message: Small updates. Move from e_file to ecore_file =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e.h,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- e.h 8 Feb 2005 11:46:46 -0000 1.12 +++ e.h 21 Feb 2005 16:16:35 -0000 1.13 @@ -23,6 +23,7 @@ #include <Ecore_Job.h> #include <Ecore_Txt.h> #include <Ecore_Config.h> +#include <Ecore_File.h> #include <Ecore_X_Atoms.h> #include <Eet.h> #include <Edje.h> =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v retrieving revision 1.102 retrieving revision 1.103 diff -u -3 -r1.102 -r1.103 --- e_border.c 18 Feb 2005 10:28:54 -0000 1.102 +++ e_border.c 21 Feb 2005 16:16:37 -0000 1.103 @@ -272,8 +272,7 @@ /* FIXME: if first_map is 1 then we should ignore the first hide event * or ensure the window is alreayd hidden and events flushed before we - * create a border for it - */ + * create a border for it */ if (first_map) { printf("##- FIRST MAP\n"); =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_file.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- e_file.c 7 Feb 2005 13:51:09 -0000 1.3 +++ e_file.c 21 Feb 2005 16:16:38 -0000 1.4 @@ -4,6 +4,7 @@ #include "e.h" #include <dirent.h> +#if 0 /* externally accessible functions */ time_t e_file_mod_time(char *file) @@ -202,3 +203,4 @@ return list; } +#endif =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_file.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- e_file.h 7 Feb 2005 13:51:09 -0000 1.4 +++ e_file.h 21 Feb 2005 16:16:39 -0000 1.5 @@ -6,6 +6,7 @@ #ifndef E_FILE_H #define E_FILE_H +#if 0 EAPI time_t e_file_mod_time(char *file); EAPI int e_file_exists(char *file); EAPI int e_file_is_dir(char *file); @@ -19,6 +20,7 @@ EAPI int e_file_can_exec(struct stat *st); EAPI char *e_file_readlink(char *link); EAPI Evas_List *e_file_ls(char *dir); +#endif #endif #endif =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_gadman.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -3 -r1.23 -r1.24 --- e_gadman.c 16 Feb 2005 11:27:01 -0000 1.23 +++ e_gadman.c 21 Feb 2005 16:16:39 -0000 1.24 @@ -445,6 +445,7 @@ gmc->y = gmc->zone->y + ((gmc->zone->h - gmc->h) * gmc->ay); _e_gadman_client_callback_call(gmc, E_GADMAN_CHANGE_MOVE_RESIZE); _e_gadman_client_geometry_apply(gmc); + _e_gadman_client_geometry_to_align(gmc); } void =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_module.c,v retrieving revision 1.19 retrieving revision 1.20 diff -u -3 -r1.19 -r1.20 --- e_module.c 16 Feb 2005 11:30:32 -0000 1.19 +++ e_module.c 21 Feb 2005 16:16:40 -0000 1.20 @@ -140,10 +140,10 @@ } _e_modules = evas_list_append(_e_modules, m); m->name = strdup(name); - s = e_file_get_dir(modpath); + s = ecore_file_get_dir(modpath); if (s) { - m->dir = e_file_get_dir(s); + m->dir = ecore_file_get_dir(s); free(s); } m->func.info(m); =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_path.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- e_path.c 16 Feb 2005 11:31:21 -0000 1.6 +++ e_path.c 21 Feb 2005 16:16:40 -0000 1.7 @@ -174,7 +174,7 @@ if (p) { snprintf(_e_path_buf, sizeof(_e_path_buf), "%s/%s", p, file); - rp = e_file_realpath(_e_path_buf); + rp = ecore_file_realpath(_e_path_buf); if ((rp) && (rp[0] != 0)) { strcpy(_e_path_buf, rp); =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_zone.h,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- e_zone.h 13 Feb 2005 12:33:31 -0000 1.13 +++ e_zone.h 21 Feb 2005 16:16:40 -0000 1.14 @@ -20,8 +20,7 @@ int x, y, w, h; char *name; /* num matches the id of the xinerama screen - * this zone belongs to. - */ + * this zone belongs to. */ int num; E_Container *container; =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_main.c,v retrieving revision 1.47 retrieving revision 1.48 diff -u -3 -r1.47 -r1.48 --- e_main.c 13 Feb 2005 11:17:46 -0000 1.47 +++ e_main.c 21 Feb 2005 16:16:40 -0000 1.48 @@ -128,7 +128,7 @@ } _e_main_shutdown_push(ecore_shutdown); /* setup my args */ - ecore_app_args_set((int)argc, (const char **)argv); + ecore_app_args_set(argc, (const char **)argv); /* setup a handler for when e is asked to exit via a system signal */ if (!ecore_event_handler_add(ECORE_EVENT_SIGNAL_EXIT, _e_main_cb_signal_exit, NULL)) { @@ -443,7 +443,7 @@ for (i = 0; i < (int)(sizeof(dirs) / sizeof(char *)); i++) { snprintf(buf, sizeof(buf), dirs[i], homedir); - if (!e_file_mkpath(buf)) + if (!ecore_file_mkpath(buf)) { e_error_message_show("Error creating directory:\n" "%s", @@ -458,7 +458,7 @@ /* outside e's main source to populate these directories from gnome/kde */ /* app menu data etc. */ snprintf(buf, sizeof(buf), "%s/.e/e/applications/all/eterm.eapp", homedir); - if (!e_file_exists(buf)) + if (!ecore_file_exists(buf)) { printf("GETTING YOU STARTED!\n"); snprintf(buf, sizeof(buf), ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs