[E-devel] Re: E CVS: apps/e rbdpngn

2003-01-12 Thread Ibukun Olumuyiwa
Initially the problem seemed to have gone away ... until I started
Mozilla. Same old behavior...would come to the front, but the border would
not focus (so I could not minimize, close etc).

On the plus side, a persistent annoyance I've had with xawtv overlay
images being displayed on top of other windows appears to have finally
gone away.

-- 
   |  /*\
Ibukun Olumuyiwa   |  \ /  Join the ASCII Ribbon Campaign
http://xcomputerman.com|   X   against HTML mail today!
   |  / \





---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



[E-devel] Startup problems with Red Hat 8.0

2003-01-12 Thread Piotr Romanus
Please help: 
I installed the following packages to run Eterm:
imlib2-1.0.6-1.i386.rpm  libast-0.5-1.i386.rpm Eterm-0.9.2-1.i386.rpm

The following errors show up every time I am starting Etem from my
shell:

Eterm:  Error:  Unable to load image file "tile/dirt.jpg" -- No loader
available
for that file format
Eterm:  Error:  Unable to load image file "bar_vertical_3.png" -- No
loader available for that file format
Eterm:  Error:  Unable to load image file "bar_vertical_1.png" -- No
loader available for that file format
Eterm:  Error:  Unable to load image file "bar_vertical_2.png" -- No
loader available for that file format
Eterm:  Error:  Unable to load image file "thumb_1.png" -- No loader
available for that file format
Eterm:  Error:  Unable to load image file "thumb_2.png" -- No loader
available for that file format
Eterm:  Error:  Unable to load image file "button_arrow_up_1.png" -- No
loader available for that file format
Eterm:  Error:  Unable to load image file "button_arrow_up_2.png" -- No
loader available for that file format
Eterm:  Error:  Unable to load image file "button_arrow_up_3.png" -- No
loader available for that file format
Eterm:  Error:  Unable to load image file "button_arrow_down_1.png" --
No loader
available for that file format
Eterm:  Error:  Unable to load image file "button_arrow_down_2.png" --
No loader
available for that file format
Eterm:  Error:  Unable to load image file "button_arrow_down_3.png" --
No loader
available for that file format
Eterm:  Error:  Unable to load image file "bar_horizontal_1.png" -- No
loader available for that file format
Eterm:  Error:  Unable to load image file "bar_horizontal_2.png" -- No
loader available for that file format
Eterm:  Error:  Unable to load image file "menu1.png" -- No loader
available for
that file format
Eterm:  Error:  Unable to load image file "menu2.png" -- No loader
available for
that file format
Eterm:  Error:  Unable to load image file "menu3.png" -- No loader
available for
that file format
Eterm:  Error:  Unable to load image file "bar_horizontal_1.png" -- No
loader available for that file format
Eterm:  Error:  Unable to load image file "bar_horizontal_1.png" -- No
loader available for that file format
Eterm:  Error:  Unable to load image file "bar_horizontal_2.png" -- No
loader available for that file format
Eterm:  Error:  Unable to load image file "bar_horizontal_3.png" -- No
loader available for that file format
Eterm:  Error:  Unable to load image file "help.png" -- No loader
available for that file format
Eterm:  Error:  Unable to load image file "exit.png" -- No loader
available for that file format

Thanks for any help,

Piotr Romanus
[EMAIL PROTECTED]







---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



[E-devel] [enlightenment - General] co -r SPLIT e17/libs/ebits

2003-01-12 Thread SourceForge.net

Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=1820198
By: kishiro_otaku

I know I'm sinning by posting a compile concern here, but ebits for e17 from
the split branch (as of 1.6.03) is having big problems, I thought perhaps someone
would know where to get a compilable version or even more likely what I'm doing
wrong:

ebits_main.c: in almost every function in the file, requests for members next,
data is unrecognized.

Am I compiling in the wrong order, not getting Evas_List.h or something?

thankee

__
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/monitor.php?forum_id=41043


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



Re: [E-devel] [enlightenment - General] co -r SPLIT e17/libs/ebits

2003-01-12 Thread Massimo Maiurana
Il giorno Mon, 06 Jan 2003 08:21:30 -0800 SourceForge.net scrisse:

> 
> Read and respond to this message at: 
> https://sourceforge.net/forum/message.php?msg_id=1820198
> By: kishiro_otaku
> 
> I know I'm sinning by posting a compile concern here, but ebits for
> e17 from the split branch (as of 1.6.03) is having big problems, I
> thought perhaps someone would know where to get a compilable version
> or even more likely what I'm doing wrong:
> 
> ebits_main.c: in almost every function in the file, requests for
> members next, data is unrecognized.
> 
> Am I compiling in the wrong order, not getting Evas_List.h or
> something?

oh, then maybe it's not me!
I'm having problems building ebits too, here are some lines from make's
output:

make  all-recursive
make[1]: Entering directory `/tmp/e17/ebits'
Making all in src
make[2]: Entering directory `/tmp/e17/ebits/src'
source='ebits_main.c' object='ebits_main.lo' libtool=yes \
depfile='.deps/ebits_main.Plo' tmpdepfile='.deps/ebits_main.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include -I/usr/local/include -I/usr/local/include -I..
-I/usr/local/include -DLIBDIR=\"/usr/local/lib\"
-DBINDIR=\"/usr/local/bin\" -DDATADIR=\"/usr/local/share\"-g -O2 -c
-o ebits_main.lo `test -f ebits_main.c || echo './'`ebits_main.c rm -f
.libs/ebits_main.lo gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include -I/usr/local/include -I/usr/local/include -I..
-I/usr/local/include -DLIBDIR=\"/usr/local/lib\"
-DBINDIR=\"/usr/local/bin\" -DDATADIR=\"/usr/local/share\" -g -O2 -c
ebits_main.c -Wp,-MD,.deps/ebits_main.TPlo  -fPIC -DPIC -o
.libs/ebits_main.lo In file included from ebits_main.c:3:
Ebits_private.h:145: variable or field `clip' declared void
Ebits_private.h:146: variable or field `evas' declared void
Ebits_private.h:161: variable or field `object' declared void
ebits_main.c:14: invalid initializer
ebits_main.c: In function `ebits_get_bit_name':
ebits_main.c:46: invalid type argument of `->'
ebits_main.c:46: invalid operands to binary !=
ebits_main.c:50: invalid type argument of `->'
ebits_main.c: In function `_ebits_get_bit_class':
ebits_main.c:65: invalid type argument of `->'
ebits_main.c:65: invalid operands to binary !=
ebits_main.c:69: invalid type argument of `->'
[and so on, until..]
ebits_main.c:2447: incompatible types in assignment
ebits_main.c:2449: invalid type argument of `->'
ebits_main.c:2449: invalid operands to binary !=
ebits_main.c:2453: invalid type argument of `->'
ebits_main.c:2454: incompatible type for argument 1 of
`evas_list_append' ebits_main.c:2454: incompatible types in assignment
ebits_main.c: In function `ebits_get_state_names':
ebits_main.c:2464: incompatible types in return
make[2]: *** [ebits_main.lo] Error 1
make[2]: Leaving directory `/tmp/e17/ebits/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/e17/ebits'
make: *** [all] Error 2

the test of evas runs without problems, if useful I could paste options
and flags used to build evas.

Thanks :)

-- 
  Massimo Maiurana   mailto:[EMAIL PROTECTED]
  Linux RU #245612  RM #127258  keyID #7044D601
"Un uomo solo, in questo mondo, non e' niente...
   ...e non ci sono altri mondi oltre questo"
  -The thin red line-



msg00046/pgp0.pgp
Description: PGP signature


Re: [E-devel] [enlightenment - General] co -r SPLIT e17/libs/ebits

2003-01-12 Thread bmattern

Are you using evas from HEAD? The evas dir in split is very old, and
everything else in SPLIT has been ported over to the new evas API. Follow the
build notes on the e website for the proper versions to use, and the order to
build them in. (http://enlightenment.org/pages/cvsnotes.html)
--
brian

* Massimo Maiurana <[EMAIL PROTECTED]> [2003-01-12 12:31:32 +0100]:

> Il giorno Mon, 06 Jan 2003 08:21:30 -0800 SourceForge.net scrisse:
> 
> > 
> > Read and respond to this message at: 
> > https://sourceforge.net/forum/message.php?msg_id=1820198
> > By: kishiro_otaku
> > 
> > I know I'm sinning by posting a compile concern here, but ebits for
> > e17 from the split branch (as of 1.6.03) is having big problems, I
> > thought perhaps someone would know where to get a compilable version
> > or even more likely what I'm doing wrong:
> > 
> > ebits_main.c: in almost every function in the file, requests for
> > members next, data is unrecognized.
> > 
> > Am I compiling in the wrong order, not getting Evas_List.h or
> > something?
> 
> oh, then maybe it's not me!
> I'm having problems building ebits too, here are some lines from make's
> output:
> 
> make  all-recursive
> make[1]: Entering directory `/tmp/e17/ebits'
> Making all in src
> make[2]: Entering directory `/tmp/e17/ebits/src'
> source='ebits_main.c' object='ebits_main.lo' libtool=yes \
> depfile='.deps/ebits_main.Plo' tmpdepfile='.deps/ebits_main.TPlo' \
> depmode=gcc /bin/sh ../depcomp \
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
> -I/usr/local/include -I/usr/local/include -I/usr/local/include -I..
> -I/usr/local/include -DLIBDIR=\"/usr/local/lib\"
> -DBINDIR=\"/usr/local/bin\" -DDATADIR=\"/usr/local/share\"-g -O2 -c
> -o ebits_main.lo `test -f ebits_main.c || echo './'`ebits_main.c rm -f
> .libs/ebits_main.lo gcc -DHAVE_CONFIG_H -I. -I. -I..
> -I/usr/local/include -I/usr/local/include -I/usr/local/include -I..
> -I/usr/local/include -DLIBDIR=\"/usr/local/lib\"
> -DBINDIR=\"/usr/local/bin\" -DDATADIR=\"/usr/local/share\" -g -O2 -c
> ebits_main.c -Wp,-MD,.deps/ebits_main.TPlo  -fPIC -DPIC -o
> .libs/ebits_main.lo In file included from ebits_main.c:3:
> Ebits_private.h:145: variable or field `clip' declared void
> Ebits_private.h:146: variable or field `evas' declared void
> Ebits_private.h:161: variable or field `object' declared void
> ebits_main.c:14: invalid initializer
> ebits_main.c: In function `ebits_get_bit_name':
> ebits_main.c:46: invalid type argument of `->'
> ebits_main.c:46: invalid operands to binary !=
> ebits_main.c:50: invalid type argument of `->'
> ebits_main.c: In function `_ebits_get_bit_class':
> ebits_main.c:65: invalid type argument of `->'
> ebits_main.c:65: invalid operands to binary !=
> ebits_main.c:69: invalid type argument of `->'
> [and so on, until..]
> ebits_main.c:2447: incompatible types in assignment
> ebits_main.c:2449: invalid type argument of `->'
> ebits_main.c:2449: invalid operands to binary !=
> ebits_main.c:2453: invalid type argument of `->'
> ebits_main.c:2454: incompatible type for argument 1 of
> `evas_list_append' ebits_main.c:2454: incompatible types in assignment
> ebits_main.c: In function `ebits_get_state_names':
> ebits_main.c:2464: incompatible types in return
> make[2]: *** [ebits_main.lo] Error 1
> make[2]: Leaving directory `/tmp/e17/ebits/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/e17/ebits'
> make: *** [all] Error 2
> 
> the test of evas runs without problems, if useful I could paste options
> and flags used to build evas.
> 
> Thanks :)
> 
> -- 
>   Massimo Maiurana   mailto:[EMAIL PROTECTED]
>   Linux RU #245612  RM #127258  keyID #7044D601
> "Un uomo solo, in questo mondo, non e' niente...
>...e non ci sono altri mondi oltre questo"
>   -The thin red line-




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



Re: [E-devel] [enlightenment - General] co -r SPLIT e17/libs/ebits

2003-01-12 Thread Alan Schmitt
* [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
> 
> Are you using evas from HEAD? The evas dir in split is very old, and
> everything else in SPLIT has been ported over to the new evas API. Follow the
> build notes on the e website for the proper versions to use, and the order to
> build them in. (http://enlightenment.org/pages/cvsnotes.html)
> --
> brian

Could someone who has cvs access nuke the old unused dirs, as was done
for (ebits ? I don't remember), just leaving  a readme telling where to
fetch the current code.

And was is there remaining in SPLIT that could not be put back in HEAD ?

Alan

-- 
The hacker: someone who figured things out and made something cool happen.


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



[E-devel] Imlib2 README lists edb as a dependancy

2003-01-12 Thread Tom von Schwerdtner
This is in both my installed versin  (1.0.6 IIRC) and a CVS co from last
night.

This is wrong, right?

-T


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



E CVS: giblib gilbertt

2003-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : gilbertt
Project : misc
Module  : giblib

Dir : misc/giblib/giblib


Modified Files:
gib_queue.h 


Log Message:
Small C++ fix from Jonas Jensen <[EMAIL PROTECTED]>


===
RCS file: /cvsroot/enlightenment/misc/giblib/giblib/gib_queue.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- gib_queue.h 20 Dec 2000 19:49:56 -  1.2
+++ gib_queue.h 12 Jan 2003 22:31:54 -  1.3
@@ -54,7 +54,6 @@
 void  *gib_queue_peek(gib_queue *queue);
 
 #ifdef __cplusplus
-extern "C"
 }
 #endif
 




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs



Re: [E-devel] Imlib2 README lists edb as a dependancy

2003-01-12 Thread Kevin Brosius
Tom von Schwerdtner wrote:
> 
> 
> This is in both my installed versin  (1.0.6 IIRC) and a CVS co from last
> night.
> 
> This is wrong, right?

Not really.  The imlib2_loaders package has a db loader.  I suppose if
you aren't installing both for some reason, then the dep is only on
imlib2_loaders.

-- 
Kevin


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



E CVS: libs/ecore raster

2003-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir : e17/libs/ecore/src


Modified Files:
  Tag: SPLIT
Ecore.h Makefile.am ecore_app.c ecore_exe.c ecore_main.c 
ecore_private.h ecore_time.c 
Added Files:
  Tag: SPLIT
ecore.c ecore_events.c ecore_idle_enterer.c ecore_idler.c 
ecore_timer.c 
Removed Files:
  Tag: SPLIT
ecore_display.c 


Log Message:


working on ecore... a remake... not even sure if ti compiles but its a
design reference. i'm beraking out the x specifics into a generic fd
handler... going to make the display system thing modular... i have plans...
cunning plans... :)

===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/Ecore.h,v
retrieving revision 1.45.2.2
retrieving revision 1.45.2.3
diff -u -3 -r1.45.2.2 -r1.45.2.3
--- Ecore.h 11 Nov 2002 04:30:44 -  1.45.2.2
+++ Ecore.h 13 Jan 2003 00:25:19 -  1.45.2.3
@@ -1,34 +1,71 @@
 #ifndef _ECORE_H
 #define _ECORE_H
 
-#include 
-#include 
-#include 
 #include 
 #include 
-#include 
-#define XK_MISCELLANY 1
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
+#include 
+#include 
 
 #ifdef __cplusplus
 extern  "C"
 {
 #endif
 
+   typedef enum _Ecore_Fd_Handler_Flags
+ {
+   ECORE_FD_READ = 1,
+   ECORE_FD_WRITE = 2
+ } Ecore_Fd_Handler_Flags;
+   
 #ifndef _ECORE_PRIVATE_H   
typedef void Ecore_Exe;
+   typedef void Ecore_Timer;
+   typedef void Ecore_Idler;
+   typedef void Ecore_Idle_Enterer;
+   typedef void Ecore_Fd_Handler;
+   typedef void Ecore_Event_Handler;
+   typedef void Ecore_Event;
 #else
+
+   int  ecore_init(void);
+   void ecore_shutdown(void);
+   
+   void ecore_app_args_set(int argc, char **argv);
+   void ecore_app_args_get(int *argc, char ***argv);
+   void ecore_app_restart(void);

+   Ecore_Event_Handler *ecore_event_handler_add(int type, void (*func) (int type, 
+void *event, void *data), void *data);
+   void*ecore_event_handler_add(Ecore_Event_Handler *event_handler)
+
+   Ecore_Exe *ecore_exe_run(char *exe_cmd, void *data);
+   pid_t  ecore_exe_pid_get(Ecore_Exe *exe);
+   void  *ecore_exe_data_get(Ecore_Exe *exe);
+   
+   Ecore_Idler *ecore_idler_add(int (*func) (void *data), const void *data);
+   void*ecore_idler_del(Ecore_Idler *idler);
+   
+   Ecore_Idle_Enterer *ecore_idle_enterer_add(int (*func) (void *data), const void 
+*data);
+   void   *ecore_idle_enterer_del(Ecore_Idle_Enterer *idle_enterer);
+   
+   void  ecore_main_loop_begin(void);
+   void  ecore_main_loop_quit(void);
+   Ecore_Fd_Handler *ecore_main_fd_handler_add(int fd, Ecore_Fd_Handler_Flags flags, 
+int (*func) (Ecore_Fd_Handler *fd_handler, void *data), void *data);
+   void  ecore_main_fd_handler_del(Ecore_Fd_Handler *fd_handler);
+   int   ecore_main_fd_handler_fd_get(Ecore_Fd_Handler *fd_handler);
+   int   ecore_main_fd_handler_active_get(Ecore_Fd_Handler *fd_handler, 
+Ecore_Fd_Handler_Flags flags);
+   
+   double ecore_time_get(void);
+   
+   Ecore_Timer *ecore_timer_add(double in, int (*func) (void *data), const void 
+*data);
+   void*ecore_timer_del(Ecore_Timer *timer);
+   
 #ifdef __cplusplus
 }
 #endif
 #endif
+
+
+
 
 
 
===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/Makefile.am,v
retrieving revision 1.7.2.2
retrieving revision 1.7.2.3
diff -u -3 -r1.7.2.2 -r1.7.2.3
--- Makefile.am 11 Nov 2002 04:30:44 -  1.7.2.2
+++ Makefile.am 13 Jan 2003 00:25:19 -  1.7.2.3
@@ -9,10 +9,12 @@
 libecore_la_SOURCES = \
ecore.c \
ecore_app.c \
-   ecore_display.c \
ecore_exe.c \
+   ecore_idle_enterer.c \
+   ecore_idler.c \
ecore_main.c \
ecore_time.c \
+   ecore_timer.c \
ecore_private.h
 
 libecore_la_LIBADD = @x_ldflags@ @x_libs@ -lm
===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/Attic/ecore_app.c,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -3 -r1.1.2.1 -r1.1.2.2
--- ecore_app.c 11 Nov 2002 04:30:44 -  1.1.2.1
+++ ecore_app.c 13 Jan 2003 00:25:19 -  1.1.2.2
@@ -3,7 +3,6 @@
 
 /**
  * Set up the programs command-line arguments
- * 
  * @param argc The same as passed as argc to the programs main() function
  * @param argv The same as passed as argv to the programs main() function
  * 
@@ -17,7 +16,6 @@
 
 /**
  * Return the programs stored command-line arguments
- * 
  * @param argc A pointer to the return value to hold argc
  * @param argv A pointer to the return value to hold argv
  * 
===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/Attic/e

E CVS: libs/ecore raster

2003-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir : e17/libs/ecore/src


Modified Files:
  Tag: SPLIT
Ecore.h ecore_exe.c 


Log Message:


more exe control

===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/Ecore.h,v
retrieving revision 1.45.2.3
retrieving revision 1.45.2.4
diff -u -3 -r1.45.2.3 -r1.45.2.4
--- Ecore.h 13 Jan 2003 00:25:19 -  1.45.2.3
+++ Ecore.h 13 Jan 2003 00:34:59 -  1.45.2.4
@@ -40,6 +40,12 @@
Ecore_Exe *ecore_exe_run(char *exe_cmd, void *data);
pid_t  ecore_exe_pid_get(Ecore_Exe *exe);
void  *ecore_exe_data_get(Ecore_Exe *exe);
+   void   ecore_exe_pause(Ecore_Exe *exe);
+   void   ecore_exe_continue(Ecore_Exe *exe);
+   void   ecore_exe_terminate(Ecore_Exe *exe);
+   void   ecore_exe_kill(Ecore_Exe *exe);
+   void   ecore_exe_signal(Ecore_Exe *exe, int num);
+   void   ecore_exe_hup(Ecore_Exe *exe);

Ecore_Idler *ecore_idler_add(int (*func) (void *data), const void *data);
void*ecore_idler_del(Ecore_Idler *idler);
===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/Attic/ecore_exe.c,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -3 -r1.1.2.2 -r1.1.2.3
--- ecore_exe.c 13 Jan 2003 00:25:19 -  1.1.2.2
+++ ecore_exe.c 13 Jan 2003 00:34:59 -  1.1.2.3
@@ -1,6 +1,9 @@
 #include "ecore_private.h"
 #include "Ecore.h"
 
+#include 
+#include 
+
 /**
  * Spawn off a child process and return a handle to that process
  * @param exe_cmd The command-line to run as if typed in a shell
@@ -44,4 +47,80 @@
 void *
 ecore_exe_data_get(Ecore_Exe *exe)
 {
+}
+
+/**
+ * Control an executed child
+ * @param exe The process handleto control
+ * 
+ * This function controls an executed process
+ */
+void
+ecore_exe_pause(Ecore_Exe *exe)
+{
+   kill(exe->pid, SIGSTOP);
+}
+
+/**
+ * Control an executed child
+ * @param exe The process handleto control
+ * 
+ * This function controls an executed process
+ */
+void
+ecore_exe_continue(Ecore_Exe *exe)
+{
+   kill(exe->pid, SIGCONT);
+}
+
+/**
+ * Control an executed child
+ * @param exe The process handleto control
+ * 
+ * This function controls an executed process
+ */
+void
+ecore_exe_terminate(Ecore_Exe *exe)
+{
+   kill(exe->pid, SIGQUIT);
+}
+
+
+/**
+ * Control an executed child
+ * @param exe The process handleto control
+ * 
+ * This function controls an executed process
+ */
+void
+ecore_exe_kill(Ecore_Exe *exe)
+{
+   kill(exe->pid, SIGKILL);
+}
+
+/**
+ * Control an executed child
+ * @param exe The process handleto control
+ * 
+ * This function controls an executed process
+ */
+void
+ecore_exe_signal(Ecore_Exe *exe, int num)
+{
+   if (num == 1)
+ kill(exe->pid, SIGUSR1);
+   else if (num == 2)
+ kill(exe->pid, SIGUSR2);
+}
+
+/**
+ * Control an executed child
+ * @param exe The process handleto control
+ * 
+ * This function controls an executed process
+ */
+void
+ecore_exe_hup(Ecore_Exe *exe)
+{
+   kill(exe->pid, SIGHUP);
 }




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs



E CVS: libs/eet raster

2003-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/eet

Dir : e17/libs/eet/src/lib


Modified Files:
eet_lib.c 


Log Message:


ok.. if silyl people list entries on eets they opened for write and havent
added any entires

===
RCS file: /cvsroot/enlightenment/e17/libs/eet/src/lib/eet_lib.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- eet_lib.c   15 Dec 2002 01:32:13 -  1.3
+++ eet_lib.c   13 Jan 2003 04:31:00 -  1.4
@@ -212,6 +212,8 @@
/* check to see its' an eet file pointer */   
if ((!ef) || (ef->magic != EET_MAGIC_FILE))
  return;
+   if (!ef->header) return;
+   if (!ef->header->directory) return;
if (ef->mode != EET_FILE_MODE_WRITE) return;
if (!ef->writes_pending) return;
 
@@ -637,6 +639,10 @@
  }
/* get hash bucket this should be in */
hash = eet_hash_gen(name, ef->header->directory->size);
+   /* no header, return NULL */
+   if (!ef->header) return NULL;
+   /* no directory, return NULL */
+   if (!ef->header->directory) return NULL;
/* hunt hash bucket */
num = ef->header->directory->hash[hash].size;
for (i = 0; i < num; i++)
@@ -857,7 +863,8 @@
int i, j, num;
 
/* check to see its' an eet file pointer */   
-   if ((!ef) || (ef->magic != EET_MAGIC_FILE) || (!glob))
+   if ((!ef) || (ef->magic != EET_MAGIC_FILE) || (!glob) ||
+   (!ef->header) || (!ef->header->directory))
  {
if (count_ret) *count_ret = 0;
return NULL;




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs



E CVS: libs/eet raster

2003-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/eet

Dir : e17/libs/eet/src/lib


Modified Files:
eet_lib.c 


Log Message:


and chekc soem string pointers

===
RCS file: /cvsroot/enlightenment/e17/libs/eet/src/lib/eet_lib.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- eet_lib.c   13 Jan 2003 04:31:00 -  1.4
+++ eet_lib.c   13 Jan 2003 06:22:02 -  1.5
@@ -309,7 +309,8 @@
 {
Eet_File *ef;
char buf[PATH_MAX];
-   
+
+   if (!file) return NULL;
/* in case this is a symlink... find out where it REALLY points */
if (!realpath(file, buf)) 
  {
@@ -632,7 +633,7 @@
int   hash, i, num;
 
/* check to see its' an eet file pointer */
-   if ((!ef) || (ef->magic != EET_MAGIC_FILE))
+   if ((!ef) || (ef->magic != EET_MAGIC_FILE) || (!name))
  {
if (size_ret) *size_ret = 0;
return NULL;




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs



E CVS: libs/eet raster

2003-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/eet

Dir : e17/libs/eet/src/lib


Modified Files:
eet_data.c 


Log Message:


NULL names for edd's are not valid... BARF

===
RCS file: /cvsroot/enlightenment/e17/libs/eet/src/lib/eet_data.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- eet_data.c  20 Dec 2002 22:00:44 -  1.3
+++ eet_data.c  13 Jan 2003 06:40:49 -  1.4
@@ -1420,7 +1420,8 @@
void *(*func_hash_add) (void *h, const char *k, void *d))
 {
Eet_Data_Descriptor *edd;
-   
+
+   if (!name) return NULL;
edd = calloc(1, sizeof(Eet_Data_Descriptor));
edd->name = strdup(name);
edd->size = size;




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs



E CVS: libs/evas raster

2003-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/engines/common


Modified Files:
evas_image_load.c 


Log Message:


dont need fmemopen suppor tin evas now... just sue eet directly and dont
duplicate code...

===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_image_load.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- evas_image_load.c   10 Jan 2003 02:05:37 -  1.3
+++ evas_image_load.c   13 Jan 2003 07:38:08 -  1.4
@@ -553,115 +553,28 @@
 }
 #endif
 
-/* NB: look into:
- * fmemopen();
- * open_memstream();
- */
-
 #ifdef BUILD_LOADER_EET
 static int load_image_file_head_eet(RGBA_Image *im, const char *file, const char 
*key);
 static int
 load_image_file_head_eet(RGBA_Image *im, const char *file, const char *key)
 {
-   int  w, h, alpha, compression, size;
+   int  w, h, alpha, compression, size, quality, lossy;
Eet_File*ef;
-   DATA32  *ret;
DATA32  *body;
-   DATA32   header[8];

if ((!file) || (!key)) return -1;
ef = eet_open((char *)file, EET_FILE_MODE_READ);
if (!ef) return -1;
-   ret = eet_read(ef, (char *)key, &size);
-   if (!ret)
- {
-   eet_close(ef);
-   return -1;
- }
-   if (size < 32)
+   body = eet_data_image_read(ef, (char *)key, 
+ &w, &h, &alpha, &compression, &quality, &lossy);
+   if (!body)
  {
-   free(ret);
eet_close(ef);
return -1;
  }
-   memcpy(header, ret, 32);
-#ifdef WORDS_BIGENDIAN
- {
-   int i;
-   
-   for (i = 0; i < 8; i++) SWAP32(header[i]);
- }
-#endif
-   if (header[0] != 0xac1dfeed)
- {
-   int val = -1;
-   
-#ifdef BUILD_LOADER_JPEG
-#ifdef BUILD_FMEMOPEN
-   /* if we built the jpeg loader in.. try load an inlined jpeg */
-   if (header[0] == 0xbeeff00d)
- /* magic number for 2 jpegs. 1 color, 1 gray. gray is alpha */
- {
-FILE *f;
-int sz1, sz2;
-
-/* next int is byte size of first jpg */
-/* then next int is byte size of 2nd jpeg */
-/* all bytes after the first 12 are jpeg data */
-sz1 = header[1];
-sz2 = header[2];
-
-if ((sz1 <= 0) || (sz2 <= 0) ||
-((sz1 + sz2 + 12) > size))
-  {
- free(ret);
- eet_close(ef);
- return -1;
-  }
-f = fmemopen(((DATA8 *)ret) + 12, (size_t)sz1, "r");
-if (!f)
-  {
- free(ret);
- eet_close(ef);
- return -1;
-  }
-val = load_image_file_head_jpeg_internal(im, f);
-fclose(f);
-im->flags |= RGBA_IMAGE_HAS_ALPHA;
- }
-   else
- {
-FILE *f;
-
-f = fmemopen(ret, (size_t)size, "r");
-if (!f)
-  {
- free(ret);
- eet_close(ef);
- return -1;
-  }
-val = load_image_file_head_jpeg_internal(im, f);
-fclose(f);
- }
-#endif
-#endif
-   free(ret);
-   eet_close(ef);
-   return val;
- }
-   w = header[1];
-   h = header[2];
-   alpha = header[3];
-   compression = header[4];
if ((w > 8192) || (h > 8192))
  {
-   free(ret);
-   eet_close(ef);
-   return -1;
- }
-   if ((compression == 0) && (size < ((w * h * 4) + 32)))
- {
-   free(ret);
+   free(body);
eet_close(ef);
return -1;
  }
@@ -670,13 +583,14 @@
  im->image = evas_common_image_surface_new();
if (!im->image)
  {
-   free(ret);
+   free(body);
eet_close(ef);
return -1;
  }
im->image->w = w;
im->image->h = h;
-   free(ret);
+   im->image->data = body;
+   im->image->no_free = 0;
eet_close(ef);
return 1;
 }
@@ -685,166 +599,6 @@
 static int
 load_image_file_data_eet(RGBA_Image *im, const char *file, const char *key)
 {
-   int  w, h, alpha, compression, size;
-   Eet_File*ef;
-   DATA32  *ret;
-   DATA32  *body;
-   DATA32   header[8];
-   
-   if ((!file) || (!key)) return -1;
-   ef = eet_open((char *)file, EET_FILE_MODE_READ);
-   if (!ef) return -1;
-   ret = eet_read(ef, (char *)key, &size);
-   if (!ret)
- {
-   eet_close(ef);
-   return -1;
- }
-   if (size < 32)
- {
-   free(ret);
-   eet_close(ef);
-   return -1;
- }
-   memcpy(header, ret, 32);
-#ifdef WORDS_BIGENDIAN
- {
-   int i;
-   
-   for (i = 0; i < 8; i++) SWAP32(header[i]);
- }
-#endif
-   if (header[0] != 0xac1dfeed)
- {
-   int val = -1;
-  

E CVS: libs/evas raster

2003-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir : e17/libs/evas


Modified Files:
README acconfig.h configure.in evas.c.in 


Log Message:


dont need fmemopen suppor tin evas now... just sue eet directly and dont
duplicate code...

===
RCS file: /cvsroot/enlightenment/e17/libs/evas/README,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- README  9 Jan 2003 07:41:21 -   1.26
+++ README  13 Jan 2003 07:38:08 -  1.27
@@ -101,7 +101,6 @@
 --enable-image-loader-jpeg \
 --enable-image-loader-eet \
 --enable-image-loader-edb \
---enable-fmemopen \
 --enable-cpu-p2-only \
 --enable-cpu-mmx \
 --enable-cpu-sse \
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/acconfig.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- acconfig.h  8 Nov 2002 07:46:04 -   1.5
+++ acconfig.h  13 Jan 2003 07:38:08 -  1.6
@@ -60,4 +60,3 @@
 #undef BUILD_LOADER_JPEG
 #undef BUILD_LOADER_EET
 #undef BUILD_LOADER_EDB
-#undef BUILD_FMEMOPEN
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/configure.in,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -3 -r1.43 -r1.44
--- configure.in30 Dec 2002 00:48:39 -  1.43
+++ configure.in13 Jan 2003 07:38:08 -  1.44
@@ -242,7 +242,7 @@
   AC_MSG_RESULT(yes)
   AC_DEFINE(BUILD_LOADER_EET)
   eet_cflags=`eet-config --cflags`
-  eet_libs=`eet-config --libs`" -lz"
+  eet_libs=`eet-config --libs`
   ], AC_MSG_RESULT(no)
 )
 
@@ -254,17 +254,6 @@
   AC_DEFINE(BUILD_LOADER_EDB)
   edb_cflags=`edb-config --cflags`
   edb_libs=`edb-config --libs`" -lz"
-  ], AC_MSG_RESULT(no)
-)
-
-### fmemopen support
-
-AC_MSG_CHECKING(whether to build memory fopen support)
-
-AC_ARG_ENABLE(fmemopen, 
-  [  --enable-fmemopen   enable C code], [
-  AC_MSG_RESULT(yes)
-  AC_DEFINE(BUILD_FMEMOPEN)
   ], AC_MSG_RESULT(no)
 )
 
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/evas.c.in,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- evas.c.in   7 Jan 2003 23:41:40 -   1.13
+++ evas.c.in   13 Jan 2003 07:38:08 -  1.14
@@ -256,7 +256,6 @@
 --enable-image-loader-jpeg \
 --enable-image-loader-eet \
 --enable-image-loader-edb \
---enable-fmemopen \
 --enable-cpu-p2-only \
 --enable-cpu-mmx \
 --enable-cpu-sse \




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs



E CVS: libs/ecore raster

2003-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir : e17/libs/ecore/src


Modified Files:
  Tag: SPLIT
ecore.c ecore_exe.c ecore_main.c ecore_private.h 


Log Message:


update

===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/Attic/ecore.c,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -3 -r1.1.2.1 -r1.1.2.2
--- ecore.c 13 Jan 2003 00:25:19 -  1.1.2.1
+++ ecore.c 13 Jan 2003 07:40:13 -  1.1.2.2
@@ -14,6 +14,7 @@
 int
 ecore_init(void)
 {
+   _ecore_signal_init();
 }
 
 /**
===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/Attic/ecore_exe.c,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -3 -r1.1.2.3 -r1.1.2.4
--- ecore_exe.c 13 Jan 2003 00:34:59 -  1.1.2.3
+++ ecore_exe.c 13 Jan 2003 07:40:13 -  1.1.2.4
@@ -3,6 +3,7 @@
 
 #include 
 #include 
+#include 
 
 /**
  * Spawn off a child process and return a handle to that process
@@ -22,6 +23,26 @@
 Ecore_Exe *
 ecore_exe_run(char *exe_cmd, void *data)
 {
+   Ecore_Exe *exe;
+   pid_t pid;
+   
+   pid = fork();   
+   if (pid)
+ {
+   exe = calloc(1, sizeof(Ecore_Exe));
+   if (!exe)
+ {
+kill(pid, SIGKILL);
+return NULL;
+ }
+   exe->pid = pid;
+   exe->data = data;
+   return exe;
+ }
+   setsid();
+   execl("/bin/sh", "/bin/sh", "-c", exe_cmd, NULL);
+   exit(0);
+   return NULL;
 }
 
 /**
@@ -34,6 +55,7 @@
 pid_t
 ecore_exe_pid_get(Ecore_Exe *exe)
 {
+   return exe->pid;
 }
 
 /**
@@ -47,6 +69,7 @@
 void *
 ecore_exe_data_get(Ecore_Exe *exe)
 {
+   return exe->data;
 }
 
 /**
@@ -82,9 +105,8 @@
 void
 ecore_exe_terminate(Ecore_Exe *exe)
 {
-   kill(exe->pid, SIGQUIT);
+   kill(exe->pid, SIGTERM);
 }
-
 
 /**
  * Control an executed child
===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/Attic/ecore_main.c,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -3 -r1.1.2.2 -r1.1.2.3
--- ecore_main.c13 Jan 2003 00:25:19 -  1.1.2.2
+++ ecore_main.c13 Jan 2003 07:40:13 -  1.1.2.3
@@ -114,9 +114,7 @@
/* process signals into events  */
if (have_signal)
  {
-/* FIXME: implement signal -> event converters here */
-/* FIXME: need ecore_signal.c for setup of signal handlers */
-/* and signal counters, wait() loop etc. */
+while (_ecore_signal_count_get()) _ecore_signal_call();
  }

/* filter events to remove useless ones etc. ... */
@@ -260,6 +258,7 @@
 if (fd_handlers[i].fd > max_fd) max_fd = fd_handlers[i].fd;
  }
  }
+   if (_ecore_signal_count_get()) return -1;
ret = select(max_fd + 1, &rfds, &wfds, NULL, t);
if (ret < 0)
  {
===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/Attic/ecore_private.h,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -3 -r1.1.2.2 -r1.1.2.3
--- ecore_private.h 13 Jan 2003 00:25:19 -  1.1.2.2
+++ ecore_private.h 13 Jan 2003 07:40:13 -  1.1.2.3
@@ -91,4 +91,9 @@
 int   _ecore_event_count_get(void);
 Ecore_Event  *_ecore_event_get(int num);
 void  _ecore_event_call(void);
+
+void  _ecore_signal_init(void);
+int   _ecore_signal_count_get(void);
+void  _ecore_signal_call(void);
+
 #endif




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs