[E-devel] entrance session handling bug

2004-04-24 Thread Tony Murray
In src/client/entrance_session.c, there is something wrong on line 315 and 
316.  evas_hash_find(e-config-sessions.hash, e-session) seems to always 
return null for me, and results in the default session always being run and 
not the selected one.

Right now, my hack to work around this is to simply use e-session and not 
find it in the session hashes.   e-session is the actual name of the 
session, so this works for me:

  if(e-session!=NULLstrcmp(e-session,default)!=0) {
 snprintf(buf, PATH_MAX, %s %s, ENTRANCE_XSESSION, e-session);
  } else
 snprintf(buf, PATH_MAX, %s, ENTRANCE_XSESSION);
Then again, I am just learning C (java guy) and don't know your code very 
well. I would be happy to test any attempts to fix this :)

Tony Murray

_
MSN Toolbar provides one-click access to Hotmail from any Web page – FREE 
download! http://toolbar.msn.com/go/onm00200413ave/direct/01/



---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Enlightenment: Patch to allow dockapps of different sizes

2004-04-24 Thread Jonas Aaberg

Hi,

First of all, thanks for a great windowmanager! I've been using it since
late 1999. 
I have attached a patch(against a clean 0.16.6) that allows dock applets
of variable size. A few applets nowadays are of other sizes than 64x64.

Best regards,
 Jonas



enlightenment-0.16.6-dockapp_var_size.patch
Description: Binary data


[E-devel] compiling e16 on IRIX using MipsPro

2004-04-24 Thread Nick Blievers
Continued from my previous email:

e (-16 from cvs):
-setup-gettext.sh just doesn't work. It gets NO version from autopoint.
-configure/autogen is badly borked, and generates an invalid LIBS (eg it ends 
in -L)
  The reason for this is x_libraries ends up without a value.
-intl/ has no files?
-make doesn't know how to build .deps/*.Po files (I removed the include's)
-MipsPro doesn't like misc ()'s and {}'s
Index: dox.h
===
RCS file: /cvsroot/enlightenment/e16/e/dox/dox.h,v
retrieving revision 1.29
diff -u -r1.29 dox.h
--- dox.h   21 Mar 2004 01:37:30 -  1.29
+++ dox.h   6 Apr 2004 03:58:31 -
@@ -53,9 +53,9 @@
 #include sys/shm.h
 #define ESetColor(pxc, r, g, b) \
-   ({ (pxc)-red = ((r)8)|r; (pxc)-green = ((g)8)|g; (pxc)-blue = 
((b)8)|b; })
+   do { (pxc)-red = ((r)8)|r; (pxc)-green = ((g)8)|g; (pxc)-blue = 
((b)8)|b; } while(0);
 #define EGetColor(pxc, pr, pg, pb) \
-   ({ *(pr) = ((pxc)-red)8; *(pg) = ((pxc)-green)8; *(pb) = 
((pxc)-blue)8; })
+   do { *(pr) = ((pxc)-red)8; *(pg) = ((pxc)-green)8; *(pb) = 
((pxc)-blue)8; } while(0);
 #if USE_IMLIB2
 #include Imlib2.h
Index: E.h
===
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.238
diff -u -r1.238 E.h
--- E.h 4 Apr 2004 21:44:45 -   1.238
+++ E.h 6 Apr 2004 04:10:29 -
@@ -52,9 +52,9 @@
 #endif
 #define ESetColor(pxc, r, g, b) \
-   ({ (pxc)-red = ((r)8)|r; (pxc)-green = ((g)8)|g; (pxc)-blue = 
((b)8)|b; })
+   do { (pxc)-red = ((r)8)|r; (pxc)-green = ((g)8)|g; (pxc)-blue = 
((b)8)|b; } while(0);
 #define EGetColor(pxc, pr, pg, pb) \
-   ({ *(pr) = ((pxc)-red)8; *(pg) = ((pxc)-green)8; *(pb) = 
((pxc)-blue)8; })
+   do { *(pr) = ((pxc)-red)8; *(pg) = ((pxc)-green)8; *(pb) = 
((pxc)-blue)8; } while(0);
 #if USE_IMLIB2
 #include Imlib2.h
-struct timeval is defined in sys/time.h
Index: setup.c
===
RCS file: /cvsroot/enlightenment/e16/e/src/setup.c,v
retrieving revision 1.121
diff -u -r1.121 setup.c
--- setup.c 1 Apr 2004 22:48:32 -   1.121
+++ setup.c 6 Apr 2004 04:15:24 -
@@ -25,6 +25,7 @@
 #if !USE_IMLIB2
 #include X11/cursorfont.h
 #endif
+#include sys/time.h
 void
 MapUnmap(int start)
Whew, and thats it! (Besides tweaks to the libraries, since the X libraries are not probed correctly 
by configure).

Anyway, hopefully thats useful to someone. :-)

Again, please cc me in any replies,

Nick
--
   Hobbes : What if the public doesn't like your work?
   Calvin : They are not supposed to like it. This is avant-garde stuff!
I'm criticizing the low brows who can't appreciate great art
like this!


---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] problems w/ iconbar

2004-04-24 Thread Andrew Elcock
Looks like your ewl is out of date - is it installed also from cvs?

Andrew

Didier Casse wrote:
I'm not too familiar with those E17 libraries. This is an excerp of
compilation of iconbar from CVS. Can anybody help?
-
D -MP -MF .deps/icon_editor.Tpo \
  -c -o icon_editor.o `test -f 'icon_editor.c' || echo
'./'`icon_editor.c; \
then mv -f .deps/icon_editor.Tpo .deps/icon_editor.Po; \
else rm -f .deps/icon_editor.Tpo; exit 1; \
fi
icon_editor.c: In function `icon_editor_shutdown':
icon_editor.c:30: warning: implicit declaration of function `ewl_shutdown'
icon_editor.c: In function `_icon_editor_gui_init':
icon_editor.c:394: error: too few arguments to function
`ewl_filedialog_new'
make[2]: *** [icon_editor.o] Error 1
make[2]: Leaving directory `/home/didier/E-stuff/e17/apps/iconbar/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/didier/E-stuff/e17/apps/iconbar/src'
make: *** [all-recursive] Error 1
-
With kind regards,

Didier.

---
PhD student.
Singapore Synchrotron Light Source (SSLS)
5 Research Link,
Singapore 117603
Email: didierbe at sps dot nus dot edu dot sg

Web: http://ssls.nus.edu.sg





---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
enlightenment-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] epplet event loop

2004-04-24 Thread Martien Verbruggen
[I also submitted this to the RFE section on sourceforge.net, but it
looks like that isn't really being monitored.]

Hello,

I felt the need to be able to write a GTK application for which the
main window is an epplet window. I tried several ways in which I could
mix the epplet events and the GTK event loop handler, but couldn't
come up with something that worked well.

To fix this, I have made some modifications to the epplets 0.7 API
code that allow one to run a single iteration of the main epplet loop
(Epplet_Loop) in a non-blocking mode. This means that I can call that
iteration from a GTK timer, and have it all work, more or less,
correctly.

To be able to deal with epplet timers in this setup, I also had to
change the way they worked. In fact, I think they work better now, and
I believe the code is actually easier to understand.

The changes should be backward compatible, i.e. no programs compiled
against 0.7 should need changes, or should display changes in
behaviour. There is a single new API function
(Epplet_Loop_Iteration(int block)), which takes a single argument
specifying whether the iteration should block or not.

I have tried to keep the code formatting as close to the original as
possible, although it is not my own coding style, so I might have
missed a space or indent here or there.

I will attach two (uni)diffs, one against api/epplet.c and one against
api/epplet.h.in, which reflect these changes.


Regards,
Martien
-- 
Martien Verbruggen  | 
IS Manager  | The world is complex; sendmail.cf reflects
Trading Post Australia  | this.
Tel: +61 2 9860 9139| 
--- epplets-0.7-orig/api/epplet.c   2003-04-07 11:02:18.0 +1000
+++ epplets-0.7/api/epplet.c2004-04-18 20:10:40.0 +1000
@@ -122,7 +122,7 @@
  void(*func) (void *data);
  void   *data;
  double  in;
- charjust_added;
+ double when;
  ETimer *next;
   };
 
@@ -1470,7 +1470,6 @@
 Epplet_timer(void   (*func) (void *data), void *data, double in, char *name)
 {
ETimer *et, *ptr, *pptr;
-   double  tally;
 
Epplet_remove_timer(name);
et = malloc(sizeof(ETimer));
@@ -1478,31 +1477,23 @@
et-func = func;
et-data = data;
et-name = malloc(strlen(name) + 1);
-   et-just_added = 1;
-   et-in = in;
+   et-when = Epplet_get_time() + in;
memcpy(et-name, name, strlen(name) + 1);
-   tally = 0.0;
if (!q_first)
   q_first = et;
else
  {
pptr = NULL;
ptr = q_first;
-   tally = 0.0;
while (ptr)
  {
-tally += ptr-in;
-if (tally  in)
+if (et-when  ptr-when)
   {
- tally -= ptr-in;
  et-next = ptr;
  if (pptr)
 pptr-next = et;
  else
 q_first = et;
- et-in -= tally;
- if (et-next)
-et-next-in -= et-in;
  return;
   }
 pptr = ptr;
@@ -1512,7 +1503,6 @@
   pptr-next = et;
else
   q_first = et;
-   et-in -= tally;
  }
 }
 
@@ -1532,8 +1522,6 @@
pptr-next = et-next;
 else
q_first = et-next;
-if (et-next)
-   et-next-in += et-in;
 if (et-name)
free(et-name);
 if (et)
@@ -1572,11 +1560,11 @@
   return;
et = q_first;
q_first = q_first-next;
+
(*(et-func)) (et-data);
-   if (et  et-name)
+   if (et-name)
   free(et-name);
-   if (et)
-  free(et);
+   free(et);
 }
 
 double
@@ -1667,87 +1655,93 @@
 }
 
 void
-Epplet_Loop(void)
+Epplet_Loop_Iteration(int block)
 {
-   int xfd, fdsize, count;
-   double  t1 = 0.0, t2 = 0.0, pt;
+   XEvent *evs = NULL;
+   int evs_num = 0, i;
+
+   double t1, now = Epplet_get_time();
+   int count;
ETimer *et;
fd_set  fdset;
-   struct timeval  tval;
 
-   xfd = ConnectionNumber(disp);
-   fdsize = xfd + 1;
-   pt = Epplet_get_time();
-   for (;;)
- {
-   XEvent *evs = NULL;
-   int evs_num = 0, i;
+   static int xfd, fdsize, initialised = 0;
 
-   XFlush(disp);
-   t1 = Epplet_get_time();
-   t2 = t1 - pt;
-   pt = t1;
-   while (XPending(disp))
- {
-evs_num++;
-if (evs)
-   evs = realloc(evs, sizeof(XEvent) * evs_num);
-else
-   evs = malloc(sizeof(XEvent));
-XNextEvent(disp, (evs[evs_num - 1]));
- }
-   if (evs)
- {
-Epplet_prune_events(evs, evs_num);
-for (i = 0; i  evs_num; i++)
-  {
- if (evs[i].type  0)
-Epplet_handle_event((evs[i]));
-  }
-

[E-devel] compiling Imlib2 on IRIX using MipsPro

2004-04-24 Thread Nick Blievers
Hi,
	Here is a list of hassles (and solutions) I had compiling imlib2 for IRIX, using MipsPro 7.3.1.3m 
on IRIX 6.5.20. I used freeware packages for all dependencies (esound, gtk etc), using the latest 
available on freeware.sgi.com.
Imlib2 (from cvs)
	-The mmx checking is screwed up, it reverses the logic and enables it when it should disable it. 
This is what is generated in configure:
if test x$mmx = xyes; then
  HAVE_MMX_TRUE=
  HAVE_MMX_FALSE='#'
else
  HAVE_MMX_TRUE='#'
  HAVE_MMX_FALSE=
fi
	However, the automake tests in src/Makefile.am (using HAVE_MMX) work... so wont touch this, but 
I've had to remove libltdl from Makefile.am's subdir's section, and all references of libltdl from 
src/Makefile	

-MipsPro doesn't like a structure been assigned a value using { }'s outside of 
the declaration. Hence:
Index: api.c
===
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/api.c,v
retrieving revision 1.95
diff -u -r1.95 api.c
--- api.c   15 Feb 2004 01:58:23 -  1.95
+++ api.c   6 Apr 2004 00:58:46 -
@@ -185,18 +185,20 @@
context-font = NULL;
context-direction = IMLIB_TEXT_TO_RIGHT;
context-angle = 0.0;
-   context-color = (Imlib_Color)
-   {
-   255, 255, 255, 255};
+   context-color.alpha = 255;
+   context-color.red = 255;
+   context-color.green = 255;
+   context-color.blue = 255;
context-color_range = NULL;
context-image = NULL;
context-progress_func = NULL;
context-progress_granularity = 0;
context-dither_mask = 0;
context-filter = NULL;
-   context-cliprect = (Imlib_Rectangle)
-   {
-   0, 0, 0, 0};
+   context-cliprect.x = 0;
+   context-cliprect.y = 0;
+   context-cliprect.w = 0;
+   context-cliprect.h = 0;
context-encoding = IMLIB_TTF_ENCODING_ISO_8859_1;
context-references = 0;
	
	-bzlib.h uses FILE * without including stdio. Not sure who's problem this is or why its not an 
issue on other platforms (unless gcc does some magic).
Index: loader_bz2.c
===
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/loaders/loader_bz2.c,v
retrieving revision 1.2
diff -u -r1.2 loader_bz2.c
--- loader_bz2.c15 Feb 2004 01:30:48 -  1.2
+++ loader_bz2.c6 Apr 2004 01:28:57 -
@@ -2,6 +2,7 @@
 # include config.h
 #endif

+#include stdio.h
 #include bzlib.h
 #include stdlib.h
 #include unistd.h
-MipsPro doesn't like pointer arithmatic on a void *
Index: loader_tga.c
===
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/loaders/loader_tga.c,v
retrieving revision 1.8
diff -u -r1.8 loader_tga.c
--- loader_tga.c16 Feb 2004 03:46:39 -  1.8
+++ loader_tga.c6 Apr 2004 01:35:44 -
@@ -245,7 +245,7 @@
filedata = seg;
header = (tga_header *) filedata;
-   footer = (tga_footer *) (filedata + ss.st_size - sizeof(tga_footer));
+   footer = (tga_footer *) ((char *)filedata + ss.st_size - sizeof(tga_footer));
/* check the footer to see if we have a v2.0 TGA file */
if (memcmp(footer-signature, TGA_SIGNATURE, sizeof(footer-signature)) == 0)
@@ -256,11 +256,11 @@
  }
/* skip over header */
-   filedata += sizeof(tga_header);
+   filedata = (char *)filedata + sizeof(tga_header);
/* skip over alphanumeric ID field */
if (header-idLength)
-  filedata += header-idLength;
+  filedata = (char *)filedata + header-idLength;
/* now parse the header */

	

And Imlib2 is built!

I was also going to build e (16), but have been having some troubles and dont have time right now to 
fix. Hopefully soon,

The config issues are possibly (likely) due to automake/autoconf/libtool version 
differences.
***supress rant here***
Nick

PS I am not subscribed to the mailing list, so please cc me in on any replies

---
   Calvin: Know what I pray for?  Hobbes: What?  Calvin: The strength to change
what I can, the inability to accept what I can't, and the incapacity to tell
the difference.  -- Calvin
---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] issue with evas cvs on k6-2 + 2.6.3

2004-04-24 Thread Dale Anderson
Hi All 

Just wondering if anyone else is having issues with evas built with
--enable-mmx on a k6-2 box.
I got an illegal instruction running evas_software tests and run it
through gdb , it appears for some reason the SIGILL isnt being
recognised/caught when testing for mmx2 on launch.

Cheers
Dale.  



---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] 0.16 Iconbox patch (has it been integrated?)

2004-04-24 Thread Tom Alsberg
Hi there.

(See the following forwarded message)

Quite a long while ago, I sent a patch for the iconbox to this list.
I didn't follow the development of Enlightenment for a long time
already, but recently noticed a new version was (or is about to be)
released...  Has this patch made it into the mainstream sources?

I'm not sure what changes were made since 0.16.5 and how compatible it
is, but I'm hoping to have it integrated, so I won't have to patch
Enlightenment again wherever I install the new version...

  -- Tom

- Forwarded message from Tom Alsberg [EMAIL PROTECTED] -

Date: Tue, 7 Aug 2001 01:39:36 +0300
From: Tom Alsberg [EMAIL PROTECTED]
Subject: Iconbox patch for Enlightenment 0.16.5
To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]

  Hi there.
  Attached is a patch for Enlightenment 0.16.5 to enable more flexible
configuration of the Iconbox icon image display policy, with it, the
user can choose the mode (E icon/app icon/snapshot window) for each of
the 3 prioirities, if one isn't happy with the 3 fixed possibilities
which are there without the patch (For example, I wanted it to be E
icon, app icon, and then snapshot, but without the patch it didn't let
me choose such an option). I hope it will be considered to be merged
with the next releases.
  Although it is in diff -u format, mainly for my own convenience when
modifying the source, all (I think, if I didn't forget anywhere)
modified places in the source were marked as such, and big blocks which
were removed were disabled with '#if 0'.

  Thanks, hoping this will merge with the next releases,
  -- Tom

-- 
  Tom Alsberg - certified insane, complete illiterate.
e-mail: [EMAIL PROTECTED]
Homepage: http://www.cs.huji.ac.il/~alsbergt/
  * An idea is not responsible for the people who believe in it.
diff -Nur enlightenment-0.16.5/src/E.h enlightenment-0.16.5-5zoopee/src/E.h
--- enlightenment-0.16.5/src/E.hFri Jul 28 20:23:34 2000
+++ enlightenment-0.16.5-5zoopee/src/E.hTue Aug  7 01:09:14 2001
@@ -291,6 +291,14 @@
 #define SPANS_COMMON(x1, w1, x2, w2) \
(!x2) + (w2)) = (x1)) || ((x2) = ((x1) + (w1)
 
+/* BEGIN custom changes */
+#define ICONPOLICY_SIZE 3
+
+#define ICONPOLICY_EICON1
+#define ICONPOLICY_APPICON  2
+#define ICONPOLICY_SNAPSHOT 3
+/* END custom changes */
+
 #define EERR_NONE   0
 #define EERR_OUT_OF_MEMORY  1
 #define EERR_FILE_NOT_EXIST 2
@@ -1258,7 +1266,15 @@
charconstrained;
int pager_scanspeed;
TextClass  *icon_textclass;
-   int icon_mode;
+
+/* BEGIN custom changes */
+/*   int icon_mode;   /* Should not be needed anymore,
+   now that there is icon_policy
+*/
+
+   int icon_policy[ICONPOLICY_SIZE];
+/* END custom changes */
+
charnogroup;
GroupConfig group_config;
chargroup_swapmove;
@@ -1654,7 +1670,12 @@
charshownames;
charnobg;
int iconsize;
-   int icon_mode;
+
+/* BEGIN custom changes */
+/*   int icon_mode;   /* Should not be used now that
+   there is icon_policy */
+int icon_policy[ICONPOLICY_SIZE];
+/* END custom changes */
 
charauto_resize;
chardraw_icon_base;
@@ -2534,7 +2555,13 @@
 voidDelEwinFromIconbox(Iconbox * ib, EWin * ewin);
 voidRedrawIconbox(Iconbox * ib);
 voidIconboxHandleEvent(XEvent * ev);
-voidUpdateAppIcon(EWin * ewin, int imode);
+
+/* BEGIN custom changes */
+/* voidUpdateAppIcon(EWin * ewin, int imode); */
+voidUpdateAppIcon(EWin * ewin, int
+  ipolicy[ICONPOLICY_SIZE]);
+/* END custom changes */
+
 voidIconboxResize(Iconbox * ib, int w, int h);
 voidIB_FixPos(Iconbox * ib);
 voidIB_DrawScroll(Iconbox * ib);
diff -Nur enlightenment-0.16.5/src/conf.h enlightenment-0.16.5-5zoopee/src/conf.h
--- enlightenment-0.16.5/src/conf.h Fri Jul 28 20:23:34 2000
+++ enlightenment-0.16.5-5zoopee/src/conf.h Tue Aug  7 01:09:15 2001
@@ -327,6 +327,13 @@
 #define CONFIG_SHOW_NAMES 2002
 #define CONFIG_ICON_SIZE 2003
 #define CONFIG_ICON_MODE 2004
+
+/* BEGIN custom changes */
+#define CONFIG_ICON_POLICY0 4800
+#define CONFIG_ICON_POLICY1 4801
+#define CONFIG_ICON_POLICY2 4802
+/* END custom changes */
+
 #define CONFIG_SCROLLBAR_SIDE 2005
 #define CONFIG_SCROLLBAR_ARROWS 2006
 #define CONFIG_AUTOMATIC_RESIZE 2007
diff -Nur enlightenment-0.16.5/src/config.c enlightenment-0.16.5-5zoopee/src/config.c
--- enlightenment-0.16.5/src/config.c   Fri Jul 28 20:23:34 2000
+++ 

Re: [E-devel] Enlightenment: Patch to allow dockapps of different sizes

2004-04-24 Thread Kim Woelders
Jonas Aaberg wrote:
I have attached a patch(against a clean 0.16.6) that allows dock applets
of variable size. A few applets nowadays are of other sizes than 64x64.
Sorry for the late reply. Your mail has been stuck somewhere in bitspace 
until now.

I have committed your patch.
Could you or someone using E from CVS please let me know if the dock
stuff still works?
Also, I would appreciate a few directions on how to try it out myself,
like where do I find an applet :)
/Kim

---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [e17] ecore collect2 error

2004-04-24 Thread Antonio Palladini
Hello list,

i have created the following test app for ecore :

- snipp ---
#include Ecore.h
int main(int argc,const char** argv)
{
Ecore_DList *list;

ecore_init();
ecore_app_args_set(argc,argv);

list = ecore_dlist_new();
ecore_dlist_init(list);

ecore_shutdown();

return 0;
}
 snap 
and compiled with :
g++ -L/usr/local/lib -lecore -I/usr/local/include ecore-test.cpp -o  
ecore_test

i got the following errors :

/tmp/ccbxr0mw.o(.text+0x28): In function 'main' :
:undefined reference to 'ecore_dlist_new()'
the same for ecore_dlist_init() and ld returns exit status 1.

The libs are installed in /usr/locale/lib and both functions are
listet in ecore.a.
A rebuild of ecore or the full EFL do not help.
I have added the ls output from my lib directory.

maybe a missing ecore.pc in pkgconfig ?
Or my fault, any help is needed.
--
Regards
Antonio
 -rwxr-xr-x   1 root root   540958 2004-04-23 16:42 
/usr/local/lib/ecore_config_ipc_ecore
 -rw-r--r--   1 root staff   89032 2004-04-24 08:54 
/usr/local/lib/ecore_config_ipc_ecore.a
 -rwxr-xr-x   1 root staff1401 2004-04-24 08:54 
/usr/local/lib/ecore_config_ipc_ecore.la
 -rwxr-xr-x   1 root staff   76065 2004-04-24 08:54 
/usr/local/lib/ecore_config_ipc_ecore.so
lrwxr-xr-x1 root root   14 2004-04-23 16:42 /usr/local/lib/libecore - 
libecore.1.0.0
lrwxr-xr-x1 root root   14 2004-04-23 16:42 /usr/local/lib/libecore.1 
- libecore.1.0.0
 -rwxr-xr-x   1 root root   379538 2004-04-23 16:42 
/usr/local/lib/libecore.1.0.0
 -rw-r--r--   1 root staff  762636 2004-04-24 08:53 /usr/local/lib/libecore.a
lrwxr-xr-x1 root root   18 2004-04-23 16:42 
/usr/local/lib/libecore_con - libecore_con.1.0.0
lrwxr-xr-x1 root root   18 2004-04-23 16:42 
/usr/local/lib/libecore_con.1 - libecore_con.1.0.0
 -rwxr-xr-x   1 root root89367 2004-04-23 16:42 
/usr/local/lib/libecore_con.1.0.0
 -rw-r--r--   1 root staff  103484 2004-04-24 08:53 
/usr/local/lib/libecore_con.a
lrwxr-xr-x1 root root   21 2004-04-23 16:42 
/usr/local/lib/libecore_config - libecore_config.1.0.0
lrwxr-xr-x1 root root   21 2004-04-23 16:42 
/usr/local/lib/libecore_config.1 - libecore_config.1.0.0
 -rwxr-xr-x   1 root root   232910 2004-04-23 16:42 
/usr/local/lib/libecore_config.1.0.0
 -rw-r--r--   1 root staff  378184 2004-04-24 08:54 
/usr/local/lib/libecore_config.a
 -rwxr-xr-x   1 root staff1194 2004-04-24 08:54 
/usr/local/lib/libecore_config.la
lrwxr-xr-x1 root staff  24 2004-04-24 08:54 
/usr/local/lib/libecore_config.so - libecore_config.so.1.0.0
lrwxr-xr-x1 root staff  24 2004-04-24 08:54 
/usr/local/lib/libecore_config.so.1 - libecore_config.so.1.0.0
 -rwxr-xr-x   1 root staff  235153 2004-04-24 08:54 
/usr/local/lib/libecore_config.so.1.0.0
 -rwxr-xr-x   1 root staff 942 2004-04-24 08:53 
/usr/local/lib/libecore_con.la
lrwxr-xr-x1 root staff  21 2004-04-24 08:53 
/usr/local/lib/libecore_con.so - libecore_con.so.1.0.0
lrwxr-xr-x1 root staff  21 2004-04-24 08:53 
/usr/local/lib/libecore_con.so.1 - libecore_con.so.1.0.0
 -rwxr-xr-x   1 root staff   89395 2004-04-24 08:53 
/usr/local/lib/libecore_con.so.1.0.0
lrwxr-xr-x1 root root   19 2004-04-23 16:42 
/usr/local/lib/libecore_evas - libecore_evas.1.0.0
lrwxr-xr-x1 root root   19 2004-04-23 16:42 
/usr/local/lib/libecore_evas.1 - libecore_evas.1.0.0
 -rwxr-xr-x   1 root root   303917 2004-04-23 16:42 
/usr/local/lib/libecore_evas.1.0.0
 -rw-r--r--   1 root staff  481260 2004-04-24 08:54 
/usr/local/lib/libecore_evas.a
 -rwxr-xr-x   1 root staff1522 2004-04-24 08:54 
/usr/local/lib/libecore_evas.la
lrwxr-xr-x1 root staff  22 2004-04-24 08:54 
/usr/local/lib/libecore_evas.so - libecore_evas.so.1.0.0
lrwxr-xr-x1 root staff  22 2004-04-24 08:54 
/usr/local/lib/libecore_evas.so.1 - libecore_evas.so.1.0.0
 -rwxr-xr-x   1 root staff  303917 2004-04-24 08:54 
/usr/local/lib/libecore_evas.so.1.0.0
lrwxr-xr-x1 root root   17 2004-04-23 16:42 /usr/local/lib/libecore_fb 
- libecore_fb.1.0.0
lrwxr-xr-x1 root root   17 2004-04-23 16:42 
/usr/local/lib/libecore_fb.1 - libecore_fb.1.0.0
 -rwxr-xr-x   1 root root64673 2004-04-23 16:42 
/usr/local/lib/libecore_fb.1.0.0 
 -rw-r--r--   1 root staff   73018 2004-04-24 08:53 
/usr/local/lib/libecore_fb.a
 -rwxr-xr-x   1 root staff 920 2004-04-24 08:53 
/usr/local/lib/libecore_fb.la
lrwxr-xr-x1 root staff  20 2004-04-24 08:53 
/usr/local/lib/libecore_fb.so - libecore_fb.so.1.0.0
lrwxr-xr-x1 root staff  20 

[E-devel] ecore_config with g++

2004-04-24 Thread dan sinclair
Hello,

I've been trying to use ecore_config and g++ and I can't seem to make the program link.
I created a simple program to test:

#include Ecore.h
#include Ecore_Config.h

int main(int argc, char ** argv) {
ecore_init();
ecore_config_init(foo);
ecore_config_exit();
ecore_shutdown();
return 1;
}

I can compile this with:
gcc main.c `ecore-config --cflags` `ecore-config --libs`
without problem, but if I try to use g++ I get the following:

[EMAIL PROTECTED] [~/test] - g++ main.c `ecore-config --cflags` `ecore-config --libs`
/tmp/cccD8aqA.o(.text+0x1d): In function `main':
: undefined reference to `ecore_config_init(char*)'
/tmp/cccD8aqA.o(.text+0x22): In function `main':
: undefined reference to `ecore_config_exit()'
collect2: ld returned 1 exit status

Is there something extra I need to do to get ecore_config to complie with g++?

My app seems to compile ecore, ecore_evas and edje init and shutdown stuff without 
problem, 
its just ecore_config that causes issues.

Any ideas?

Thanks,
dan



---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ecore_config with g++

2004-04-24 Thread Antonio Palladini
Am 24.04.2004 23:39:15 schrieb(en) dan sinclair:

gcc main.c `ecore-config --cflags` `ecore-config --libs`
without problem, but if I try to use g++ I get the following:
the same with :

g++ main.c -L/usr/local/lib -lecore -I/usr/local/include

Not a ecore-config issue i think.

--
Regards
Antonio

---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Ecore Docs

2004-04-24 Thread Nicholas Curran
I noticed that some help with documentation is needed, so I started
poking around the documentation generation code in Ecore.  I have been
able to make doxygen generate a proper file list for the Ecore
documentation.  Instead of attributing all functions to the file
ecore.c, functions can now be attributed to the header file in which
they are prototyped.

A copy of the newly generated documentation can be downloaded from
http://home.bigblue.net.au/quasar/ecore_docs.tar.gz. The patch to do
this from the source is attached, if you are interested in using it in
Ecore.

What the patch does:
 - Stops gendoc from creating ecore.c.
 - Tells doxygen (through the Doxyfile) to use ecore.c.in and the source
   files in the src/lib directory (searching recursively) to generate
   the documentation.
 - Removes the @file statement from ecore.c.in, to prevent it appearing
   in the file list.
 - Adds @file and @brief statements to the public header files.

You still need to run 'make' before you can generate the docs with
gendoc, as some of the header files (with their embedded doxygen
statements) are created at compile time.

If I was to write documentation for Ecore, who could I ask stupid
questions about the code, and to whom could I send any patches I
created?  Would this list be appropriate?

I hope you find this patch useful.

Regards,
Nicholas
Index: Doxyfile
===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/Doxyfile,v
retrieving revision 1.2
diff -u -r1.2 Doxyfile
--- Doxyfile	23 Sep 2003 08:09:19 -	1.2
+++ Doxyfile	24 Apr 2004 10:34:53 -
@@ -1,7 +1,7 @@
 PROJECT_NAME   = Ecore
 PROJECT_NUMBER =
 OUTPUT_DIRECTORY   = doc
-INPUT  = ecore.c
+INPUT  = ecore.c.in ./src/lib
 IMAGE_PATH = doc/img
 OUTPUT_LANGUAGE= English
 GENERATE_HTML  = YES
@@ -63,7 +63,7 @@
 WARN_FORMAT= $file:$line: $text
 WARN_LOGFILE   = 
 FILE_PATTERNS  =
-RECURSIVE  = NO
+RECURSIVE  = YES 
 EXCLUDE= 
 EXCLUDE_SYMLINKS   = NO
 EXCLUDE_PATTERNS   = 
Index: ecore.c.in
===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/ecore.c.in,v
retrieving revision 1.4
diff -u -r1.4 ecore.c.in
--- ecore.c.in	20 Feb 2004 08:18:28 -	1.4
+++ ecore.c.in	24 Apr 2004 10:34:54 -
@@ -1,5 +1,4 @@
 /** 
[EMAIL PROTECTED]
 @brief Ecore Library Public API Calls
  
 These routines are used for Ecore Library interaction
Index: gendoc
===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/gendoc,v
retrieving revision 1.3
diff -u -r1.3 gendoc
--- gendoc	16 Feb 2004 02:48:13 -	1.3
+++ gendoc	24 Apr 2004 10:34:54 -
@@ -1,11 +1,4 @@
 #!/bin/sh
-cp ./ecore.c.in ./ecore.c
-for I in `find ./src/lib -name Ecore*.h -print`; do
-  cat $I  ./ecore.c
-done
-for I in `find ./src/lib -name *.c -print`; do
-  cat $I  ./ecore.c
-done
 rm -rf ./doc/html ./doc/latex ./doc/man
 doxygen
 cp doc/img/*.png doc/html/
Index: src/lib/ecore/Ecore.h
===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/Ecore.h,v
retrieving revision 1.11
diff -u -r1.11 Ecore.h
--- src/lib/ecore/Ecore.h	14 Apr 2004 08:51:18 -	1.11
+++ src/lib/ecore/Ecore.h	24 Apr 2004 10:34:56 -
@@ -1,6 +1,13 @@
 #ifndef _ECORE_H
 #define _ECORE_H
 
+/**
+ * @file Ecore.h
+ * @brief The file that provides the program utility, main loop and timer
+ *functions.
+ *
+ */
+
 #include sys/types.h
 #include unistd.h
 #include stdio.h
Index: src/lib/ecore/Ecore_Data.h
===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/Ecore_Data.h,v
retrieving revision 1.3
diff -u -r1.3 Ecore_Data.h
--- src/lib/ecore/Ecore_Data.h	18 Mar 2004 20:56:20 -	1.3
+++ src/lib/ecore/Ecore_Data.h	24 Apr 2004 10:34:58 -
@@ -1,6 +1,11 @@
 #ifndef _ECORE_DATA_H
 #define _ECORE_DATA_H
 
+/**
+ * @file Ecore_Data.h
+ * @brief Contains threading, list, hash, debugging and tree functions.
+ */
+
 #define PRIME_TABLE_MAX 21
 #define PRIME_MIN 17
 #define PRIME_MAX 16777213
Index: src/lib/ecore_con/Ecore_Con.h.in
===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_con/Ecore_Con.h.in,v
retrieving revision 1.1
diff -u -r1.1 Ecore_Con.h.in
--- src/lib/ecore_con/Ecore_Con.h.in	31 Mar 2004 16:47:45 -	1.1
+++ src/lib/ecore_con/Ecore_Con.h.in	24 Apr 2004 10:35:12 -
@@ -1,6 +1,11 @@
 #ifndef _ECORE_CON_H
 #define _ECORE_CON_H
 
+/**
+ * @file Ecore_Con.h
+ * @brief Sockets functions.
+ */
+
 #define HAVE_ECORE_CON_OPENSSL @USE_OPENSSL@
 
 #if HAVE_ECORE_CON_OPENSSL
Index: src/lib/ecore_config/Ecore_Config.h