Re: [E-devel] E_Modules Update Patches

2005-07-26 Thread Mathieu
Edward Presutti [EMAIL PROTECTED] disait dernièrement que :

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

this one still segfaults on my amd64. the last version to work is the
one without the configuration file save.

will try to get you a backtrace. thx

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


[E-devel] CPUfreq and conservative governor

2005-07-26 Thread FORT Yannick
While shifting from kernel 2.6.11 to 2.6.12, i notice that a new 
governor for cpuscaling appears : conservative, that is less 
configurable than ondemand but totally optimized for laptops.


The problem is the cpufreq doesn't known this governor, and nothing is 
shown in the menu letting user choose its governor, and i've no 
programing skills to create a patch for it, but i think this is easy for 
 nearly anyone reading this mailing list


Wouldn't be great to display at least the governor name in this menu 
when the governor is unknown, if someday kernel developpers add 2 
governors in one version, this module will be hard to use :/



---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] evolume-0.0.5 published

2005-07-26 Thread Boldin Pavel

Edward Presutti wrote:


On Mon, July 25, 2005 7:21 pm, Boldin Pavel said:
 


Hi, all!

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

   



Can you please update this to support Evas timestamps? Adding
ev-timestamp to the end of your parameter list for
e_menu_activate_mouse in e_mod_face.c at line 44 should do the trick.
 


OK. in next version.


Also, when I compile the Edje for it, I get the following message.

/usr/bin/edje_cc: Parsing input file
/usr/bin/edje_cc: Error. groups/mixer_entry.edc:35 unhandled keyword events
 


see ChangeLog and README files




It's strange, seeing as I did a complete build from CVS about 2 hours ago.
 


my edje patch still not in CVS.


Thanks for your work on this module, I really like it.

 




--

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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [e-devel] No Loaded Modules

2005-07-26 Thread The Rasterman
On Mon, 25 Jul 2005 07:42:25 +0200 ilLogict [EMAIL PROTECTED] babbled:

 Hello!
 
  I'm attaching a small patch to nicely show No Loaded Modules instead of an
 empty submenu in the Modules menu when there's 'no loaded modules' :)

good idea.. but how the hell did u have NO modules? :) hehe

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Dropshadow Bug

2005-07-26 Thread The Rasterman
On Sun, 24 Jul 2005 22:39:18 + Christopher Michael [EMAIL PROTECTED]
babbled:

 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.

you cant gdb a module - u have to gdb all of e - a module just becomes more code
ADDED to e itself. it's nto separated out at all in memory or such. the
reasonfor this is because it is being slow calculating the shadow blur and by
the time it is done it sees a mouse up and things it has to pop the menu down as
it was not a cikc click-raise. if u hold the mouse down more and be patient it
will work. i recently added more timestamp transparency to make this not happen.

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] CPUfreq and conservative governor

2005-07-26 Thread The Rasterman
On Tue, 26 Jul 2005 12:16:33 +0200 FORT Yannick [EMAIL PROTECTED] babbled:

 While shifting from kernel 2.6.11 to 2.6.12, i notice that a new 
 governor for cpuscaling appears : conservative, that is less 
 configurable than ondemand but totally optimized for laptops.
 
 The problem is the cpufreq doesn't known this governor, and nothing is 
 shown in the menu letting user choose its governor, and i've no 
 programing skills to create a patch for it, but i think this is easy for 
   nearly anyone reading this mailing list
 
 Wouldn't be great to display at least the governor name in this menu 
 when the governor is unknown, if someday kernel developpers add 2 
 governors in one version, this module will be hard to use :/

added :) the problem is the governor name is 1. not translatable, and 2. not as
descriptive as it could be in a gui - thus its detected and handled per
governor. :)

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] CPUfreq and conservative governor

2005-07-26 Thread Tres Melton
On Tue, 2005-07-26 at 12:16 +0200, FORT Yannick wrote:
 While shifting from kernel 2.6.11 to 2.6.12, i notice that a new 
 governor for cpuscaling appears : conservative, that is less 
 configurable than ondemand but totally optimized for laptops.

I apologize for commenting without knowing much about this issue from
the enlightenment perspective, but does this have anything to do with
the CONFIG_HZ that appeared in Linux-2.6.13-rc3, I think?  If so then
the issue is going to be much more difficult to resolve than you think.
The kernel absolutely refuses to export its real Hz to user space.  For
more information please see the two bug reports below.

http://bugs.gentoo.org/show_bug.cgi?id=90090
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=151763

The problem is that Linus doesn't see a need to report this value to
user space.  To be fair I think it was at one time, long ago, but that
certain user space apps were broken.  The ones that used a hard coded
value of 100.  I have been bouncing email back and forth with four
kernel developers in preparation for taking the issue to the LKML and
would appreciate anymore information that you have on the issue.  The
last email I have is from Robert Love and he explicitly asked me to
Explain why gprof needs to know the _actual_ timing tick.  As you can
see this isn't the only place this is effected.  But it is only one of
three.  (procps and gprof being the other two).

Any further examples of things that need the value would be appreciated
as would anymore detail on this issue that anyone can provide.

 The problem is the cpufreq doesn't known this governor, and nothing is 
 shown in the menu letting user choose its governor, and i've no 
 programing skills to create a patch for it, but i think this is easy for 
   nearly anyone reading this mailing list
 
 Wouldn't be great to display at least the governor name in this menu 
 when the governor is unknown, if someday kernel developpers add 2 
 governors in one version, this module will be hard to use :/
 
 
Best Regards,
-- 
Tres



---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] magic?

2005-07-26 Thread Jason Tackaberry
On Tue, 2005-07-26 at 16:28 +0500, Boldin Pavel wrote:
 I though joke is EXACTLY name of this field.

I remember in a past life in my computational theory class the term
pumping lemma.  Just because it sounds like a joke doesn't mean it is
one.

 It can be called ``type or ``FOURCC like in other formats, but in 
 almost all OpenSource projects it is called ``magic.

Except that magic values are neither of these.  FOURCC values are
standardized.  Type values don't imply an unlikely to appear value.  I
think the reason almost all FOSS projects call it magic is because the
term has Unix roots, and for those familiar with unix it has a very
specific meaning that is distinctly different from FOURCC and type.

http://catb.org/~esr/jargon/html/M/magic-number.html

Jason.


signature.asc
Description: This is a digitally signed message part


Re: [E-devel] [Patch][border icon drag'n'drop to ibar]

2005-07-26 Thread The Rasterman
On Fri, 22 Jul 2005 18:03:19 +0200 Simon TRENY [EMAIL PROTECTED] babbled:

 Hi,
 
 A good feature to implement for ibar I think would be to be able to 
 drag'n'drop a file from a filemanager to an ibar icon. This will launch 
 the corresponding application executable with the dropped filename(s) as 
 argument(s), such as xcfe4-panel does.

defintiely useful - this should be part of xdnd support eventually with e -
currently its not even handling that so we aren't at first base yet :) right now
e17's dnd is done internally - no xdnd.

 For example, if I have an text editor icon in the ibar, and if I drop 
 some files on this icon, the text editor is launched and opens the files 
 dropped. I don't know if it's possible with eaps though.
 This is really useful imho (it allows, if you have several text editors 
 or media players, to choose easily the one you want to use).
 
 PS. Sorry if my message isn't directly related to the patch.
 
 Regards,
 Simon TRENY MoOm
 
 
 Sebastien HOUZE a __crit :
 
 Hi,
 
 this allow to drag and drop a window border icon to ibar (as we can
 already drag an eapp file from evidence to ibar).
 
 --
 S__bastien HOUZE
 [EMAIL PROTECTED]
   
 
 
 
 Index: src/modules/ibar/e_mod_main.c
 ===
 RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/ibar/e_mod_main.c,v
 retrieving revision 1.63
 diff -u -r1.63 e_mod_main.c
 --- src/modules/ibar/e_mod_main.c12 Jul 2005 03:53:56 -  1.63
 +++ src/modules/ibar/e_mod_main.c22 Jul 2005 15:24:37 -
 @@ -71,7 +71,9 @@
  static void_ibar_bar_cb_enter(void *data, const char *type, void
  *event); static void_ibar_bar_cb_move(void *data, const char *type, void
  *event); static void_ibar_bar_cb_leave(void *data, const char *type,
  void *event);
 +
  static void_ibar_bar_cb_drop_eapp(void *data, const char *type, void
  *event);
 +static void_ibar_bar_cb_drop_border(void *data, const char *type, void
 *event);
  static void_ibar_bar_cb_drop_file(void *data, const char *type, void
  *event); static void_ibar_bar_cb_finished(E_Drag *drag, int dropped);
  
 @@ -516,6 +518,13 @@
 ibb-x + ibb-bar_inset.l, ibb-y + 
  ibb-bar_inset.t,
 ibb-w - (ibb-bar_inset.l + 
  ibb-bar_inset.r),
 ibb-h - (ibb-bar_inset.t + 
  ibb-bar_inset.b));
 +   ibb-drop_border = e_drop_handler_add(ibb,
 +   _ibar_bar_cb_enter, _ibar_bar_cb_move,
 +   _ibar_bar_cb_leave, 
 _ibar_bar_cb_drop_border,
 +   enlightenment/border,
 +   ibb-x + ibb-bar_inset.l, ibb-y + 
 ibb-bar_inset.t,
 +   ibb-w - (ibb-bar_inset.l + 
 ibb-bar_inset.r),
 +   ibb-h - (ibb-bar_inset.t + 
 ibb-bar_inset.b));
 ibb-drop_file = e_drop_handler_add(ibb,
 _ibar_bar_cb_enter, _ibar_bar_cb_move,
 _ibar_bar_cb_leave, 
  _ibar_bar_cb_drop_file,
 @@ -564,6 +573,7 @@
   _ibar_icon_free(ibb-icons-data);
  
 e_drop_handler_del(ibb-drop_eapp);
 +   e_drop_handler_del(ibb-drop_border);
 e_drop_handler_del(ibb-drop_file);
  
 if (ibb-timer) ecore_timer_del(ibb-timer);
 @@ -1577,6 +1587,7 @@
 _ibar_bar_frame_resize(ibb);
  }
  
 +
  static void
  _ibar_bar_cb_leave(void *data, const char *type, void *event)
  {
 @@ -1608,6 +1619,51 @@
 ev = event;
 ibb = data;
 app = ev-data;
 +   
 +   /* add dropped element */
 +   ic = _ibar_icon_pos_find(ibb, ev-x, ev-y);
 +
 +   /* remove drag marker */
 +   e_box_freeze(ibb-box_object);
 +   e_box_unpack(ibb-drag_object);
 +   evas_object_del(ibb-drag_object);
 +   ibb-drag_object = NULL;
 +   evas_object_del(ibb-drag_object_overlay);
 +   ibb-drag_object_overlay = NULL;
 +   e_box_thaw(ibb-box_object);
 +
 +   _ibar_bar_frame_resize(ibb);
 +
 +   if (ic)
 + {
 +/* Add new eapp before this icon */
 +e_app_prepend_relative(app, ic-app);
 + }
 +   else
 + {
 +/* Add at the end */
 +e_app_append(app, ibb-ibar-apps);
 + }
 +}
 +
 +static void
 +_ibar_bar_cb_drop_border(void *data, const char *type, void *event)
 +{
 +   E_Event_Dnd_Drop *ev;
 +   E_App *app;
 +   IBar_Bar *ibb;
 +   IBar_Icon *ic;
 +
 +   E_Border *bd;
 +   char *title = ;
 +
 +   ev = event;
 +   ibb = data;
 +   bd = ev-data;
 +   if (bd-client.netwm.name) title = bd-client.netwm.name;
 +   else title = bd-client.icccm.title;
 +   app = e_app_window_name_class_title_role_find(bd-client.icccm.name,
 + bd-client.icccm.class, title, bd-client.icccm.window_role);
  
 /* add dropped element */
 ic = _ibar_icon_pos_find(ibb, ev-x, ev-y);
 @@ -1709,6 +1765,10 @@
   ibb-x 

Re: [E-devel] magic?

2005-07-26 Thread The Rasterman
On Mon, 25 Jul 2005 21:53:57 +0500 Boldin Pavel [EMAIL PROTECTED]
babbled:

 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)

defintiely not a joke. :)

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eosd

2005-07-26 Thread The Rasterman
On Fri, 22 Jul 2005 15:20:54 -0500 Brian Sakal [EMAIL PROTECTED] babbled:

 Hi. I was thinking as long as we're making
 unecessary-but-still-kind-of-cool apps like expos__, I figured I may get
 started on a xosd clone (eosd) since one needs gnome crap for xosd...
 Does anyone think this is useful? Also, maybe a root-tail clone as a
 module since modules draw only to the root window... I'm just throwing
 ideas out... I'm not sure if either of these is worth it (or as worth it
 as expos__). What do you think?

BTW - e17 has an osd subsystem on its todo list as it already has
infrastructure for a chunk of this (key bindings, mouse bindings, configuration
handling, popup/overlay display, the ability to specially treat such osd stuff
with respect to virtual desktops, xinerama etc.).

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] evas_object_image_set()

2005-07-26 Thread The Rasterman
On Thu, 21 Jul 2005 20:59:45 + Jason Melbye [EMAIL PROTECTED] babbled:

 I have a simple slide show program that seg faults when trying to change the
 image in an evas object.  I cannot tell if this is my fault, i.e. there are
 some other calls I should be making before hand to set everything up, or if
 this is e's fault.  This is by back trace:

this looks very bizarre/wrong - this shouldnt happen. really. have u called
free() on evas objects accidentally? that could cause it. ? i have never seen
such a thing before. the hash and list stuff has been used ALL OVER the place in
tonnes of places and is very well exercised. i'd be surprised at a bug in it by
now - admittedly there could be - but i'd err on the side of the app. have u run
it under valgrind? is it possible to provide me an example (source plus if it
happens only with certain images - those too) ?

 Program received signal SIGSEGV, Segmentation fault.
 0x403f823c in evas_object_list_remove (in_list=0x80671b8, in_item=0x80671b8)
 at evas_object_list.c:122
 122  item-next-prev = item-prev;
 (gdb) bt
 #0  0x403f823c in evas_object_list_remove (in_list=0x80671b8, 
 in_item=0x80671b8) at evas_object_list.c:122
 #1  0x403f715b in evas_hash_del (hash=0x8066788, 
 key=0x80672c0 /home/jason/pic/06102005/DSC00274.JPG//:://0, 
 data=0x8067110) at evas_hash.c:170
 #2  0x40409763 in evas_common_image_unstore (im=0x8067110)
 at evas_image_main.c:390
 #3  0x404091e6 in evas_common_image_unref (im=0x8067110)
 at evas_image_main.c:261
 #4  0x40418fb4 in evas_engine_software_x11_image_free (data=0x8056dc8, 
 image=0x8067110) at evas_engine.c:701
 #5  0x403d941c in evas_object_image_file_set (obj=0x8066d10, 
 file=0x8067220 /home/jason/pic/06102005/DSC00278.JPG, key=0x0)
 at evas_object_image.c:150
 #6  0x080493f7 in timer_cb (data=0x8067458) at viewer.c:131
 #7  0x4003e3af in _ecore_timer_call (when=1121979018.19555)
 at ecore_timer.c:178
 #8  0x4003ba00 in _ecore_main_loop_iterate_internal (once_only=0)
 at ecore_main.c:457
 #9  0x4003b5db in ecore_main_loop_begin () at ecore_main.c:82
 #10 0x08049307 in main (argc=2, argv=0xb7a4) at viewer.c:104
 
 Any help would be greatly appreciated.  Let me know if you need any other
 information.
 
 Thanks,
 Jason
 
 
 ---
 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=7477alloc_id=16492op=click
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Monitor Module Patch 2

2005-07-26 Thread The Rasterman
On Wed, 20 Jul 2005 05:21:04 -0500 (CDT) Edward Presutti
[EMAIL PROTECTED] babbled:

 Here's another update for the monitor module in e_modules.
 
 ADDED : Configuration Menus!
 ADDED : Support for Interval Changing. Intervals for CPU, Memory, and
 Network are all adjustable.
 ADDED : Support for Network Interface changing. Monitor now scans for
 network interfaces on load and provides a menu with a list.
 ADDED : Option to ignore Cache or Buffer memory.
 
 CHANGED : Clean up some more warnings.
 
 TODO : The memory icon needs some cleaning.
 
 BUGS : The configuration currently does not save to disk. If you restart
 the monitor, only the position and size (gadman) settings will save. If
 anyone would care to lend a hand here, it would be MUCH appreciated. My
 EET skills are a bit limited. :-)

use e_config - like all the other modules :)

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch][Maximize horizontal/vertical]

2005-07-26 Thread The Rasterman
On Tue, 19 Jul 2005 17:58:27 +0200 Tilman Sauerbeck [EMAIL PROTECTED]
babbled:

 Sebastien HOUZE [EMAIL PROTECTED] [2005-07-19 15:02]:
  +#define MAXIMIZE12
  +#define MAXIMIZE_H  13
  +#define MAXIMIZE_V  14
 
 That's pretty ugly, magic values suck. Where do these come from? What
 about putting them in an enumeration? etc ;)

I think i have to accept some blame - a lot of e17 has these #defined enums.
basically because i WANT to 1. hard-lock define the data type for saving/loading
to an int or char etc. and 2. want constant values so they do not vary between
compilations (eg ipc or config stuff) so SOME things are done in this style
others done with enums where it isnt an issue. :)


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Edje patch again.

2005-07-26 Thread The Rasterman
On Fri, 08 Jul 2005 14:01:21 +0500 Boldin Pavel [EMAIL PROTECTED]
babbled:

 Carsten Haitzler (The Rasterman) wrote:
 
 On Fri, 08 Jul 2005 02:04:33 +0500 Boldin Pavel [EMAIL PROTECTED]
 babbled:
   
 
 it's marked for me to read. i9 still don't like the incompatible .edj
 thing. i dont think this is something u neeed to break the format for. you DO
 know that the default value of all variables is 0 - so if you need a new var
 and it isnt in the old file - it will be 0. you can check this on load and
 use -1 or 1 or non-0 values to store it for example.
   
 
 
 hm. i should say there:
 you may see in edje_data.c file that for `confine' you use `counfine'
 (misspeling) (because of prevously used `count'). what i about?
 just search `counfine' in edje_data.c
 
 if you change it back to normal (to `confine') - then all dragable
 objects are breaked. it is to words of compability.

aah. i see why. ok gotcha.


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Menu disappears before I can click on it

2005-07-26 Thread The Rasterman
On Wed, 13 Jul 2005 17:14:07 +1000 Daniel Kasak [EMAIL PROTECTED]
babbled:

 Carsten Haitzler (The Rasterman) wrote:
 
 On Wed, 13 Jul 2005 00:23:31 +1000 Daniel Kasak [EMAIL PROTECTED]
 babbled:
 
   
 
 Greetings.
 
 
 
 you mention just about everything on your system... except what version of
 enlightenment? :)
   
 
 Ah. Sorry. E17. I'm using Gentoo's cvs builds, which syncs against anon
 cvs each time I rebuild ... which is every week or so.

does it work with click - hold drag.. release (on the item u want)?

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] magic?

2005-07-26 Thread The Rasterman
On Fri, 22 Jul 2005 15:31:55 -0500 Brian Sakal [EMAIL PROTECTED] babbled:

 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?

as in the rest of this thread  magic numbers are used to uniquely (with very low
probability of error) identify something. on disk with files they are often used
to make sure the file is the format u expect before doing much more expensive
parsing work. in memory efl and e itself use them to mark memory objects
specially and detect when u pass the wrong object type to a function and save
the code from a segv by aborting early on after a very simple integer compare.
they are used to also detect freed objects/ram as well as valid objects and
types. they are not used for anything by checking as such and thus are seemingly
magic as u can't EXPLAIN why they have a value they do - without a much higher
level overview of things. the term magic numbers has just stuck around for so
long its a standard term for describing them now. like all things in languages
usage often then DEFINES the language and meaning of words :)


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] trouble with imlib2 and tiff format

2005-07-26 Thread The Rasterman
On Mon, 11 Jul 2005 16:23:55 +0200 Guillaume Rousse [EMAIL PROTECTED]
babbled:

 Hello.
 
 I got some troubles with tiff format image manipulation with perl imlib2
 binding, and I don't know if imlib2 or the binding is guilty. Just
 loading and saving a tiff image result in a all-black image:
 
 [EMAIL PROTECTED] ~]$  perl -MImage::Imlib2 -lwe 'my $img =
 Image::Imlib2-load(shift) or die $!; $img-save(out.tiff);' in.tiff
 channel bits == 1
 out.tif is all black.
 
 I'm running latest versions of both the binding (1.07) and the imlib2
 librairy (1.2.1) under mandrake cooker.
 
 The problem seems to have been reported also on Apache::Gallery user list:
 http://www.nowhere.dk/A::G/msg00892.html

i just used imlib2_convert:
 imlib2_convert t.tif t2.tif

ant it works fine. (imlib2_convert u'll find in the imlib2_tools in e17 cvs in
e17/apps/imlib2_tools)... so right now.. i can't reproduce using imlib2
directly.

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Monitor Module Patch 2-r1

2005-07-26 Thread The Rasterman
On Thu, 21 Jul 2005 18:45:00 +0200 FORT Yannick [EMAIL PROTECTED] babbled:

 Hello everyone; it's my first mail on this list ;)

I've been in the computer world for a long time now - 20 years or so. and KB =
kilobyte = 1024 bytes. MB = megabyte = 1024x1024 bytes. ie power of 2's always
for memory or sizes on disk (of files). ALWAYS. hd manufacturers decided to play
a nice trick and use 1000x1000 to play the numbers game of my disk is bigger
than yours without having to do any engineering. somehow it stuck. networking
has always talking in BITS as it generally has been serial lines thus they talk
in bits and thus Mb == megabit - but they chose to use Kb = kilobit = 1000 bits
and 1000x1000 bits for a megabit. this is just how it is - it is the way its
done. personally i detest the hd size and network way of doing things. this is
binary - computers. long live power of 2's. if u were to refer to current
download speed or bandwidth used on a network device i would lean to converting
it into KB or MB (1024 bytes or 1024x1024 bytes) and the bits be damned. in not
sticking to these standards u will confuse people even more as these are how it
has been done ever since the dawn of time... pretty much :)

 I really think the MiB standard MUST be used, if you don't respect 
 standards, you surely want people to use .doc, .xls for office use, MSN 
 as a chat protocol, THIS is stupid ...
 
 When i read MiB, i'm sure it's 1024*1024 B, but when i read MB, i don't 
 know if it's 1000*1000 or 1024*1024, f***ing unrespected standards
 
 I learn at school Kilo is 1000x and Mega is 1000*1000x, why would it be 
 different for Bytes ?
 
 Please use Kibi, Mebi Gibi, etc ...
 
 
 ---
 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=7477alloc_id=16492op=click
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] IRIX: e17 enlightenment linking order wrong

2005-07-26 Thread The Rasterman
On Fri, 08 Jul 2005 11:51:43 +1000 Nick Blievers [EMAIL PROTECTED] babbled:

 (yes I've given up on getting e17 working with MipsPro... :-( ).
 
 The problem here is that libintl is specified first, whereas it should 
 be somewhere near the end (last works). I can't figure out this automate 
 stuff tho, so can someone please give me a pointer?

mips's ld is order sensitive? EEEK - god help us!

 gcc -I/usr/local/include -I/usr/freeware/include -o enlightenment 
 /usr/freeware/lib32/libintl.so -Wl,-rpath -Wl,/usr/freeware/lib32 
 e_main.o e_user.o e_manager.o e_path.o e_init.o e_ipc.o e_error.o 
 e_container.o e_zone.o e_desk.o e_border.o e_pointer.o e_config.o 
 e_menu.o e_object.o e_icon.o e_box.o e_int_menus.o e_module.o e_apps.o 
 e_atoms.o e_utils.o e_canvas.o e_focus.o e_place.o e_resist.o 
 e_startup.o e_hints.o e_gadman.o e_signals.o e_xinerama.o e_table.o 
 e_layout.o e_test.o e_font.o e_intl.o e_theme.o e_dnd.o e_bindings.o 
 e_moveresize.o e_actions.o e_popup.o e_ipc_codec.o e_prefix.o 
 e_datastore.o e_msg.o e_winlist.o e_alert.o e_maximize.o e_grabinput.o 
 e_bg.o e_remember.o  -L/usr/local/lib -L/usr/freeware/lib32 -lm -lz -lm 
 -ljpeg -lz -ljpeg -lz -ljpeg -lz -L/usr/X11R6/lib -lm 
 -L/usr/people/nickb/e17/libs/ecore/src/lib/ecore/.libs -lm 
 -L/usr/people/nickb/e17/libs/ecore/src/lib/ecore_txt/.libs 
 -L/usr/people/nickb/e17/libs/ecore/src/lib/ecore_job/.libs -lm 
 -L/usr/people/nickb/e17/libs/ecore/src/lib/ecore_x/.libs -lm -lm -lm -lz 
 -lm -ljpeg -lz -ljpeg -lz -ljpeg -lz -lm 
 -L/usr/people/nickb/e17/libs/ecore/src/lib/ecore_con/.libs -lm -lm -lm 
 -lz -ljpeg -lz -ljpeg -lm -lz -lm -ljpeg -lz -ljpeg -lz -ljpeg -lz -lm 
 -lz -ljpeg -lz -ljpeg -lm /usr/local/lib/libedje.so -lm -lm -lz -lm 
 -ljpeg -lz -ljpeg -lz -ljpeg -lz -lm -lm -lm 
 /usr/local/lib/libecore_evas.so /usr/local/lib/libecore_x.so 
 /usr/local/lib/libecore_job.so -lm -lm -lm -lz -lm -ljpeg -lz -ljpeg -lz 
 -ljpeg -lz -lm -lm /usr/local/lib/libecore_txt.so 
 /usr/local/lib/libecore_config.so -lm /usr/local/lib/libecore_ipc.so 
 /usr/local/lib/libecore_con.so -lm -lz -ljpeg -lz -ljpeg 
 /usr/local/lib/libevas.so -lm -lfreetype -lpng -lz -lm -ljpeg -lz -ljpeg 
 -lz -ljpeg /usr/local/lib/libedb.so -lz -lGL -lGLU -lpthread 
 /usr/local/lib/libecore_file.so /usr/local/lib/libecore.so -lm -lz 
 -ljpeg -lz -ljpeg -lm -lz -ljpeg -lz -ljpeg -lm -lm 
 /usr/local/lib/libeet.so -lz -ljpeg -lz -ljpeg 
 /usr/local/lib/libembryo.so -lm -lm -lX11 -lXext -ldl -Wl,-rpath 
 -Wl,/usr/local/lib
 ld32: WARNING 84 : /usr/freeware/lib32/libintl.so is not used for 
 resolving any symbol.
 ld32: WARNING 84 : /usr/freeware/lib32/libz.so is not used for resolving 
 any symbol.
 ld32: WARNING 84 : /usr/freeware/lib32/libjpeg.so is not used for 
 resolving any symbol.
 ld32: WARNING 84 : /usr/local/lib/libecore_config.so is not used for 
 resolving any symbol.
 ld32: WARNING 84 : /usr/lib32/libdl.so is not used for resolving any symbol.
 ld32: WARNING 127: Two shared objects with the same soname, 
 /usr/lib32/mips3/libm.so and /usr/lib32/libm.so, have been been linked. 
 This is probably due to a missing -L specification. Ignoring the latter.
 ld32: ERROR   33 : Unresolved text symbol libintl_gettext -- 1st 
 referenced by e_main.o.
 Use linker option -v to see when and which objects, archives and 
 dsos are loaded.  
 ld32: ERROR   33 : Unresolved text symbol libintl_bindtextdomain -- 
 1st referenced by e_intl.o.
 Use linker option -v to see when and which objects, archives and 
 dsos are loaded.  
 ld32: ERROR   33 : Unresolved text symbol libintl_textdomain -- 1st 
 referenced by e_intl.o.
 Use linker option -v to see when and which objects, archives and 
 dsos are loaded.  
 ld32: ERROR   33 : Unresolved text symbol 
 libintl_bind_textdomain_codeset -- 1st referenced by e_intl.o.
 Use linker option -v to see when and which objects, archives and 
 dsos are loaded.  
 ld32: INFO152: Output file removed because of error.
 collect2: ld returned 2 exit status
 
 
 Thanks
 
 Nick
 
 
 ---
 This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
 July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
 core and dual graphics technology at this free one hour event hosted by HP,
 AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,

Re: [Texmacs-dev] Re: [E-devel] Segfault with Imlib2

2005-07-26 Thread The Rasterman
On Wed, 13 Jul 2005 12:42:20 +0200 Joris van der Hoeven [EMAIL PROTECTED]
babbled:

 Hi,
 
 I am continuing trying to use Imlib2 in combination with
 a static TeXmacs binary.
 
 I got a bit further when using dynamic linking at run time when
 using the -fPIC -rdynamic options (I did not need these in the case
 of freetype; I don't know why). When doing this, the software does
 no longer crash immediately, but no images show up.
 
 I also tried static linking of the effectively used loader libraries
 together with libImlib2 (so everything should be statically linked
 in that case, right?). However, I still experience problems with
 the memory allocation in this situation. Notice that these problems
 occur more or less at random times: sometimes I have to load
 50 pictures before an actual crash occurs.
 
 For my static TeXmacs distribution, I really need at least dynamic
 linking at run time or static linking at compile time to work.
 Do you have any other ideas of what I might try? It is very well
 possible that I, or you, or we both just don't use the right
 compiler/linker options at a certain point. But I am running
 out of ideas...

i'm a bit baffled myself too. i'd need a chunk of time to dig into it and i'm
definitely short of that! :(

 Best wishes, Joris
 
 ---
#0  0x083c39ed in chunk_free (ar_ptr=0x84f0f68, p=0x8be3000) at
malloc.c:3231 #1  0x083c6311 in __libc_free (mem=0x8becfd8) at
malloc.c:3154 #2  0x0835c233 in __imlib_ConsumeImage (im=0x8bc68c0) at
image.c:176 #3  0x0835c505 in __imlib_CleanupImageCache () at
image.c:381 #4  0x0835d28a in __imlib_FreeImage (im=0x8bc68c0) at
image.c:1172 #5  0x0834824a in imlib_free_image () at api.c:1327
#6  0x08190818 in imlib2_image_size (u={rep = 0x8a58458}, [EMAIL 
PROTECTED],
[EMAIL PROTECTED]) at ./Plugins/Imlib2/imlib2.cpp:123 #7  0x081901a8 in
image_size (image={rep = 0x8a58458}, [EMAIL PROTECTED], [EMAIL 
PROTECTED]) at
./System/Files/image_files.cpp:145 #8  0x0813d509 in
image_widget_rep::handle_repaint (this=0x8798678, ev=
{event_ptr_base = {rep = 0x8858688}, No data fields}) at
./Window/Widget/Misc/file_chooser_widget.cpp:323
...

The routine imlib2_image_size is mine. Here it is:

-
void
imlib2_image_size (url u, int w, int h) {
  if (imlib2_size_cache-contains (u-t)) {
w= as_int (imlib2_size_cache[u-t][0]);
h= as_int (imlib2_size_cache[u-t][1]);
  }
  else {
Imlib_Image image= imlib2_load_image (u);
if (image) {
  IMLIB2_context_set_image (image);
  w= IMLIB2_image_get_width ();
  h= IMLIB2_image_get_height ();
  IMLIB2_free_image ();
  imlib2_size_cache (u-t)= tuple (as_string (w), as_string (h));
}
  }
}
-

The routines IMLIB2_x are just copies of the corresponding
routines imlib_x (so as to allow for dynamic linking).
For your knowledge, here is also the routine imlib2_load_image:

-
static Imlib_Image
imlib2_load_image (url u) {
  url name= resolve (u);
  if (is_none (name))
name= resolve ($TEXMACS_PIXMAP_PATH/TeXmacs-gnu.xpm);
  char *_name= as_charp (as_string (name));
  Imlib_Image image;
  image = IMLIB2_load_image (_name);
  delete[] _name;
  return image;
}
-

Am I doing something wrong with the memory management?

Thanks, Joris
  
  
  ___
  Texmacs-dev mailing list
  Texmacs-dev@gnu.org
  http://lists.gnu.org/mailman/listinfo/texmacs-dev
 
 
 ---
 This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
 July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
 core and dual graphics technology at this free one hour event hosted by HP,
 AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
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=7477alloc_id=16492op=click

Re: [E-devel] Third time: Edje patch.

2005-07-26 Thread The Rasterman
On Mon, 18 Jul 2005 02:44:10 +0500 Boldin Pavel [EMAIL PROTECTED]
babbled:

 Now it should not broke border.
 
 This happened because of default value ( 0 ) and all objects in old .edj 
 files just
 try to queue event to object with zero ID.
 
 Now events_to objects is checked (on load) to be dragable. if events_to 
 object is not dragable (which default) than events is not substituded to 
 another object context.
 
 ufff.. Sorry for bad English.

that's fine :) english is no problem. now the patch looks better - in cvs now.
:)

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] problem dragging windows across desktops

2005-07-26 Thread The Rasterman
On Thu, 14 Jul 2005 17:06:27 +1200 jochen [EMAIL PROTECTED] babbled:

 hi all,
 I have a little problem dragging windows from one desktop to the next,
 with e17 cvs from 2 days ago. There seems to be a very high resistance
 and sometimes it does not work at all. So when I grep a window and move
 it to the edge of the screen trying to move past the edge, the I just
 move against the edge and nothing happens. sometimes, after moving the
 mouse a lot the desktop finally flips but most of the time it doesn't. I
 tried setting most of the resist settings to zero (what does the window
 resit setting btw?) and also setting -use-resist to zero, but no
 noticable difference. This doesn't seem to depend on the app I use.  I
 experienced the same problem with the cvs version I was using before but
 wanted to update before reporting this.
 Cheers
 Jochen

noted. happens. added to TODO - will look into it once i have cleaned out my
mailbox and have some time

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] SEGV when using evas_textblock and e_table.

2005-07-26 Thread The Rasterman
On Sat, 23 Jul 2005 22:26:40 -0500 (CDT) Edward Presutti
[EMAIL PROTECTED] babbled:

 I'm trying to use and evas textblock inside of the e_table provided with
 enlightenment 0.17. (E17 and all of EFL built from CVS as of this
 afternoon)
 
 I'm succesfully using this with all of my other widgets, a label, 2
 buttons, etc. It's the same technique used in the monitor module.
 
 Here's the offending code. (A backtrace is attached as well)
 
 The code that crashed is the last e_table_pack at the bottom of this
 snippet. Everything is working and if I remove the evas textblock code,
 everything operates normally.

weird. ok... i'll look into this i hope when i get some time. i'll keep this
marked in my inbox for looking into.

 
/* Background */
o = edje_object_add(reader_dialog-evas);
reader_dialog-dialog_object = o;
evas_object_move(o, pos_x, pos_y);
evas_object_resize(o, width, height);
evas_object_layer_set(o, -100);
edje_object_file_set(o, PACKAGE_LIB_DIR
 /e_modules/reader/reader.edj,
 reader/main);
evas_object_show(o);
 
/* Table */
o = e_table_add(reader_dialog-evas);
reader_dialog-table_object = o;
e_table_homogenous_set(o, 1);
edje_object_part_swallow(reader_dialog-dialog_object, items,
 reader_dialog-table_object);
evas_object_show(o);
 
/* Setup Label */
o = edje_object_add(reader_dialog-evas);
reader_dialog-label_object = o;
edje_object_file_set(o, PACKAGE_LIB_DIR
 /e_modules/reader/reader.edj,
 reader/dialog/label);
e_table_pack(reader_dialog-table_object, o, 0, 0, 1, 1);
e_table_pack_options_set(o, 1, 1, 1, 1, 0.5, 0.5, 0, 0, -1, -1);
evas_object_show(o);
 
/* Setup Text Block */
o = evas_object_textblock_add(reader_dialog-evas);
reader_dialog-textblock_object = o;
evas_object_textblock_format_insert(o, font=Vera );
evas_object_textblock_format_insert(o, size=12 );
evas_object_textblock_format_insert(o, style=soft_shadow );
evas_object_textblock_format_insert(o, color=# );
evas_object_textblock_format_insert(o, shadow_color=#cc00 );
evas_object_textblock_text_insert(o, input_string);
e_table_pack(reader_dialog-textblock_object, o, 0, 1, 1, 1);
e_table_pack_options_set(o, 1, 1, 1, 1, 0.5, 0.5, 0, 0, -1, -1);
evas_object_show(o);
 
 
 Thanks,
 
 -- 
 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.


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] magic?

2005-07-26 Thread Boldin Pavel

Jason Tackaberry wrote:


On Tue, 2005-07-26 at 16:28 +0500, Boldin Pavel wrote:
 


I though joke is EXACTLY name of this field.
   


http://catb.org/~esr/jargon/html/M/magic-number.html

Jason.
 


Yes, I know it.

But name is might be different, not ``magic.
Where it is first appeared? In what software or book?
Do you know why first time is been called ``magic, not different name?




---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch][border icon drag'n'drop to ibar]

2005-07-26 Thread Sebastian Dransfeld

Carsten Haitzler (The Rasterman) wrote:

On Fri, 22 Jul 2005 18:03:19 +0200 Simon TRENY [EMAIL PROTECTED] babbled:



Hi,

A good feature to implement for ibar I think would be to be able to 
drag'n'drop a file from a filemanager to an ibar icon. This will launch 
the corresponding application executable with the dropped filename(s) as 
argument(s), such as xcfe4-panel does.



defintiely useful - this should be part of xdnd support eventually with e -
currently its not even handling that so we aren't at first base yet :) right now
e17's dnd is done internally - no xdnd.


You really need to read patches better :) xdnd eapps from filemanager to 
ibar works.


Sebastian


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] IRIX: e17 enlightenment linking order wrong

2005-07-26 Thread Nick Blievers
Carsten Haitzler (The Rasterman) wrote:

On Fri, 08 Jul 2005 11:51:43 +1000 Nick Blievers [EMAIL PROTECTED] babbled:

  

(yes I've given up on getting e17 working with MipsPro... :-( ).

The problem here is that libintl is specified first, whereas it should 
be somewhere near the end (last works). I can't figure out this automate 
stuff tho, so can someone please give me a pointer?



mips's ld is order sensitive? EEEK - god help us!
  

Yep! And there is some logic behind it. It allows you to do some funky
things with the order of linking libs with duplicate symbols for eg (say
you wanted to override the default malloc calls with debug malloc calls).

Its not generally too much of a problem.

Nick


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] IRIX: e17 enlightenment linking order wrong

2005-07-26 Thread The Rasterman
On Wed, 27 Jul 2005 09:27:46 +1000 Nick Blievers [EMAIL PROTECTED] babbled:

 Carsten Haitzler (The Rasterman) wrote:
 
 On Fri, 08 Jul 2005 11:51:43 +1000 Nick Blievers [EMAIL PROTECTED] babbled:
 
   
 
 (yes I've given up on getting e17 working with MipsPro... :-( ).
 
 The problem here is that libintl is specified first, whereas it should 
 be somewhere near the end (last works). I can't figure out this automate 
 stuff tho, so can someone please give me a pointer?
 
 
 
 mips's ld is order sensitive? EEEK - god help us!
   
 
 Yep! And there is some logic behind it. It allows you to do some funky
 things with the order of linking libs with duplicate symbols for eg (say
 you wanted to override the default malloc calls with debug malloc calls).
 
 Its not generally too much of a problem.

but it makes it a royal pita for us! :( linux ditched order requirements long
long long ago just because of this... and so has everything else... just about.
:(


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch][border icon drag'n'drop to ibar]

2005-07-26 Thread The Rasterman
On Tue, 26 Jul 2005 23:17:47 +0200 Sebastian Dransfeld [EMAIL PROTECTED]
babbled:

 Carsten Haitzler (The Rasterman) wrote:
  On Fri, 22 Jul 2005 18:03:19 +0200 Simon TRENY [EMAIL PROTECTED]
  babbled:
  
  
 Hi,
 
 A good feature to implement for ibar I think would be to be able to 
 drag'n'drop a file from a filemanager to an ibar icon. This will launch 
 the corresponding application executable with the dropped filename(s) as 
 argument(s), such as xcfe4-panel does.
  
  
  defintiely useful - this should be part of xdnd support eventually with e -
  currently its not even handling that so we aren't at first base yet :) right
  now e17's dnd is done internally - no xdnd.
 
 You really need to read patches better :) xdnd eapps from filemanager to 
 ibar works.

oh... damn. missed that. hmm bugger.

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] IRIX: e17 enlightenment linking order wrong

2005-07-26 Thread The Rasterman
On Wed, 27 Jul 2005 10:15:29 +1000 Nick Blievers [EMAIL PROTECTED] babbled:

 Carsten Haitzler (The Rasterman) wrote:
 
 On Wed, 27 Jul 2005 09:27:46 +1000 Nick Blievers [EMAIL PROTECTED] babbled:
 
   
 
 Carsten Haitzler (The Rasterman) wrote:
 
 
 
 On Fri, 08 Jul 2005 11:51:43 +1000 Nick Blievers [EMAIL PROTECTED] 
 babbled:
 
  
 
   
 
 (yes I've given up on getting e17 working with MipsPro... :-( ).
 
 The problem here is that libintl is specified first, whereas it should 
 be somewhere near the end (last works). I can't figure out this automate 
 stuff tho, so can someone please give me a pointer?

 
 
 
 mips's ld is order sensitive? EEEK - god help us!
  
 
   
 
 Yep! And there is some logic behind it. It allows you to do some funky
 things with the order of linking libs with duplicate symbols for eg (say
 you wanted to override the default malloc calls with debug malloc calls).
 
 Its not generally too much of a problem.
 
 
 
 but it makes it a royal pita for us! :( linux ditched order requirements long
 long long ago just because of this... and so has everything else... just
 about.
   
 
 :(
   
 
 Its really not that bad. This is the only occurance I have found where
 this is an issue.

well it looks to me as if it's libtool or your LDFLAGS putting it in. e17's
linke order does actually put libintl stuff near the end - not the start. either
that or your local sgi copy of libtool forces that flag in the start or
something... not sure - BUT its definitely coming from elsewhere :/
 
-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Flushing E's Image Cache

2005-07-26 Thread The Rasterman
On Tue, 26 Jul 2005 19:05:33 -0500 (CDT) Edward Presutti
[EMAIL PROTECTED] babbled:

 
 Is there anyway to flush the image cache in E? If not, can we throw this
 in the feature request bin?

e_canvas_cache_flush(); it WONT force reloads of anything already referenced (in
use) though :)

 Thanks,
 
 -- 
 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.
 
 
 
 ---
 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=7477alloc_id=16492op=click
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] IRIX: e17 enlightenment linking order wrong

2005-07-26 Thread Nick Blievers
\

:(
 

  

Its really not that bad. This is the only occurance I have found where
this is an issue.



well it looks to me as if it's libtool or your LDFLAGS putting it in. e17's
linke order does actually put libintl stuff near the end - not the start. 
either
that or your local sgi copy of libtool forces that flag in the start or
something... not sure - BUT its definitely coming from elsewhere :/

Strange... but thanks for looking at it... automake makes me go
cross-eyed ;-)

Nick


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Re: E CVS: apps/e_modules codewarrior

2005-07-26 Thread Mathieu
enlightenment-cvs@lists.sourceforge.net disait dernièrement que :

 Enlightenment CVS committal

 Author  : codewarrior
 Project : e17
 Module  : apps/e_modules

 Dir : e17/apps/e_modules/src/modules/monitor


 Modified Files:
   e_mod_main.c 


 Log Message:
 more timestamp fixes
 ===
 RCS file: 
 /cvsroot/enlightenment/e17/apps/e_modules/src/modules/monitor/e_mod_main.c,v
 retrieving revision 1.2
 retrieving revision 1.3
 diff -u -3 -r1.2 -r1.3
 --- e_mod_main.c  19 Jul 2005 11:38:21 -  1.2
 +++ e_mod_main.c  26 Jul 2005 10:30:47 -  1.3
 @@ -625,6 +625,7 @@
   {
   e_menu_activate_mouse(face-menu, e_zone_current_get(face-con),
 ev-output.x, ev-output.y, 1, 1,
 +   ecore_x_current_time_get(),
 E_MENU_POP_DIRECTION_DOWN);
   e_util_container_fake_mouse_up_all_later(face-con);
   }

I think it should be ev-timestamp here instead of
ecore_x_current_time_get(); with the last cvs, when the mouse button
is released, the menu disappears. I don't know if it is the intended
behaviour, but all other modules use ev-timestamp ;)

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


Re: [E-devel] Re: E CVS: apps/e_modules codewarrior

2005-07-26 Thread Mathieu
Mathieu [EMAIL PROTECTED] disait dernièrement que :

 enlightenment-cvs@lists.sourceforge.net disait dernièrement que :

 Enlightenment CVS committal

 Author  : codewarrior
 Project : e17
 Module  : apps/e_modules

 Dir : e17/apps/e_modules/src/modules/monitor


 Modified Files:
  e_mod_main.c 


 Log Message:
 more timestamp fixes
 ===
 RCS file: 
 /cvsroot/enlightenment/e17/apps/e_modules/src/modules/monitor/e_mod_main.c,v
 retrieving revision 1.2
 retrieving revision 1.3
 diff -u -3 -r1.2 -r1.3
 --- e_mod_main.c 19 Jul 2005 11:38:21 -  1.2
 +++ e_mod_main.c 26 Jul 2005 10:30:47 -  1.3
 @@ -625,6 +625,7 @@
   {
  e_menu_activate_mouse(face-menu, e_zone_current_get(face-con),
ev-output.x, ev-output.y, 1, 1,
 +  ecore_x_current_time_get(),
E_MENU_POP_DIRECTION_DOWN);
  e_util_container_fake_mouse_up_all_later(face-con);
   }

 I think it should be ev-timestamp here instead of
 ecore_x_current_time_get(); with the last cvs, when the mouse button
 is released, the menu disappears. I don't know if it is the intended
 behaviour, but all other modules use ev-timestamp ;)

oh, and I didn't see before, but looks like the too last arguments of
e_menu_activate_mouse are swapped, as in weather and notes modules.

-- 
Mathieu Segaud


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


Re: [E-devel] Re: E CVS: apps/e_modules codewarrior

2005-07-26 Thread JC Wong
Mathieu wrote on Wed, Jul 27, 2005 at 01:47:44AM +
 enlightenment-cvs@lists.sourceforge.net disait dernièrement que :
 
  Enlightenment CVS committal
 
  Author  : codewarrior
  Project : e17
  Module  : apps/e_modules
 
  Dir : e17/apps/e_modules/src/modules/monitor
 
 
  Modified Files:
  e_mod_main.c 
 
 
  Log Message:
  more timestamp fixes
  ===
  RCS file: 
  /cvsroot/enlightenment/e17/apps/e_modules/src/modules/monitor/e_mod_main.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -3 -r1.2 -r1.3
  --- e_mod_main.c19 Jul 2005 11:38:21 -  1.2
  +++ e_mod_main.c26 Jul 2005 10:30:47 -  1.3
  @@ -625,6 +625,7 @@
{
  e_menu_activate_mouse(face-menu, e_zone_current_get(face-con),
ev-output.x, ev-output.y, 1, 1,
  + ecore_x_current_time_get(),
E_MENU_POP_DIRECTION_DOWN);
  e_util_container_fake_mouse_up_all_later(face-con);
}
 
 I think it should be ev-timestamp here instead of
 ecore_x_current_time_get(); with the last cvs, when the mouse button
 is released, the menu disappears. I don't know if it is the intended
 behaviour, but all other modules use ev-timestamp ;)

Yes, indeed. E_MENU_POP_DIRECTION_DOWN, ev-timestamp); simply fixed the
issue.

-- 
jcwong


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] e17 CVS engage - make error

2005-07-26 Thread laurence vanek
Attempting to build engage after CVS update tonite causes following 
engage make complaint:


===
.
.
.

e_mod_main.c:1086: warning: pointer targets in passing argument 5 of 
'e_gadman_c

lient_geometry_get' differ in signedness
e_mod_main.c: In function '_engage_bar_cb_mouse_down':
e_mod_main.c:2205: error: too few arguments to function 
'e_menu_activate_mouse'

make[3]: *** [e_mod_main.lo] Error 1
make[3]: Leaving directory `/root/misc/engage/src/module'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/misc/engage/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/misc/engage'
make: *** [all] Error 2


First issue Ive had with engage for weeks.


---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 CVS engage - make error

2005-07-26 Thread JC Wong
laurence vanek wrote on Wed, Jul 27, 2005 at 12:23:40AM -0500
 tatus: O
 Content-Length: 1242
 Lines: 36
 
 Attempting to build engage after CVS update tonite causes following 
 engage make complaint:
 
 ===
 .
 .
 .
 
 e_mod_main.c:1086: warning: pointer targets in passing argument 5 of 
 'e_gadman_c
 lient_geometry_get' differ in signedness
 e_mod_main.c: In function '_engage_bar_cb_mouse_down':
 e_mod_main.c:2205: error: too few arguments to function 
 'e_menu_activate_mouse'
 make[3]: *** [e_mod_main.lo] Error 1
 make[3]: Leaving directory `/root/misc/engage/src/module'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/root/misc/engage/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/root/misc/engage'
 make: *** [all] Error 2
 

Change  E_MENU_POP_DIRECTION_DOWN, ev-timestamp);  in
engage/src/module/e_mod_main.c line:2205 fixed it.

-- 
jcwong



---
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=7477alloc_id=16492op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel