Re: [E-devel] Entangle

2005-04-30 Thread The Rasterman
On Fri, 29 Apr 2005 23:25:21 -0400 dan sinclair <[EMAIL PROTECTED]> babbled:
(B
(B> Currently, if your eapp isn't in the all directory, they don't exist for
(B> entangle. Can you have eapps scattered in other directories? I thought
(B> they all had to be in the all directory.
(B
(Byup. you can have them scattered TOO :) 
(B
(B> dan
(B> 
(B> 
(B> 
(B> On Sat, 2005-04-30 at 11:16 +0800, Didier Casse wrote:
(B> > I got the same problem here... duh! :-( 
(B> > 
(B> > ([EMAIL PROTECTED]:apps)$ entangle 
(B> > 
(B> > ERROR found Enlightenment in the favorite order file. There is no
(B> > .eapp for it, and it isn't a directory. Skipping...
(B> > ERROR found e17setroot.eapp in the startup order file. There is no
(B> > .eapp for it, and it isn't a directory. Skipping...
(B> > ERROR found myengage.eapp in the startup order file. There is no .eapp
(B> > for it, and it isn't a directory. Skipping...
(B> > Unable to locate theme.
(B> > Error initing Entangle_Ui.
(B> > 
(B> > It's not totally true... My eapp files are around but entangle can't
(B> > seem to find them!
(B> > 
(B> > -- 
(B> > With kind regards,
(B> > Didier.
(B> > ---
(B> > 
(B> > Didier F.B Casse | PhD candidate | LiMiNT Beamline
(B> > Singapore Synchrotron Light Source (SSLS), 5 Research Link, Singapore 117603
(B> > Email: [EMAIL PROTECTED]|
(B> > Web: http://ssls.nus.edu.sg | GPG Key 1024D/B3C57D01 2004-06-23
(B> > 
(B> > On 4/30/05, Hisham Mardam Bey <[EMAIL PROTECTED]> wrote:
(B> > > my eapps are in ~/.e/e/applications/Applications/ and it seems like
(B> > > entangle can not find them.
(B> > > 
(B> > > On 4/30/05, Valtteri Vainikka <[EMAIL PROTECTED]> wrote:
(B> > > > Hey,
(B> > > >
(B> > > > Looks great. I just added a section (and some news) about it on
(B> > > > http://get-e.org/Documentation/User_Guide_pages/3.3.html. If you have
(B> > > > spare time, please check it out if I got everything right. If there's
(B> > > > anything you want me to edit, let me know.
(B> > > >
(B> > > > cheers,
(B> > > >
(B> > > > valtteri (vrln)
(B> > > >
(B> > > > On 4/29/05, dan sinclair <[EMAIL PROTECTED]> wrote:
(B> > > > > Hello,
(B> > > > >
(B> > > > > I just imported Entangle into e_utils. Entangle is a menu editor for
(B> > > > > e17. It will let you manage the ibar, favorites menu, start and 
(B> > > > > restart
(B> > > > > directories.
(B> > > > >
(B> > > > > There are a few issues with the UI that need to be worked out, but it
(B> > > > > seems to work.
(B> > > > >
(B> > > > > If you want to use entangle, the control is off of the mouse. Left
(B> > > > > clicking on something in the left bar (the eapps) you can drag it onto
(B> > > > > the menu to place it.
(B> > > > >
(B> > > > > For stuff on the menu, clicking on a directory (the things with the
(B> > > > > arrows on the right) will open that directory for you to configure.
(B> > > > > (There is no way to go back so you have to navigate down from the root
(B> > > > > again). If you middle click the item will be deleted. If you middle
(B> > > > > click on a directory it, and all its sub-directories will be deleted.
(B> > > > > You can right click on something in the menu and drag it around to 
(B> > > > > move
(B> > > > > stuff around if you want.
(B> > > > >
(B> > > > > Nothing should change from e17s perspective until you hit the Save
(B> > > > > button at the bottom, at which point e17 should pickup the change
(B> > > > > without having to reboot or anything. Adding new directories is 
(B> > > > > through
(B> > > > > the Add directories button at the bottom. (There is no cursor, but 
(B> > > > > just
(B> > > > > type.) Entering blank will cancel the directory addition.
(B> > > > >
(B> > > > > Thats about it. If it erases your hard drive, eats your cat or steals
(B> > > > > your car, well, not my problem, heh.
(B> > > > >
(B> > > > > dan
(B> > > > >
(B> > > > > ---
(B> > > > > SF.Net email is sponsored by: Tell us your software development plans!
(B> > > > > Take this survey and enter to win a one-year sub to SourceForge.net
(B> > > > > Plus IDC's 2005 look-ahead and a copy of this survey
(B> > > > > Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
(B> > > > > ___
(B> > > > > enlightenment-devel mailing list
(B> > > > > enlightenment-devel@lists.sourceforge.net
(B> > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
(B> > > > >
(B> > > >
(B> > > > ---
(B> > > > This SF.Net email is sponsored by: NEC IT Guy Games.
(B> > > > Get your fingers limbered up and give it your best shot. 4 great 
(B> > > > events, 4
(B> > > > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
(B> > > > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r
(B> > > > 

Re: [E-devel] Entangle

2005-04-30 Thread Hisham Mardam Bey
I think it should look for things in subdirs if possible. In engage's
new context switching feature, you can have things like:

all/Applications
all/Backgrounds/
all/SomeThingElse

So it would be nice if entangle could look in subdirs.


On 4/30/05, The Rasterman Carsten Haitzler <[EMAIL PROTECTED]> wrote:
> On Fri, 29 Apr 2005 23:25:21 -0400 dan sinclair <[EMAIL PROTECTED]> babbled:
> 
> > Currently, if your eapp isn't in the all directory, they don't exist for
> > entangle. Can you have eapps scattered in other directories? I thought
> > they all had to be in the all directory.
> 
> yup. you can have them scattered TOO :)
> 
> > dan
> >
> >
> >
> > On Sat, 2005-04-30 at 11:16 +0800, Didier Casse wrote:
> > > I got the same problem here... duh! :-(
> > >
> > > ([EMAIL PROTECTED]:apps)$ entangle
> > >
> > > ERROR found Enlightenment in the favorite order file. There is no
> > > .eapp for it, and it isn't a directory. Skipping...
> > > ERROR found e17setroot.eapp in the startup order file. There is no
> > > .eapp for it, and it isn't a directory. Skipping...
> > > ERROR found myengage.eapp in the startup order file. There is no .eapp
> > > for it, and it isn't a directory. Skipping...
> > > Unable to locate theme.
> > > Error initing Entangle_Ui.
> > >
> > > It's not totally true... My eapp files are around but entangle can't
> > > seem to find them!
> > >
> > > --
> > > With kind regards,
> > > Didier.
> > > ---
> > >
> > > Didier F.B Casse | PhD candidate | LiMiNT Beamline
> > > Singapore Synchrotron Light Source (SSLS), 5 Research Link, Singapore 
> > > 117603
> > > Email: [EMAIL PROTECTED]|
> > > Web: http://ssls.nus.edu.sg | GPG Key 1024D/B3C57D01 2004-06-23
> > >
> > > On 4/30/05, Hisham Mardam Bey <[EMAIL PROTECTED]> wrote:
> > > > my eapps are in ~/.e/e/applications/Applications/ and it seems like
> > > > entangle can not find them.
> > > >
> > > > On 4/30/05, Valtteri Vainikka <[EMAIL PROTECTED]> wrote:
> > > > > Hey,
> > > > >
> > > > > Looks great. I just added a section (and some news) about it on
> > > > > http://get-e.org/Documentation/User_Guide_pages/3.3.html. If you have
> > > > > spare time, please check it out if I got everything right. If there's
> > > > > anything you want me to edit, let me know.
> > > > >
> > > > > cheers,
> > > > >
> > > > > valtteri (vrln)
> > > > >
> > > > > On 4/29/05, dan sinclair <[EMAIL PROTECTED]> wrote:
> > > > > > Hello,
> > > > > >
> > > > > > I just imported Entangle into e_utils. Entangle is a menu editor for
> > > > > > e17. It will let you manage the ibar, favorites menu, start and 
> > > > > > restart
> > > > > > directories.
> > > > > >
> > > > > > There are a few issues with the UI that need to be worked out, but 
> > > > > > it
> > > > > > seems to work.
> > > > > >
> > > > > > If you want to use entangle, the control is off of the mouse. Left
> > > > > > clicking on something in the left bar (the eapps) you can drag it 
> > > > > > onto
> > > > > > the menu to place it.
> > > > > >
> > > > > > For stuff on the menu, clicking on a directory (the things with the
> > > > > > arrows on the right) will open that directory for you to configure.
> > > > > > (There is no way to go back so you have to navigate down from the 
> > > > > > root
> > > > > > again). If you middle click the item will be deleted. If you middle
> > > > > > click on a directory it, and all its sub-directories will be 
> > > > > > deleted.
> > > > > > You can right click on something in the menu and drag it around to 
> > > > > > move
> > > > > > stuff around if you want.
> > > > > >
> > > > > > Nothing should change from e17s perspective until you hit the Save
> > > > > > button at the bottom, at which point e17 should pickup the change
> > > > > > without having to reboot or anything. Adding new directories is 
> > > > > > through
> > > > > > the Add directories button at the bottom. (There is no cursor, but 
> > > > > > just
> > > > > > type.) Entering blank will cancel the directory addition.
> > > > > >
> > > > > > Thats about it. If it erases your hard drive, eats your cat or 
> > > > > > steals
> > > > > > your car, well, not my problem, heh.
> > > > > >
> > > > > > dan
> > > > > >
> > > > > > ---
> > > > > > SF.Net email is sponsored by: Tell us your software development 
> > > > > > plans!
> > > > > > Take this survey and enter to win a one-year sub to SourceForge.net
> > > > > > Plus IDC's 2005 look-ahead and a copy of this survey
> > > > > > Click here to start!  
> > > > > > http://www.idcswdc.com/cgi-bin/survey?id=105hix
> > > > > > ___
> > > > > > enlightenment-devel mailing list
> > > > > > enlightenment-devel@lists.sourceforge.net
> > > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > > > > >
> > > > >
> > > > > ---
> > > > > This SF.Net email is sponsored by: NEC IT Guy Games.
> > > > > Get y

Re: [E-devel] Entangle

2005-04-30 Thread Sebastian Dransfeld
Someone should make libemenuedit. It would be nice to use in engage and 
ibar when an eapp is dropped.

Sebastian
Hisham Mardam Bey wrote:
I think it should look for things in subdirs if possible. In engage's
new context switching feature, you can have things like:
all/Applications
all/Backgrounds/
all/SomeThingElse
So it would be nice if entangle could look in subdirs.
On 4/30/05, The Rasterman Carsten Haitzler <[EMAIL PROTECTED]> wrote:
On Fri, 29 Apr 2005 23:25:21 -0400 dan sinclair <[EMAIL PROTECTED]> babbled:

Currently, if your eapp isn't in the all directory, they don't exist for
entangle. Can you have eapps scattered in other directories? I thought
they all had to be in the all directory.
yup. you can have them scattered TOO :)

dan

On Sat, 2005-04-30 at 11:16 +0800, Didier Casse wrote:
I got the same problem here... duh! :-(
([EMAIL PROTECTED]:apps)$ entangle
ERROR found Enlightenment in the favorite order file. There is no
.eapp for it, and it isn't a directory. Skipping...
ERROR found e17setroot.eapp in the startup order file. There is no
.eapp for it, and it isn't a directory. Skipping...
ERROR found myengage.eapp in the startup order file. There is no .eapp
for it, and it isn't a directory. Skipping...
Unable to locate theme.
Error initing Entangle_Ui.
It's not totally true... My eapp files are around but entangle can't
seem to find them!
--
With kind regards,
Didier.
---
Didier F.B Casse | PhD candidate | LiMiNT Beamline
Singapore Synchrotron Light Source (SSLS), 5 Research Link, Singapore 117603
Email: [EMAIL PROTECTED]|
Web: http://ssls.nus.edu.sg | GPG Key 1024D/B3C57D01 2004-06-23
On 4/30/05, Hisham Mardam Bey <[EMAIL PROTECTED]> wrote:
my eapps are in ~/.e/e/applications/Applications/ and it seems like
entangle can not find them.
On 4/30/05, Valtteri Vainikka <[EMAIL PROTECTED]> wrote:
Hey,
Looks great. I just added a section (and some news) about it on
http://get-e.org/Documentation/User_Guide_pages/3.3.html. If you have
spare time, please check it out if I got everything right. If there's
anything you want me to edit, let me know.
cheers,
valtteri (vrln)
On 4/29/05, dan sinclair <[EMAIL PROTECTED]> wrote:
Hello,
I just imported Entangle into e_utils. Entangle is a menu editor for
e17. It will let you manage the ibar, favorites menu, start and restart
directories.
There are a few issues with the UI that need to be worked out, but it
seems to work.
If you want to use entangle, the control is off of the mouse. Left
clicking on something in the left bar (the eapps) you can drag it onto
the menu to place it.
For stuff on the menu, clicking on a directory (the things with the
arrows on the right) will open that directory for you to configure.
(There is no way to go back so you have to navigate down from the root
again). If you middle click the item will be deleted. If you middle
click on a directory it, and all its sub-directories will be deleted.
You can right click on something in the menu and drag it around to move
stuff around if you want.
Nothing should change from e17s perspective until you hit the Save
button at the bottom, at which point e17 should pickup the change
without having to reboot or anything. Adding new directories is through
the Add directories button at the bottom. (There is no cursor, but just
type.) Entering blank will cancel the directory addition.
Thats about it. If it erases your hard drive, eats your cat or steals
your car, well, not my problem, heh.
dan
---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
Hisham Mardam Bey
MSc (Computer Science)
http://hisham.cc/
+9613609386
Codito Ergo Sum (I Code Therefore I Am)
---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r
___
enlightenment-devel mailing list
enlightenm

Re: [E-devel] short/hot keys

2005-04-30 Thread [EMAIL PROTECTED]
Thanks! I will try to learn.
(B
(BBye
(BGodzzo
(B
(BCarsten Haitzler (The Rasterman) wrote:
(B
(B>On Sat, 23 Apr 2005 11:12:36 +0200 "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> 
(B>babbled:
(B>
(B>  
(B>
(B>>Hello!
(B>>
(B>>Carsten Haitzler (The Rasterman) wrote:
(B>>
(B>>
(B>>
(B>>>that depends on the quality of the code/patches and how well it's done :) we 
(B>>>can't pre-approve things that haven't been done yet :) you also will be in a 
(B>>>race-condition of who gets to doing it "right" first :)
(B>>> 
(B>>>
(B>>>  
(B>>>
(B>>I try to make an aproveable patch :)
(B>>Please If it is not aproveable, then describe me the errors, what I did.
(B>>
(B>>Thank You!
(B>>
(B>>I try to make a key binding for windows (stick, hide, close, maximize,
(B>>iconify, shade...),
(B>>and this settings save with e_config.c (~/.e/e/config/e.cfg).
(B>>
(B>>
(B>
(B>it's not quite right - basically we'd have to rip out a lot and move it over 
(B>to a centralised bindings/actions system anyway - so i'm doing that right now. 
(B>also the key grab code doesnt handle lock modifiers (check the button grab 
(B>code in ecore_x) i've added ones that do do it properly though now :) sorry i 
(B>can't accept this either - but well - i hope this helps u learn the kind of 
(B>things needed to be done :)
(B>
(B>  
(B>
(B>>Bye
(B>>Godzzo
(B>>
(B>>
(B>>
(B>
(B>
(B>  
(B>
(B
(B
(B
(B---
(BThis SF.Net email is sponsored by: NEC IT Guy Games.
(BGet your fingers limbered up and give it your best shot. 4 great events, 4
(Bopportunities to win big! Highest score wins.NEC IT Guy Games. Play to
(Bwin an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
(B___
(Benlightenment-devel mailing list
(Benlightenment-devel@lists.sourceforge.net
(Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-devel

[E-devel] Patch solve two bugs in key bindings desk change

2005-04-30 Thread Roberto Huelga
This is a really little contribution of Kanzeon to your great work.


Index: e_actions.c
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_actions.c,v
retrieving revision 1.4
diff -u -r1.4 e_actions.c
--- e_actions.c 29 Apr 2005 19:47:30 -  1.4
+++ e_actions.c 30 Apr 2005 14:32:59 -
@@ -195,7 +195,7 @@
 dx = zone->desk_x_current + dx;
 if (dx < 0) dx = 0;
 else if (dx >= zone->desk_x_count) dx = zone->desk_x_count  - 1;
-dy = zone->desk_x_current + dy;
+dy = zone->desk_y_current + dy;
 if (dy < 0) dy = 0;
 else if (dy >= zone->desk_y_count) dy = zone->desk_y_count  - 1;
 desk = e_desk_at_xy_get(zone, dx, dy);



Index: e_bindings.c
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_bindings.c,v
retrieving revision 1.6
diff -u -r1.6 e_bindings.c
--- e_bindings.c29 Apr 2005 19:42:18 -  1.6
+++ e_bindings.c30 Apr 2005 14:32:21 -
@@ -72,7 +72,7 @@
  "desk_flip_by", "0 -1");
e_bindings_key_add(E_BINDING_CONTEXT_ANY,
  "Down", E_BINDING_MODIFIER_SHIFT | 
E_BINDING_MODIFIER_ALT, 0,
- "desk_flip_by", "0 -1");
+ "desk_flip_by", "0 1");
e_bindings_key_add(E_BINDING_CONTEXT_ANY,
  "Up", E_BINDING_MODIFIER_CTRL | E_BINDING_MODIFIER_ALT, 0,
  "window_raise", "");


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r 
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Entangle

2005-04-30 Thread Massimo Maiurana
Il giorno Sat, 30 Apr 2005 13:40:54 +0900 Carsten scrisse:

> On Fri, 29 Apr 2005 23:25:21 -0400 dan sinclair <[EMAIL PROTECTED]>
> babbled:
> 
> > Currently, if your eapp isn't in the all directory, they don't exist
> > for entangle. Can you have eapps scattered in other directories? I
> > thought they all had to be in the all directory.
> 
> yup. you can have them scattered TOO :) 

but in this case, shouldn't e_util_eapp_edit follow this concept too?

right now, if I choose to create an icon for an application through
eapp_edit it will be put in the all directory. if I want it in another
place I have to move it manually after the eapp is saved.

-- 
 Massimo Maiurana  mailto:[EMAIL PROTECTED]
 http://massimo.solira.org   GPG keyID #7044D601

Articolo 11 - L'Italia ripudia la guerra come strumento di offesa alla
libertà  degli  altri  popoli   e  come  mezzo  di  risoluzione  delle
controversie internazionali


pgpeRPu91hxee.pgp
Description: PGP signature


Re: [E-devel] Patch solve two bugs in key bindings desk change

2005-04-30 Thread The Rasterman
On Sat, 30 Apr 2005 16:41:52 +0200 Roberto Huelga <[EMAIL PROTECTED]> babbled:
(B
(B> This is a really little contribution of Kanzeon to your great work.
(B
(Bthanks - but you're a little slow... it's already changed many hours ago in cvs 
(B:) and fixed - it  moved to e_zone.c :)
(B
(B> 
(B> Index: e_actions.c
(B> ===
(B> RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_actions.c,v
(B> retrieving revision 1.4
(B> diff -u -r1.4 e_actions.c
(B> --- e_actions.c   29 Apr 2005 19:47:30 -  1.4
(B> +++ e_actions.c   30 Apr 2005 14:32:59 -
(B> @@ -195,7 +195,7 @@
(B>dx = zone->desk_x_current + dx;
(B>if (dx < 0) dx = 0;
(B>else if (dx >= zone->desk_x_count) dx = zone->desk_x_count  - 1;
(B> -  dy = zone->desk_x_current + dy;
(B> +  dy = zone->desk_y_current + dy;
(B>if (dy < 0) dy = 0;
(B>else if (dy >= zone->desk_y_count) dy = zone->desk_y_count  - 1;
(B>desk = e_desk_at_xy_get(zone, dx, dy);
(B> 
(B> 
(B> 
(B> Index: e_bindings.c
(B> ===
(B> RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_bindings.c,v
(B> retrieving revision 1.6
(B> diff -u -r1.6 e_bindings.c
(B> --- e_bindings.c  29 Apr 2005 19:42:18 -  1.6
(B> +++ e_bindings.c  30 Apr 2005 14:32:21 -
(B> @@ -72,7 +72,7 @@
(B> "desk_flip_by", "0 -1");
(B> e_bindings_key_add(E_BINDING_CONTEXT_ANY,
(B> "Down", E_BINDING_MODIFIER_SHIFT | 
(B> E_BINDING_MODIFIER_ALT, 0,
(B> -   "desk_flip_by", "0 -1");
(B> +   "desk_flip_by", "0 1");
(B> e_bindings_key_add(E_BINDING_CONTEXT_ANY,
(B> "Up", E_BINDING_MODIFIER_CTRL | E_BINDING_MODIFIER_ALT, 0,
(B> "window_raise", "");
(B> 
(B> 
(B> ---
(B> This SF.Net email is sponsored by: NEC IT Guy Games.
(B> Get your fingers limbered up and give it your best shot. 4 great events, 4
(B> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
(B> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r 
(B> ___
(B> enlightenment-devel mailing list
(B> enlightenment-devel@lists.sourceforge.net
(B> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
(B> 
(B
(B
(B-- 
(B- Codito, ergo sum - "I code, therefore I am" --
(BThe Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
$BMg9%B?(B  [EMAIL PROTECTED]
(BTokyo, Japan ($BEl5~(B $BF|K\(B)
(B
(B
(B---
(BThis SF.Net email is sponsored by: NEC IT Guy Games.
(BGet your fingers limbered up and give it your best shot. 4 great events, 4
(Bopportunities to win big! Highest score wins.NEC IT Guy Games. Play to
(Bwin an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
(B___
(Benlightenment-devel mailing list
(Benlightenment-devel@lists.sourceforge.net
(Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-devel

[E-devel] (no subject)

2005-04-30 Thread Tres Melton
Michael,

I have completed the x86_64 mmx port of the 32bpp shader.  I have
included it for you to review.  I have cut and pasted it into Eterm's
pixmap.c and used it and it seems to work well.  I'm not asking you to
add it yet, just give me your thoughts.  First I have to add some hooks
to pixmap.c, adjust the Makefile.in, add the HAVE_MMX_64 macro, and a
few other things before we can smash it in there.  

What I have included is a stand alone program (that contains the
function in question) that will create two 5000x5000 pixel images, fill
each of them with random colors (each image is identical), shade one
with and one without mmx, compare the two for differences (and print the
differences), then exit.  On my AMD64 3500+ this takes just under a
second for 25 million pixels (both were identical over many runs).

I would like to discuss the best way to add this into Eterm so that the
adventurous can test it but not plague the stable users.  It would also
be great if we could find an EM64T guinea pig to test this!  Hopefully
Mike Frysinger will add a ~AMD64 package to Gentoo soon after we finish
so that it really gets tested.  ;-)

How goes the configure.in modifications?  Does it properly sense the
correct processor like we were discussing last week?

-- 
Tres
/*  File:  tst.c
 *  Written & Copyright (c) 2005 by Tres Melton
 *  Donated to the Eterm project.  http://www.Eterm.org
 *  To be licensed under the GNU Public License v2.0
 *
 *  Much inspiration was drawn from the original x86 MMX port written by
 *Willem Monsuwe <[EMAIL PROTECTED]> in pure x86/MMX Assembly
 *
 *  Manuals used in this port:
 *  The Gnu Assembler
 *  
http://www.gnu.org/software/binutils/manual/gas-2.9.1/html_mono/as.html
 *  AMD64 Architecture Programmer's Manual Volume 1: Application Programming
 *  
http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/24592.pdf
 *  AMD64 Architecture Programmer's Manual Volume 2: System Programming
 *  
http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/24593.pdf
 *  AMD64 Architecture Programmer's Manual Volume 3: General-Purpose and 
System Instructions
 *  
http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/24594.pdf
 *  AMD64 Architecture Programmer's Manual Volume 4: 128-Bit Media 
Instructions
 *  
http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/26568.pdf
 *  AMD64 Architecture Programmer's Manual Volume 5: 64-Bit Media and x87 
Floating-Point Instructions
 *  
http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/26569.pdf
 *
 *  The 32 bit color modification algorithm is simple but so optimized 
 *(even the C version) that it is almost unreadable.  
 *Therefore the pseudo code is:
 *
 *  for each color of each pixel
 *  new_color = color * modifier
 *  if ( new_color >= 256 )
 *  new_color = 255
 *  end if
 *  end for
 *
 */

//  The following includes are for the testing portion only (main)
// #include "tst.h" // Not Needed
#include 
#include 
#include 
#include 

void shade_ximage_32_mmx_64( void *data, int bpl, int w, int h, int rm, int gm, 
int bm )
{
  __asm__ __volatile__ (
"leaq (%%rsi, %%rbx, 4), %%rsi  \n\t"   /* From 
A64_General_Purpose_and_System_Instructions (p. 182)
*/
/* Intel syntax section:[base + 
index*scale + disp]  (used by AMD manuals)  */
/* AT&T  syntax 
section:disp(base, index, scale) (used by gas/gcc)  
*/
/* Load Effective Address of 
(rsi + (rbx * size)) into rsi  */
/* 32 bits per pixel means a 
multiplier of 4.   */
"negq %%rbx \n\t"   /* two's compliment negation of 
ebx (width) and sets the Zero Flag based on the results */
/* From 
A64_General_Purpose_and_System_Instructions (p. 212)
*/
"jz 3f  \n\t"   /* Jump to label 3 forward on 
Zero  */
/* Basically if width = 0 
blowout   */
/* I don't understand why the 
height isn't checked (shouldn't matter, zero loop iterations) */
"movd %[red_mod], %%mm4 \n\t"   /* move red modifier into mm4 
w/ zero extension to 128bits  */
 

Re: [E-devel] ru.po

2005-04-30 Thread Denis Klykvin
On Fri, 29 Apr 2005 18:53:01 +0300
DM wrote:

> Hi!
> 
> Attached is updated ru.po
> 
> Also, i have question. How i can tell E to use specific font?
I think you'd better join to russian e17 list at
https://lists.altlinux.ru/mailman/listinfo/enlightenment , cause one
more man works above translation.


-- 
With Best Wishes, Denis Klykvin
JID:[EMAIL PROTECTED]


pgpDKMZS5JCV2.pgp
Description: PGP signature


Re: [E-devel] embryo: getarg b0rked?

2005-04-30 Thread The Rasterman
On Fri, 29 Apr 2005 15:34:54 +0200 Tilman Sauerbeck <[EMAIL PROTECTED]> babbled:
(B
(B
(B> Mmmh, why does getarg(num) work when num is the last argument then?
(B> I've been doing this without problems. It just breaks when there are 2
(B> (or more, I guess) string arguments you want to copy with getarg(num).
(B
(Bfrom memory i remember futzing with this a bit and found it weird. it either 
(Bhandles single arguments differently or was just a "you were lucky it happened 
(Bto work".
(B
(B> Anyway, I'll send in a patch for getsarg() or something.
(B> 
(B> -- 
(B> learn to quote: http://www.netmeister.org/news/learn2quote.html
(B> 
(B> 
(B> ---
(B> SF.Net email is sponsored by: Tell us your software development plans!
(B> Take this survey and enter to win a one-year sub to SourceForge.net
(B> Plus IDC's 2005 look-ahead and a copy of this survey
(B> Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
(B> ___
(B> enlightenment-devel mailing list
(B> enlightenment-devel@lists.sourceforge.net
(B> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
(B> 
(B
(B
(B-- 
(B- Codito, ergo sum - "I code, therefore I am" --
(BThe Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
$BMg9%B?(B  [EMAIL PROTECTED]
(BTokyo, Japan ($BEl5~(B $BF|K\(B)
(B
(B
(B---
(BThis SF.Net email is sponsored by: NEC IT Guy Games.
(BGet your fingers limbered up and give it your best shot. 4 great events, 4
(Bopportunities to win big! Highest score wins.NEC IT Guy Games. Play to
(Bwin an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
(B___
(Benlightenment-devel mailing list
(Benlightenment-devel@lists.sourceforge.net
(Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Re: [E-devel] x86_64 MMX for 32 bpp Eterm shading

2005-04-30 Thread Tres Melton
Sorry about no subject on the original.
-- 
Tres



---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel