[E-devel] test

2004-01-30 Thread Didier Casse
test plz ignore... I've no clue why it takes so long for my mail to appear
on the list!

With kind regards,

Didier.

---
PhD student.

Singapore Synchrotron Light Source (SSLS)
5 Research Link,
Singapore 117603

Email: slsbdfc at nus dot edu dot sg /
didierbe at sps dot nus dot edu dot sg






---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [patch] Ecore_Config

2004-01-30 Thread dan sinclair
Hello,

I managed to track down my ecore config problem (I was missing the
config.db file).

The attached patch adds some extra error checking to keep the system
from segfaulting.

(I created the patch with cvs diff -u if that isn't right please let me
know the correct way)

Thanks
dan

Index: ecore_config.c
===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_config/ecore_config.c,v
retrieving revision 1.9
diff -u -r1.9 ecore_config.c
--- ecore_config.c	26 Jan 2004 15:27:11 -	1.9
+++ ecore_config.c	30 Jan 2004 02:30:36 -
@@ -594,14 +594,20 @@
   
   __app_name = strdup(name);
   __server_local = ecore_config_init_local(name);
+  if (!__server_local) 
+return ECORE_CONFIG_ERR_FAIL;
+
   __server_global = ecore_config_init_global(ECORE_CONFIG_GLOBAL_ID);
-  
+  if (!__server_global)
+return ECORE_CONFIG_ERR_FAIL;
+
   __bundle_local = ecore_config_bundle_new(__server_local, "config");
 
   if((p=getenv("HOME"))) {  /* debug-only ### FIXME */
 if ((buf=malloc(PATH_MAX*sizeof(char {
   snprintf(buf,PATH_MAX,"%s/.e/config.db",p);
-  ecore_config_load_file(buf);
+  if (ecore_config_load_file(buf) != 0)
+return ECORE_CONFIG_ERR_NOFILE;
 }
 free(buf);
   }


Re: Re: Re: [E-devel] Entice

2004-01-30 Thread Didier Casse
On 28/01/04, at 23:16 -0600, Corey Donohoe <[EMAIL PROTECTED]> wrote:

> Just to be sure checkout
> http://www.atmos.org/docs/entice/index.html#requirements

Hi Corey,
  This is the one I checked out first. Everything is in my box.


> > ERROR: lt_dlclose (can't close resident module)
> k, I'm not really sure here.  This is coming from the container in
> esmart(container_plugin.c), I think.  I'm not sure of the difference
> between lt_dlclose and dlclose.  try running esmart_test on some images

> $ esmart_test pr0n/*.jpg


Ah! Sometimes it works (rarely) but most of the time it gives:

--
bg_ebg_trans: cannot create transparency pixmap, no valid wallpaper set.
bg_ebg_trans: could not read root-window property _XROOTPMAP_ID...
--



> Basically entice won't work right if your container plugins aren't
> working properly.  So that might be your problem.  You can check to make
> sure that it's not edje itself that's giving you issues.
> 
> $ edje /usr/local/share/entice/themes/default.eet

The Edje test program works fine. It once in a while give a segmentation
fault when I click on the entice thumb, but I guess this is no big deal 


> 
> Click on the entice group, you should have buttons and stuff.  If that's
> working, esmart's container is the issue, and we have a new problem to
> address. :)
> 

esmart doesn't seem to be so smart in this case! The esmart test wasn't so
successful. What's the next step?


With kind regards,

Didier.

---
PhD student.

Singapore Synchrotron Light Source (SSLS)
5 Research Link,
Singapore 117603

Email: slsbdfc at nus dot edu dot sg /
didierbe at sps dot nus dot edu dot sg






---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Ecore_Config question

2004-01-30 Thread dan sinclair
Hello,

I've been playing with some of the EFL tools and have been trying to get
Ecore_Config to work, but I always seem to get a segfault.

All I have as a test is:
#include 
 
int main(int argc, char ** argv) {
ecore_config_init("test");
return 1;
}

(I had to create an empty config.h to complie in the same directory)

and compiled with:
gcc -o test `ecore-config --cflags --libs` -I. test.c


and gdb says:
Starting program: /home/zero/dev/epod/test/test
[New Thread 16384 (LWP 18921)]
 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 18921)]
ecore_config_bundle_new (srv=0x0, identifier=0x1 )
at ecore_config.c:543
543 t->owner=srv->name;
(gdb) bt
#0  ecore_config_bundle_new (srv=0x0, identifier=0x1 )
at ecore_config.c:543
#1  0x4005ec21 in ecore_config_init (name=0x0) at ecore_config.c:594
#2  0x080485e4 in main ()
#3  0x400f77a7 in __libc_start_main () from /lib/libc.so.6
(gdb)


Is there something I'm doing wrong with this?

Thanks,
dan





---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: Re: Re: Re: [E-devel] Entice

2004-01-30 Thread Corey Donohoe
* Didier Casse ([EMAIL PROTECTED]) wrote:
> 
> Hi Corey,
>   This is the one I checked out first. Everything is in my box.
yay ! cool.
> 
> > > ERROR: lt_dlclose (can't close resident module)
> > k, I'm not really sure here.  This is coming from the container in
> > esmart(container_plugin.c), I think.  I'm not sure of the difference
> > between lt_dlclose and dlclose.  try running esmart_test on some images
> 
> > $ esmart_test pr0n/*.jpg
> 
> Ah! Sometimes it works (rarely) but most of the time it gives:
> 
> --
> bg_ebg_trans: cannot create transparency pixmap, no valid wallpaper set.
> bg_ebg_trans: could not read root-window property _XROOTPMAP_ID...
> --
> 
Erm...  The trans stuff shouldn't be keeping the container from working.
But since the trans stuff is the background for the container you'll
prolly get garbled data all over the canvas.  What wm are you running?

> 
> > Basically entice won't work right if your container plugins aren't
> > working properly.  So that might be your problem.  You can check to make
> > sure that it's not edje itself that's giving you issues.
> > 
> > $ edje /usr/local/share/entice/themes/default.eet
> 
> The Edje test program works fine. It once in a while give a segmentation
> fault when I click on the entice thumb, but I guess this is no big deal 
edje shouldn't segv viewing the theme edje.  the signals are just saying
"do this" and "do that" but the edje viewer won't really act on those
signals, they're hooked in externally by your app.
> 
> > Click on the entice group, you should have buttons and stuff.  If that's
> > working, esmart's container is the issue, and we have a new problem to
> > address. :)
> > 
> esmart doesn't seem to be so smart in this case! The esmart test wasn't so
> successful. What's the next step?
Oh esmart is still smart !  Just being stubborn. :)
* What version of libtool are you using? 
* Does commenting out the e_container_layout_plugin_set(e->container,
"entice"); call in src/bin/entice.c about line 125 help? You'll have to
recompile but you should be able to test from the src dir
./entice /path/to/some/image.png

It might be easiest to drop by #edevelop on irc.freenode.net if you'd be
interested in debugging this in realtime. :)

I'm glad it's not entice, but I'm not sure what the container plugin's
deal is on your system.

__
Corey Donohoe
atmos.org


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: Re: Re: Re: Re: [E-devel] Entice (problem solved!)

2004-01-30 Thread Corey Donohoe
* Didier Casse ([EMAIL PROTECTED]) wrote:
> 
> It helped more than I had imagined. Now it works fine! Really cool!
> 
> But with the default.eet I don't see much buttons around (no buttons I
> would say!), so I replaced it with the winter.eet by rephorm and now it
> looks similar to this
> 
> http://rephorm.com/rephorm/design/winter/entice.png
Maybe your edje_cc isn't generating the theme properly.  You can grab a
copy of it at http://www.atmos.org/files/entice.eet 
> 
> and I could load a directory of 100+ photos. :-p
> 
> > I'm glad it's not entice, but I'm not sure what the container plugin's
> > deal is on your system.
> 
> It looks like it!
> 
> PS: How come my emails don't get to the E-devel list??!??!? And yours get
> in faster than mine although I sent first to the list!
SF mailing lists seem lagged, we just happened to get each others
emails before sf got around to letting everyone else get them. :)

__
Corey Donohoe
atmos.org


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: Re: Re: [E-devel] Entice

2004-01-30 Thread Corey Donohoe
* Didier Casse ([EMAIL PROTECTED]) wrote:
> 
> I think that I've the same problem! Take a look at my attachment!
> All my imlib2 loaders are here!
Just to be sure checkout
http://www.atmos.org/docs/entice/index.html#requirements
You can skip the imlib2 stuff there, what you already have should
suffice.

> 
> rpm -qa | grep imlib gives:
> 
> -
> imlib-devel-1.9.13-12
> imlib2-loader_jpeg-1.1.0-1
> imlib2-devel-1.1.0-1
> imlib2-1.1.0-1
> imlib2-loader_tga-1.1.0-1
> imlib2-loader_gif-1.1.0-1
> imlib2-loader_pnm-1.1.0-1
> imlib2-loader_bmp-1.1.0-1
> imlib2-loader_png-1.1.0-1
> imlib2-loader_argb-1.1.0-1
> imlib2-loader_xpm-1.1.0-1
> imlib-1.9.13-12
> imlib2-loader_gzbz2-1.1.0-1
> ---
This is good, entice is going to take advantage of all of these loaders,
it'll support more formats than evas will alone :)
> 
> and btw as you would also notice I've that error too:
> 
> ERROR: lt_dlclose (can't close resident module)
k, I'm not really sure here.  This is coming from the container in
esmart(container_plugin.c), I think.  I'm not sure of the difference
between lt_dlclose and dlclose.  try running esmart_test on some images
$ esmart_test pr0n/*.jpg

Basically entice won't work right if your container plugins aren't
working properly.  So that might be your problem.  You can check to make
sure that it's not edje itself that's giving you issues.

$ edje /usr/local/share/entice/themes/default.eet

Click on the entice group, you should have buttons and stuff.  If that's
working, esmart's container is the issue, and we have a new problem to
address. :)

> 
> 
> 
> Can anybody help out? I'm using RH9-FC1 (sort of a hybrid system of both!)
I think marmot running something like this, and last i checked entice
was working ok for him.

__
Corey Donohoe
atmos.org


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: Re: Re: Re: Re: [E-devel] Entice (problem solved!)

2004-01-30 Thread Corey Donohoe
* Didier Casse ([EMAIL PROTECTED]) wrote:
> On 29/01/04, at 15:54 +0800, Didier Casse <[EMAIL PROTECTED]> wrote:
> 
> > On 29/01/04, at 01:29 -0600, Corey Donohoe <[EMAIL PROTECTED]> wrote:
> > 
> > > * What version of libtool are you using? 
> > 
> > libtool-1.4.3-5
> > 
> > > * Does commenting out the e_container_layout_plugin_set(e->container,
> > > "entice"); call in src/bin/entice.c about line 125 help? You'll have to
> > > recompile but you should be able to test from the src dir
> > > ./entice /path/to/some/image.png
> > 
> > It helped more than I had imagined. Now it works fine! Really cool!
> > 
Yeah, but for some reason you're stuck with the normal container. I had
this problem on ppc, but it was fixed a few weeks back.
> 
> Let me take what I said back for a second! Now entice can only view images
> not large than 800x600.
odd.
> 
> I had some images with JPEG 2048x1536 DirectClass 8-bit 1308kb 0.0u 0:01
> and it gave me this error message.
> 
>  length smaller than size
>  length smaller than size
>  length smaller than size
>  length smaller than size
>  length smaller than size
> 
> and could not load any
This is related to container scrolling, not to the image displaying.
It's a debugging printf saying "Don't scroll" :)
> 
> Might be the fact that I commented out the line 125!
nup, it's not, well shouldn't be... :)
> 
> For the moment, it's not possible for me to troubleshoot in realtime!
understandable.
__
Corey Donohoe
atmos.org


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] not using anti-aliasing in evas?

2004-01-30 Thread Nemec, Bernhard
Hi,

small text on low-resolution displays is easier to read without font
anti-aliasing.
Is there a way to switch it off in Evas?

Thank you

Bernhard


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: Re: Re: Re: [E-devel] Entice (problem solved!)

2004-01-30 Thread Didier Casse
On 29/01/04, at 01:29 -0600, Corey Donohoe <[EMAIL PROTECTED]> wrote:

> * What version of libtool are you using? 

libtool-1.4.3-5

> * Does commenting out the e_container_layout_plugin_set(e->container,
> "entice"); call in src/bin/entice.c about line 125 help? You'll have to
> recompile but you should be able to test from the src dir
> ./entice /path/to/some/image.png

It helped more than I had imagined. Now it works fine! Really cool!

But with the default.eet I don't see much buttons around (no buttons I
would say!), so I replaced it with the winter.eet by rephorm and now it
looks similar to this

http://rephorm.com/rephorm/design/winter/entice.png

and I could load a directory of 100+ photos. :-p

> 
> It might be easiest to drop by #edevelop on irc.freenode.net if you'd be
> interested in debugging this in realtime. :)
> 

Already debugged thanks to you. I thank you very much for your time Corey. 

> I'm glad it's not entice, but I'm not sure what the container plugin's
> deal is on your system.


It looks like it!

PS: How come my emails don't get to the E-devel list??!??!? And yours get
in faster than mine although I sent first to the list!

Again many thanks.

Cheers,

Didier.

---
PhD student.

Singapore Synchrotron Light Source (SSLS)
5 Research Link,
Singapore 117603

Email: slsbdfc at nus dot edu dot sg /
didierbe at sps dot nus dot edu dot sg




---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: Re: Re: Re: Re: Re: [E-devel] Entice (problem solved!)

2004-01-30 Thread Didier Casse
On 29/01/04, at 03:17 -0600, Corey Donohoe <[EMAIL PROTECTED]> wrote:

> * Didier Casse ([EMAIL PROTECTED]) wrote:
> > On 29/01/04, at 02:40 -0600, Corey Donohoe <[EMAIL PROTECTED]> wrote:
> > 
> > > * Didier Casse ([EMAIL PROTECTED]) wrote:
> > > > 
> > > > It helped more than I had imagined. Now it works fine! Really cool!
> > > > 
> > > > But with the default.eet I don't see much buttons around (no buttons I
> > > > would say!), so I replaced it with the winter.eet by rephorm and now it
> > > > looks similar to this
> > > > 
> > > > http://rephorm.com/rephorm/design/winter/entice.png
> > > Maybe your edje_cc isn't generating the theme properly.  You can grab a
> > > copy of it at http://www.atmos.org/files/entice.eet 
> > 
> > works perfectly now as far as the design is concerned. I can see
> > all the buttons and scroll arrows. Thanks.
> > 
> > Does that mean that there's also a problem with the default.eet in CVS?
> There is no default.eet in CVS. Make builds default.eet for you,which is

I did not realize that the default.eet wasn't present!

> why i thought the problem might be with your edje_cc.  That theme didn't
> solve the problem with your large images not being displayed properly,
> did it? 

No it didn't, it only solved the design problem. I couldn't see any
buttons w/ the original default.eet, but now I can see the logo, grid-like
background and everything else.

> If it didn't, can you paste the output that epsilon gives on the
> file(requires the absolute path).
> 
> $ epsilon /path/to/image.jpg
> 

$ epsilon /home/didier/tmp/Photos/Picture 001.jpg

returns:

---
Thumbnail for /home/didier/tmp/Photos/Picture 001.jpg needs
to be generated: OK
---

With kind regards,

Didier.  

---
PhD student.

Singapore Synchrotron Light Source (SSLS)
5 Research Link,
Singapore 117603

Email: slsbdfc at nus dot edu dot sg /
didierbe at sps dot nus dot edu dot sg
   




---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Enlightenment BugTracker

2004-01-30 Thread Ibukun Olumuyiwa

Andrew Elcock said:
> In "All projects" listing view could it say to which project a bug
> belongs?
>

Yes it does, under the ID column.

> Ibukun Olumuyiwa wrote:
>> Hi,
>>
>> For those who haven't been around #edevelop in the past couple of days,
>> I
>> set up a bug tracker on my webserver on Monday for Enlightenment
>> projects.
>> For now this is still a test run, and suggestions have been made about
>> the
>> feasibility of running it on the SF web server or other options ... for
>> now I don't mind hosting it since I have enough bandwidth. Please log in
>> to the site, register and use it to report bugs and issues with various
>> projects under development. If you are an active developer, after
>> registering please contact me or any of the other site administrators
>> (Raster, Ben, Nathan, Corey or Brian) so that you can be given
>> appropriate
>> privileges. Project administrators should get full admin status, others
>> developer access. So far we have registered 12 projects and 16 bug
>> reports, and it seems to be running quite smoothly. I have also enabled
>> anonymous access so you can browse and view the site contents without
>> having to register first.
>>
>> The address is: http://xcomputerman.com/bugs/
>>
>> If you encounter any issues (especially with passwords) please email me.
>> The one issue with password mailouts appears to have been resolved, but
>> I'd like to know if it pops up again.
>>
>> Cheers,
>
>
> --
> Andrew Elcocktel:  0131 651 1434
> EDINA, Edinburgh University Data Library fax:  0131 650 3308
> Main Library Building, George Square   email: [EMAIL PROTECTED]
> Edinburgh EH8 9LJ, Scotland, UK  www:http://edina.ac.uk/
>
> "I spent four years at uni and all I got was this lousy piece of paper"
> -- Andrew Elcock
>


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



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Enlightenment BugTracker

2004-01-30 Thread Mike Frysinger
On Friday 30 January 2004 09:05, Ibukun Olumuyiwa wrote:
> For those who haven't been around #edevelop in the past couple of days, I
> set up a bug tracker on my webserver on Monday for Enlightenment projects.

my only comment is that i hate that bug tracking software ;)

but thats cool that there is one now ... be better than me sending e-mails to 
the list when people are afk on irc
-mike



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Enlightenment BugTracker

2004-01-30 Thread Ibukun Olumuyiwa
Hi,

For those who haven't been around #edevelop in the past couple of days, I
set up a bug tracker on my webserver on Monday for Enlightenment projects.
For now this is still a test run, and suggestions have been made about the
feasibility of running it on the SF web server or other options ... for
now I don't mind hosting it since I have enough bandwidth. Please log in
to the site, register and use it to report bugs and issues with various
projects under development. If you are an active developer, after
registering please contact me or any of the other site administrators
(Raster, Ben, Nathan, Corey or Brian) so that you can be given appropriate
privileges. Project administrators should get full admin status, others
developer access. So far we have registered 12 projects and 16 bug
reports, and it seems to be running quite smoothly. I have also enabled
anonymous access so you can browse and view the site contents without
having to register first.

The address is: http://xcomputerman.com/bugs/

If you encounter any issues (especially with passwords) please email me.
The one issue with password mailouts appears to have been resolved, but
I'd like to know if it pops up again.

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



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel