E CVS: apps/e raster

2006-06-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e


Modified Files:
TODO 


Log Message:


todo++

===
RCS file: /cvs/e/e17/apps/e/TODO,v
retrieving revision 1.348
retrieving revision 1.349
diff -u -3 -r1.348 -r1.349
--- TODO15 Jun 2006 02:34:45 -  1.348
+++ TODO15 Jun 2006 04:21:09 -  1.349
@@ -54,6 +54,10 @@
   ESSENTIAL FEATURES
 ---
 
+* if we want to do icons on the desktop - and as part of efm, i am thinking
+  that we have little choice but to implement a .desktop file loader. this
+  is not to hard - it's the xml jungle of the system menus that is sucky. the
+  real problems are where to find the icons for the .desktop files.
 * shelf config dialog needs to have basic modce be simple recipies like "on
   desktop", "at the top" "panel" etc.
 * right click menu on gadgets needs to include gadcon and shelf menu




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


E CVS: apps/e raster

2006-06-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e


Modified Files:
TODO 


Log Message:


bug++

===
RCS file: /cvs/e/e17/apps/e/TODO,v
retrieving revision 1.347
retrieving revision 1.348
diff -u -3 -r1.347 -r1.348
--- TODO14 Jun 2006 07:47:14 -  1.347
+++ TODO15 Jun 2006 02:34:45 -  1.348
@@ -8,6 +8,8 @@
   BUGS / FIXES
 ---
 
+* BUG: if app asks for borderless in properties - borderless toggle in menu
+  doesn't have any effect.
 * BUG: menu for gadgets while up and if it changes apearance will segv because
   its reference to the gcc is wrong as the gcc was destroyed and re-created
 * BUG: if mouse is already grabbed when exebuf or winlist are activated - all




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


E CVS: mem devilhorns

2006-06-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : mem

Dir : e_modules/mem


Modified Files:
e_mod_main.h e_mod_main.c 


Log Message:
Fix e_modapi_init function to return void.

===
RCS file: /cvs/e/e_modules/mem/e_mod_main.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- e_mod_main.h14 Jun 2006 14:15:39 -  1.11
+++ e_mod_main.h14 Jun 2006 19:42:07 -  1.12
@@ -27,15 +27,14 @@
 
 EAPI extern E_Module_Api e_modapi;
 
-EAPI int 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);
+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 _mem_config_updated(const char *id);
 void _config_mem_module(Config_Item *ci);
-void _mem_get_values(Config_Item *ci, int *real, int *swap, int *total_real,
-   int *total_swap);
+void _mem_get_values(Config_Item *ci, int *real, int *swap, int *total_real, 
int *total_swap);
 extern Config *mem_config;
 
 #endif
===
RCS file: /cvs/e/e_modules/mem/e_mod_main.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- e_mod_main.c14 Jun 2006 14:15:39 -  1.31
+++ e_mod_main.c14 Jun 2006 19:42:07 -  1.32
@@ -237,14 +237,13 @@
  "Mem"
 };
 
-EAPI int
+EAPI void *
 e_modapi_init(E_Module *m) 
 {
bindtextdomain(PACKAGE, LOCALEDIR);
bind_textdomain_codeset(PACKAGE, "UTF-8");
 
conf_item_edd = E_CONFIG_DD_NEW("Mem_Config_Item", Config_Item);
-
 #undef T
 #undef D
 #define T Config_Item
@@ -259,7 +258,6 @@
 #endif
 
conf_edd = E_CONFIG_DD_NEW("Mem_Config", Config);
-
 #undef T
 #undef D
 #define T Config




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


E CVS: apps/e sndev

2006-06-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : sndev
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_int_gadcon_config.c 


Log Message:

We donnot need ok/apply buttons in the "shelf contents" config dialog since the
dialog directly operates on the gadcon client list. Therefore, if gcc is add and
the dialog just closed then we have an inconsistency until the gcc will be
unpopulated-populated. Moreover, thats much nicer from the UI point of view.

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_gadcon_config.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- e_int_gadcon_config.c   7 Jun 2006 23:30:12 -   1.15
+++ e_int_gadcon_config.c   14 Jun 2006 18:43:07 -  1.16
@@ -6,7 +6,6 @@
 /* PROTOTYPES - same all the time */
 static void *_create_data(E_Config_Dialog *cfd);
 static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
-static int _basic_apply_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);
 
 /* Actual config data we will be playing with whil the dialog is active */
@@ -33,7 +32,7 @@
/* methods */
v->create_cfdata   = _create_data;
v->free_cfdata = _free_data;
-   v->basic.apply_cfdata  = _basic_apply_data;
+   v->basic.apply_cfdata  = NULL; //_basic_apply_data;
v->basic.create_widgets= _basic_create_widgets;
v->override_auto_apply = 1;

@@ -94,18 +93,6 @@
free(cfdata);
 }
 
-/**--APPLY--**/
-static int
-_basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
-{
-   if (!cfdata->cf_gc) return 1;
-
-   e_gadcon_unpopulate(cfdata->gc);
-   e_gadcon_populate(cfdata->gc);
-   e_config_save_queue();
-   return 1;
-}
-
 static void
 _cb_select_client(void *data)
 {
@@ -197,6 +184,10 @@
e_widget_ilist_go(cfdata->o_instances);
e_widget_ilist_selected_set(cfdata->o_instances,
   e_widget_ilist_count(cfdata->o_instances) - 1);
+
+   e_gadcon_unpopulate(cfdata->gc);
+   e_gadcon_populate(cfdata->gc);
+   e_config_save_queue();
 }
 
 static void
@@ -257,6 +248,9 @@
  e_widget_disabled_set(cfdata->o_remove, 1);
else
  e_widget_ilist_selected_set(cfdata->o_instances, i);
+   e_gadcon_unpopulate(cfdata->gc);
+   e_gadcon_populate(cfdata->gc);
+   e_config_save_queue();
 }
 
 /**--GUI--**/




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


E CVS: language sndev

2006-06-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : sndev
Project : e_modules
Module  : language

Dir : e_modules/language/src/module


Modified Files:
e_mod_lang.c 


Log Message:

* FreeBSD wants this module also ;)

===
RCS file: /cvs/e/e_modules/language/src/module/e_mod_lang.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- e_mod_lang.c12 Jun 2006 21:52:28 -  1.27
+++ e_mod_lang.c14 Jun 2006 18:34:01 -  1.28
@@ -11,7 +11,11 @@
 
 /**/
 
-#define DFLT_XKB_RULES_FILE   "/etc/X11/xkb/rules/xfree86"
+#ifdef __FreeBSD__
+   #define DFLT_XKB_RULES_FILE   "/usr/X11R6/lib/X11/xkb/rules/xfree86"
+#else
+   #define DFLT_XKB_RULES_FILE   "/etc/X11/xkb/rules/xfree86"
+#endif // __FreeBSD__
 #define DFLT_XKB_LAYOUT  "us"
 #define DFLT_XKB_MODEL   "pc101"
 
@@ -206,7 +210,11 @@
result = exml_file_read(exml, "/etc/X11/xkb/rules/xfree86.xml");
if (!result || result == -1)
  { 
+#ifdef __FreeBSD__
+   result = exml_file_read(exml, 
"/usr/X11R6/lib/X11/xkb/rules/xfree86.xml");
+#else
result = exml_file_read(exml, "/usr/lib/X11/xkb/rules/xfree86.xml");
+#endif // __FreeBSD__
if (!result || result == -1) 
  EXML_RETURN_ON_ERROR(exml);
  }
@@ -294,7 +302,11 @@
result = exml_file_read(exml, "/etc/X11/xkb/rules/xfree86.xml");
if (!result || result == -1)
  { 
+#ifdef __FreeBSD__
+   result = exml_file_read(exml, 
"/usr/X11R6/lib/X11/xkb/rules/xfree86.xml");
+#else
result = exml_file_read(exml, "/usr/lib/X11/xkb/rules/xfree86.xml");
+#endif // __FreeBSD__
if (!result || result == -1) 
  EXML_RETURN_ON_ERROR(exml);
  }




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


E CVS: libs/ewl ningerso

2006-06-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_misc.c 


Log Message:
Temporary change to engine name fetch.

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_misc.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -3 -r1.57 -r1.58
--- ewl_misc.c  9 Jun 2006 19:33:14 -   1.57
+++ ewl_misc.c  14 Jun 2006 15:47:01 -  1.58
@@ -481,10 +481,16 @@
 
DENTER_FUNCTION(DLEVEL_STABLE);
 
+   /* XXX when the engine init stuff is fixed up this should move below
+* the if statement. Put it here for now to make sure the engines
+* always get init'd */
+   engines = ewl_engine_names_get();
+
if (!argc || !argv)
+   {
+   ecore_list_destroy(engines);
DRETURN(DLEVEL_STABLE);
-
-   engines = ewl_engine_names_get();
+   }
 
i = 0;
while (i < *argc) {




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


E CVS: mem devilhorns

2006-06-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : mem

Dir : e_modules/mem


Removed Files:
VeraMono.ttf 


Log Message:
Remove VeraMono as it's not used now.





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


E CVS: mem devilhorns

2006-06-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : mem

Dir : e_modules/mem


Modified Files:
Makefile.am configure.in e_mod_config.c e_mod_main.c 
e_mod_main.h mem.edc 
Added Files:
DejaVuSansMono.ttf machdep_freebsd.c machdep_linux.c 


Log Message:
Added patch from Stanislav Sedov to allow mem module to run on freeBsd.
Great work, thanks :)

===
RCS file: /cvs/e/e_modules/mem/Makefile.am,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- Makefile.am 27 May 2006 20:02:48 -  1.6
+++ Makefile.am 14 Jun 2006 14:15:39 -  1.7
@@ -1,5 +1,6 @@
 MAINTAINERCLEANFILES = Makefile.in e_modules-mem.spec
 
+
 SUBDIRS = po
 
 EDJE_CC = @edje_cc@
@@ -9,7 +10,7 @@
 filesdir = $(datadir)
 
 files_DATA = module_icon.png module.eap mem.edj mem.edc \
- VeraMono.ttf $(wildcard real*.png) $(wildcard swap*.png)
+ DejaVuSansMono.ttf $(wildcard real*.png) $(wildcard swap*.png)
 
 EXTRA_DIST=e_modules-mem.spec.in e_modules-mem.spec autogen.sh mem.png 
module_icon.png $(files_DATA)
 
@@ -21,11 +22,31 @@
 
 pkgdir = $(datadir)/$(MODULE_ARCH)
 pkg_LTLIBRARIES= module.la
-module_la_SOURCES  = e_mod_main.c \
-  e_mod_main.h \
-  e_mod_config.c
+if BUILD_FREEBSD
+module_la_SOURCES  =   e_mod_main.c \
+   e_mod_main.h \
+   machdep_freebsd.c \
+   e_mod_config.c
+endif
+if BUILD_LINUX
+module_la_SOURCES  =   e_mod_main.c \
+   e_mod_main.h \
+   machdep_linux.c \
+   e_mod_config.c
+endif
+if BUILD_NETBSD
+module_la_SOURCES  =   e_mod_main.c \
+   e_mod_main.h \
+   machdep_netbsd.c \
+   e_mod_config.c
+endif
+
+EXTRA_module_la_SOURCES=   machdep_linux.c \
+   machdep_freebsd.c \
+   machdep_netbsd.c
+
   
-module_la_LIBADD   = @e_libs@ -lm
+module_la_LIBADD   = @e_libs@ -lm @machdep_libs@
 module_la_LDFLAGS  = -module -avoid-version
 module_la_DEPENDENCIES = $(top_builddir)/config.h
 
===
RCS file: /cvs/e/e_modules/mem/configure.in,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- configure.in10 Jun 2006 02:27:23 -  1.9
+++ configure.in14 Jun 2006 14:15:39 -  1.10
@@ -17,7 +17,7 @@
 AM_ENABLE_SHARED
 AM_PROG_LIBTOOL
 
-ALL_LINGUAS="eo fi it sv ja"
+ALL_LINGUAS="eo fi it sv ja ru"
 AC_SUBST(ALL_LINGUAS)
 
 AM_GNU_GETTEXT([external])
@@ -26,6 +26,25 @@
 MODULE_ARCH="$host_os-$host_cpu"
 AC_SUBST(MODULE_ARCH)
 AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
+
+uname=`uname`
+
+AM_CONDITIONAL(BUILD_LINUX, test x$uname = xLinux)
+AM_CONDITIONAL(BUILD_FREEBSD, test x$uname = xFreeBSD)
+AM_CONDITIONAL(BUILD_NETBSD, test x$uname = xNetBSD)
+
+case $uname in 
 
+   FreeBSD*)
+   machdep_libs=
+   ;;
+   Linux*)
+   machdep_libs=
+   ;;
+   NetBSD*)
+   machdep_libs="-lkvm"
+   ;;
+esac
+AC_SUBST(machdep_libs)
 
 if test "x${bindir}" = 'x${exec_prefix}/bin'; then
   if test "x${exec_prefix}" = "xNONE"; then
===
RCS file: /cvs/e/e_modules/mem/e_mod_config.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- e_mod_config.c  25 May 2006 23:32:39 -  1.6
+++ e_mod_config.c  14 Jun 2006 14:15:39 -  1.7
@@ -6,8 +6,10 @@
double poll_time;
int always_text;
int show_percent;
+#ifdef __linux__
int real_ignore_buffers;
int real_ignore_cached;
+#endif
 };
 
 /* Protos */
@@ -41,8 +43,10 @@
 _fill_data(Config_Item *ci, E_Config_Dialog_Data *cfdata)
 {
cfdata->poll_time = ci->poll_time;
+#ifdef __linux__
cfdata->real_ignore_buffers = ci->real_ignore_buffers;
cfdata->real_ignore_cached = ci->real_ignore_cached;
+#endif
 //   cfdata->show_text = c->conf->show_text;
cfdata->always_text = ci->always_text;
cfdata->show_percent = ci->show_percent;
@@ -85,10 +89,12 @@
e_widget_framelist_object_append(of, ob);
ob = e_widget_check_add(evas, D_("Show Text As Percent"), 
&(cfdata->show_percent));
e_widget_framelist_object_append(of, ob);
+#ifdef __linux__
ob = e_widget_check_add(evas, D_("Ignore Buffers"), 
&(cfdata->real_ignore_buffers));
e_widget_framelist_object_append(of, ob);
ob = e_widget_check_add(evas, D_("Ignore Cached"), 
&(cfdata->real_ignore_cached));
e_widget_framelist_object_append(of, ob);
+#

E CVS: mem devilhorns

2006-06-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : mem

Dir : e_modules/mem/po


Added Files:
ru.po 


Log Message:
Added russian translation from Stanislav Sedov.





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


E CVS: apps/e raster

2006-06-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e


Modified Files:
TODO 


Log Message:


todo++

===
RCS file: /cvs/e/e17/apps/e/TODO,v
retrieving revision 1.346
retrieving revision 1.347
diff -u -3 -r1.346 -r1.347
--- TODO14 Jun 2006 03:21:06 -  1.346
+++ TODO14 Jun 2006 07:47:14 -  1.347
@@ -52,6 +52,10 @@
   ESSENTIAL FEATURES
 ---
 
+* shelf config dialog needs to have basic modce be simple recipies like "on
+  desktop", "at the top" "panel" etc.
+* right click menu on gadgets needs to include gadcon and shelf menu
+* middle mouse on gadgets as a quick move/resize thing?
 * on xrandr screen res change e moves and resizes windows to fit in the new
   resolution. this is good and bad. if some other app temporarily changes
   res this means everything gets squeezed. we need a "temporary resize due to




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