E CVS: uptime devilhorns

2007-12-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
module.desktop 


Log Message:
Fix up module.desktop descriptions for new box width.

===
RCS file: /cvs/e/e_modules/uptime/module.desktop,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- module.desktop  4 Nov 2007 15:49:47 -   1.3
+++ module.desktop  30 Dec 2007 19:49:26 -  1.4
@@ -2,5 +2,5 @@
 Type=Link
 Name=Uptime
 Icon=e-module-uptime
-Comment=hilightUptime Gadget/hilightbrGadget to display the 
currentbruptime of the system.
-Comment[it]=hilightModulo Uptime/hilightbrModulo per visualizzare il 
tempobrdi servizio del sistema.
+Comment=hilightUptime Gadget/hilightbrbrGadget to display the current 
uptime of the system.
+Comment[it]=hilightModulo Uptime/hilightbrbrModulo per visualizzare il 
tempo di servizio del sistema.



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2007-11-24 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
e_mod_main.c e_mod_main.h 


Log Message:
Fixes for recent gadcon menu breakage.

===
RCS file: /cvs/e/e_modules/uptime/e_mod_main.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- e_mod_main.c12 Nov 2007 04:15:53 -  1.27
+++ e_mod_main.c25 Nov 2007 05:50:41 -  1.28
@@ -64,7 +64,6 @@
 static void _ut_cb_mouse_down (void *data, Evas * e, Evas_Object * obj,
   void *event_info);
 static void _ut_menu_cb_configure (void *data, E_Menu * m, E_Menu_Item * mi);
-static void _ut_menu_cb_post (void *data, E_Menu * m);
 static Config_Item *_ut_config_item_get (const char *id);
 static Uptime *_ut_new (Evas * evas);
 static void _ut_free (Uptime * ut);
@@ -191,21 +190,16 @@
   Instance *inst;
   Evas_Event_Mouse_Down *ev;
 
-  if (ut_config-menu != NULL)
-return;
-
   inst = data;
   ev = event_info;
 
-  if (ev-button == 3)
+  if ((ev-button == 3)  (!inst-gcc-menu))
 {
   E_Menu *mn;
   E_Menu_Item *mi;
   int x, y, w, h;
 
   mn = e_menu_new ();
-  e_menu_post_deactivate_callback_set (mn, _ut_menu_cb_post, inst);
-  ut_config-menu = mn;
 
   mi = e_menu_item_new (mn);
   e_menu_item_label_set (mi, D_ (Configuration));
@@ -228,15 +222,6 @@
 }
 
 static void
-_ut_menu_cb_post (void *data, E_Menu * m)
-{
-  if (ut_config-menu == NULL)
-return;
-  e_object_del (E_OBJECT (ut_config-menu));
-  ut_config-menu = NULL;
-}
-
-static void
 _ut_menu_cb_configure (void *data, E_Menu * m, E_Menu_Item * mi)
 {
   Instance *inst;
@@ -367,12 +352,6 @@
   if (ut_config-config_dialog != NULL)
 e_object_del (E_OBJECT (ut_config-config_dialog));
 
-  if (ut_config-menu)
-{
-  e_menu_post_deactivate_callback_set (ut_config-menu, NULL, NULL);
-  e_object_del (E_OBJECT (ut_config-menu));
-  ut_config-menu = NULL;
-}
   while (ut_config-items)
 {
   Config_Item *ci;
===
RCS file: /cvs/e/e_modules/uptime/e_mod_main.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- e_mod_main.h31 Oct 2007 14:44:31 -  1.9
+++ e_mod_main.h25 Nov 2007 05:50:41 -  1.10
@@ -10,7 +10,6 @@
 {
E_Module *module;
E_Config_Dialog *config_dialog;
-   E_Menu *menu;
Evas_List *instances;
Evas_List *items;
 };



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2007-10-31 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
e-module-uptime.edj e_mod_config.c e_mod_main.c e_mod_main.h 


Log Message:
Update uptime module for recent changes.

===
RCS file: /cvs/e/e_modules/uptime/e-module-uptime.edj,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
Binary files /tmp/cvs2Pe0sR and /tmp/cvsbSCzv0 differ
===
RCS file: /cvs/e/e_modules/uptime/e_mod_config.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- e_mod_config.c  16 Sep 2007 01:46:52 -  1.15
+++ e_mod_config.c  31 Oct 2007 14:44:31 -  1.16
@@ -46,7 +46,7 @@
   v-basic.apply_cfdata = _basic_apply_data;
   v-basic.create_widgets = _basic_create_widgets;
 
-  snprintf (buf, sizeof (buf), %s/module.edj,
+  snprintf (buf, sizeof (buf), %s/e-module-uptime.edj,
e_module_dir_get (ut_config-module));
   con = e_container_current_get (e_manager_current_get ());
   cfd = e_config_dialog_new (con, D_ (Uptime Configuration), UpTime, 
_e_modules_uptime_config_dialog, buf, 0, v, ci);
===
RCS file: /cvs/e/e_modules/uptime/e_mod_main.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- e_mod_main.c16 Sep 2007 03:31:42 -  1.25
+++ e_mod_main.c31 Oct 2007 14:44:31 -  1.26
@@ -400,14 +400,6 @@
   return 1;
 }
 
-EAPI int
-e_modapi_about (E_Module * m)
-{
-  e_module_dialog_show (m, D_ (Enlightenment Uptime Monitor Module),
-   D_ (This module is used to monitor uptime.));
-  return 1;
-}
-
 static Uptime *
 _ut_new (Evas * evas)
 {
===
RCS file: /cvs/e/e_modules/uptime/e_mod_main.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- e_mod_main.h16 Sep 2007 01:46:52 -  1.8
+++ e_mod_main.h31 Oct 2007 14:44:31 -  1.9
@@ -27,7 +27,6 @@
 EAPI void *e_modapi_init(E_Module *m);
 EAPI int e_modapi_shutdown(E_Module *m);
 EAPI int e_modapi_save(E_Module *m);
-EAPI int e_modapi_about(E_Module *m);
 
 void _config_ut_module(Config_Item *ci);
 void _ut_config_updated(Config_Item *ci);



-
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: uptime devilhorns

2007-04-25 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
configure.in 


Log Message:
Pretty standard patch set from Lutin for recent pkg-config changes in EFL...
committing in bulk.

===
RCS file: /cvs/e/e_modules/uptime/configure.in,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- configure.in30 Mar 2007 20:51:30 -  1.16
+++ configure.in25 Apr 2007 09:22:08 -  1.17
@@ -106,22 +106,9 @@
 #AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
 #AC_SUBST(dlopen_libs)
 
-AC_ARG_WITH(edje-config,
-[  --with-edje-config=EDJE_CONFIG  use edje-config specified ],
-[
-  EDJE_CONFIG=$withval;
-  echo using $EDJE_CONFIG for edje-config;
-/
-],[
-  PROG=edje-config;
-  AC_PATH_PROG(EDJE_CONFIG, $PROG, , $PATH)
-])
-edje_cflags=`$EDJE_CONFIG --cflags`
-edje_libs=`$EDJE_CONFIG --libs`
-AC_SUBST(edje_cflags)
-AC_SUBST(edje_libs)
+PKG_CHECK_MODULES(EDJE, [edje = 0.5.0])
 
-edje_cc=`$EDJE_CONFIG --prefix`/bin/edje_cc
+edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc
 AC_ARG_WITH(edje-cc,
 [  --with-edje-cc=PATH  specify a specific path to edje_cc],
 [
@@ -129,7 +116,7 @@
   edje_cc=$v
   echo   Enlightenment edje_cc explicitly set to $edje_cc;
 ],[
-  edje_cc=`$EDJE_CONFIG --prefix`/bin/edje_cc
+  edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc
 ])
 AC_SUBST(edje_cc)
 



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2007-03-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
ABOUT-NLS Makefile.am autogen.sh configure.in 
Added Files:
e-module-uptime.edj 
Removed Files:
module.desktop.in module.edj 


Log Message:
Uptime module converted to new desktop files.

===
RCS file: /cvs/e/e_modules/uptime/ABOUT-NLS,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ABOUT-NLS   9 Mar 2006 11:40:41 -   1.1
+++ ABOUT-NLS   30 Mar 2007 20:51:30 -  1.2
@@ -1,8 +1,8 @@
 Notes on the Free Translation Project
 *
 
-   Free software is going international!  The Free Translation Project
-is a way to get maintainers of free software, translators, and users all
+Free software is going international!  The Free Translation Project is
+a way to get maintainers of free software, translators, and users all
 together, so that will gradually become able to speak many languages.
 A few packages already provide translations for their messages.
 
@@ -25,7 +25,7 @@
 Quick configuration advice
 ==
 
-   If you want to exploit the full power of internationalization, you
+If you want to exploit the full power of internationalization, you
 should configure it using
 
  ./configure --with-included-gettext
@@ -48,10 +48,10 @@
 INSTALL Matters
 ===
 
-   Some packages are localizable when properly installed; the
-programs they contain can be made to speak your own native language.
-Most such packages use GNU `gettext'.  Other packages have their own
-ways to internationalization, predating GNU `gettext'.
+Some packages are localizable when properly installed; the programs
+they contain can be made to speak your own native language.  Most such
+packages use GNU `gettext'.  Other packages have their own ways to
+internationalization, predating GNU `gettext'.
 
By default, this package will be installed to allow translation of
 messages.  It will automatically detect whether the system already
@@ -98,7 +98,7 @@
 Using This Package
 ==
 
-   As a user, if your language has been installed for this package, you
+As a user, if your language has been installed for this package, you
 only have to set the `LANG' environment variable to the appropriate
 `LL_CC' combination.  Here `LL' is an ISO 639 two-letter language code,
 and `CC' is an ISO 3166 two-letter country code.  For example, let's
@@ -131,6 +131,13 @@
 read translations in German than English for when Swedish is not
 available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'.
 
+   Special advice for Norwegian users: The language code for Norwegian
+bokma*l changed from `no' to `nb' recently (in 2003).  During the
+transition period, while some message catalogs for this language are
+installed under `nb' and some older ones under `no', it's recommended
+for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and
+older translations are used.
+
In the `LANGUAGE' environment variable, but not in the `LANG'
 environment variable, `LL_CC' combinations can be abbreviated as `LL'
 to denote the language's main dialect.  For example, `de' is equivalent
@@ -140,7 +147,7 @@
 Translating Teams
 =
 
-   For the Free Translation Project to be a success, we need interested
+For the Free Translation Project to be a success, we need interested
 people who like their own language and write it well, and who are also
 able to synergize with other translators speaking the same language.
 Each translation team has its own mailing list.  The up-to-date list of
@@ -170,16 +177,559 @@
 Available Packages
 ==
 
-   Languages are not equally supported in all packages.  The following
-matrix shows the current state of internationalization, as of April
-2005.  The matrix shows, in regard of each package, for which languages
+Languages are not equally supported in all packages.  The following
+matrix shows the current state of internationalization, as of January
+2004.  The matrix shows, in regard of each package, for which languages
 PO files have been submitted to translation coordination, with a
 translation percentage of at least 50%.
 
- Ready PO filesen fr ja de bg es fi pl pt ru
- +---+
- enlightenment   | [] [] [] [] [] [] [] [] [] [] |
-
+ Ready PO files   af am ar az be bg bs ca cs da de el en en_GB eo es
+++
+ a2ps   | [] [] [] []|
+ aegis  |   ()   |
+ ant-phone  |   ()   |
+ anubis ||
+ 

E CVS: uptime devilhorns

2007-03-30 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Added Files:
module.desktop 


Log Message:
And again add the module.desktop file.




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-10-11 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
uptime.edc 


Log Message:
Color classes for uptime module.

===
RCS file: /cvs/e/e_modules/uptime/uptime.edc,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- uptime.edc  29 Jun 2006 19:56:51 -  1.10
+++ uptime.edc  11 Oct 2006 20:48:50 -  1.11
@@ -32,6 +32,7 @@
   color: 255 255 255 255;
   color2: 0 0 0 96;
   color3: 0 0 0 32;
+  color_class: module_label;
   text
 {
text: uptime;
@@ -66,6 +67,7 @@
   color: 255 255 255 255;
   color2: 0 0 0 96;
   color3: 0 0 0 32;
+  color_class: module_label;
   text
 {
text: load average;
@@ -100,6 +102,7 @@
   color: 255 255 255 255;
   color2: 0 0 0 96;
   color3: 0 0 0 32;
+  color_class: module_label;
   text
 {
text: users;



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-09-02 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
Makefile.am 


Log Message:
Added make uninstall rule

===
RCS file: /cvs/e/e_modules/uptime/Makefile.am,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- Makefile.am 14 Jul 2006 19:06:39 -  1.12
+++ Makefile.am 2 Sep 2006 12:45:10 -   1.13
@@ -42,4 +42,6 @@
 
 clean-local:
 rm -rf *.edj *~
+uninstall:
+   rm -rf $(datadir)
 



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-07-25 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
configure.in 


Log Message:
Fix minor oversight with x86_64 libdir. Thanks Sebastian

===
RCS file: /cvs/e/e_modules/uptime/configure.in,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- configure.in25 Jul 2006 03:54:46 -  1.13
+++ configure.in25 Jul 2006 13:34:55 -  1.14
@@ -89,7 +89,7 @@
 AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, ${HOME}/.e/e/modules/${PACKAGE}, 
Package installed data destination)
 datadir=${HOME}/.e/e/modules/${PACKAGE}
 else
-AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, 
${libdir}/lib/enlightenment/modules/${PACKAGE}, Package installed data 
destination)
+AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, 
${libdir}/enlightenment/modules/${PACKAGE}, Package installed data 
destination)
 datadir=${libdir}/enlightenment/modules/${PACKAGE}
 fi
 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-07-24 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
configure.in 


Log Message:
Patch from Marcus Huwe for installation on x86_64

===
RCS file: /cvs/e/e_modules/uptime/configure.in,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- configure.in29 Jun 2006 19:56:51 -  1.11
+++ configure.in25 Jul 2006 01:41:53 -  1.12
@@ -90,7 +90,7 @@
 datadir=${HOME}/.e/e/modules/${PACKAGE}
 else
 AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, 
${prefix}/lib/enlightenment/modules/${PACKAGE}, Package installed data 
destination)
-datadir=${prefix}/lib/enlightenment/modules/${PACKAGE}
+datadir=${libdir}/enlightenment/modules/${PACKAGE}
 fi
 
 AC_PREFIX_DEFAULT(${HOME}/.e/e)



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-07-24 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
configure.in 


Log Message:
Bad Marcus, no cookie :) . Fixed x86_64 install patch.

===
RCS file: /cvs/e/e_modules/uptime/configure.in,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- configure.in25 Jul 2006 01:41:53 -  1.12
+++ configure.in25 Jul 2006 03:54:46 -  1.13
@@ -89,7 +89,7 @@
 AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, ${HOME}/.e/e/modules/${PACKAGE}, 
Package installed data destination)
 datadir=${HOME}/.e/e/modules/${PACKAGE}
 else
-AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, 
${prefix}/lib/enlightenment/modules/${PACKAGE}, Package installed data 
destination)
+AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, 
${libdir}/lib/enlightenment/modules/${PACKAGE}, Package installed data 
destination)
 datadir=${libdir}/enlightenment/modules/${PACKAGE}
 fi
 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-07-17 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
e_mod_config.c e_mod_main.c 


Log Message:
Indent.

===
RCS file: /cvs/e/e_modules/uptime/e_mod_config.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- e_mod_config.c  10 Jul 2006 18:01:02 -  1.11
+++ e_mod_config.c  18 Jul 2006 00:02:23 -  1.12
@@ -9,124 +9,132 @@
 
 struct _E_Config_Dialog_Data
 {
-   double check_interval;
-   double update_interval;
+  double check_interval;
+  double update_interval;
 };
 
 /* Protos */
-static void *_create_data(E_Config_Dialog *cfd);
-static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
-static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
-static int _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata);
-static void _fill_data(Config_Item *ci, E_Config_Dialog_Data *cfdata);
+static void *_create_data (E_Config_Dialog * cfd);
+static void _free_data (E_Config_Dialog * cfd, E_Config_Dialog_Data * cfdata);
+static Evas_Object *_basic_create_widgets (E_Config_Dialog * cfd, Evas * evas,
+  E_Config_Dialog_Data * cfdata);
+static int _basic_apply_data (E_Config_Dialog * cfd,
+ E_Config_Dialog_Data * cfdata);
+static void _fill_data (Config_Item * ci, E_Config_Dialog_Data * cfdata);
 
 /* Config Calls */
 void
-_config_ut_module(Config_Item *ci)
+_config_ut_module (Config_Item * ci)
 {
-   E_Config_Dialog *cfd;
-   E_Config_Dialog_View *v;
-   E_Container *con;
-   char buf[4096];
-   
-   if (!ut_config) return;
-
-   v = E_NEW(E_Config_Dialog_View, 1);
-   if (v == NULL)
- {
-   warn(malloc());
-   return;
- }
-
-   v-create_cfdata = _create_data;
-   v-free_cfdata = _free_data;
-   v-basic.apply_cfdata = _basic_apply_data;
-   v-basic.create_widgets = _basic_create_widgets;
-
-   snprintf(buf, sizeof(buf), %s/module.eap, 
e_module_dir_get(ut_config-module));
-   con = e_container_current_get(e_manager_current_get());
-   cfd = e_config_dialog_new(con, D_(Uptime Configuration), buf, 0, v, ci);
-   ut_config-config_dialog = cfd;
+  E_Config_Dialog *cfd;
+  E_Config_Dialog_View *v;
+  E_Container *con;
+  char buf[4096];
+
+  if (!ut_config)
+return;
+
+  v = E_NEW (E_Config_Dialog_View, 1);
+  if (v == NULL)
+{
+  warn (malloc());
+  return;
+}
+
+  v-create_cfdata = _create_data;
+  v-free_cfdata = _free_data;
+  v-basic.apply_cfdata = _basic_apply_data;
+  v-basic.create_widgets = _basic_create_widgets;
+
+  snprintf (buf, sizeof (buf), %s/module.eap,
+   e_module_dir_get (ut_config-module));
+  con = e_container_current_get (e_manager_current_get ());
+  cfd = e_config_dialog_new (con, D_ (Uptime Configuration), buf, 0, v, ci);
+  ut_config-config_dialog = cfd;
 }
 
 static void
-_fill_data(Config_Item *ci, E_Config_Dialog_Data *cfdata)
+_fill_data (Config_Item * ci, E_Config_Dialog_Data * cfdata)
 {
-   if (!cfdata) return;
-   cfdata-check_interval = ci-check_interval;
-   cfdata-update_interval = ci-update_interval;
+  if (!cfdata)
+return;
+  cfdata-check_interval = ci-check_interval;
+  cfdata-update_interval = ci-update_interval;
 }
 
 static void *
-_create_data(E_Config_Dialog *cfd)
+_create_data (E_Config_Dialog * cfd)
 {
-   E_Config_Dialog_Data*cfdata;
-   Config_Item *ci;
+  E_Config_Dialog_Data *cfdata;
+  Config_Item *ci;
 
-   if (!cfd) return NULL;
-   
-   ci = cfd-data;
-   cfdata = E_NEW(E_Config_Dialog_Data, 1);
-   if (cfdata == NULL)
- {
-   warn(malloc());
-   return NULL;
- }
+  if (!cfd)
+return NULL;
 
-   _fill_data(ci, cfdata);
+  ci = cfd-data;
+  cfdata = E_NEW (E_Config_Dialog_Data, 1);
+  if (cfdata == NULL)
+{
+  warn (malloc());
+  return NULL;
+}
 
-   return cfdata;
+  _fill_data (ci, cfdata);
+
+  return cfdata;
 }
 
 static void
-_free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
+_free_data (E_Config_Dialog * cfd, E_Config_Dialog_Data * cfdata)
 {
-   if (ut_config == NULL)
- return;
-   ut_config-config_dialog = NULL;
+  if (ut_config == NULL)
+return;
+  ut_config-config_dialog = NULL;
 
-   free(cfdata);
-   cfdata = NULL;
+  free (cfdata);
+  cfdata = NULL;
 }
 
 static Evas_Object *
-_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data 
*cfdata)
+_basic_create_widgets (E_Config_Dialog * cfd, Evas * evas,
+  E_Config_Dialog_Data * cfdata)
 {
-   Evas_Object *o, *of, *ob;
+  Evas_Object *o, *of, *ob;
 
-   o = e_widget_list_add(evas, 0, 0);
-   of = e_widget_framelist_add(evas, D_(Uptime Settings), 0);
+  o = e_widget_list_add (evas, 0, 0);
+  of = e_widget_framelist_add (evas, D_ (Uptime Settings), 0);
 
-   ob = e_widget_label_add(evas, D_(Update 

E CVS: uptime devilhorns

2006-07-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
Makefile.am 


Log Message:
Add font and edc to make distcheck.

===
RCS file: /cvs/e/e_modules/uptime/Makefile.am,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- Makefile.am 10 Jul 2006 15:19:13 -  1.10
+++ Makefile.am 14 Jul 2006 19:06:11 -  1.11
@@ -9,13 +9,17 @@
 
 # data files for the module
 filesdir = $(datadir)
-
-EXTRA_DIST = $(files_DATA) uptime.png uptime.edc VeraMono.ttf \
-e_modules-uptime.spec e_modules-uptime.spec.in module.eap
-
 files_DATA = \
 uptime.edj \
-module.eap
+module.eap \
+uptime.png
+
+EXTRA_DIST = $(files_DATA) \
+   uptime.edc \
+   VeraMono.ttf \
+   e_modules-uptime.spec \
+   e_modules-uptime.spec.in
+
 
 # the module .so file
 INCLUDES = -I. \




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-07-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
Makefile.am 


Log Message:
More generic edj compile in makefile.am.

===
RCS file: /cvs/e/e_modules/uptime/Makefile.am,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- Makefile.am 14 Jul 2006 19:06:11 -  1.11
+++ Makefile.am 14 Jul 2006 19:06:39 -  1.12
@@ -37,10 +37,8 @@
 module_la_LDFLAGS  = -module -avoid-version
 module_la_DEPENDENCIES = $(top_builddir)/config.h
 
-uptime.edj: Makefile uptime.edc
-$(EDJE_CC) $(EDJE_FLAGS) \
-$(top_srcdir)/uptime.edc \
-$(top_builddir)/uptime.edj
+%.edj:  %.edc
+   $(EDJE_CC) $(EDJE_FLAGS) $ $@
 
 clean-local:
 rm -rf *.edj *~




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-07-10 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
Makefile.am 


Log Message:
Fix makefile.am for make distcheck.

===
RCS file: /cvs/e/e_modules/uptime/Makefile.am,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- Makefile.am 29 Jun 2006 16:00:58 -  1.9
+++ Makefile.am 10 Jul 2006 15:19:13 -  1.10
@@ -3,7 +3,9 @@
 SUBDIRS = po
 
 EDJE_CC = @edje_cc@
-EDJE_FLAGS = -v
+EDJE_FLAGS = -v \
+-id $(top_srcdir) \
+-fd $(top_srcdir)
 
 # data files for the module
 filesdir = $(datadir)
@@ -33,8 +35,8 @@
 
 uptime.edj: Makefile uptime.edc
 $(EDJE_CC) $(EDJE_FLAGS) \
-uptime.edc \
-uptime.edj
+$(top_srcdir)/uptime.edc \
+$(top_builddir)/uptime.edj
 
 clean-local:
 rm -rf *.edj *~




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-07-10 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
e_mod_config.c e_mod_main.c uptime.png 


Log Message:
Avoid dangling pointers after call to free().

===
RCS file: /cvs/e/e_modules/uptime/e_mod_config.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- e_mod_config.c  3 Jul 2006 07:37:33 -   1.10
+++ e_mod_config.c  10 Jul 2006 18:01:02 -  1.11
@@ -86,6 +86,7 @@
ut_config-config_dialog = NULL;
 
free(cfdata);
+   cfdata = NULL;
 }
 
 static Evas_Object *
===
RCS file: /cvs/e/e_modules/uptime/e_mod_main.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- e_mod_main.c2 Jul 2006 19:06:16 -   1.16
+++ e_mod_main.c10 Jul 2006 18:01:02 -  1.17
@@ -138,6 +138,7 @@
 
_ut_free(ut);
free(inst);
+   inst = NULL;
 }
 
 static void
@@ -355,6 +356,7 @@
  evas_stringshare_del(ci-id);
 
free(ci);
+   ci = NULL;
  }
 
free(ut_config);
@@ -417,6 +419,7 @@
 {
evas_object_del(ut-ut_obj);
free(ut);
+   ut = NULL;
 }
 
 static void
===
RCS file: /cvs/e/e_modules/uptime/uptime.png,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
Binary files /tmp/cvs2NtYWZ and /tmp/cvsM6yYkd differ




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-07-02 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
e_mod_main.c 


Log Message:
Make all active e_modules work with the new e_module_dialog_show function
change(s). If you get errors building these, update e17/apps/e .

===
RCS file: /cvs/e/e_modules/uptime/e_mod_main.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- e_mod_main.c2 Jul 2006 07:10:18 -   1.15
+++ e_mod_main.c2 Jul 2006 19:06:16 -   1.16
@@ -390,7 +390,7 @@
 EAPI int
 e_modapi_about(E_Module *m)
 {
-   e_module_dialog_show(D_(Enlightenment Uptime Monitor Module),
+   e_module_dialog_show(m, D_(Enlightenment Uptime Monitor Module),
D_(This module is used to monitor uptime.));
return 1;
 }



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-07-02 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
e_mod_config.c 


Log Message:
Update some e_modules to use module icons in their config dialogs.

===
RCS file: /cvs/e/e_modules/uptime/e_mod_config.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- e_mod_config.c  29 Jun 2006 19:56:51 -  1.9
+++ e_mod_config.c  3 Jul 2006 07:37:33 -   1.10
@@ -27,7 +27,8 @@
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;
E_Container *con;
-
+   char buf[4096];
+   
if (!ut_config) return;
 
v = E_NEW(E_Config_Dialog_View, 1);
@@ -42,8 +43,9 @@
v-basic.apply_cfdata = _basic_apply_data;
v-basic.create_widgets = _basic_create_widgets;
 
+   snprintf(buf, sizeof(buf), %s/module.eap, 
e_module_dir_get(ut_config-module));
con = e_container_current_get(e_manager_current_get());
-   cfd = e_config_dialog_new(con, D_(Uptime Configuration), NULL, 0, v, ci);
+   cfd = e_config_dialog_new(con, D_(Uptime Configuration), buf, 0, v, ci);
ut_config-config_dialog = cfd;
 }
 



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-07-01 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
e_mod_main.c 


Log Message:
Fix for Massimo's translation. Other languages can now translate the
user/users string.

===
RCS file: /cvs/e/e_modules/uptime/e_mod_main.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- e_mod_main.c29 Jun 2006 19:56:51 -  1.13
+++ e_mod_main.c2 Jul 2006 01:09:56 -   1.14
@@ -567,9 +567,14 @@
  inst-la[0], inst-la[1], inst-la[2]);
  }

-   if (inst-nusers != -1)
- snprintf(users, sizeof(users), D_(user%s: %d), (inst-nusers != 1) ? 
s : , inst-nusers);
-
+   if (inst-nusers != -1) 
+ {
+   if (inst-nusers == 1)
+ snprintf(users, sizeof(users), D_(user: %d), inst-nusers);
+   else if (inst-nusers  1)
+ snprintf(users, sizeof(users), D_(users: %d), inst-nusers);
+ }
+   
edje_object_part_text_set(inst-ut-ut_obj, uptime, u_date_time);
edje_object_part_text_set(inst-ut-ut_obj, load_average, load_avg);
edje_object_part_text_set(inst-ut-ut_obj, nusers, users);



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-07-01 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
e_mod_main.c 


Log Message:
Just make it users so we don't have to replace all the gettext calls with
ngettext. This won't look/sound correct when there is only one user but oh
well.

===
RCS file: /cvs/e/e_modules/uptime/e_mod_main.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- e_mod_main.c2 Jul 2006 01:09:56 -   1.14
+++ e_mod_main.c2 Jul 2006 07:10:18 -   1.15
@@ -568,12 +568,7 @@
  }

if (inst-nusers != -1) 
- {
-   if (inst-nusers == 1)
- snprintf(users, sizeof(users), D_(user: %d), inst-nusers);
-   else if (inst-nusers  1)
- snprintf(users, sizeof(users), D_(users: %d), inst-nusers);
- }
+ snprintf(users, sizeof(users), D_(users: %d), inst-nusers);

edje_object_part_text_set(inst-ut-ut_obj, uptime, u_date_time);
edje_object_part_text_set(inst-ut-ut_obj, load_average, load_avg);



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-06-29 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
configure.in e_mod_config.c e_mod_main.c uptime.edc 


Log Message:
Add load average and users for linux :)

Fix edc so that uptime doesn't get clipped at the top and looks better on
Inset style.
   
Changed config dialog to be able to set 1 second check interval:
  -This does not use 80% cpu.
  
Configure.in changes:
  -Check if the system uses sys/time.h or time.h .
  -Check if the getloadavg function is available to use.

===
RCS file: /cvs/e/e_modules/uptime/configure.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- configure.in10 Jun 2006 02:34:00 -  1.10
+++ configure.in29 Jun 2006 19:56:51 -  1.11
@@ -13,10 +13,13 @@
 AC_PROG_CC
 AM_PROG_CC_STDC
 AC_HEADER_STDC
+AC_HEADER_TIME
+AC_CHECK_HEADERS(sys/time.h)
 AC_C_CONST
 AM_ENABLE_SHARED
 AM_PROG_LIBTOOL
 
+AC_CHECK_FUNCS(getloadavg, [], [])
 ALL_LINGUAS=bg eo fi it ja sv
 AC_SUBST(ALL_LINGUAS)
 
===
RCS file: /cvs/e/e_modules/uptime/e_mod_config.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- e_mod_config.c  28 Jun 2006 23:48:53 -  1.8
+++ e_mod_config.c  29 Jun 2006 19:56:51 -  1.9
@@ -104,7 +104,7 @@
ob = e_widget_label_add(evas, D_(Check Interval:));
e_widget_framelist_object_append(of, ob);
 
-   ob = e_widget_slider_add(evas, 1, 0, _(%1.0f seconds), 15.0, 60.0,
+   ob = e_widget_slider_add(evas, 1, 0, _(%1.0f seconds), 1.0, 60.0,
1.0, 0, (cfdata-check_interval), NULL, 100);
e_widget_framelist_object_append(of, ob);
 
===
RCS file: /cvs/e/e_modules/uptime/e_mod_main.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- e_mod_main.c29 Jun 2006 17:07:00 -  1.12
+++ e_mod_main.c29 Jun 2006 19:56:51 -  1.13
@@ -4,20 +4,30 @@
 #include stdlib.h
 #include stdint.h
 #include sys/types.h
-#include sys/time.h
+#include utmp.h
+
+#if TIME_WITH_SYS_TIME
+# include sys/time.h
+# include time.h
+#else
+# if HAVE_SYS_TIME_H
+#  include sys/time.h
+# else
+#  include time.h
+# endif
+#endif
 #include syslog.h
 
 #ifdef __linux__
 # include linux/kernel.h
+# include linux/unistd.h
 #endif
 
 #ifdef __FreeBSD__
-# include utmp.h
 # include paths.h
 # include sys/tty.h
 # include sys/sysctl.h
 # include sys/param.h
-
 #endif
 
 typedef struct _Instance Instance;
@@ -322,13 +332,12 @@
 EAPI int
 e_modapi_shutdown(E_Module *m)
 {
-
ut_config-module = NULL;
e_gadcon_provider_unregister(_gc_class);
 
if (ut_config-config_dialog != NULL)
  e_object_del(E_OBJECT(ut_config-config_dialog));
-
+   
if (ut_config-menu)
  {
e_menu_post_deactivate_callback_set(ut_config-menu, NULL, NULL);
@@ -413,8 +422,10 @@
 static void
 update_counters(Instance *inst)
 {
+   int ret;
 #ifdef __linux__
struct sysinfo s_info;
+   struct utmp *utmpstruct;
 #elif defined(__FreeBSD__)
int mib[2];
size_t size;
@@ -428,17 +439,29 @@
struct utmp ut;
char ttybuf[MAXPATHLEN];
struct stat st;
-   int ret;  
 #endif
 
-   if (!inst) return;
+   if (!inst) 
+ return;
 
 #ifdef __linux__
sysinfo(s_info);
inst-uptime = s_info.uptime;
-
-   inst-la[0] = -1; /* unsupported */
-   inst-nusers = -1; /* unsupported */
+   inst-la[0] = -1;
+# ifdef HAVE_GETLOADAVG
+   ret = getloadavg(inst-la, sizeof(inst-la)/sizeof(inst-la[0]));
+   if (ret  0)
+ inst-la[0] = -1;
+# endif
+   inst-nusers = 0;
+   setutent();
+   while ((utmpstruct = getutent())) 
+ {
+   if ((utmpstruct-ut_type == USER_PROCESS) 
+   (utmpstruct-ut_name[0] != '\0'))
+ inst-nusers++;
+ }
+   endutent();
 #elif defined(__FreeBSD__)
/* retrive uptime info */
(void)time(now);
@@ -453,17 +476,17 @@
uptime += 30;
   inst-uptime = uptime;
}
-   else 
+   else
  inst-uptime = -1;   

/* retrive load averages */
+   inst-la[0] = -1;
+# ifdef HAVE_GETLOADAVG
ret = getloadavg(inst-la, sizeof(inst-la)/sizeof(inst-la[0]));
if (ret  0)
- {
-   warn(getloadavg());
-   inst-la[0] = -1;
- }
-
+ warn(getloadavg());
+# endif
+   
/* retrive number of active users */
utmp = fopen(_PATH_UTMP, r);
if (utmp == NULL)
@@ -501,11 +524,11 @@
time_t uptime;
 
inst = data;
-   if (inst == 0)
+   if (!inst)
  return 0;

ci = _ut_config_item_get(inst-gcc-id);
-   if (ci == 0)
+   if (!ci)
  return 0;
 
 #ifdef UPTIME_DEBUG
@@ -537,13 +560,15 @@
 days, hours, minutes, uptime);
  }
 
-   if (inst-la[0] != -1)
+   if (inst-la[0] != -1) 
+ {
  snprintf(load_avg, sizeof(load_avg), 

E CVS: uptime devilhorns

2006-06-28 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
AUTHORS Makefile.am e_mod_config.c e_mod_main.c e_mod_main.h 
uptime.edc 
Removed Files:
module_icon.png 


Log Message:
Modified Patch from Stanislav Sedov for:

-Uptime works on FreeBsd now.
-Added additional parameter to specify period of syncronization with system
clock which allows smooth clock update without high system load.
-Module can now display load averages and number of users for FreeBsd.

===
RCS file: /cvs/e/e_modules/uptime/AUTHORS,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- AUTHORS 20 Feb 2006 17:21:15 -  1.1
+++ AUTHORS 28 Jun 2006 23:48:53 -  1.2
@@ -1,2 +1,4 @@
 Originally by Matthew Mullins.
-Recoded into seperate modules by Christopher 'devilhorns' Michael [EMAIL 
PROTECTED]
+Recoded into seperate modules by Christopher 'devilhorns' Michael [EMAIL 
PROTECTED].
+FreeBSD, load averages and number of users patches as well as additional 
cleanup
+by Stanislav Sedov [EMAIL PROTECTED].
===
RCS file: /cvs/e/e_modules/uptime/Makefile.am,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- Makefile.am 27 Jun 2006 02:37:15 -  1.7
+++ Makefile.am 28 Jun 2006 23:48:53 -  1.8
@@ -28,7 +28,7 @@
   e_mod_main.h \
   e_mod_config.c
 
-module_la_LIBADD   = @e_libs@
+module_la_LIBADD   = @e_libs@ -lm
 module_la_LDFLAGS  = -module -avoid-version
 module_la_DEPENDENCIES = $(top_builddir)/config.h
 
===
RCS file: /cvs/e/e_modules/uptime/e_mod_config.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- e_mod_config.c  14 Jun 2006 01:03:32 -  1.7
+++ e_mod_config.c  28 Jun 2006 23:48:53 -  1.8
@@ -1,9 +1,16 @@
 #include e.h
 #include e_mod_main.h
 
+#include stdlib.h
+#include stdint.h
+#include err.h
+#include sys/types.h
+#include sys/time.h
+
 struct _E_Config_Dialog_Data
 {
double check_interval;
+   double update_interval;
 };
 
 /* Protos */
@@ -20,8 +27,15 @@
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;
E_Container *con;
-   
+
+   if (!ut_config) return;
+
v = E_NEW(E_Config_Dialog_View, 1);
+   if (v == NULL)
+ {
+   warn(malloc());
+   return;
+ }
 
v-create_cfdata = _create_data;
v-free_cfdata = _free_data;
@@ -36,27 +50,39 @@
 static void
 _fill_data(Config_Item *ci, E_Config_Dialog_Data *cfdata)
 {
+   if (!cfdata) return;
cfdata-check_interval = ci-check_interval;
+   cfdata-update_interval = ci-update_interval;
 }
 
 static void *
 _create_data(E_Config_Dialog *cfd)
 {
-   E_Config_Dialog_Data *cfdata;
+   E_Config_Dialog_Data*cfdata;
Config_Item *ci;
 
+   if (!cfd) return NULL;
+   
ci = cfd-data;
cfdata = E_NEW(E_Config_Dialog_Data, 1);
+   if (cfdata == NULL)
+ {
+   warn(malloc());
+   return NULL;
+ }
 
_fill_data(ci, cfdata);
+
return cfdata;
 }
 
 static void
 _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
 {
-   if (!ut_config) return;
+   if (ut_config == NULL)
+ return;
ut_config-config_dialog = NULL;
+
free(cfdata);
 }
 
@@ -67,10 +93,21 @@
 
o = e_widget_list_add(evas, 0, 0);
of = e_widget_framelist_add(evas, D_(Uptime Settings), 0);
+
+   ob = e_widget_label_add(evas, D_(Update Interval:));
+   e_widget_framelist_object_append(of, ob);
+
+   ob = e_widget_slider_add(evas, 1, 0, _(%1.0f seconds), 1.0, 60.0,
+   1.0, 0, (cfdata-update_interval), NULL, 100);
+   e_widget_framelist_object_append(of, ob);
+
ob = e_widget_label_add(evas, D_(Check Interval:));
e_widget_framelist_object_append(of, ob);
-   ob = e_widget_slider_add(evas, 1, 0, _(%1.0f seconds), 1.0, 60.0, 1.0, 0, 
(cfdata-check_interval), NULL, 100);
+
+   ob = e_widget_slider_add(evas, 1, 0, _(%1.0f seconds), 15.0, 60.0,
+   1.0, 0, (cfdata-check_interval), NULL, 100);
e_widget_framelist_object_append(of, ob);
+
e_widget_list_object_append(o, of, 1, 1, 0.5);
 
return o;
@@ -80,9 +117,11 @@
 _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
 {
Config_Item *ci;
-   
+
+   if (!cfd) return 0;
ci = cfd-data;
ci-check_interval = cfdata-check_interval;
+   ci-update_interval = cfdata-update_interval;
e_config_save_queue();
_ut_config_updated(ci-id);
 
===
RCS file: /cvs/e/e_modules/uptime/e_mod_main.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- e_mod_main.c14 Jun 2006 01:03:32 -  1.10
+++ e_mod_main.c28 Jun 2006 23:48:53 -  

E CVS: uptime devilhorns

2006-06-13 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
uptime.edc 


Log Message:
Fix uptime.edc for Hawkwind :)

Apparenly, the shelf style Insert doesn't play nice with clipping.

===
RCS file: /cvs/e/e_modules/uptime/uptime.edc,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- uptime.edc  9 Jun 2006 11:42:59 -   1.6
+++ uptime.edc  14 Jun 2006 00:12:06 -  1.7
@@ -17,21 +17,8 @@
  {
 part
   {
- name: base;
- type: RECT;
- mouse_events: 1;
- description
-   {
-  state: default 0.0;
-  color: 255 255 255 255;
-   }
-  }
-
-part
-  {
  name, uptime;
  type,   TEXT;
- clip_to: base;
  effect, OUTLINE_SOFT_SHADOW;
  mouse_events, 1;
  description
@@ -40,12 +27,12 @@
   rel1
 {
relative: 0.0 0.0;
-   to_x: base;
-   offset: 0 0;
+   offset: 0 2;
 }
   rel2
 {
-   relative: 1.0 1.0;
+   relative: 1.0 0.5;
+   offset: -1 -1;
 }
   color: 255 255 255 255;
   color2: 64 64 64 255;
@@ -56,7 +43,7 @@
font: VeraMono;
size:  12;
min: 1 1;
-   align: 0.0 0.5;
+   align: 0.5 0.5;
 }
}
   }




___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-06-13 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
e_mod_config.c 


Log Message:
Make it 1 minute minimum and 10 minutes max. Seems more reasonable.

===
RCS file: /cvs/e/e_modules/uptime/e_mod_config.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- e_mod_config.c  14 Jun 2006 00:33:28 -  1.5
+++ e_mod_config.c  14 Jun 2006 00:36:14 -  1.6
@@ -69,7 +69,7 @@
of = e_widget_framelist_add(evas, D_(Uptime Settings), 0);
ob = e_widget_label_add(evas, D_(Check Interval:));
e_widget_framelist_object_append(of, ob);
-   ob = e_widget_slider_add(evas, 1, 0, _(%1.0f seconds), 5.0, 60.0, 1.0, 0, 
(cfdata-check_interval), NULL, 100);
+   ob = e_widget_slider_add(evas, 1, 0, _(%1.0f minutes), 1.0, 10.0, 1.0, 0, 
(cfdata-check_interval), NULL, 100);
e_widget_framelist_object_append(of, ob);
e_widget_list_object_append(o, of, 1, 1, 0.5);
 
@@ -82,7 +82,7 @@
Config_Item *ci;

ci = cfd-data;
-   ci-check_interval = cfdata-check_interval;
+   ci-check_interval = (cfdata-check_interval * 60.0);
e_config_save_queue();
_ut_config_updated(ci-id);
 




___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-06-09 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
Makefile.am e_mod_config.c e_mod_main.c e_mod_main.h 
uptime.edc 
Removed Files:
e_mod_config.h 


Log Message:
Convert uptime to the shelf for Gulivert ;)

Users will need to remove old module.uptime.cfg for this to work.

===
RCS file: /cvs/e/e_modules/uptime/Makefile.am,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- Makefile.am 3 Jun 2006 14:02:35 -   1.5
+++ Makefile.am 9 Jun 2006 11:42:59 -   1.6
@@ -26,8 +26,7 @@
 pkg_LTLIBRARIES= module.la
 module_la_SOURCES  = e_mod_main.c \
   e_mod_main.h \
-  e_mod_config.c \
-  e_mod_config.h
+  e_mod_config.c
 
 module_la_LIBADD   = @e_libs@ -lm
 module_la_LDFLAGS  = -module -avoid-version
===
RCS file: /cvs/e/e_modules/uptime/e_mod_config.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_mod_config.c  5 Apr 2006 17:48:50 -   1.3
+++ e_mod_config.c  9 Jun 2006 11:42:59 -   1.4
@@ -1,11 +1,9 @@
 #include e.h
 #include e_mod_main.h
-#include e_mod_config.h
-#include config.h
 
 struct _E_Config_Dialog_Data
 {
-   int check_interval;
+   double check_interval;
 };
 
 /* Protos */
@@ -13,15 +11,16 @@
 static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
 static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
 static int _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata);
-static void _fill_data(Uptime *c, E_Config_Dialog_Data *cfdata);
+static void _fill_data(Config_Item *ci, E_Config_Dialog_Data *cfdata);
 
 /* Config Calls */
 void
-_configure_uptime_module(E_Container *con, Uptime *c)
+_config_ut_module(Config_Item *ci)
 {
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;
-
+   E_Container *con;
+   
v = E_NEW(E_Config_Dialog_View, 1);
 
v-create_cfdata = _create_data;
@@ -29,36 +28,35 @@
v-basic.apply_cfdata = _basic_apply_data;
v-basic.create_widgets = _basic_create_widgets;
 
-   cfd = e_config_dialog_new(con, D_(Uptime Configuration), NULL, 0, v, c);
-   c-cfd = cfd;
+   con = e_container_current_get(e_manager_current_get());
+   cfd = e_config_dialog_new(con, D_(Uptime Configuration), NULL, 0, v, ci);
+   ut_config-config_dialog = cfd;
 }
 
 static void
-_fill_data(Uptime *c, E_Config_Dialog_Data *cfdata)
+_fill_data(Config_Item *ci, E_Config_Dialog_Data *cfdata)
 {
-   cfdata-check_interval = c-conf-check_interval;
+   cfdata-check_interval = ci-check_interval;
 }
 
 static void *
 _create_data(E_Config_Dialog *cfd)
 {
E_Config_Dialog_Data *cfdata;
-   Uptime *c;
+   Config_Item *ci;
 
-   c = cfd-data;
+   ci = cfd-data;
cfdata = E_NEW(E_Config_Dialog_Data, 1);
 
-   _fill_data(c, cfdata);
+   _fill_data(ci, cfdata);
return cfdata;
 }
 
 static void
 _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
 {
-   Uptime *c;
-
-   c = cfd-data;
-   c-cfd = NULL;
+   if (!ut_config) return;
+   ut_config-config_dialog = NULL;
free(cfdata);
 }
 
@@ -66,15 +64,12 @@
 _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data 
*cfdata)
 {
Evas_Object *o, *of, *ob;
-   Uptime *c;
-
-   c = cfd-data;
 
o = e_widget_list_add(evas, 0, 0);
of = e_widget_framelist_add(evas, D_(Uptime Settings), 0);
ob = e_widget_label_add(evas, D_(Check Interval:));
e_widget_framelist_object_append(of, ob);
-   ob = e_widget_slider_add(evas, 1, 0, _(%1.0f seconds), 1, 60, 1, 0, NULL, 
(cfdata-check_interval), 150);
+   ob = e_widget_slider_add(evas, 1, 0, _(%1.0f seconds), 1.0, 60.0, 1.0, 0, 
(cfdata-check_interval), NULL, 100);
e_widget_framelist_object_append(of, ob);
e_widget_list_object_append(o, of, 1, 1, 0.5);
 
@@ -84,14 +79,12 @@
 static int
 _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
 {
-   char *tmp;
-   Uptime *c;
-
-   c = cfd-data;
-   c-conf-check_interval = cfdata-check_interval;
+   Config_Item *ci;
+   
+   ci = cfd-data;
+   ci-check_interval = cfdata-check_interval;
e_config_save_queue();
-   if (c-face-monitor)
-  ecore_timer_interval_set(c-face-monitor, 
(double)cfdata-check_interval);
+   _ut_config_updated(ci-id);
 
return 1;
 }
===
RCS file: /cvs/e/e_modules/uptime/e_mod_main.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- e_mod_main.c3 Jun 2006 13:26:01 -   1.8
+++ e_mod_main.c9 Jun 2006 11:42:59 -   1.9
@@ -1,394 +1,367 @@
 #include e.h
 #include linux/kernel.h
 #include e_mod_main.h
-#include e_mod_config.h
-#include config.h
 

E CVS: uptime devilhorns

2006-06-09 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
configure.in 


Log Message:
Version Bump to indicate shelfed code.

===
RCS file: /cvs/e/e_modules/uptime/configure.in,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- configure.in13 May 2006 01:52:20 -  1.8
+++ configure.in9 Jun 2006 11:53:16 -   1.9
@@ -7,7 +7,7 @@
 AC_CANONICAL_BUILD
 AC_CANONICAL_HOST
 
-AM_INIT_AUTOMAKE(uptime, 0.0.1)
+AM_INIT_AUTOMAKE(uptime, 0.0.2)
 AM_CONFIG_HEADER(config.h)
 AC_ISC_POSIX
 AC_PROG_CC




___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-06-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
e_mod_main.c e_mod_main.h 


Log Message:
Make uptime build again. No shelf code yet.


===
RCS file: /cvs/e/e_modules/uptime/e_mod_main.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- e_mod_main.c5 Apr 2006 17:48:50 -   1.7
+++ e_mod_main.c3 Jun 2006 13:26:01 -   1.8
@@ -38,7 +38,6 @@
if (!c)
   return NULL;
 
-   m-config_menu = c-config_menu;
return c;
 }
 
@@ -51,12 +50,6 @@
if (!c)
   return 0;
 
-   if (m-config_menu)
- {
-e_menu_deactivate(m-config_menu);
-e_object_del(E_OBJECT(m-config_menu));
-m-config_menu = NULL;
- }
if (c-cfd)
  {
 e_object_del(E_OBJECT(c-cfd));
@@ -75,13 +68,6 @@
if (!c)
   return 0;
e_config_domain_save(module.uptime, c-conf_edd, c-conf);
-   return 1;
-}
-
-EAPI int
-e_modapi_info(E_Module *m)
-{
-   m-icon_file = strdup(PACKAGE_DATA_DIR /module_icon.png);
return 1;
 }
 
===
RCS file: /cvs/e/e_modules/uptime/e_mod_main.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_mod_main.h5 Apr 2006 17:48:50 -   1.3
+++ e_mod_main.h3 Jun 2006 13:26:01 -   1.4
@@ -52,7 +52,6 @@
 EAPI void *e_modapi_init(E_Module *m);
 EAPI int e_modapi_shutdown(E_Module *m);
 EAPI int e_modapi_save(E_Module *m);
-EAPI int e_modapi_info(E_Module *m);
 EAPI int e_modapi_about(E_Module *m);
 EAPI int e_modapi_config(E_Module *m);
 




___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-06-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
Makefile.am 
Added Files:
module.eap 


Log Message:
Uptime now builds again and shows in module list.


===
RCS file: /cvs/e/e_modules/uptime/Makefile.am,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- Makefile.am 13 May 2006 01:52:20 -  1.4
+++ Makefile.am 3 Jun 2006 14:02:35 -   1.5
@@ -8,11 +8,13 @@
 # data files for the module
 filesdir = $(datadir)
 
-EXTRA_DIST = $(files_DATA) uptime.png uptime.edc VeraMono.ttf 
e_modules-uptime.spec e_modules-uptime.spec.in 
+EXTRA_DIST = $(files_DATA) uptime.png uptime.edc VeraMono.ttf \
+e_modules-uptime.spec e_modules-uptime.spec.in module.eap
 
 files_DATA = \
 module_icon.png \
-uptime.edj
+uptime.edj \
+module.eap
 
 # the module .so file
 INCLUDES = -I. \




___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-04-02 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
configure.in 


Log Message:
Remove checks for eet, evas, ecore and esmart as they are not needed.

===
RCS file: /cvs/e/e_modules/uptime/configure.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- configure.in10 Mar 2006 15:11:21 -  1.5
+++ configure.in2 Apr 2006 22:08:38 -   1.6
@@ -103,48 +103,6 @@
 #AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
 #AC_SUBST(dlopen_libs)
 
-AC_ARG_WITH(ecore-config,
-[  --with-ecore-config=ECORE_CONFIG  use ecore-config specified ],
-[
-  ECORE_CONFIG=$withval;
-  echo using $ECORE_CONFIG for ecore-config;
-],[
-  PROG=ecore-config;
-  AC_PATH_PROG(ECORE_CONFIG, $PROG, , $PATH)
-])
-ecore_cflags=`$ECORE_CONFIG --cflags`
-ecore_libs=`$ECORE_CONFIG --libs`
-AC_SUBST(ecore_cflags)
-AC_SUBST(ecore_libs)
-
-AC_ARG_WITH(evas-config,
-[  --with-evas-config=EVAS_CONFIG  use evas-config specified ],
-[
-  EVAS_CONFIG=$withval;
-  echo using $EVAS_CONFIG for evas-config;
-],[
-  PROG=evas-config;
-  AC_PATH_PROG(EVAS_CONFIG, $PROG, , $PATH)
-])
-evas_cflags=`$EVAS_CONFIG --cflags`
-evas_libs=`$EVAS_CONFIG --libs`
-AC_SUBST(evas_cflags)
-AC_SUBST(evas_libs)
-
-AC_ARG_WITH(esmart-config,
-[  --with-esmart-config=ESMART_CONFIG  use esmart-config specified ],
-[
-  ESMART_CONFIG=$withval;
-  echo using $ESMART_CONFIG for esmart-config;
-],[
-  PROG=esmart-config;
-  AC_PATH_PROG(ESMART_CONFIG, $PROG, , $PATH)
-])
-esmart_cflags=`$ESMART_CONFIG --cflags`
-esmart_libs=`$ESMART_CONFIG --libs`
-AC_SUBST(esmart_cflags)
-AC_SUBST(esmart_libs)
-
 AC_ARG_WITH(edje-config,
 [  --with-edje-config=EDJE_CONFIG  use edje-config specified ],
 [
@@ -171,20 +129,6 @@
   edje_cc=`$EDJE_CONFIG --prefix`/bin/edje_cc
 ])
 AC_SUBST(edje_cc)
-
-AC_ARG_WITH(eet-config,
-[  --with-eet-config=EET_CONFIG  use eet-config specified ],
-[
-  EET_CONFIG=$withval;
-  echo using $EET_CONFIG for eet-config;
-],[
-  PROG=eet-config;
-  AC_PATH_PROG(EET_CONFIG, $PROG, , $PATH)
-])
-eet_cflags=`$EET_CONFIG --cflags`
-eet_libs=`$EET_CONFIG --libs`
-AC_SUBST(eet_cflags)
-AC_SUBST(eet_libs)
 
 AC_ARG_WITH(enlightenment-config,
 [  --with-enlightenment-config=E_CONFIGuse enlightenment-config specified 
],




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-03-01 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
uptime.edc 


Log Message:
Match font size with the other modules. Formatting of edc.

===
RCS file: /cvsroot/enlightenment/e_modules/uptime/uptime.edc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- uptime.edc  21 Feb 2006 13:25:57 -  1.2
+++ uptime.edc  1 Mar 2006 15:02:06 -   1.3
@@ -1,57 +1,66 @@
 images
 {
-  image: uptime.png COMP;
+   image: uptime.png COMP;
 }
 
 fonts
 {
-  font: VeraMono.ttf VeraMono;
+   font: VeraMono.ttf VeraMono;
 }
 
 collections
 {
-group
-{
+   group
+ {
name, modules/uptime/main;
-   parts {
-  part {
-  name: base;
-  type: RECT;
-  mouse_events: 0;
-  description {
-  state: default 0.0;
+   parts
+ {
+part
+  {
+ name: base;
+ type: RECT;
+ mouse_events: 0;
+ description
+   {
+  state: default 0.0;
   color: 255 255 255 255;
-  }
-  }
-
-   part {
-   name,   uptime;
-   type,   TEXT;
-   clip_to: base;
-   effect, SOFT_SHADOW;
-   mouse_events, 0;
-   description {
- state: default 0.0;
- rel1 { 
-  relative: 0.0 0.0; 
-  to_x: base; 
-  offset: 0 0; 
- }
- rel2 { 
-  relative: 1.0 1.0; 
- }
- color: 255 255 255 255;
- color3: 0 0 0 100;
- text {
-  text: uptime; 
-  font: VeraMono;
-  size:  8; 
-  min: 1 1;
-  align: 0.5 0.5;
- }
-   }
-   }   
-   }
+   }
+  }
+
+part
+  {
+ name, uptime;
+ type,   TEXT;
+ clip_to: base;
+ effect, SOFT_SHADOW;
+ mouse_events, 0;
+ description
+   {
+  state: default 0.0;
+  rel1
+{
+   relative: 0.0 0.0;
+   to_x: base;
+   offset: 0 0;
+}
+  rel2
+{
+   relative: 1.0 1.0;
+}
+  color: 255 255 255 255;
+  color3: 0 0 0 100;
+  text
+{
+   text: uptime;
+   font: VeraMono;
+   size:  10;
+   min: 1 1;
+   align: 0.5 0.5;
+}
+   }
+  }
+ } 
+ }
 }
 
 




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-03-01 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
e_mod_main.c 


Log Message:
Remove size restraint

===
RCS file: /cvsroot/enlightenment/e_modules/uptime/e_mod_main.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_mod_main.c21 Feb 2006 13:25:57 -  1.4
+++ e_mod_main.c1 Mar 2006 16:28:33 -   1.5
@@ -246,8 +246,6 @@
  E_GADMAN_POLICY_HSIZE |
  E_GADMAN_POLICY_VSIZE |
  E_GADMAN_POLICY_VMOVE);
-   e_gadman_client_min_size_set(cf-gmc, 4, 4);
-   e_gadman_client_max_size_set(cf-gmc, 128, 128);
e_gadman_client_auto_size_set(cf-gmc, 40, 40);
e_gadman_client_align_set(cf-gmc, 1.0, 1.0);
e_gadman_client_resize(cf-gmc, 160, 20);




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-02-22 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Added Files:
.cvsignore 


Log Message:
Update cvsignore




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-02-21 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
uptime.edc e_mod_main.c 


Log Message:
Clip the text to not allow displaying outside the gadget. Allow better gadget 
resizing now.
===
RCS file: /cvsroot/enlightenment/e_modules/uptime/uptime.edc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- uptime.edc  20 Feb 2006 17:21:15 -  1.1
+++ uptime.edc  21 Feb 2006 13:25:57 -  1.2
@@ -14,25 +14,20 @@
 {
name, modules/uptime/main;
parts {
-   part {
-name:  base;
-type: RECT;
-mouse_events:  0;
-description {
-state:default 0.0;
-color: 255 255 255 0;
-rel1 { 
- offset: 0 0; 
-}
-rel2 { 
- offset: -1 -1; 
-}
-}
+  part {
+  name: base;
+  type: RECT;
+  mouse_events: 0;
+  description {
+  state: default 0.0;
+  color: 255 255 255 255;
+  }
+  }
 
-}
part {
name,   uptime;
type,   TEXT;
+   clip_to: base;
effect, SOFT_SHADOW;
mouse_events, 0;
description {
@@ -50,7 +45,7 @@
  text {
   text: uptime; 
   font: VeraMono;
-  size:  10; 
+  size:  8; 
   min: 1 1;
   align: 0.5 0.5;
  }
===
RCS file: /cvsroot/enlightenment/e_modules/uptime/e_mod_main.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_mod_main.c20 Feb 2006 18:29:40 -  1.3
+++ e_mod_main.c21 Feb 2006 13:25:57 -  1.4
@@ -243,10 +243,12 @@
e_gadman_client_policy_set(cf-gmc,
  E_GADMAN_POLICY_ANYWHERE |
  E_GADMAN_POLICY_HMOVE |
+ E_GADMAN_POLICY_HSIZE |
+ E_GADMAN_POLICY_VSIZE |
  E_GADMAN_POLICY_VMOVE);
e_gadman_client_min_size_set(cf-gmc, 4, 4);
-   e_gadman_client_max_size_set(cf-gmc, 160, 20);
-   e_gadman_client_auto_size_set(cf-gmc, 160, 20);
+   e_gadman_client_max_size_set(cf-gmc, 128, 128);
+   e_gadman_client_auto_size_set(cf-gmc, 40, 40);
e_gadman_client_align_set(cf-gmc, 1.0, 1.0);
e_gadman_client_resize(cf-gmc, 160, 20);
e_gadman_client_change_func_set(cf-gmc, _uptime_face_cb_gmc_change, cf);




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-02-20 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime




Log Message:
Directory /cvsroot/enlightenment/e_modules/uptime added to the repository





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-02-20 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Added Files:
AUTHORS COPYING COPYING-PLAIN ChangeLog INSTALL Makefile.am 
NEWS README VeraMono.ttf autogen.sh configure.in 
e_mod_config.c e_mod_config.h e_mod_main.c e_mod_main.h 
module_icon.png uptime.edc uptime.png 


Log Message:
Add uptime module. This is the last one from monitor, So monitor is going to
go bye-bye soon :)





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-02-20 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
e_mod_main.c 


Log Message:
Minor Size Change for gadman
===
RCS file: /cvsroot/enlightenment/e_modules/uptime/e_mod_main.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- e_mod_main.c20 Feb 2006 17:21:15 -  1.1
+++ e_mod_main.c20 Feb 2006 17:50:02 -  1.2
@@ -245,10 +245,10 @@
  E_GADMAN_POLICY_HMOVE |
  E_GADMAN_POLICY_VMOVE);
e_gadman_client_min_size_set(cf-gmc, 4, 4);
-   e_gadman_client_max_size_set(cf-gmc, 130, 40);
-   e_gadman_client_auto_size_set(cf-gmc, 130, 40);
+   e_gadman_client_max_size_set(cf-gmc, 160, 20);
+   e_gadman_client_auto_size_set(cf-gmc, 160, 20);
e_gadman_client_align_set(cf-gmc, 1.0, 1.0);
-   e_gadman_client_resize(cf-gmc, 130, 40);
+   e_gadman_client_resize(cf-gmc, 160, 20);
e_gadman_client_change_func_set(cf-gmc, _uptime_face_cb_gmc_change, cf);
e_gadman_client_load(cf-gmc);
evas_event_thaw(cf-evas);




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime devilhorns

2006-02-20 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
e_mod_main.c 


Log Message:
Nicer menus...shhh ! :)
===
RCS file: /cvsroot/enlightenment/e_modules/uptime/e_mod_main.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_mod_main.c20 Feb 2006 17:50:02 -  1.2
+++ e_mod_main.c20 Feb 2006 18:29:40 -  1.3
@@ -268,10 +268,12 @@

mi = e_menu_item_new(mn);
e_menu_item_label_set(mi, _(Configuration));
+   e_util_menu_item_edje_icon_set(mi, enlightenment/configuration); 
e_menu_item_callback_set(mi, _uptime_face_cb_menu_configure, cf);

mi = e_menu_item_new(mn);
e_menu_item_label_set(mi, _(Edit Mode));
+   e_util_menu_item_edje_icon_set(mi, enlightenment/gadgets); 
e_menu_item_callback_set(mi, _uptime_face_cb_menu_edit, cf);
 }
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs