[E-devel] Entrance don't launch Xsessions user files

2007-02-17 Thread Thanatermesis
Entrance don't read the executable files of Xsessions (like the others
login-managers) in /etc/X11/Xsession.d/ (debian here), to are needed for
misc things, Im not sure if I make a wrong thing or the feature is not
implemented, I say that because i add the parameter
--with-xsession=/etc/X11/Xsession on the configure script but that don't
changes anything

Greetings


Thanatermesis
-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Window client list submenus added....

2007-02-17 Thread Christopher Michael
Ravenlock wrote:
> Hello,
> 
> The attached patch will affect the "client list" seen when using the
> middle mouse button on the desktop.  The list will continue to have the
> current desktops clients at the top, while all other desktop's clients
> will be contained within a submenu named after the desktop.

In cvs, slightly modified :)

Cheers,
dh

-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Window client list submenus added....

2007-02-17 Thread Ravenlock

Hello,

The attached patch will affect the "client list" seen when using the 
middle mouse button on the desktop.  The list will continue to have the 
current desktops clients at the top, while all other desktop's clients 
will be contained within a submenu named after the desktop.


--
Regards,
Ravenlock
Index: e17/apps/e/src/bin/e_int_menus.c
===
RCS file: /var/cvs/e/e17/apps/e/src/bin/e_int_menus.c,v
retrieving revision 1.195
diff -u -r1.195 e_int_menus.c
--- e17/apps/e/src/bin/e_int_menus.c13 Feb 2007 02:04:09 -  1.195
+++ e17/apps/e/src/bin/e_int_menus.c18 Feb 2007 06:37:37 -
@@ -961,7 +961,11 @@
alt = evas_list_sort(alt, evas_list_count(alt), 
 _e_int_menus_clients_sort_border_cb);
 
+   mi = e_menu_item_new(m);
+   e_menu_item_separator_set(mi, 1); 
+
desk = NULL;
+   subm = NULL;
if (evas_list_count(alt) > 0) 
  {
for (l = alt; l; l = l->next)
@@ -971,12 +975,22 @@
 bd = l->data;
 if (bd->desk != desk)
   { 
- mi = e_menu_item_new(m); 
- e_menu_item_separator_set(mi, 1); 
+ if (subm && mi) 
+   { 
+  e_menu_item_submenu_set(mi, subm);
+   }
+ mi = e_menu_item_new(m);
+  e_menu_item_label_set(mi, bd->desk->name);
+ e_util_menu_item_edje_icon_set(mi, "enlightenment/windows");
+ subm = e_menu_new();
  desk = bd->desk;
   }
-_e_int_menus_clients_item_create(bd, m);
+_e_int_menus_clients_item_create(bd, subm);
  }
+ if (subm && mi) 
+   { 
+  e_menu_item_submenu_set(mi, subm);
+   }
  }
 
mi = e_menu_item_new(m);
-
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.php&p=sourceforge&CID=DEVDEV___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH] Add 16bpp and 32bpp Rotation 180 Converter Code

2007-02-17 Thread Lars Munch
Hi

The attached patch adds 16bpp and 32bpp Rotation 180 Converter Code to
evas. I did not add the 180 degrees rotation to the software_qtopia
engine as I cannot test it at the moment.

Please apply.

-- Lars Munch


Index: configure.in
===
RCS file: /var/cvs/e/e17/libs/evas/configure.in,v
retrieving revision 1.200
diff -p -u -r1.200 configure.in
--- configure.in	10 Feb 2007 17:23:05 -	1.200
+++ configure.in	17 Feb 2007 20:28:48 -
@@ -1602,6 +1602,29 @@ AC_ARG_ENABLE(convert-16-rgb-rot-0, 
 )
 
 ###
+## Convert to 16bpp RGB with rotation of 180
+conv_16_rgb_rot_180="no"
+conv_16_rgb_rot_180="yes"
+AC_MSG_CHECKING(whether to build 16bpp rotation 180 converter code)
+AC_ARG_ENABLE(convert-16-rgb-rot-180,
+  [  --enable-convert-16-rgb-rot-180 enable 16bpp rotation 180 converter code], [
+  if test x"$enableval" = x"yes" ; then
+AC_MSG_RESULT(yes)
+AC_DEFINE(BUILD_CONVERT_16_RGB_ROT180, 1, [16bpp Rotation 180 Converter Code])
+conv_16_rgb_rot_180="yes"
+  else
+AC_MSG_RESULT(no)
+conv_16_rgb_rot_180="no"
+  fi
+  ], [
+  AC_MSG_RESULT($conv_16_rgb_rot_180)
+  if test x"$conv_16_rgb_rot_180" = x"yes" ; then
+AC_DEFINE(BUILD_CONVERT_16_RGB_ROT180, 1, [16bpp Rotation 180 Converter Code])
+  fi
+  ]
+)
+
+###
 ## Convert to 16bpp RGB with rotation of 270
 conv_16_rgb_rot_270="no"
 conv_16_rgb_rot_270="yes"
@@ -1809,6 +1832,29 @@ AC_ARG_ENABLE(convert-32-rgb-rot-0, 
 )
 
 ###
+## Convert to 32bpp RGB with rotation of 180
+conv_32_rgb_rot_180="no"
+conv_32_rgb_rot_180="yes"
+AC_MSG_CHECKING(whether to build 32bpp rotation 180 converter code)
+AC_ARG_ENABLE(convert-32-rgb-rot-180,
+  [  --enable-convert-32-rgb-rot-180 enable 32bpp rotation 180 converter code], [
+  if test x"$enableval" = x"yes" ; then
+AC_MSG_RESULT(yes)
+AC_DEFINE(BUILD_CONVERT_32_RGB_ROT180, 1, [32bpp Rotation 180 Converter Support])
+conv_32_rgb_rot_180="yes"
+  else
+AC_MSG_RESULT(no)
+conv_32_rgb_rot_180="no"
+  fi
+  ], [
+  AC_MSG_RESULT($conv_32_rgb_rot_180)
+  if test x"$conv_32_rgb_rot_180" = x"yes" ; then
+AC_DEFINE(BUILD_CONVERT_32_RGB_ROT180, 1, [32bpp Rotation 180 Converter Support])
+  fi
+  ]
+)
+
+###
 ## Convert to 32bpp RGB with rotation of 270
 conv_32_rgb_rot_270="no"
 conv_32_rgb_rot_270="yes"
@@ -2078,8 +2124,8 @@ echo "  16bpp RGB 565 (444 ipaq): $conv_
 # FIXME: add 8bpp and below rotation
 echo "  16bpp Rotation 0: $conv_16_rgb_rot_0"
 echo "  16bpp Rotation 90...: $conv_16_rgb_rot_90"
+echo "  16bpp Rotation 180..: $conv_16_rgb_rot_180"
 echo "  16bpp Rotation 270..: $conv_16_rgb_rot_270"
-# FIXME: add 180 rotation
 echo "  24bpp RGB 888...: $conv_24_rgb_888"
 echo "  24bpp BGR 888...: $conv_24_bgr_888"
 # FIXME: add 24bpp rotation
@@ -2089,8 +2135,8 @@ echo "  32bpp BGR ..: $conv_
 echo "  32bpp BGRX .: $conv_32_bgrx_"
 echo "  32bpp Rotation 0: $conv_32_rgb_rot_0"
 echo "  32bpp Rotation 90...: $conv_32_rgb_rot_90"
+echo "  32bpp Rotation 180..: $conv_32_rgb_rot_180"
 echo "  32bpp Rotation 270..: $conv_32_rgb_rot_270"
-# FIXME: add 180 rotation
 echo
 echo ""
 echo
Index: src/lib/engines/common/evas_convert_main.c
===
RCS file: /var/cvs/e/e17/libs/evas/src/lib/engines/common/evas_convert_main.c,v
retrieving revision 1.7
diff -p -u -r1.7 evas_convert_main.c
--- src/lib/engines/common/evas_convert_main.c	10 Feb 2007 17:23:06 -	1.7
+++ src/lib/engines/common/evas_convert_main.c	17 Feb 2007 20:28:50 -
@@ -208,6 +208,15 @@ evas_common_convert_func_get(DATA8 *dest
 			 return evas_common_convert_rgba_to_16bpp_rgb_565_dith;
 		}
 #endif
+#ifdef BUILD_CONVERT_16_RGB_ROT180
+		  if (rotation == 180)
+		{
+		   if ((!(w & 0x1)) && (!((int)dest & 0x3)))
+			 return evas_common_convert_rgba2_to_16bpp_rgb_565_dith_rot_180;
+		   else
+			 return evas_common_convert_rgba_to_16bpp_rgb_565_dith_rot_180;
+		}
+#endif
 #ifdef BUILD_CONVERT_16_RGB_ROT270
 		  if (rotation == 270)
 		{
@@ -240,6 +249,15 @@ evas_common_convert_func_get(DATA8 *dest
 			 return evas_common_convert_rgba_to_16bpp_bgr_565_dith;
 		}
 #endif
+#ifdef BUILD_CONVERT_16_RGB_ROT180
+		  if (rotation == 180)
+		{
+		   if ((!(w & 0x1)) && (!((int)dest & 0x3)))
+			 return evas_common_convert_rgba2_to_16bpp_bgr_565_dith_rot_180;
+		   else
+			 return evas_common_convert_rgba_to_16bpp_bgr_565_dith_rot_180;
+		}
+#endif
 #ifdef BUILD_CONVERT_16_RGB_ROT270
 		  if (rotation == 270)
 		{
@@ -272,6 +290,15 @@ evas_common_convert_func_get(DATA8 *dest

Re: [E-devel] ecore_desktop parameter string trim

2007-02-17 Thread Stark, Thomas
Hi,

there was a missing ";". New patch attached.

Bye,
Thomas


Am Samstag, den 17.02.2007, 02:10 +0100 schrieb Stark, Thomas:
> Hi,
> 
> attached you will find a patch which trims the parameter list. This
> helps if there are only one or more white-spaces behind the command and
> nothing else. The old behavior will add a parameter string with only the
> white-spaces and prevents therefore adding the default "%F", because the
> parameter list is not empty.
> 
> Bye,
> Thomas
> 
> 
> -
> 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.php&p=sourceforge&CID=DEVDEV
> ___ enlightenment-devel mailing 
> list enlightenment-devel@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
-- 
 Stark, Thomas <[EMAIL PROTECTED]>

--- cvs/e17/libs/ecore/src/lib/ecore_desktop/ecore_desktop.c	2006-12-21 04:36:27.0 +0100
+++ build/e17/libs/ecore/src/lib/ecore_desktop/ecore_desktop.c	2007-02-17 01:47:58.0 +0100
@@ -257,7 +257,10 @@
 		{
 		   *exe = '\0';
 		   exe++;
-		   result->exec_params = strdup(exe);
+		   /* trim the parameter string */
+		   for(;isspace(*exe) && (exe - result->exec) < PATH_MAX && *exe != '\0'; exe++);
+		   if(*exe != '\0')
+		 result->exec_params = strdup(exe);
 		}
 	   }
 
-
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.php&p=sourceforge&CID=DEVDEV___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel