Re: [E-devel] magic?

2005-07-25 Thread Michael Jennings
On Tuesday, 26 July 2005, at 05:13:53 (+0500),
Boldin Pavel wrote:

> IMHO all can call it with another name. but all call it ``magic". it
> is sort of joke

No, I'm sorry, it is not a joke.  There is no matter of "opinion"
here, so saying "IMHO" doesn't change anything.  You're simply
misinterpreting the meaning of the word.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <[EMAIL PROTECTED]>
n + 1, Inc., http://www.nplus1.net/   Author, Eterm (www.eterm.org)
---
 "...in order to secure the safety of the public while traveling on
  public roads...it shall be unlawful for any person to drive, propel,
  or run any vehicle in, upon, and along any of the public roads in
  this county." -- Montgomery County, Mississippi, statute


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eosd

2005-07-25 Thread Mike Frysinger
On Monday 25 July 2005 12:45 pm, Tilman Sauerbeck wrote:
> Mike Frysinger <[EMAIL PROTECTED]> [2005-07-22 13:39]:
> > last i checked though, it was a drop-in replacment for xosd (which would
> > be sweet i think ... have it install an optional xosd.h which provides
> > wrapper API to eosd calls)
>
> I never intended to copy xosd's API 100% (their API sucks balls IMHO).

that's why i said wrapper API ... translate the xosd calls into eosd so that 
it could easily be swapped out for existing apps
-mike


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] evolume-0.0.5 published

2005-07-25 Thread Boldin Pavel

Hi, all!

downloaded there:
http://rec0.rec.smr.ru/davinchi/public/e17/evolume-0.0.5.tar.bz2

8661e950bcf284511ef6800c44832561  evolume-0.0.5.tar.bz2


Features:
* mute mode (by 2nd mouse button - middle in default configuration)
* wheel mode - step to 5% of volume.

Fixed:
* evolume_hash_gen now return value from 0 to 0x to avoid same hash 
for different mixer names

* some code cleanups


--

Boldin Pavel aka davinchi. mail-to: ldavinchi /at\ inbox _dot_ ru
   ZU - Zagovor Unixoidov. SSAU 303.




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] magic?

2005-07-25 Thread Boldin Pavel

Michael Jennings wrote:


On Monday, 25 July 2005, at 21:53:57 (+0500),
Boldin Pavel wrote:

 


 A "checksum" is a computed value used to ensure, to some
degree, data integrity.  A "magic number" is a specific value or set
of values which are unlikely to appear randomly in a particular
location and thus have special meaning as a flag of some type.  For
example, DOS executables have a "magic number" of "MZ" at offset 0.
This is in no way, shape, or form a checksum.

Michael

 

IMHO all can call it with another name. but all call it ``magic". it is 
sort of joke



--

Boldin Pavel aka davinchi. mail-to: ldavinchi /at\ inbox _dot_ ru
   ZU - Zagovor Unixoidov. SSAU 303.




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] E_Modules Update Patches

2005-07-25 Thread Edward Presutti
Here is a diff that updates e_modules to use timestamps.

I've also attached my latest diff for the monitor module. :-)

-- 
Ed Presutti (ekrunch on freenode)

--
understand, v.:
To reach a point, in your investigation of some subject, at which
you cease to examine what is really present, and operate on the
basis of your own internal model instead.
Index: e17/apps/e_modules/src/modules/monitor/e_mod_main.c
===
RCS file: /cvsroot/enlightenment/e17/apps/e_modules/src/modules/monitor/e_mod_main.c,v
retrieving revision 1.2
diff -b -u -3 -r1.2 e_mod_main.c
--- e17/apps/e_modules/src/modules/monitor/e_mod_main.c	19 Jul 2005 11:38:21 -	1.2
+++ e17/apps/e_modules/src/modules/monitor/e_mod_main.c	25 Jul 2005 22:52:05 -
@@ -625,7 +625,7 @@
  {
 	e_menu_activate_mouse(face->menu, e_zone_current_get(face->con),
 			  ev->output.x, ev->output.y, 1, 1,
-			  E_MENU_POP_DIRECTION_DOWN);
+			  E_MENU_POP_DIRECTION_DOWN, ev->timestamp);
 	e_util_container_fake_mouse_up_all_later(face->con);
  }
/*
Index: e17/apps/e_modules/src/modules/notes/e_mod_main.c
===
RCS file: /cvsroot/enlightenment/e17/apps/e_modules/src/modules/notes/e_mod_main.c,v
retrieving revision 1.21
diff -b -u -3 -r1.21 e_mod_main.c
--- e17/apps/e_modules/src/modules/notes/e_mod_main.c	25 Apr 2005 00:31:50 -	1.21
+++ e17/apps/e_modules/src/modules/notes/e_mod_main.c	25 Jul 2005 22:52:05 -
@@ -366,7 +366,7 @@
  {
 	e_menu_activate_mouse(nf->menu, e_zone_current_get(nf->con),
 			  ev->output.x, ev->output.y, 1, 1,
-			  E_MENU_POP_DIRECTION_DOWN);
+			  E_MENU_POP_DIRECTION_DOWN, ev->timestamp);
 	e_util_container_fake_mouse_up_all_later(nf->con);
  }   
 }
Index: e17/apps/e_modules/src/modules/weather/e_mod_main.c
===
RCS file: /cvsroot/enlightenment/e17/apps/e_modules/src/modules/weather/e_mod_main.c,v
retrieving revision 1.2
diff -b -u -3 -r1.2 e_mod_main.c
--- e17/apps/e_modules/src/modules/weather/e_mod_main.c	21 Jul 2005 16:30:39 -	1.2
+++ e17/apps/e_modules/src/modules/weather/e_mod_main.c	25 Jul 2005 22:52:05 -
@@ -490,7 +490,8 @@
if (ev->button == 3)
{
   e_menu_activate_mouse (face->menu, e_zone_current_get (face->con),
- ev->output.x, ev->output.y, 1, 1, E_MENU_POP_DIRECTION_DOWN);
+ ev->output.x, ev->output.y, 1, 1, E_MENU_POP_DIRECTION_DOWN,
+	 ev->timestamp);
   e_util_container_fake_mouse_up_all_later (face->con);
}
 }Index: e17/apps/e_modules/src/modules/monitor/e_mod_main.c
===
RCS file: /cvsroot/enlightenment/e17/apps/e_modules/src/modules/monitor/e_mod_main.c,v
retrieving revision 1.2
diff -b -u -3 -r1.2 e_mod_main.c
--- e17/apps/e_modules/src/modules/monitor/e_mod_main.c	19 Jul 2005 11:38:21 -	1.2
+++ e17/apps/e_modules/src/modules/monitor/e_mod_main.c	22 Jul 2005 21:19:05 -
@@ -14,6 +14,47 @@
 static void_monitor_face_menu_new(Monitor_Face *face);
 static void_monitor_face_cb_gmc_change(void *data, E_Gadman_Client *gmc, 
 	   E_Gadman_Change change);
+static void _monitor_mem_real_ignore_buffers_set_cb(void *data, E_Menu *m,
+	  E_Menu_Item *mi);
+static void _monitor_mem_real_ignore_cached_set_cb(void *data, E_Menu *m,
+	  E_Menu_Item *mi);
+
+static void _monitor_mem_interval_cb_fast(void *data, E_Menu *m,
+	  E_Menu_Item *mi);
+static void _monitor_mem_interval_cb_medium(void *data, E_Menu *m,
+	  E_Menu_Item *mi);
+static void _monitor_mem_interval_cb_normal(void *data, E_Menu *m,
+	  E_Menu_Item *mi);
+static void _monitor_mem_interval_cb_slow(void *data, E_Menu *m,
+	  E_Menu_Item *mi);
+static void _monitor_mem_interval_cb_very_slow(void *data, E_Menu *m,
+	  E_Menu_Item *mi);
+
+static void _monitor_cpu_interval_cb_fast(void *data, E_Menu *m,
+	  E_Menu_Item *mi);
+static void _monitor_cpu_interval_cb_medium(void *data, E_Menu *m,
+	  E_Menu_Item *mi);
+static void _monitor_cpu_interval_cb_normal(void *data, E_Menu *m,
+	  E_Menu_Item *mi);
+static void _monitor_cpu_interval_cb_slow(void *data, E_Menu *m,
+	  E_Menu_Item *mi);
+static void _monitor_cpu_interval_cb_very_slow(void *data, E_Menu *m,
+	  E_Menu_Item *mi);
+
+static void _monitor_net_interval_cb_fast(void *data, E_Menu *m,
+	  E_Menu_Item *mi);
+static void _monitor_net_interval_cb_medium(void *data, E_Menu *m,
+	  E_Menu_Item *mi);
+static void _monitor_net_interval_cb_normal(void *data, E_Menu *m,
+	  E_Menu_Item *mi);
+static void _monitor_net_interval_cb_slow(void *data, E_Menu *m,
+	  E_Menu_Item *mi);
+static void _monitor_net_interval_cb_very_slow(void *data, E_Menu *m,
+	  E_Menu_Item *mi);
+static void _monitor_net_interface_cb(void *data, E_Menu *m,
+		  E_Menu_It

Re: [E-devel] Eosd

2005-07-25 Thread Brian Alfredo Sakal
I got started on one using Evas since I was only able to fix some linker 
errors. However, it won't be a library, it will be a command-line app since 
making text appear in OSD form is only a few lines of code. But, I have a 
question: how does one make an Evas transparent (so that only the text on it is 
seen)? That's pretty much all I'm missing (except maybe I'll implement a way to 
manipulate the text's properties in different places later, like a green word 
between two orange ones). Thanks!

On Mon, 25 Jul 2005 18:45:11 +0200
Tilman Sauerbeck <[EMAIL PROTECTED]> wrote:

> Mike Frysinger <[EMAIL PROTECTED]> [2005-07-22 13:39]:
> > On Friday 22 July 2005 04:20 pm, Brian Sakal wrote:
> > > I figured I may get
> > > started on a xosd clone (eosd) since one needs gnome crap for xosd...
> > 
> > esod already exists ... it probably needs to be updated to the new api's 
> > though ...
> 
> Yeah (Brian contacted me by mail about the compilation error).
> Also, eOSD should probably use Evas instead of Ecore_X and Imlib2.
> 
> > last i checked though, it was a drop-in replacment for xosd (which would be 
> > sweet i think ... have it install an optional xosd.h which provides wrapper 
> > API to eosd calls)
> 
> I never intended to copy xosd's API 100% (their API sucks balls IMHO).
> 
> Regards,
> Tilman
> 


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] magic?

2005-07-25 Thread Michael Jennings
On Monday, 25 July 2005, at 21:53:57 (+0500),
Boldin Pavel wrote:

> IMHO is are joke and not in one time: all can use word `checksum'
> instead of `magic', but all uses `magic', so is a sort of
> joke. (IMHO)

No, it's not a joke at all, and it is NOT the same thing as a
"checksum."  A "checksum" is a computed value used to ensure, to some
degree, data integrity.  A "magic number" is a specific value or set
of values which are unlikely to appear randomly in a particular
location and thus have special meaning as a flag of some type.  For
example, DOS executables have a "magic number" of "MZ" at offset 0.
This is in no way, shape, or form a checksum.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <[EMAIL PROTECTED]>
n + 1, Inc., http://www.nplus1.net/   Author, Eterm (www.eterm.org)
---
 "I'm not talking about moving in, and I don't want to change your
  life.  But there's a warm wind blowing, the stars are out, and I'd
  really love to see you tonight."  -- England Dan and John Ford Coley


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] magic?

2005-07-25 Thread Boldin Pavel

Martin Geisler пишет:


Brian Sakal <[EMAIL PROTECTED]> writes:

 


Hi. I'm studying E17 source code and I'm seeing a lot of magic-this
magic-that... Is this a traditional joke like foo and foobar or does it
signify something?
   



Yes, they are not a joke, they are used to label memory and files so
that you can recognize them later as being of a specific type.

See Wikipedia for more:

 http://en.wikipedia.org/wiki/Magic_number_%28programming%29

 

IMHO is are joke and not in one time: all can use word `checksum' 
instead of `magic', but all uses `magic', so is a sort of joke. (IMHO)


--

Boldin Pavel aka davinchi. mail-to: ldavinchi /at\ inbox _dot_ ru
   ZU - Zagovor Unixoidov. SSAU 303.





---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Valgrind on modules?

2005-07-25 Thread Tilman Sauerbeck
Edward Presutti <[EMAIL PROTECTED]> [2005-07-22 20:29]:
> Okay, so here's the newbie question for today...
> 
> What's the best way to valgrind modules?

Just do it (TM).

The question sucks, because it's way too generic.
If you meant to ask: "When e17 exits, I don't see any information about
the lines of code where memory chunk foo was allocated" (which lead to
this memory leak), then the answer is:

call VALGRIND_DO_LEAK_CHECK in e17 before the shared objects are
unloaded. See the Valgrind manual for more information about Valgrind
user requests.

Regards,
Tilman

-- 
learn to quote: http://www.netmeister.org/news/learn2quote.html


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eosd

2005-07-25 Thread Tilman Sauerbeck
Mike Frysinger <[EMAIL PROTECTED]> [2005-07-22 13:39]:
> On Friday 22 July 2005 04:20 pm, Brian Sakal wrote:
> > I figured I may get
> > started on a xosd clone (eosd) since one needs gnome crap for xosd...
> 
> esod already exists ... it probably needs to be updated to the new api's 
> though ...

Yeah (Brian contacted me by mail about the compilation error).
Also, eOSD should probably use Evas instead of Ecore_X and Imlib2.

> last i checked though, it was a drop-in replacment for xosd (which would be 
> sweet i think ... have it install an optional xosd.h which provides wrapper 
> API to eosd calls)

I never intended to copy xosd's API 100% (their API sucks balls IMHO).

Regards,
Tilman

-- 
learn to quote: http://www.netmeister.org/news/learn2quote.html


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] List configuration question.

2005-07-25 Thread Tilman Sauerbeck
Simon Poole <[EMAIL PROTECTED]> [2005-07-22 14:48]:
> Tres Melton wrote:
> > Is there anyway to have the FROM: field changed to point to the list?
> >If you forget to change the TO: field when replying it ends up going to
> >the individual and not to the list.  I have been bitten by this a number
> >of times and have seen others cus and scream as well.  The latest
> >Example is Edward Presutti's "[E-devel] Monitor Module Patch 2" and
> >"2-r1" emails.  If not I'll continue to try to implant new usage into
> >stubborn brain.  :)
> 
> The current behaviour is correct.  If you want to send messages to the list, 
> you should be using "Reply to all".

No, use "reply to list". At least that's how it's called in mutt ;)

Regards,
Tilman

-- 
learn to quote: http://www.netmeister.org/news/learn2quote.html


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] magic?

2005-07-25 Thread Martin Geisler
Brian Sakal <[EMAIL PROTECTED]> writes:

> Hi. I'm studying E17 source code and I'm seeing a lot of magic-this
> magic-that... Is this a traditional joke like foo and foobar or does it
> signify something?

Yes, they are not a joke, they are used to label memory and files so
that you can recognize them later as being of a specific type.

See Wikipedia for more:

  http://en.wikipedia.org/wiki/Magic_number_%28programming%29

-- 
Martin Geisler GnuPG Key: 0x7E45DD38

PHP EXIF Library  |  PHP Weather |  PHP Shell
http://pel.sf.net/|  http://phpweather.net/  |  http://mgeisler.net/
Read/write EXIF data  |  Show current weather|  A shell in a browser


pgp6fTrkbGKG9.pgp
Description: PGP signature


Re: [E-devel] Dropshadow Bug

2005-07-25 Thread Regala
Christopher Michael <[EMAIL PROTECTED]> disait dernièrement que :

> Found some strange with dropshadow enabled. If I set the dropshadow to 
> Very Fuzzy, then try to get to the E menu, the menu will not show up 
> unless I HOLD the mouse button down. If I disable the dropshadow, or set 
> the shadow to Medium, then the menu acts normally. If someone could 
> inform me of how to gdb a module, I would be happy to provide a backtrace.

to gdb an enlightenment module, you have to gdb the e process itself.
Not quite hard, launch Xnest on another display (Xnest :1) and exec
the debugger on an e process exec'd on that DISPLAY:

$ Xnest -ac :1
$ DISPLAY=:1 gdb enlightenment

and you're set up.

-- 
Mathieu


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel