Re: [E-devel] Small bug in font configuration dialog.

2006-09-27 Thread Christopher Michael
Eugen Minciu wrote:
 Here's a small problem I'm having with the font dialog. 
 
 It's nothing major (you might even be aware of it) but I just though I should 
 let you guys know.
 
 I go the font configuration dialog to enable a font class (Modules - Small). 
 However, nothing happens (the font and its size don't change). I change the 
 size from the default in the dialog. I click apply and it doesn't change 
 (again).
 
 The settings only get applied after I restart E. I then try to disable that 
 font class and the same thing happens. It's only disabled after I restart E.
 
Can anyone else confirm this? I tested it here with a current cvs up (as 
of last night) and I cannot reproduce.

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


Re: [E-devel] entrance is now bloated.

2006-09-27 Thread Morten Nilsen
Justin Patrin wrote:
 On 9/26/06, Morten Nilsen [EMAIL PROTECTED] wrote:
 Personally, the ~9MB out of 2GB the entrance process is hogging is
 negligible, but still wasted RAM..

 
 For those of us who wish to run e17 on a 64MB (or 32MB) RAM handheld
 this is a big difference.

Yes, I do know that, which is why I said personally ;)

-- 
Cheers,
Morten
:wq

-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Small bug in font configuration dialog.

2006-09-27 Thread Anders Troback
Just a works here;-)


On Wed, 27 Sep 2006 03:39:55 -0400
Christopher Michael [EMAIL PROTECTED] wrote:

 Eugen Minciu wrote:
  Here's a small problem I'm having with the font dialog. 
  
  It's nothing major (you might even be aware of it) but I just
  though I should let you guys know.
  
  I go the font configuration dialog to enable a font class (Modules
  - Small). However, nothing happens (the font and its size don't
  change). I change the size from the default in the dialog. I click
  apply and it doesn't change (again).
  
  The settings only get applied after I restart E. I then try to
  disable that font class and the same thing happens. It's only
  disabled after I restart E.
  
 Can anyone else confirm this? I tested it here with a current cvs up
 (as of last night) and I cannot reproduce.
 
 dh
 

-- 


Microsoft is not the answer.
Microsoft is the question.
And 'No' is the answer!

Anders Trobäck
http://www.troback.com

-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e_menu Keyboard Navigation using First Characters

2006-09-27 Thread David Sharp
On 9/26/06, Metrics [EMAIL PROTECTED] wrote:
 The patch attached to adds keyboard navigation to the menu using the
 first character of the menu label. It automatically executes anything
 with a single entry in the menu and just activates those that have
 multiple entries. If you don't like it's behaviour I can change it.

cool, sounds useful. but, i don't think i like the automatically
executes anything with a single entry bit. I think it would be useful
as a sort of search feature, and would be weird to get a different
action based on the contents of the menu. for example, on a long menu,
one might try to hit z just to get to the bottom of the list, b/c
they don't quite know what they are looking for, and be surprised when
zenity is executed (contrived example, but that's the idea).

Win+C, F might be handy, but Win+C, F, Enter isn't that bad either.


 The patch is based on successful application of the patch from my
 previous mail, as it's just too messy (it is a little bit already),
 without accurate menu list item tracking.

 One item that I'm not happy with, and I can't seem to see the issue is
 that when hitting an item with a submenu and the submenu is activated,
 the first item is not highlighted. I don't quite understand this as it's
 using the same function as pressing the right arrow on the keyboard. It
 can be a little bit confusing without the marker.

 One REALLY useful feature of having menus like this is, say the Favorite
 Applications menu is shown by Win+C. If Firefox is in the menu then
 Win+C, F, will launch firefox.

 Again, let me know what you think and if it needs mods, I'm happy to
 make them.

 metrics


 -
 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



-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e_menu Keyboard Navigation using First Characters

2006-09-27 Thread Metrics
On Wed, Sep 27, 2006 at 03:24:54PM +1000, Metrics wrote:
 The patch attached to adds keyboard navigation to the menu using the
 first character of the menu label. It automatically executes anything
 with a single entry in the menu and just activates those that have
 multiple entries. If you don't like it's behaviour I can change it.
 

Thinking about it more, with respect to David's message, I think
consistent behaviour is key (pun not intended). So attached is a patch
without automatic execution.

metrics
--- e_menu.c.old2006-09-27 12:48:58.0 +1000
+++ e_menu.c2006-09-27 19:35:54.0 +1000
@@ -53,6 +53,7 @@
 static void _e_menu_item_activate_first   (void);
 static void _e_menu_item_activate_last(void);
 static void _e_menu_item_activate_nth (int n);
+static void _e_menu_item_activate_char(char * key_compose);
 static void _e_menu_activate_next (void);
 static void _e_menu_activate_previous (void);
 static void _e_menu_activate_first(void);
@@ -2070,6 +2071,84 @@
 }
 
 static void
+_e_menu_item_activate_char(char * key_compose)
+{
+   E_Menu *m;
+   E_Menu_Item *mi;
+   Evas_List *ll, *ll_orig;
+   int match_count = 0;
+
+   /* Ignore modifiers and such. */
+   if (!key_compose) return;
+
+   /* Check we've got a menu and it's active. */
+   m = _e_menu_active_get();
+   if (!m) 
+ {
+   if (!_e_active_menus) return;
+   m = _e_active_menus-data;
+   if (!m) return;
+ }
+
+   /* Count the number of items that match */
+   ll = m-items;
+   while (ll) 
+ {
+   mi = ll-data;
+   if (!mi-separator  !strncasecmp(key_compose, mi-label, 
strlen(key_compose)))
+ match_count++;
+   ll = ll-next;
+ }
+
+   if (!match_count) return;
+
+   ll = _e_menu_list_item_active_get();
+   /* If we don't have an active item, start from the top of the list. */
+   if (!ll)
+ {
+   ll = m-items;
+   mi = ll-data;
+   /* Only check the current item if it wasn't active before. */
+   if (!mi-separator  mi-label  !strncasecmp(key_compose, mi-label, 
strlen(key_compose))) 
+ {
+e_menu_item_active_set(mi, 1);
+_e_menu_item_ensure_onscreen(mi);
+return;
+ }
+ }
+
+   mi = ll-data;
+   if (!(ll-next)) 
+ ll = mi-menu-items;
+   else
+ ll = ll-next;
+   mi = ll-data;
+
+   /* While we don't have a label OR we don't match */
+   while ((!mi-label || strncasecmp(key_compose, mi-label, 
strlen(key_compose
+ {
+   if (!(ll-next)) 
+ ll = mi-menu-items;
+   else
+ ll = ll-next;
+   mi = ll-data;
+
+   while (mi-separator)
+ { 
+if (!(ll-next)) 
+  ll = mi-menu-items;
+else
+  ll = ll-next;
+mi = ll-data;
+ }
+ }
+
+   e_menu_item_active_set(mi, 1);
+   _e_menu_item_ensure_onscreen(mi);
+   return;
+}
+
+static void
 _e_menu_activate_next(void)
 {
E_Menu_Item *mi;
@@ -2531,6 +2610,8 @@
  _e_menu_item_activate_nth(8);
else if ((!strcmp(ev-keysymbol, 0)) || (!strcmp(ev-keysymbol, KP_0)))
  _e_menu_item_activate_last();
+   else if (ev-key_compose)
+ _e_menu_item_activate_char(ev-key_compose);
return 1;
 }
 
-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Small bug in font configuration dialog.

2006-09-27 Thread Stafford Horne
On Wed, 27 Sep 2006 10:52:01 +0200
Anders Troback [EMAIL PROTECTED] wrote:

 Just a works here;-)

Hi All, 

I think the issue here is that one can not disable configured text classes once 
they are setup in the dialog. This is because edje can not remove text classes 
once they are set.  There is edje_text_class_set but no edje_text_class_del 
function. 

I realized this when I wrote the dialog but I figured that disabling fonts 
might as well use a restart as you probably want to Remove the fonts from 
memory and what not.

This is a good point and should be on a TODO list somewhere. 

-Stafford
 
 
 On Wed, 27 Sep 2006 03:39:55 -0400
 Christopher Michael [EMAIL PROTECTED] wrote:
 
  Eugen Minciu wrote:
   Here's a small problem I'm having with the font dialog. 
   
   It's nothing major (you might even be aware of it) but I just
   though I should let you guys know.
   
   I go the font configuration dialog to enable a font class (Modules
   - Small). However, nothing happens (the font and its size don't
   change). I change the size from the default in the dialog. I click
   apply and it doesn't change (again).
   
   The settings only get applied after I restart E. I then try to
   disable that font class and the same thing happens. It's only
   disabled after I restart E.
   
  Can anyone else confirm this? I tested it here with a current cvs up
  (as of last night) and I cannot reproduce.
  
  dh
  
 
 -- 
 
 
 Microsoft is not the answer.
 Microsoft is the question.
 And 'No' is the answer!
 
 Anders Trobäck
 http://www.troback.com
 
 -
 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-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
Stafford M. Horne
Senior Engineer 高级工程师
SurfControl plc 美讯智科技
Peoples Republic of China, Beijing  中华人民共和国, 北京
Mobile: +86 13611014044 手机:+86 13611014044

  (Website) http://blog.shorne-pla.net/ (网站)
-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] entrance is now bloated.

2006-09-27 Thread Essien Ita Essien
Morten Nilsen wrote:
 Carsten Haitzler (The Rasterman) wrote:
   
 OK - a quick check today:

   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND  
  4183 root  15   0 79712  28m 5216 S0  2.9   0:35.94 Xorg  
  9385 raster15   0  106m  21m  11m S0  2.1   0:03.04 sylpheed  
  4189 root  16   0 65112  13m 3060 S0  1.3   0:04.72 entrance  
  4600 raster16   0 65112  11m  704 S0  1.1   0:00.00 entrance  
  4601 raster15   0 70988 9604 3984 S0  0.9   1:50.63 enlightenm
  4168 root  16   0 41956 1248  860 S0  0.1   0:00.00 entranced 
 

 should entrance_login be executing entrance? I thought it should just
 execute the session?

 root  6761  0.0  0.0   6664  1392 tty1 SSep26   0:00 entranced
 root 11893  5.1  0.8  20364 18364 ?S01:12   0:05  \_
 /usr/X11R6/bin/X -quiet -nolisten tcp -auth /var/:0.Xauth :0
 root 11896  0.6  0.0   2156   724 ?Ss   01:12   0:00  \_
 /usr/lib/entrance/entrance_login 11937 mortenn :0
 mortenn  11937  0.0  0.4  17140  9132 ?S01:12   0:00  \_
 /usr/bin/entrance -d :0 -z 6761

   
i'm looking at this now... I think i may have found the cause too :)
 Oh, btw, my xmodmap is still not being installed at login, so it's
 definitely still not executing the xinit stuff, like it used to do before.

   
hmmm... thnx for bringing this up. I'll look at fixing this too.
 But with those last checkins, bloat does seem to have improved a bit..

   

yeah... a bit :)

-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E CVS: apps/entrance essiene

2006-09-27 Thread Essien Ita Essien
Carsten Haitzler (The Rasterman) wrote:
 On Tue, 26 Sep 2006 14:50:59 -0400 (EDT) Enlightenment CVS
 [EMAIL PROTECTED] babbled:

 good! :) (now to test it out...).

 just a note - remember even if you don't review patches in detail - test them
 and notice changes. memory, # of processes, cpu usage, pixel problems and
 so-on. 
you're right... i've not been doing that. I've learnt from this, and
will be doing that onwards.
 i can understand if it's some small obscure almost-never-encountered
 case, but this here was a always and ever happens all the time and leaves 2
 fat entrance processes floating about. :) maybe we need to take away all but
 32MB of your ram so you notice... :) 
w00t!! :)
 hehehe :) seriously - make sure you do
 the  checks. i check e itself on a very regular basis.

   
noted. thnx.
 Enlightenment CVS committal

 Author  : essiene
 Project : e17
 Module  : apps/entrance

 Dir : e17/apps/entrance/src/client


 Modified Files:
  entrance_session.c 


 Log Message:
 Fix bloat issue noticed by Raster this morning. We're back to normal mem
 usage. I've just learnt a practical lesson on patch review... I actually
 should have caught this earlier.

 ===
 RCS file: /cvs/e/e17/apps/entrance/src/client/entrance_session.c,v
 retrieving revision 1.86
 retrieving revision 1.87
 diff -u -3 -r1.86 -r1.87
 --- entrance_session.c   31 Aug 2006 14:37:37 -  1.86
 +++ entrance_session.c   26 Sep 2006 18:50:29 -  1.87
 @@ -479,15 +479,38 @@
  exit(0);
   default:
  syslog(LOG_NOTICE, Replacing Entrance with simple login program to
 wait for session end.);
 -wait(NULL); 
 +#ifdef HAVE_PAM
 +if (e-config-auth == ENTRANCE_USE_PAM)
 +{
 +   snprintf(buf, sizeof(buf), %s/%s/entrance_login %i %s %s,
 +PACKAGE_LIB_DIR, PACKAGE, (int) pid, pwent-pw_name, 
 +e-display);
 +}
 +else
 +#endif
 +{
 +   snprintf(buf, sizeof(buf), %s/%s/entrance_login %i,
 +PACKAGE_LIB_DIR, PACKAGE, (int) pid);
 +}
 +shell = strdup(/bin/sh);
 +/* this bypasses a race condition where entrance loses its x
 +   connection before the wm gets it and x goes and resets itself */
 +sleep(10);
 +/*
 + * FIXME These should be called!
  ecore_x_shutdown();
  ecore_shutdown();
 +*/
  break;
 }
 struct_passwd_free(pwent);
 entrance_session_free(e);
 if (shell) free(shell);
 if (user) free(user);
 +   /* replace this process with a clean small one that just waits for its */
 +   /* child to exit.. passed on the cmd-line */
 +
 +   execl(/bin/sh, /bin/sh, -l, -c, buf, NULL);
 if (buf) free(buf);
  }
  



 -
 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

 


   


-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] entrance is now bloated.

2006-09-27 Thread Essien Ita Essien
Carsten Haitzler (The Rasterman) wrote:
 On Tue, 26 Sep 2006 19:58:36 +0100 Essien Ita Essien [EMAIL PROTECTED]
 babbled:

   
 Essien Ita Essien wrote:
 
 Eugen Minciu wrote:
   
   
 On Tue, 26 Sep 2006 14:31:04 +0900
 Carsten Haitzler (The Rasterman) [EMAIL PROTECTED] wrote:
 My entrance is built on September 11th and I don't have this problem.

 Hope this helps you narrow it down.
   
 
 
 Ok... found it after a few minutes of poking around web-cvs.

 Actually, the problem came in with the shell utilization patches...
 http://e.kevb.net/cgi-bin/viewvc.cgi/e17/apps/entrance/src/client/entrance_session.c?r1=1.85r2=1.86sortby=date

 Now that I've identified it. It will be fixed soonest.
   
   
 all fixed now.

   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  
 COMMAND  
  1955 root  15   0  6952 1936 1528 S  0.0  0.4   0:00.04 
 entranced
 16418 root  16   0  2008  712  576 S  0.0  0.1   0:00.80 
 entrance_login   
 16429 essiene   16   0 18532 8064  724 S  0.0  1.6   0:00.00 
 entrance 
 16430 essiene   15   0 23592  17m 4260 S  0.0  3.4   0:05.05 
 enlightenment

 booyaa!!

 I'll be more carefull in reviewing patches in future.
 

 actually not all fixed. 1 entrance process floating around. there's no need 
 for
 it to hang about like a bad smell. :) i am pretty damn sure that when i fixed
 it before entrance spawned off the user's login session then REPLACED itself
 with entrance_login so it became small and unobtrusive. there were not 2
 entrances and entrance became entrance_login :) i'm pretty damn sure that's 
 how
 it was... :)
   
I was wondering about that... I think I see where that is coming from.
   
 Cheers,
 Essien
 
 Cheers,
 Essien
   
   
 OK - a quick check today:

   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND  
  4183 root  15   0 79712  28m 5216 S0  2.9   0:35.94 Xorg  
  9385 raster15   0  106m  21m  11m S0  2.1   0:03.04 sylpheed  
  4189 root  16   0 65112  13m 3060 S0  1.3   0:04.72 entrance  
  4600 raster16   0 65112  11m  704 S0  1.1   0:00.00 entrance  
  4601 raster15   0 70988 9604 3984 S0  0.9   1:50.63 enlightenm
  4168 root  16   0 41956 1248  860 S0  0.1   0:00.00 entranced 

 ... now yes - i know how top and ps can lie - BUT, i only now JUST
 noticed - someone has removed my work of using entrance_login. ie
 entranced spawns (and manages) X and entrance (entrance is the gui front
 end). when you authenticate
 - entrance runs the login session. in order to make sure that when your
 login ends everything is cleaned up login-wise, entrance_login sits and
 waits for the user's login to end. entrance_login is small - it uses no
 efl libs. it is intended to be so small as to use very little ram while
 you are logged in. this seems to have been thrown out the window now with
 entrance spawning 2 incarnations of itself and just siting around hogging
 stale unused memory that will eventually need to be swapped out - while a
 user is logged in.

 why was this removed? why suddenly consume about 20MB worth of resident
 pages of ram when this is really not needed? just exec() entrance_login
 so it replaces the entrance process with a brand new one that has no
 allocated memory, fragmented pages etc. if any housekeeping needs to be
 added - add it to entrance_login and pass it in via cmd-line, stdin or
 something. as it stands entrance is hogging a huge amount of memory for
 no useful purpose. entranced should stick around - and really - it's not
 fat at all (400k of resident pages or so). look at the above -
 enlightenment is leaner than entrance - by  50% mem use. and entrance
 should be doing NOTHING - it should be idle and consuming basically no
 resources as it's only waiting for my login session to end.

 now - this brings me to my point. people need to think about what they are
 patching and changing - not just in terms of features, but what they might
 break, destroy and then bloat-up. this isn't gnome people. we CARE about
 resource usage. if you are going to use ram or cpu - do it for a reason -
 get something out of it (functionality, prettiness, etc.) but profile
 your work - check its memory usage, check its process spawning - do the
 processes go away? so you leave them hanging around consuming precious
 ram and/or cpu.

 pay attention to the details. details make the difference between a $1
 piece of plastic imitation junk churned out by a chinese factory and a
 masterpiece of craftsmanship.

 i am sorry to have to say this - but i'm disappointed to see lax work like
 this. :(

 -- 
 - Codito, ergo sum - I code, therefore I am --
 The Rasterman 

Re: [E-devel] entrance is now bloated.

2006-09-27 Thread Essien Ita Essien
Morten Nilsen wrote:
 Carsten Haitzler (The Rasterman) wrote:
   
 On Tue, 26 Sep 2006 19:58:36 +0100 Essien Ita Essien [EMAIL PROTECTED]
 babbled:
 
 all fixed now.
   
 actually not all fixed. 1 entrance process floating around. there's no need 
 for
 it to hang about like a bad smell. :) i am pretty damn sure that when i fixed
 it before entrance spawned off the user's login session then REPLACED itself
 with entrance_login so it became small and unobtrusive. there were not 2
 entrances and entrance became entrance_login :) i'm pretty damn sure that's 
 how
 it was... :)
 

 I think this was a result of the whole yahoo about shells a bit back..
 The one that ended with entrance executing the chosen environment
 directly, and not run it by /bin/sh or /bin/bash

 Personally, the ~9MB out of 2GB the entrance process is hogging is
 negligible, but still wasted RAM..

 My biggest problem is having to execute xmodmap ~/.Xmodmap by hand all
 the time. I didn't have to do that a few weeks back.

   
this should be executed by the session right? hmm... i'm looking to 
solve this too, I'll need you help testing it :)


-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] entrance is now bloated.

2006-09-27 Thread Essien Ita Essien
Eugen Minciu wrote:
 On Wed, 27 Sep 2006 01:58:33 +0200
 Morten Nilsen [EMAIL PROTECTED] wrote:

   
 Carsten Haitzler (The Rasterman) wrote:
 
 On Tue, 26 Sep 2006 19:58:36 +0100 Essien Ita Essien [EMAIL PROTECTED]
 babbled:
   
 all fixed now.
 
 actually not all fixed. 1 entrance process floating around. there's no need 
 for
 it to hang about like a bad smell. :) i am pretty damn sure that when i 
 fixed
 it before entrance spawned off the user's login session then REPLACED itself
 with entrance_login so it became small and unobtrusive. there were not 2
 entrances and entrance became entrance_login :) i'm pretty damn sure that's 
 how
 it was... :)
   
 I think this was a result of the whole yahoo about shells a bit back..
 The one that ended with entrance executing the chosen environment
 directly, and not run it by /bin/sh or /bin/bash
 
 That was my patch.

 I apologize, for not seeing this. I really suck. I tried to do a lot more 
 then was initially required. Someone should probably bash me for changing 
 code I don't understand and they'd have a point. You should probably revert 
 the entire thing. 

   
Naaahh... no need for reverting... you don't suck too :) (ok... you 
suck!!! :P)
 The mess it created is a lot worse then the (small) benefit it created.
 Sorry.
   
Naaah I'm working around them... the work is beneficial, just some 
small things to take into account :)
 You might want to keep that strtok() parsing when starting the X server but I 
 don't know really.

 Eugen.
   
 Personally, the ~9MB out of 2GB the entrance process is hogging is
 negligible, but still wasted RAM..

 My biggest problem is having to execute xmodmap ~/.Xmodmap by hand all
 the time. I didn't have to do that a few weeks back.

 -- 
 Morten
 :wq

 -
 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-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 

 -
 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-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

   


-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] entrance is now bloated.

2006-09-27 Thread Essien Ita Essien
Carsten Haitzler (The Rasterman) wrote:
 On Wed, 27 Sep 2006 01:58:33 +0200 Morten Nilsen [EMAIL PROTECTED] babbled:

   
 Carsten Haitzler (The Rasterman) wrote:
 
 On Tue, 26 Sep 2006 19:58:36 +0100 Essien Ita Essien
 [EMAIL PROTECTED] babbled:
   
 all fixed now.
 
 actually not all fixed. 1 entrance process floating around. there's no need
 for it to hang about like a bad smell. :) i am pretty damn sure that when i
 fixed it before entrance spawned off the user's login session then REPLACED
 itself with entrance_login so it became small and unobtrusive. there were
 not 2 entrances and entrance became entrance_login :) i'm pretty damn sure
 that's how it was... :)
   
 I think this was a result of the whole yahoo about shells a bit back..
 The one that ended with entrance executing the chosen environment
 directly, and not run it by /bin/sh or /bin/bash

 Personally, the ~9MB out of 2GB the entrance process is hogging is
 negligible, but still wasted RAM..

 My biggest problem is having to execute xmodmap ~/.Xmodmap by hand all
 the time. I didn't have to do that a few weeks back.
 

 it's the WAY you execute the login process. you are spawning it as a
 sub-process of entrance, rather than REPLACING entrance. remember fork()
 creates a child. exec() REPLACES the current process with the new one. 
 runing an app is a fork + an exec as you DONT want to replace yourself. b ut
 in this case you DO.
   
correct... that should be what is causing the XModMap thingy, and the
extra entrance hanging around. Fix coming.
   
 -- 
 Morten
 :wq

 -
 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-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

 


   


-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] entrance is now bloated.

2006-09-27 Thread Essien Ita Essien
Essien Ita Essien wrote:
 Carsten Haitzler (The Rasterman) wrote:
   
 On Wed, 27 Sep 2006 01:58:33 +0200 Morten Nilsen [EMAIL PROTECTED] babbled:

   
 
 Carsten Haitzler (The Rasterman) wrote:
 
   
 On Tue, 26 Sep 2006 19:58:36 +0100 Essien Ita Essien
 [EMAIL PROTECTED] babbled:
   
 
 all fixed now.
 
   
 actually not all fixed. 1 entrance process floating around. there's no need
 for it to hang about like a bad smell. :) i am pretty damn sure that when i
 fixed it before entrance spawned off the user's login session then REPLACED
 itself with entrance_login so it became small and unobtrusive. there were
 not 2 entrances and entrance became entrance_login :) i'm pretty damn sure
 that's how it was... :)
   
 
 I think this was a result of the whole yahoo about shells a bit back..
 The one that ended with entrance executing the chosen environment
 directly, and not run it by /bin/sh or /bin/bash

 Personally, the ~9MB out of 2GB the entrance process is hogging is
 negligible, but still wasted RAM..

 My biggest problem is having to execute xmodmap ~/.Xmodmap by hand all
 the time. I didn't have to do that a few weeks back.
 
   
 it's the WAY you execute the login process. you are spawning it as a
 sub-process of entrance, rather than REPLACING entrance. remember fork()
 creates a child. exec() REPLACES the current process with the new one. 
 runing an app is a fork + an exec as you DONT want to replace yourself. b 
 ut
 in this case you DO.
   
 
 correct... that should be what is causing the XModMap thingy, and the
 extra entrance hanging around. Fix coming.
   
The killer blow has been dealt, no more per user owned entrance process, 
only good ole entrance_login and entranced and I think it should have 
fixed morten's issue with XModMap also, Morten can you confirm this?

PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  
COMMAND  
1953 root  16   0  6964 1936 1528 S  0.0  0.4   0:00.06 
entranced
12616 root  16   0  2004  712  576 S  0.0  0.1   0:00.97 
entrance_login   
12627 essiene   15   0 22844  16m 4136 S  0.0  3.2   0:02.51 
enlightenment

   
 
 -- 
 Morten
 :wq

 -
 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-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

 
   
   
 


 -
 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-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

   


-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E CVS: sebastid sebastid

2006-09-27 Thread simon . treny
Sebastian is probably one of the developers who done the most for e17 and the
EFL (a lot of useful and painful work on ecore_x and e17), and there is no way
he's going to leave for reasons like these (this problem should have been
sorted out privately, there was really no need to publicly criticize/insult Seb
imho...)
So Seb, if you read this, come back, we definetely need you here. It' an ORDER!!
:)

Simon


-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] entrance is now bloated.

2006-09-27 Thread Morten Nilsen
Essien Ita Essien wrote:
 Essien Ita Essien wrote:
 correct... that should be what is causing the XModMap thingy, and the
 extra entrance hanging around. Fix coming.
   
 The killer blow has been dealt, no more per user owned entrance process, 
 only good ole entrance_login and entranced and I think it should have 
 fixed morten's issue with XModMap also, Morten can you confirm this?
 
 PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  
 COMMAND  
 1953 root  16   0  6964 1936 1528 S  0.0  0.4   0:00.06 
 entranced
 12616 root  16   0  2004  712  576 S  0.0  0.1   0:00.97 
 entrance_login   
 12627 essiene   15   0 22844  16m 4136 S  0.0  3.2   0:02.51 
 enlightenment

Sorry, mac.. still not getting my xmodmap installed..

But at least that entrance process is gone now :)

-- 
Morten
:wq

-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] entrance is now bloated.

2006-09-27 Thread Essien Ita Essien
Morten Nilsen wrote:
 Essien Ita Essien wrote:
   
 Essien Ita Essien wrote:
 
 correct... that should be what is causing the XModMap thingy, and the
 extra entrance hanging around. Fix coming.
   
   
 The killer blow has been dealt, no more per user owned entrance process, 
 only good ole entrance_login and entranced and I think it should have 
 fixed morten's issue with XModMap also, Morten can you confirm this?

 PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  
 COMMAND  
 1953 root  16   0  6964 1936 1528 S  0.0  0.4   0:00.06 
 entranced
 12616 root  16   0  2004  712  576 S  0.0  0.1   0:00.97 
 entrance_login   
 12627 essiene   15   0 22844  16m 4136 S  0.0  3.2   0:02.51 
 enlightenment
 

 Sorry, mac.. still not getting my xmodmap installed..
   
Ok... I'll look more into this later at night today. Thnx for the feedback.
 But at least that entrance process is gone now :)

   
arr... shivers me timbers! ;)


-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] entrance is now bloated.

2006-09-27 Thread Morten Nilsen
Essien Ita Essien wrote:
 Morten Nilsen wrote:
 Sorry, mac.. still not getting my xmodmap installed..
   
 Ok... I'll look more into this later at night today. Thnx for the feedback.

Just throwing you a bone.. the .Xmodmap file is installed by
/etc/X11/xinit/xinitrc for startx and /etx/X11/xdm/Xsession for xdm

In the past, the xinitrc script was executed by entrance, I think.

-- 
Morten
:wq

-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] entrance is now bloated.

2006-09-27 Thread Essien Ita Essien
Morten Nilsen wrote:
 Essien Ita Essien wrote:
   
 Morten Nilsen wrote:
 
 Sorry, mac.. still not getting my xmodmap installed..
   
   
 Ok... I'll look more into this later at night today. Thnx for the feedback.
 

 Just throwing you a bone.. the .Xmodmap file is installed by
 /etc/X11/xinit/xinitrc for startx and /etx/X11/xdm/Xsession for xdm
   
yeah... I figured that. Currently, entrance execl's 
/etc/X11/xdm/Xsession in the child fork (the one that was spawned by the 
parent that is now entrance_login). I'll do some more tests and try to 
figure out what could go wrong... i'm guessing its environment related. 
anyways, we'll see.
 In the past, the xinitrc script was executed by entrance, I think.

   
noted. thnx for the pointers.

-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [patch] blue_eyed theme pixel border bug

2006-09-27 Thread Morten Nilsen
Please find attached a one-liner fix for the weird pixel border
behaviour I previously reported.

As an aside, an edje_decc'd copy of blue_eyed can't be built using
./build.sh .. includes aren't pathed right, and a file seems to be
missing. (I commented out several refs to net_*.edc and created
symlinks, for testing)

-- 
Cheers
Morten
:wq
diff -ur blue_eyed_0.6.5.g_i/parts/borders_pixel_client.edc 
blue_eyed_0.6.5.g_ib/parts/borders_pixel_client.edc
--- blue_eyed_0.6.5.g_i/parts/borders_pixel_client.edc  2006-09-27 
23:30:30.361645658 +0200
+++ blue_eyed_0.6.5.g_ib/parts/borders_pixel_client.edc 2006-09-27 
23:40:57.747660141 +0200
@@ -1,5 +1,5 @@
 part {
-   name: e.client;
+   name: e.swallow.client;
type: SWALLOW;
description {
state: default 0.0;
-
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel