RE: [E-devel] current cvs emblem get a buffer overflow in Fedora Core 4

2005-09-14 Thread dan sinclair
 Following up on my last post, emblem still sucks on FC4. It gives a
 buffer overflow and terminates. I attached the required debug files.
 

Please attach a GDB backtrace.

dan






---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Textbox in Ewl

2005-09-10 Thread dan sinclair
On Sat, 2005-09-10 at 10:37 -0500, Brian Mattern wrote:
 ALl of the text stuff in EWL is in a state of flux, as textblock2 
 support is being added. So, I doubt there will be any docs until its 
 finished...
 --
 rephorm
 

I'm hoping that the api for ewl_text and ewl_entry should be pretty
stable. I should be able to do the transition to tb2 without effecting
the API at all (I hope)

dan




---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Ewl_Tree question

2005-09-08 Thread dan sinclair
I'm not sure what MODE_NONE does, but _SINGLE would be for single select
and _MULTI would be for multi select of tree nodes.

dan


On Fri, 2005-09-09 at 00:49 +0100, Paulo Jorge de Oliveira Cantante de
Matos wrote:
 Hi all,
 
 What's the difference between the modes:
 enum Ewl_Tree_Mode
 {
   EWL_TREE_MODE_NONE,
   EWL_TREE_MODE_SINGLE,
   EWL_TREE_MODE_MULTI
 };
 
 Couldn't find explanation in source of in docs.
 
 Cheers,



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Re: E CVS: libs/ecore sebastid

2005-09-06 Thread dan sinclair
 On gcc 4 bool seems compatible with int, so return an int other then 0
 or 1 will convert the return value to 1. So if we just change the return
   value from int to bool, people used to 0/1, TRUE/FALSE can still use it.

Does this also mean we would have a minimum of gcc4 as a compiler? Is that
really a good idea? (or have to do some nasty typedef stuff for bool on
other versions)

dan





---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Using anjuta

2005-08-29 Thread dan sinclair
 Someone is taking this things in the TODO List?.
 I refer to see how to add support to some IDEs?.
 Not all like the jed+multiconsole enviroment to make a app :D
  Greetings.
 QliX=D!

If you want support in Anjuta for EFL development you're free to add it.
We don't use Anjuta for development so don't have any significant reason
to go through the effort of adding it.

I'm not sure which TODO file your referring to here, as this isn't really
relevant for the e17 todo list, unless you mean the Anjuta todo list, but
then you've mailed the wrong list.

dan



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


RE: [E-devel] Hello!

2005-08-22 Thread dan sinclair

 My goals with this calculator is to make it well intergrated with E,
 GTK-apps look so dull compared to E-apps..
 

See equate in the misc directory of CVS.

dan









---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Double Image Append EWL problem

2005-08-18 Thread dan sinclair
On Thu, 2005-08-18 at 01:58 +0100, Paulo Jorge de Oliveira Cantante de
Matos wrote:
 From the simple image viewer I tried to extend it to try to
 show the image twice, one on the left and one on the right
 separated by a ewl_separator but nothing happens. It shows
 exactly the same window as in the initial application. Here's
 the code:
 

It's generally better to make a box and pack that into the window and
then pack your widgets into the box. So, if you create an Ewl_Widget
*hbox; and then pack that into the window, and pack lbox, sep and rbox
in to this hbox it worked for me.

dan





---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


RE: Re: [E-devel] Double Image Append EWL problem

2005-08-18 Thread dan sinclair

 Also, if you only want to show the images, rbox and lbox are useless. If
 you want these boxes, maybe Ewl_Table is better.
 

I don't think the table has had much testing, so your results may vary in it's 
usage. Its probably easier to just pack into an hbox and go from there. (Or 
possibly a tree would work a bit better then a table)

dan







---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


RE: [E-devel] Frontend for enlightenment_remote

2005-08-18 Thread dan sinclair
 Hi,
 I was wondering if there is a frontend for enlightenment_remote using
 ewl lib in developement. I know there is ebindings that use GTK and that
 is supposed to do the same thing, but it doesn't seem to work, and
 doesn't use ewls.
 
 So if there is such a project, I'd like to contribute, else, i'm on the
 way to begin one ;)
 


The first step to this dosen't depend on the final widget library you use. It's 
just adding all of the damn entries to E_Lib. There are a lot more settings 
available in enlightenment_remote then are currently exposed through E_Lib.

So, you kinda have two ways to deal with this. Either a) start the config 
program and add the bindigns as necessary, which maybe the more sane way to do 
it. or b) blast through all of the bindings at once, then figure out the best 
way to do the config editor.

I've thought of this idea a few times, but just the number of bindings needed 
for E_Lib is scary.

I don't think ebindings is for the current e17.

dan








---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Entangle Issue

2005-08-16 Thread dan sinclair
On Mon, 2005-08-15 at 20:14 +, Christopher Michael wrote:
 Hi all,
 
 I found an issue with entangle where if the favorite/.order file was 
 empty but sub directories existed under favorite (ie: favorite/Games) 
 then the menu was not shown in entangle, but was displayed in the E 
 menu. I wrote a patch that checks to see if the .order file is empty and 
 fills it with subdirs if they exist.
 As per dj2, entangle will eventually be replaced with a new tool. 
 This being the case it is my hope that this patch gets accepted into 
 entangle for the time being. Please feel free to rename the function to 
 whatever you see as appropriate.

I don't like this solution. You shouldn't be editing the .order file to
do this. The second issue I have is that I think you can have .eap files
in there too which will get stuck on the end of the menu. So this
wouldn't fix this issue.

This needs to be patched into where entangle builds it's menu and if it
misses something, because it is in the dir but not in the .order then it
needs to be added onto the end.

It'll get written to the .order file if they save, but that's fine as
it's an explicit operation. Otherwise, we're changing stuff even if they
hit cancel.

dan



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


RE: Re: [E-devel] E17 crashes when moving for xinerama to a single screen

2005-08-15 Thread dan sinclair

 fit in the screen, and if they can't, move them to (0,0)? Isn't it 
 rather the work of the wm?
 

If you're app is requesting a specific position i'd say your asking the wm to 
leave your initial position alone. It would have to make the assumption that 
you're doing the right thing, so it should be the apps problem to deal with it. 
If you don't want to deal with it, don't save your position, leave it up to the 
wm to deal with that.

dan






---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Other possible bugs

2005-08-07 Thread dan sinclair
On Sun, 2005-08-07 at 12:15 -0700, Enrique Figueroa wrote:
 Well, here's the result of autogen.sh and make. If you see something
 I'm not seeing let me know. Otherwise, compiling engrave is still a
 mystery for me.

Neither flex nor bison seem to have run. Which is why your getting the
problem. certain versions of automake don't run them for some reason.

dan



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Other possible bugs

2005-08-05 Thread dan sinclair
On Thu, 2005-08-04 at 23:06 -0700, Enrique Figueroa wrote:
 I'm not so sure about this, but here is what I have installed:
 
 Flex 2.5.31-33
 Bison 1:1.875d-1
 Autotools-dev 20050422.1 
 
 Any other ideas?
 

Yea, use automake 1.5 as I said before.

dan



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Other possible bugs

2005-08-05 Thread dan sinclair
On Fri, 2005-08-05 at 10:32 -0700, Enrique Figueroa wrote:
 I think we are running out of ideas because I'm using automake 1.7 as
 decribed in:
 http://enlightenment.org/Enlightenment/Get_Enlightenment/Build_Notes.html
 
 And to make sure, I uninstalled 1.7 and installed 1.5 and tried recompiling 
 engrave and still no success.
 
 I'm mystified about this.

read through the output and see if there were any errors before that.
check to make sure flex/bison actually ran. if they didn't then your
automake is doing something very strange. 



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Other possible bugs

2005-08-04 Thread dan sinclair
 4. I have seen this before and I still yet to find a solution for 
 compiling engrave. Here's the error that I get when compiling it:
 
 /usr/local/lib/libecore_file.so /usr/local/lib/libeet.so -lz 
 /usr/lib/libjpeg.so -lm
 ../../src/lib/.libs/libengrave.so: undefined reference to `engrave_lnum'
 ../../src/lib/.libs/libengrave.so: undefined reference to `engrave_cur_file'
 ../../src/lib/.libs/libengrave.so: undefined reference to `yyin'
 ../../src/lib/.libs/libengrave.so: undefined reference to `yylex'
 ../../src/lib/.libs/libengrave.so: undefined reference to `engrave_col'
 collect2: ld returned 1 exit status
 make[3]: *** [engrave_test] Error 1
 make[3]: Leaving directory `/home/Enrique/e17/libs/engrave/src/bin'
 make[2]: *** [all-recursive] Error 1

You either don't have flex/bison installed, or you're using a version of
autotools that dosen't work right. I know that 1.5 works fine for me. I
don't know about the others.

dan



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E_Lib Desktop Add/Del Background Patch

2005-07-29 Thread dan sinclair
I think they should run fine. There is no specific e_lib handling for
calls into e itself. We just need to put in e_lib stuff when we are
getting data back into e_lib. So, since these just modify e, the calls
should just work, I think.

dan


On Fri, 2005-07-29 at 16:35 -0800, Aaron Luptak wrote:
 Carsten Haitzler (The Rasterman) wrote:
 
 this is all fine and great.. but have you tested your code? you know it won't
 
 work. there is no e_lib remote handling in e_ipc_handlers.h in e's main code
 thus this will just do nothing (except add 2 non-functional api calls to libe
 :))
   
 
 Ok... I'm a little confused here, because I did test it, and it did
 work. I just used the main code from emblem, and then instead of
 starting the main loop, just ran some of these calls, adding or deleting
 bg's. I realize that it's not the best test, but it seemed to at least
 indicate that it worked.
 
 It looks as though E_IPC_OP_DESKTOP_BG_ADD is set up similarly to other
 E_IPC calls with no response that are already implemented through E_Lib
 ( E_IPC_OP_BG_SET ), so I'm confused as to what needs to be changed.
 
 Aaron
 
 
 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



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


Re: [E-devel] E_Lib Desktop Add/Del Background Patch

2005-07-28 Thread dan sinclair
I have a feeling that using chars will just make stuff harder to deal
with in the long run. We'll be getting counts of containers and zones
back from e and we have to change the numbers to chars to call the set
functions?

I think it would be better to make this work with ints, even if it has
to do a conversion later.

dan



On Thu, 2005-07-28 at 19:19 -0800, Aaron Luptak wrote:
 Tilman Sauerbeck wrote:
 
 Don't free 'params', free params[0], params[1] etc.
   
 
 Fixed in included patch.
 
 Also, you prolly should check that your strdup calls are succeeding.
   
 
 Added this too, even though none of the other E_Lib calls check their 
 strdup()'s for success
 
 Aaron
 plain text document attachment (e_lib_desktop_bg_adddel-r1.diff)
 Index: e17/apps/e/src/lib/E_Lib.h
 ===
 RCS file: /cvsroot/enlightenment/e17/apps/e/src/lib/E_Lib.h,v
 retrieving revision 1.3
 diff -d -u -3 -r1.3 E_Lib.h
 --- e17/apps/e/src/lib/E_Lib.h19 Jul 2005 07:07:23 -  1.3
 +++ e17/apps/e/src/lib/E_Lib.h28 Jul 2005 20:15:46 -
 @@ -94,6 +94,8 @@
 /* E desktop manipulation */
 EAPI void e_lib_background_set (const char *bgfile);
 EAPI void e_lib_background_get (void);
 +   EAPI void e_lib_desktop_background_add (const char *con, 
 const char *zone, const char *desk_x, const char *desk_y, const char *bgfile);
 +   EAPI void e_lib_desktop_background_del (const char *con, 
 const char *zone, const char *desk_x, const char *desk_y);
  
 /* E current theme manipulation */
 EAPI void e_lib_theme_get  (const char *category);
 Index: e17/apps/e/src/lib/e_main.c
 ===
 RCS file: /cvsroot/enlightenment/e17/apps/e/src/lib/e_main.c,v
 retrieving revision 1.25
 diff -d -u -3 -r1.25 e_main.c
 --- e17/apps/e/src/lib/e_main.c   19 Jul 2005 07:07:23 -  1.25
 +++ e17/apps/e/src/lib/e_main.c   28 Jul 2005 20:15:46 -
 @@ -243,6 +243,46 @@
  }
  
  void
 +e_lib_desktop_background_add(const char *con, const char *zone, const char 
 *desk_x, const char *desk_y, const char *bgfile)
 +{
 +   char *params[5];
 +   if(!bgfile | !desk_y | !desk_x | !zone | !con)
 + return;
 +   params[0] = strdup(con);
 +   params[1] = strdup(zone);
 +   params[2] = strdup(desk_x);
 +   params[3] = strdup(desk_y);
 +   params[4] = strdup(bgfile);
 +   if(!params[0] | !params[1] | !params[2] | !params[3] | !params[4])
 + return;
 +   _e_ipc_call(E_IPC_OP_DESKTOP_BG_ADD, params);
 +   free(params[0]);
 +   free(params[1]);
 +   free(params[2]);
 +   free(params[3]);
 +   free(params[4]);
 +}
 +
 +void
 +e_lib_desktop_background_del(const char *con, const char *zone, const char 
 *desk_x, const char *desk_y)
 +{
 +   char *params[4];
 +   if(!desk_y | !desk_x | !zone | !con)
 + return;
 +   params[0] = strdup(con);
 +   params[1] = strdup(zone);
 +   params[2] = strdup(desk_x);
 +   params[3] = strdup(desk_y);
 +   if(!params[0] | !params[1] | !params[2] | !params[3])
 + return;
 +   _e_ipc_call(E_IPC_OP_DESKTOP_BG_DEL, params);
 +   free(params[0]);
 +   free(params[1]);
 +   free(params[2]);
 +   free(params[3]);
 +}
 +
 +void
  e_lib_theme_get(const char *category)
  {
 char *tmp;



---
SF.Net email is Sponsored by the Better Software Conference  EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


RE: [E-devel] change color of evasobject_textblock

2005-07-22 Thread dan sinclair


 Hi. I tried making a test app for evas_object_textblock in order to see how 
 code 
 changes affected behavior. However, when I typed nothing showed up, so I 
 added some 
 inital text to the textblock with 
 evas_object_textblock_text_insert(textblock, Initial 
 text.), but that didn't show up either. So now I'm thinking that since the 
 Evas 


By default your textblock won't have any formatting in it. (ie the is no font 
set and it has size 0.) You have to setup the formatting before you can put 
text into the textblock. You may also want to create an evas rectangle and 
stick it into the evas below your textblock as a background.

I've previously written an introduction to the textblock see:
http://www.everburning.com/docs/evas_textblock/evas_textblock_intro.html

(You can get a .xml or .pdf version by changing the extention.)

dan









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


Re: [E-Devel] Question about using system() inside a module

2005-07-21 Thread dan sinclair
On Thu, 2005-07-21 at 17:30 -0700, Matthew Mullins wrote:
 Hello,
 
 I'm trying to come up with a better way to download
 (weather html in my case) than using wget through a
 system() function.  Whenever system() is used, it
 hangs E completely until the function returns.  For
 fast connections, or even if the network is completely
 down, you don't notice any pause.  But if it times out
 trying to resolve the host name, or is on a really
 slow connection, it's not usable.
 
 So I'm looking for some better options.
 

ecore_file_download


dan




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


RE: [E-devel] Different text areas

2005-07-19 Thread dan sinclair


 Hi all. I'm just curious... Why is there an EWL textblock, an
 evas_object_textblock, and an ESmart_Textarea? What's the difference
 between them? Also, what is (are) the difference(s) between an ESmart
 object and an EWL widget? It seems objects made from both (i.e. custom
 ESmart object  custom EWL widget) libraries can end up the same (from
 the user's point-of-view) in the end. Besides the differences, what are
 the advantages/disadvantages to making some new-fangled widget from EWL
 or ESmart (besides that it's much easier for another programmer to use
 this widget when done with EWL)?
 The main reason I'm asking is because all of these text-input objects
 need a little work to get past the basic functionality they have, and I
 would like to contribute. The thing is, I'm not sure which API to start
 studying... I'd like to know which of these textareas is most likely to
 be most heavily used in the future. (I'm going to be a senior in
 high-school, and my inexperienced programming brain can only take one
 API at a time, even though there are many freshmen that suck up code
 like I do Coke :-) ).
 Any help would be appreciated :-).
 

The Ewl_Text (and Ewl_Entry) widget are the EWL wrappers around the 
evas_object_textblock. They try to make it a lot simpler to use the textblock. 
They also attempt to deal with the issues of newlines and tabs in the textblock 
so that the text returned to the user is the same text that was inserted. 

To this end, EWL contains its own copy of the text and its own set of 
formatting trees to hold the formatting. When the text is displayed it will 
then walk that text and formatting to build the evas_object_textblock. (This 
building on realize also makes this fit in nicely with the caching work being 
done for EWL).

There is currently no selection code in the EWL widget at the moment but I'm 
working on triggers which will also form the basis for the selection code. (A 
trigger is essentially an A HREF in HTML speak. It allows you to specify a set 
of text and to get callbacks on focus in/out, mouse up/down.) So, once the 
triggers are all good I'll see about getting selections into place.

In terms of what will be used most. Who knows. The EWL stuff is obviously what 
will be used the most if your doing an EWL app. The EWL stuff can be embedded 
into Edje apps as well. The evas_object_textblock will be used if you want to 
use straight Evas, and the Esmart textarea when you allow the extra library in 
there.

Ewl_Text and Esmart_Textarea are both essentually the same thing, they just go 
about what they do in differnet ways. The evas_object_textblock is the 
foundation for both of them.

dan
 







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


RE: [E-devel] Different text areas

2005-07-19 Thread dan sinclair
On Tue, 2005-07-19 at 23:19 -0500, Brian Sakal wrote:
 Thanks Hisham and Dan. But now my curiosity is further aroused :-).
 Since evas_object_textblock is the foundation for the other two, is
 there a reason not to fix the bugs/formatting features in that instead
 of fixing them in the EWL or ESmart? Are you leaving room for different

In terms of evas_object_textblock, the only thing we work around in EWL
at the moment is the newline handling. Textblock takes \n \t as
_formatting_ instead of text. So, we have to do some tricks to keep our
cursor position correct and get the right text. There are some changes
that need to be pushed back into textblock but haven't been done yet.

 ways of formatting? Anyhoo, I'd love to help with text selection. Are
 the triggers being done only for the EWL text area? Also, can't Etox

Triggers will only exist in the EWL code. If someone wants to try to
port them to one of the other systems they can feel free.

 handle the text formatting on-the-fly (sorry if that's an absurd
 suggestion, but I'm still getting acquainted with what libraries are
 built on top of what), and if it can be used in this case can't the
 trigger things be programmed into Etox, since it already has a way of
 doing certain things to only specific parts of the text it contains (at

Etox is dead. It has been replaced by evas_object_textblock. Etox was
too slow at what it did to be widely used. The textblock fixes that
issue.

 least I think it does)? Finally, the EWL vs. ESmart/Evas... why would
 someone not use EWL? After all, it is built on top of Evas, too. Would
 the execution speed difference be significant (or at least significant
 enough to sacrifice the ease-of-use of the EWL library)?
 I'm really itching to get my hands dirty in this code, but which dirt? :-)

People don't want the overhead of a full widget library so they do stuff
in straight Evas/Edje.

dan






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


RE: [E-devel] Different text areas

2005-07-19 Thread dan sinclair
On Tue, 2005-07-19 at 23:55 -0500, Brian Sakal wrote:
 OK, I'll get to studying the evas_object_textblock code tomorrow. But
 one final question: is there anything I should avoid that might
 interfere with the code being done for EWL (i.e. if both have triggers,
 which will be used, etc.)? Thanks a lot!

If something gets added into the textblock EWL will be ported over to
use that instead of what it does internally.

dan





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


RE: [E-devel] [Patch][e_border.c more macros and button_detail icons]

2005-07-14 Thread dan sinclair
 Hi,
 
 _ new patch, don't apply the yesterday one, it's more complete.
 _ New and better organisation of e_border menu I hope so.
 _ Some more stock button_detail icons.
 
 --
 Sébastien HOUZE
 [EMAIL PROTECTED]
 
 

I don't see what the point of this is at all? Whats the point of wrapping an 
_if_ statement in a macro? Your just going to make stuff impossible to maintain 
in the long run.

You've got all these macros to create menu items, why not make them functions? 
It would be easier to read and to deal with later. Why use macros?

You've got a macro setup to free everything, woudn't a function make more sense?

I really don't see the point of _any_ of these macros.

dan







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


Re: [E-devel] EWL Bugs

2005-07-14 Thread dan sinclair
On Fri, 2005-07-15 at 01:13 +0300, Hisham Mardam Bey wrote:
 Hello,
 
 I was taking a quick look at ewl_test and noticed the following bugs.
 I'm not sure if they are already accounted for, but here's a short
 list anyway. All this testing was done with the e17 theme for ewl.
 
 * tooltip is at top left corner of window always (sometimes it correctly 
 placed)
 * labels in buttons, or near check boxes and radio buttons are
 misaligned vertically
 * clicking on the text in the entry misplaces the cursor
 * iconbox widget doesnt allow multiple selection except from top left
 to bottom right
 * imenu grows window, maybe it should display in another direction and
 grow the window as a last resort
 * paned view in ewl_test only allows movement to the left
 * progress bar in e17 theme needs fixing
 * spinner should not grow, it should scroll when you reach a high
 number for example
 

The entry bug, how long ago did you update? I've been doing a lot of
work on the entry and been trying to get rid of all these issues. The
single line should be ok. There are still problems with the multiline,
but I'm not sure they can be fixed without re-working textblock a bit.

dan





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


[E-devel] RE: E CVS: libs/emotion moom16

2005-07-08 Thread dan sinclair
This GPL code has to be removed as you can't just put GPL code into a BSD 
project. All code has to be GPL to link it in. You can't just say, 'this piece 
is GPL'.

dan



 Enlightenment CVS committal
 
 Author  : moom16
 Project : e17
 Module  : libs/emotion
 
 Dir : e17/libs/emotion/src/modules/xine
 
 
 Modified Files:
   emotion_xine_vo_out.c 
 
 
 Log Message:
 * Add support of yuy2 to emotion_xine module. So now, we can play wmv 
 movies!
 
 I had to make some module API changes:
  - rename yuv_size_get to video_data_size_get
  - add the function Emotion_Format (*format_get) (void *ef); in 
 Emotion_Video_Module. 
 This function should return the format used by the video (EMOTION_YV12, 
 EMOTION_YUY2 
 or EMOTION_BGRA).
 
 I use a yuy2-bgra converter since evas doesn't support YUY2. This converter 
 should 
 be rewrite since it's really not optimized and since it is under GPLv2 
 (emotion 
 is under BSD). I added an explicit comment above the function for that, but 
 it'd 
 be better to use a converter under BSD.
 If it's really incompatible with emotion license, I will remove it.
 
 ===
 RCS file: 
 /cvsroot/enlightenment/e17/libs/emotion/src/modules/xine/emotion_xine_vo_out.c,v
 retrieving revision 1.6
 retrieving revision 1.7
 diff -u -3 -r1.6 -r1.7
 --- emotion_xine_vo_out.c 5 Apr 2005 02:21:06 -   1.6
 +++ emotion_xine_vo_out.c 8 Jul 2005 19:56:48 -   1.7
 @@ -94,6 +94,8 @@
  static void _emotion_overlay_mem_blend_8   (uint8_t *mem, uint8_t 
 val, 
 uint8_t o, size_t sz);
  static void _emotion_overlay_blend_yuv (uint8_t *dst_base[3], 
 vo_overlay_t 
 * img_overl, int dst_width, int dst_height, int dst_pitches[3]);
  
 +static void _emotion_yuy2_to_bgra32(int width, int height, 
 unsigned 
 char *src, unsigned char *dst);
 +
  /***/
  static vo_info_t _emotion_info = 
  {
 @@ -215,7 +217,7 @@
 
 dv = (Emotion_Driver *)vo_driver;
  //   printf(emotion: _emotion_capabilities_get()\n);
 -   return VO_CAP_YV12;
 +   return VO_CAP_YV12 | VO_CAP_YUY2;
  }
  
  /***/
 @@ -358,6 +360,7 @@
  {
 int y_size, uv_size;
 
 +fr-frame.format = EMOTION_YV12;
 fr-vo_frame.pitches[0] = 8 * ((width + 7) / 8);
 fr-vo_frame.pitches[1] = 8 * ((width + 15) / 16);
 fr-vo_frame.pitches[2] = 8 * ((width + 15) / 16);
 @@ -374,19 +377,49 @@
 fr-frame.y = fr-vo_frame.base[0];
 fr-frame.u = fr-vo_frame.base[1];
 fr-frame.v = fr-vo_frame.base[2];
 +fr-frame.bgra_data = NULL;
 fr-frame.y_stride = fr-vo_frame.pitches[0];
 fr-frame.u_stride = fr-vo_frame.pitches[1];
 fr-frame.v_stride = fr-vo_frame.pitches[2];
 fr-frame.obj = dv-ev-obj;
  }
break;
 +  case XINE_IMGFMT_YUY2: 
 +{
 +   int y_size, uv_size;
 +   
 +fr-frame.format = EMOTION_BGRA;
 +   fr-vo_frame.pitches[0] = 8 * ((width + 3) / 4);
 +   fr-vo_frame.pitches[1] = 0;
 +   fr-vo_frame.pitches[2] = 0;
 +   
 +   fr-vo_frame.base[0] = malloc(fr-vo_frame.pitches[0] * 
 height);
 +   fr-vo_frame.base[1] = NULL;
 +   fr-vo_frame.base[2] = NULL;
 +
 +   fr-frame.w = fr-width;
 +   fr-frame.h = fr-height;
 +   fr-frame.ratio = fr-vo_frame.ratio;
 +   fr-frame.y = NULL;
 +   fr-frame.u = NULL;
 +   fr-frame.v = NULL;
 +fr-frame.bgra_data = malloc(fr-width * fr-height * 4);
 +   fr-frame.y_stride = 0;
 +   fr-frame.u_stride = 0;
 +   fr-frame.v_stride = 0;
 +   fr-frame.obj = dv-ev-obj;
 +}
 +  break;
  default:
break;
 }
   if (((format == XINE_IMGFMT_YV12)
 ((fr-vo_frame.base[0] == NULL)
|| (fr-vo_frame.base[1] == NULL)
 -  || (fr-vo_frame.base[2] == NULL
 +  || (fr-vo_frame.base[2] == NULL)))
 +  || ((format == XINE_IMGFMT_YUY2)
 +   ((fr-vo_frame.base[0] == NULL)
 +   || (fr-frame.bgra_data == NULL
 {
_emotion_frame_data_free(fr);
 }
 @@ -408,6 +441,11 @@
   {
   void *buf;
   int ret;
 +
 +   if (fr-format == XINE_IMGFMT_YUY2)
 + {
 +   _emotion_yuy2_to_bgra32(fr-width, fr-height, fr-vo_frame.base[0], 
 fr-frame.bgra_data);
 + }
   
   buf = (fr-frame);
   fr-frame.timestamp = (double)fr-vo_frame.vpts / 9.0;
 @@ -444,6 +482,11 @@
   fr-frame.u = fr-vo_frame.base[1];
   fr-frame.v = 

RE: Re: [E-devel] EWL entries

2005-06-20 Thread dan sinclair
Didn't go into cvs, but it dosen't look correct anyway. There is a memory leak 
in the if statement first off. Also, I don't see how this can fix the issue of 
the entry disappearing on delete as it only affects the insert function.

dan



 I'm fairly certain I tested that patch pretty thoroughly and it either
 a) got committed, and/or b) did not solve the issue of text resizing.
 I believe the problem is that when you delete the text from a
 textblock it deletes all formatting information too. So we end up with
 a textblock with no font settings to give the proper size hints. If
 someone has a workaround that is reasonable, there's no problem
 putting it in cvs.
 
 On 6/20/05, emby [EMAIL PROTECTED] wrote:
  maybe I'm losing my mind, but I found this one in the archives:
  
  http://sourceforge.net/mailarchive/forum.php?
  thread_id=7070689forum_id=6427
  
  I don't know if it addresses this specific problem, and/or maybe the
  decision was it didn't work right. I even submitted a patch for this
  myself, which was admittedly lame but actually did fix this one issue.
  Never did figure out the disappearing cursor problem though.
  
  I guess I'm just reminded of the problems with text entry every time I
  run e_util_eapp_edit :)
  
  
  mb
  
  
  
  On Jun 20, 2005, at 10:42 AM, dan sinclair wrote:
  
   I can't remeber seeing any patches for this specific bug. Other
   patches for the entry have come in and been commited. There are a lot
   of different issues with the entry, and many of them are non-trivial
   to fix.
  
   If you have a patch, send it over. We have no problems commiting
   interm fixes, we just don't want to blow a lot of time fixing
   something we are going to kill anyway.
  
   dan
  
  
  
   thing is, several people have submitted patches to address this, and
   none of those have been accepted, so the bug goes on crawling. I can
   understand that you have a plan to overhaul the text entry, and I can
   understand that you don't want to introduce halfway fixes that you
   later have to back out. But there should be some way of making this a
   bit better in the interim seeing how broken the current behavior is.
  
   mb
  
  
   On Jun 20, 2005, at 6:31 AM, Nathan Ingersoll wrote:
   
  
   Bug in EWL. Need to track it down but we're planning to overhaul the
   entry to fix some of the larger issues.
  
   On 6/20/05, James Hales [EMAIL PROTECTED] wrote:
   I've tried looking around, and messing with a few of those size
   things
   with the Ewl entry widget, but I can't find an answer, so I was
   wondering
   why, and how I can solve the entry widget from shrinking when it is
   empty.
  
   What happens is that the entry starts off normal, then I'll type
   something
   in, and then clear it, and it will shrink vertically, and I'll be
   unable
   to put any text back in there again.
  
   Is this a problem with neglecting to set something about the widget,
   or is
   this a problem with my EWL? I am using the latest releases from that
   asparagus site.
  
   Any help would be appreciated. Thankyou,
  
   James Hales
  
  
  
  ---
  SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
  from IBM. Find simple to follow Roadmaps, straightforward articles,
  informative Webcasts and more! Get everything you need to get up to
  speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492opclick
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 
 
 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 






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


RE: Re: [E-devel] EWL button label theming

2005-06-15 Thread dan sinclair
I've created a simple ewl_label that does whats being talked about here. Shoudl 
be fully themeable. The theme only exists for default at the moment, and it 
isn't great.

If I missed the mark, let me know. At least the infrastructre is in there

dan




 Yep, text should be more themeable than it is, so much to do, so little time.
 
 Ok, a little talking on IRC with dj2 and some thinking on this over
 lunch has me leaning towards doing a combination of the things we've
 discussed.
 
 I'm thinking we should resurrect ewl_label to use as we discussed with
 the part text. There never was a clear distinction between what was a
 label and what was text before, just single-line vs multi-line. I
 think we could define a label as a widget that is completely themed
 from Edje and text as a widget that is more programmatically
 controlled. This would allow you to create an edje with a text part,
 set the fill policy on the ewl_object to FILL, and then let the edje
 theme take care of internal alignment in the area EWL hands it.
 
 We may still want to create the ewl_widget_text_set,
 ewl_widget_part_text_set API, any themed object could potentially have
 text that the programmer wants to set. We're also providing other
 mechanisms for the programmer to setup their own edje's so this goes
 hand-in-hand with that. If we do this, the ewl_label could just use
 this API for setting it's own text.
 
 On 6/15/05, Simon Poole [EMAIL PROTECTED] wrote:
  Nathan Ingersoll wrote:
   Well, you are not completely restricted to the global theme entries,
   as you can use /button/text/* as the keys to reference a text object
   nested inside of a button, but this doesn't allow for dynamic theming.
  Yes.  It also also doesn't use the Ewl_Button's label text: it uses the
  text specified in the Edje.
  
   It's not really an inconsistent case as widgets are creating evas
   objects for their display, but ewl_widget just handles the common case
   (edje) automatically. I don't think this text situation is ideal and
   your overall assessment is correct.
  Fair point. I was thinking of Edje as not the common case, but (ideally)
  the only case.  Not sure how valid that is.
  
   The fix kind of depends on what you are trying to accomplish. If you
   want to position the label inside of a button using Edje, then that
   text part really needs to be part of the same Edje as the button. EWL
   is focused on positioning widgets and doesn't provide a mechanism for
   Edje to work outside of it's own parts/programs collection. It would
   be nice if Edje contained an API for manipulating the Textblock and
   EWL could just wrap around this for text handling, but that's not
   without problems too.
  What I specifically wanted to do today was create buttons with the
  following behaviour:
  1. Text aligned top-left
  2. Font and font-size set in Edje
  3. Edje program grays out text when button is disabled
  4. Edje program highlights text on mouse down
  
  IMHO these are all attributes of the button's theme, and therefore
  *should* be done through the edje.
  
   One issue that complicates things is the fact the realized/unrealized
   states widgets can have. If a widget is realized, then unrealized,
   then realized again, any information that was kept exclusively in the
   edje is lost. This is a rare case right now, but last week I started
   some code to do object caching so we only have Edje's for the maximum
   number of items visible at a given time. This makes it more important
   that an EWL widget can rebuild it's current Edje state at arbitrary
   times. If we make a special case of setting text in an Edje, then that
   information could potentially get lost.
  
   Here's one possible solution, expand the ewl_widget API to include
   ewl_widget_text_part_set(Ewl_Widget *w, char *part, char *text) and
   ewl_widget_text_set(Ewl_Widget *w, char *text). The part set would
   create a hash table in the widget on first call that would contain a
   hash of part name/text pairs. Whenever the Edje object gets setup
   again, the hash table is iterated over and the text applied to the
   Edje. The text_set would wrap around the text_part_set, but would look
   up the part name in the theme with a key like /button/text. This would
   allow any Edje to contain text, and the application programmer to take
   advantage of it if they want the more dynamic theme possibilities.
  
  I've knocked up a quick and dirty simplified Ewl_Button that does use
  the Edje theme for its text.  Here's an excerpt:
  
  static void
  _apply_label(Rsd_Ewl_Button *b)
  {
 Ewl_Widget *w = EWL_WIDGET(b);
 if (!w-theme_object) return;
  
 if (b-label) edje_object_part_text_set(w-theme_object, text,
  b-label);
 else edje_object_part_text_set(w-theme_object, text, );
  }
  
  void
  rsd_ewl_button_realize_cb(Ewl_Widget *w, void *ev_data, void *user_data)
  {
 _apply_label(RSD_EWL_BUTTON(w));
  }
  
  void
  

RE: [E-devel] Engrave don't compile

2005-06-15 Thread dan sinclair
use a different automake. 1.5 works well for me.

dan


 Hello
 
 I've just checked out some e17-modules from the cvs, and I'm having
 problems compiling engrave.
 
 ./autoconfig.sh --prefix=$HOME/e17
 make
 
 When it comes to src/lib it gives me this:
 
 ...
 engrave.l:5:35: libengrave_la-engrave.h: No such file or directory
 engrave.l: In function `yylex':
 engrave.l:89: error: `ACCELERATE' undeclared (first use in this
 function) engrave.l:89: error: (Each undeclared identifier is reported
 only once engrave.l:89: error: for each function it appears in.)
 engrave.l:90: error: `ACTION' undeclared (first use in this function)
 engrave.l:91: error: `ACTION_STOP' undeclared (first use in this
 function)  
 engrave.l:92: error: `AFTER' undeclared (first use in this function) 
 engrave.l:93: error: `ALIGN' undeclared (first use in this function) 
 engrave.l:94: error: `ASPECT' undeclared (first use in this function)
 ... 
 
 Looks, like bison or flex isn't run as it should.
 
 How do I compile it?
 
 // Bjorn
 
 
 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 






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


Re: [E-devel] Where is the e wish list?

2005-06-11 Thread dan sinclair
Well there already exists lists and hashes in Ecore_Data and Ecore_File
should handle the file handling. There are slightly separate list data
structures in evas but that was done so evas dosen't depend on ecore.

dan


On Sat, 2005-06-11 at 08:10 -0400, Jose O Gonzalez wrote:
   I have a 'wish' for things I'd like to see in e..
 not in e the wm, there are enough wishes for things in
 there already :), but in e as in the efl's.
 
   Two specific things to be exact:
 
   1. A general purpose list/hash lib.
 
   2. A general purpose file lib.
 
 
   The code for such functionality is currently
 in existance in various of the efl libs, in various
 degrees of similarity, capabilities, etc.
 
   Can a common concensus be reached on an api
 for 'lists/hashes', and have that placed into its own
 lib as a core requirement for the efl's?  Same for basic
 'file' handling functionality?
 
   Any thoughts?
 
 
 
 ---
 This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
 a projector? How fast can you ride your desk chair down the office luge track?
 If you want to score the big prize, get to know the little guy.  
 Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


RE: [E-devel] Merging IPC REPLYs

2005-06-07 Thread dan sinclair
But what does this gain you? I'd say it makes confusing code even more 
confusing. At least with separate blocks you know what is the REPLY and what is 
going out. Get the E_LIB_IN stuff mixed in there and its gunna make some big 
chunks. 

Seems more readable to have separate ops handling the replies as opposed to ops 
which do a dual purpose.

dan




 Hello, 
 
 Yesterday I was in IRC and asked if it was possible to merge the IPC
 reply handlers into the same cluster and the sending handlers. 
 
 i.e.
 
 E_IPC_OP_FONT_FALLBACK_LIST_REPLY
 
 merged into
 
 E_IPC_OP_FONT_FALLBACK_LIST
 
 I have tried this out and it works fine.  It should work because the
 E_IPC_OP_FONT_FALLBACK_LIST_REPLY is listening in enlightenment_remote
 and E_IPC_OP_FONT_FALLBACK_LIST is in e_ipc.
 
 Examle code:
 
 ==Before==
 
 #define HDL E_IPC_OP_FONT_FALLBACK_LIST
 #if (TYPE == E_REMOTE_OPTIONS)
OP(-font-fallback-list, 0, List the fallback fonts in order, 1,
 HDL)
 #elif (TYPE == E_REMOTE_OUT)
REQ_NULL(HDL);
 #elif (TYPE == E_WM_IN)
GENERIC(HDL);
 
LIST_DATA();
E_Font_Fallback *ff;
FOR(e_config-font_fallbacks) { ff = l-data;
   dat = evas_list_append(dat, ff-name);
}
ENCODE(dat, e_ipc_codec_str_list_enc);
SEND_DATA(E_IPC_OP_FONT_FALLBACK_LIST_REPLY);
evas_list_free(dat);
 
END_GENERIC();
 #elif (TYPE == E_REMOTE_IN)
 #endif
 #undef HDL
 
 //
 #define HDL E_IPC_OP_FONT_FALLBACK_LIST_REPLY
 #if (TYPE == E_REMOTE_OPTIONS)
 #elif (TYPE == E_REMOTE_OUT)
 #elif (TYPE == E_WM_IN)
 #elif (TYPE == E_REMOTE_IN)
GENERIC(HDL);
LIST();
DECODE(e_ipc_codec_str_list_dec) {
   FOR(dat) {
  printf(REPLY: \%s\\n, (char *)(l-data));
   }
   FREE_LIST(dat);
}
END_GENERIC();
 #endif
 #undef HDL
 
 ==After==
 
 #define HDL E_IPC_OP_FONT_FALLBACK_LIST
 #if (TYPE == E_REMOTE_OPTIONS)
OP(-font-fallback-list, 0, List the fallback fonts in order, 1,
 HDL)
 #elif (TYPE == E_REMOTE_OUT)
REQ_NULL(HDL);
 #elif (TYPE == E_WM_IN)
GENERIC(HDL);
 
LIST_DATA();
E_Font_Fallback *ff;
FOR(e_config-font_fallbacks) { ff = l-data;
   dat = evas_list_append(dat, ff-name);
}
ENCODE(dat, e_ipc_codec_str_list_enc);
SEND_DATA(HDL);
evas_list_free(dat);
 
END_GENERIC();
 #elif (TYPE == E_REMOTE_IN)
GENERIC(HDL);
LIST();
DECODE(e_ipc_codec_str_list_dec) {
   FOR(dat) {
  printf(REPLY: \%s\\n, (char *)(l-data));
   }
   FREE_LIST(dat);
}
END_GENERIC();
 #endif
 #undef HDL
 
 
 -- 
 
 
 
 ---
 This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
 a projector? How fast can you ride your desk chair down the office luge track?
 If you want to score the big prize, get to know the little guy.  
 Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 






---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


RE: [e-devel] ewl_progressbar, some new features

2005-06-06 Thread dan sinclair
Hello,

Few comments on the patch.

- Any reason why you commented out a bunch of the tests?

- Should use const for the char * parameters.

- if this does the same thing as the custom label, i'd be preferable to just 
use the custom label stuff instead of creating all new routines.

- if you have a format of %3$.0lf%% how can you write 4 differnt thigns into 
it? or are you depending on that just being ignored since it isn't used? Thats 
pretty nasty behaviour, in my opinion.

dan




 Hello!
 
  While playing with some progressbars, I found myself dreaming about
 some missing features... So I coded them :p
 
 - First I added a char *label_format to struct Ewl_Progressbar, it is
 set to %3$.0lf%% at initialization, to keep the default percentage
 mode, as I changed label arguments to value, range, value/range*100,
 range-value, (range-value)/range*100 (there shouldn't be anything that
 could be useful missing now :p).
 - ewl_progressbar_label_get: retrieves current label value
 - ewl_progressbar_label_format_set: sets the default label format, so
 that we don't have to call ewl_progressbar_custom_label_set at each
 value update, that's a hassle less  :)
 - ewl_progressbar_label_format_get: do I have to explain what it's
 supposed to do ;D
 - ewl_progressbar_default_label_set: resets the label format to its
 initial value, so %3$.0lf%% (maybe this name is not as good)
 - some cosmetic changes (english error corrections)
 
 - correction of default (winter) theme where the bottom of the
 progressbar (the 'done' part) was not shown
 
  Hope this is bugless (;D) and helpful...
 
  Cheers!
 
 --
 ilLogict
 
 Etudiant:1A, E.S.I.A.L., Nancy, France
 Student: Y1, E.S.I.A.L., Nancy, France
 Website: http://illogict.online.fr
 E-Mail:  [EMAIL PROTECTED]
 ICQ: #74274856
 AIM: illogict
 MSN: [EMAIL PROTECTED]
 Yahoo:   illogict
 Jabber:  [EMAIL PROTECTED]
 Mobile:  +33 6 81921083
 Message: Enlightenment DR17 oune ! Et honte  ceux qui ne sont pas d'accord !
 Message: Enlightenment DR17 rocks! Shame on whoever doesn't agree!
 






---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r 
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


RE: [E-devel] e_utils in CVS doesn't compile-- It might be due to entangle!

2005-06-03 Thread dan sinclair
Well, if your missing Entangle.h then I'd assume your checkout is buggered. 
That file is in cvs.

http://cvs.sourceforge.net/viewcvs.py/enlightenment/e17/apps/e_utils/src/bin/entangle/Entangle.h?rev=1.2view=log

dan


 Hello there,
   The e_utils package in CVS doesn't compile. Entangle
 spits lots of errors (see attached txt file). Can't be my libs are
 old, they are all synchronized. I updated and installed all the libs.
 
 In the attached file we can notice this:
 
 entangle_apps.c:1:22: Entangle.h: No such file or directory
 
 Please advise. Thanks. ;-)
 
 -- 
 With kind regards,
 Didier.
 
 
 Yum/apt repository for DR17/EFL: http://sps.nus.edu.sg/~didierbe
 
 Didier F.B Casse
 PhD candidate, Singapore Synchrotron Light Source (SSLS)
 National University of Singapore.
 
 






---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


RE: Re: [E-devel] Google's Summer of Code

2005-06-01 Thread dan sinclair
I'm also willing to act as a mentor if need be. (Tho I'd assume there are a lot 
of people more qualifed then me, heh).

How does this work? Do the students present their thing to google or do we have 
to go to google and say we would like to mentor people?

dan



 It seems like a good idea to me. If people are interested in doing
 this, could you send a description of some of the ideas you'd like to
 work on? We would need to have a mentor for any participants, and it
 would help to match people up if we know which areas they want to work
 on.
 
 I'm willing to mentor for the areas I'm familiar with. Anyone else
 willing to mentor or have any objections to participating in this?
 
 On 6/1/05, David Sharp [EMAIL PROTECTED] wrote:
  On 6/1/05, Stefan Gueorguiev [EMAIL PROTECTED] wrote:
   Hello,
  
   I posted this in the edevelop.org forums, and was told that this might
   be the more appropriate place for it.
  
   First of all let me say I am a huge fan and thanks for all your work!
   I've been using it for so long. The thing is, I feel I finally have
   the knowledge and skills to pay my debts to you guys.
  
   I don't know if the E team is aware of the Google's Summer of Code
   program. Essentially Google funds university students and Open Source
   Projects to contribute to the Open Source community during the summer.
  
   Students, like myself, can contribute to a list of projects (Gnome,
   Perl, Apache and others) however none of those sounded exciting to me.
   I want to participate in the program and I think it would be amazing
   if I can contribute something to E17 (I already have ideas storming
   through my head).
  
   This is why I wanted to ask if the E team would consider participating
   in the program?
   More info can be found here:
   http://code.google.com/summerofcode.html
   http://code.google.com/mentfaq.html
  
  I just wanted to put some encouragement to the E team to consider
  this. I'm in the same position as Stefan, ie, i would like to
  participate, but none of the projects look very interesting to me. A
  project involving E17 would be much more interesting to me.
  
  ~David
  
  
   Thanks,
   Stefan
  
  
   ---
   This SF.Net email is sponsored by Yahoo.
   Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
   Search APIs Find out how you can build Yahoo! directly into your own
   Applications - visit http://developer.yahoo.net/?froffad-ysdn-ostg-q22005
   ___
   enlightenment-devel mailing list
   enlightenment-devel@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
  
  
  
  ---
  This SF.Net email is sponsored by Yahoo.
  Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
  Search APIs Find out how you can build Yahoo! directly into your own
  Applications - visit http://developer.yahoo.net/?froffad-ysdn-ostg-q22005
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 
 
 ---
 This SF.Net email is sponsored by Yahoo.
 Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
 Search APIs Find out how you can build Yahoo! directly into your own
 Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 






---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Announceing Extortion 0.05.01

2005-05-31 Thread dan sinclair
Announcing Extortion 0.05.01.

So, what is extortion? Well, its a little programming contest for the EWL. 
There are four categories (bugs, feature, graphics and overall), with the 
winner in each category getting a prize. 

For the bugs, feature and graphics section the prize is a tshirt with the 
category logo on the back. For the overall section the prize is either a tshirt 
or hoodie with the category logo on the back.

For more information on Extortion, please take a look at: 
http://edevelop.org/extortion.

Thanks,
dan









---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


RE: Re: [E-devel] EWL: how to set render_method?

2005-05-24 Thread dan sinclair
If you have compiled the software x11 engine in with 
HAVE_EVAS_ENGINE_SOFTWARE_X11_H it will try to use that by default. If that 
fails, and you have HAVE_EVAS_ENGINE_FB_H defined when you compile it will try 
to use the framebuffer. If that fails...well your boned.

Your other option is to do something like:
ewl_test --ewl-fb
ewl_test --ewl-software-x11

to set the specific engine.

dan



 According to ewl/src/lib/ewl_misc.c ewl_init() should detect what engine
 should work and set it accordingly, but I've never had it work yet.
 
 I don't know how setting Ecore's render method will effect it, but I think
 it may work after a call to ewl_init() if that call didn't set it
 properly.
 
 Nathan is probably the man to explain this, but you might want to take a
 look at the code.
 
  I'm trying to run EWL on the framebuffer.  Apparently in order to
  achieve this I have to set /ewl/evas/render_method to fb.  How should
  I do this?  I've tried:
 
   ecore_init();
   ecore_app_args_set(argc, (const char **)argv);
   ecore_config_string_default(/ewl/evas/render_method, fb);
   ecore_config_init(myapp);
   ecore_config_load();
 
  But EWL still attempts to use software_x11:
  Unable to use software_x11 engine for rendering, falling back to
  software_x11
 
  Also, what is the file format for ecore_config databases? The EFL
  cookbook says it is EDB, but ecore_config looks for EETs.  In fact, by
  my reading of the code, the following should work to create a config.eet
  file:
 
  # echo -en str\0fb\0 ewl/evas/render_method
  # eet -c config.eet ewl
 
  --
  Simon Poole
  www.appliancestudio.com
 
 
 
  ---
  This SF.Net email is sponsored by Oracle Space Sweepstakes
  Want to be the first software developer in space?
  Enter now for the Oracle Space Sweepstakes!
  http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 
 
 
 ---
 This SF.Net email is sponsored by Oracle Space Sweepstakes
 Want to be the first software developer in space?
 Enter now for the Oracle Space Sweepstakes!
 http://ads.osdn.com/?ad_idt12alloc_id344op=click
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 






---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12alloc_id344op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Configuring paths through IPC

2005-05-16 Thread dan sinclair
If we're looking for a background wouldn't it make more sense to look in
the _background_ directories before looking in the theme directories?
Sure, the themes can hold backgrounds, but if the user is setting their
own bg, its most probably in the backgrounds directory. So, wouldn't it
make sense to search the background directory first, then the theme
directories.

dan


 Here it is,

 This is a bit different then what I explained in my last email.

 Now E_Paths can inherit another E_Path.

 the bg list is now a path that inherits the theme path. The inherited
 path comes before the path in a list and when doing searches.

 Stafford

 On Sun, 2005-05-15 at 20:16 -0400, dan sinclair wrote:
 Except that if you want to write an app to switch themes its now going
 to have to check theme keys to determine if whats in the directory
 returned in the theme path is actually a theme or if its a background.

 If there separate you can just return the theme path along with the
 background path when they call bg-list then a theme program knows that
 everything in the theme paths are themes. Otherwise, some of them could
 be background.

 Just seems like the wrong way to do it.

 dan


 On Mon, 2005-05-16 at 07:53 +0800, Stafford Horne wrote:
  Dan,
 
  I understand that they could be separate, and that bg directories may
  not contain any themes.  But if they need to be separate then the
  background path should not be hard coded.  I did this on the
 assumption
  that theme dirs can be background dirs. If you add a path to the theme
  directory you will want to have programs, such as emblem, look for bgs
  in that directory. This way there is no need to double the paths, as
 the
  theme dirs in most cases are a subset of the bg dirs.
 
  If we want to have another path for backgrounds it should be
  configurable and stored in e_config. This is pretty easy to do, but I
  really see no need as the theme directory already serves a similar
  purpose.
 
  Stafford
 
  On Sun, 2005-05-15 at 11:35 -0400, dan sinclair wrote:
   A background dir isn't a theme dir tho.
  
   dan
  
   On Sun, 2005-05-15 at 15:05 +0800, Stafford Horne wrote:
Hello,
   
I have done some work on exporting all of the paths through IPC.
   
These are the current paths.
E_Path *path_data= NULL;
E_Path *path_images  = NULL;
E_Path *path_fonts   = NULL;
E_Path *path_themes  = NULL;
E_Path *path_init= NULL;
E_Path *path_icons   = NULL;
E_Path *path_modules = NULL;
   
Implementation:
The search path is now implemented by using two evas lists, one
 for
hardcoded directories and one for user directories.  The user
directories are stored in e_config and can be manipulated through
 IPC
(enlightenment_remote). The user directory of an E_Path is a
 reference
to the path in e_config and should be associated while
 initializing a
new E_Path.
   
example commands:
   
-theme-dirs-list
-theme-dirs-remove  OP
-theme-dirs-append  OP
-theme-dirs-prepend OP
   
[EMAIL PROTECTED] bin]$ enlightenment_remote -display :0.0
 -theme-dirs-list
REPLY: BEGIN
REPLY: THEME DIR=/home/shorne/.e/e/themes
REPLY: THEME DIR=/home/shorne/.e/e/backgrounds
REPLY: THEME
 DIR=/home/shorne/local/share/enlightenment/data/themes
REPLY: END
   
[EMAIL PROTECTED] bin]$ enlightenment_remote -display :0.0
 -theme-dirs-append
~/misc/Pictures/
[EMAIL PROTECTED] bin]$ enlightenment_remote -display :0.0
 -theme-dirs-list
REPLY: BEGIN
REPLY: THEME DIR=/home/shorne/.e/e/themes
REPLY: THEME DIR=/home/shorne/.e/e/backgrounds
REPLY: THEME
 DIR=/home/shorne/local/share/enlightenment/data/themes
REPLY: THEME DIR=/home/shorne/misc/Pictures/
REPLY: END
   
   
Notes:
I have gotten rid of the -bg-dirs-list, the background dirs are
 now part
of the theme dirs. The good thing is this does not break libe
 things
like emblem.
   
Stafford
   
  



 ---
 This SF.Net email is sponsored by Oracle Space Sweepstakes
 Want to be the first software developer in space?
 Enter now for the Oracle Space Sweepstakes!
 http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 --





---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_ids93alloc_id281op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Configuring paths through IPC

2005-05-15 Thread dan sinclair
A background dir isn't a theme dir tho.

dan

On Sun, 2005-05-15 at 15:05 +0800, Stafford Horne wrote:
 Hello, 
 
 I have done some work on exporting all of the paths through IPC.
 
 These are the current paths.  
 E_Path *path_data= NULL;
 E_Path *path_images  = NULL;
 E_Path *path_fonts   = NULL;
 E_Path *path_themes  = NULL;
 E_Path *path_init= NULL;
 E_Path *path_icons   = NULL;
 E_Path *path_modules = NULL;
 
 Implementation:
 The search path is now implemented by using two evas lists, one for
 hardcoded directories and one for user directories.  The user
 directories are stored in e_config and can be manipulated through IPC
 (enlightenment_remote). The user directory of an E_Path is a reference
 to the path in e_config and should be associated while initializing a
 new E_Path.
 
 example commands:
 
 -theme-dirs-list
 -theme-dirs-remove  OP
 -theme-dirs-append  OP
 -theme-dirs-prepend OP
 
 [EMAIL PROTECTED] bin]$ enlightenment_remote -display :0.0 -theme-dirs-list
 REPLY: BEGIN
 REPLY: THEME DIR=/home/shorne/.e/e/themes
 REPLY: THEME DIR=/home/shorne/.e/e/backgrounds
 REPLY: THEME DIR=/home/shorne/local/share/enlightenment/data/themes
 REPLY: END
 
 [EMAIL PROTECTED] bin]$ enlightenment_remote -display :0.0 -theme-dirs-append
 ~/misc/Pictures/
 [EMAIL PROTECTED] bin]$ enlightenment_remote -display :0.0 -theme-dirs-list
 REPLY: BEGIN
 REPLY: THEME DIR=/home/shorne/.e/e/themes
 REPLY: THEME DIR=/home/shorne/.e/e/backgrounds
 REPLY: THEME DIR=/home/shorne/local/share/enlightenment/data/themes
 REPLY: THEME DIR=/home/shorne/misc/Pictures/
 REPLY: END
 
 
 Notes:
 I have gotten rid of the -bg-dirs-list, the background dirs are now part
 of the theme dirs. The good thing is this does not break libe things
 like emblem.
 
 Stafford 
 



---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Configuring paths through IPC

2005-05-15 Thread dan sinclair
Except that if you want to write an app to switch themes its now going
to have to check theme keys to determine if whats in the directory
returned in the theme path is actually a theme or if its a background.

If there separate you can just return the theme path along with the
background path when they call bg-list then a theme program knows that
everything in the theme paths are themes. Otherwise, some of them could
be background.

Just seems like the wrong way to do it.

dan


On Mon, 2005-05-16 at 07:53 +0800, Stafford Horne wrote:
 Dan,
 
 I understand that they could be separate, and that bg directories may
 not contain any themes.  But if they need to be separate then the
 background path should not be hard coded.  I did this on the assumption
 that theme dirs can be background dirs. If you add a path to the theme
 directory you will want to have programs, such as emblem, look for bgs
 in that directory. This way there is no need to double the paths, as the
 theme dirs in most cases are a subset of the bg dirs.
 
 If we want to have another path for backgrounds it should be
 configurable and stored in e_config. This is pretty easy to do, but I
 really see no need as the theme directory already serves a similar
 purpose.
 
 Stafford
 
 On Sun, 2005-05-15 at 11:35 -0400, dan sinclair wrote:
  A background dir isn't a theme dir tho.
  
  dan
  
  On Sun, 2005-05-15 at 15:05 +0800, Stafford Horne wrote:
   Hello, 
   
   I have done some work on exporting all of the paths through IPC.
   
   These are the current paths.  
   E_Path *path_data= NULL;
   E_Path *path_images  = NULL;
   E_Path *path_fonts   = NULL;
   E_Path *path_themes  = NULL;
   E_Path *path_init= NULL;
   E_Path *path_icons   = NULL;
   E_Path *path_modules = NULL;
   
   Implementation:
   The search path is now implemented by using two evas lists, one for
   hardcoded directories and one for user directories.  The user
   directories are stored in e_config and can be manipulated through IPC
   (enlightenment_remote). The user directory of an E_Path is a reference
   to the path in e_config and should be associated while initializing a
   new E_Path.
   
   example commands:
   
   -theme-dirs-list
   -theme-dirs-remove  OP
   -theme-dirs-append  OP
   -theme-dirs-prepend OP
   
   [EMAIL PROTECTED] bin]$ enlightenment_remote -display :0.0 
   -theme-dirs-list
   REPLY: BEGIN
   REPLY: THEME DIR=/home/shorne/.e/e/themes
   REPLY: THEME DIR=/home/shorne/.e/e/backgrounds
   REPLY: THEME DIR=/home/shorne/local/share/enlightenment/data/themes
   REPLY: END
   
   [EMAIL PROTECTED] bin]$ enlightenment_remote -display :0.0 
   -theme-dirs-append
   ~/misc/Pictures/
   [EMAIL PROTECTED] bin]$ enlightenment_remote -display :0.0 
   -theme-dirs-list
   REPLY: BEGIN
   REPLY: THEME DIR=/home/shorne/.e/e/themes
   REPLY: THEME DIR=/home/shorne/.e/e/backgrounds
   REPLY: THEME DIR=/home/shorne/local/share/enlightenment/data/themes
   REPLY: THEME DIR=/home/shorne/misc/Pictures/
   REPLY: END
   
   
   Notes:
   I have gotten rid of the -bg-dirs-list, the background dirs are now part
   of the theme dirs. The good thing is this does not break libe things
   like emblem.
   
   Stafford 
   
  



---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] E Summary 13-05-2005

2005-05-12 Thread dan sinclair
 to avoid slowdowns, give it a whirl again and see how
it goes.

Sadly, the Welcome screen has bit the dust. It only really function to
slow down the init of E a little bit and give some more information. To
that end it has done its job and has been removed from the code.

There is a bit of a hack in the system at the moment to facilitate theme
switching. If you have a recent E17 you may notice a Themes entry off of
your menu. Well, if you have any .edj files in ~/.e/e/themes they should
show up in this list and let you switch themes. Your new settings should
be saved into the config and loaded on the next restart.

If you noticed a strange segv while using E17 while deleting items from
the ~/.e/e/applications/all folder this has hopefully been fixed. If
you've updated and its still happening let us know.

And finally, if you update E17 and there are config changes that you
require E17 will automatically overwrite your old config files with new
ones. This means you will lose any custom configuration you had created
before the update. But, it also means strange segvs and weird happenings
shouldn't be a problem anymore.


If you enjoyed this summary or the Enlightenment project in general and
have a few bucks lying around, donations are accepted. Take a look at:
http://sourceforge.net/project/project_donations.php?group_id=2
for more information.

This summary is done by dan sinclair, if you have any questions,
comments, suggestions or things you'd like added to the next summary,
send them to me: zero at everburning.com.  Summary archives are
available at: http://edevelop.org/summary/archives.php.






---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Entangle

2005-05-08 Thread dan sinclair
Hello,

I just imported Entangle into e_utils. Entangle is a menu editor for
e17. It will let you manage the ibar, favorites menu, start and restart
directories.

There are a few issues with the UI that need to be worked out, but it
seems to work.

If you want to use entangle, the control is off of the mouse. Left
clicking on something in the left bar (the eapps) you can drag it onto
the menu to place it.

For stuff on the menu, clicking on a directory (the things with the
arrows on the right) will open that directory for you to configure.
(There is no way to go back so you have to navigate down from the root
again). If you middle click the item will be deleted. If you middle
click on a directory it, and all its sub-directories will be deleted.
You can right click on something in the menu and drag it around to move
stuff around if you want.

Nothing should change from e17s perspective until you hit the Save
button at the bottom, at which point e17 should pickup the change
without having to reboot or anything. Adding new directories is through
the Add directories button at the bottom. (There is no cursor, but just
type.) Entering blank will cancel the directory addition.

Thats about it. If it erases your hard drive, eats your cat or steals
your car, well, not my problem, heh.

dan





---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] GPL on eclair?

2005-05-07 Thread dan sinclair

The only reason that eke is gpl is that I wasn't paying attention when I
imported it and that was the license that autofoo stuck in there. I'll
change it to BSD when I get my internet at home back up.

dan



On 5/7/2005, Mike Frysinger [EMAIL PROTECTED] wrote:

On Saturday 07 May 2005 03:40 am, you wrote:
 According to the FSF, BSD is compatible with GPL. So, eclair can be on
 GPL even if the EFL are on BSD. On the contrary, if the EFL were on GPL,
 I don't think eclair could be on BSD. BSD is more permissive than GPL.

yes, as in you can import BSD code into GPL code, but not the other way around

i just see it as an annoying issue where you suddenly cant assume that you can
copy  paste code from any old random e17 app into any other random e17 app

then again i'm not raster so it's not my position to say what is and isnt ok

side note, doing a quick check on all the COPYING files, these are GPL:
e17/apps/iconbar
e17/apps/eclair
e17/libs/esmart
e17/libs/epsilon
e17/proto/exml

misc/camE
misc/enotes
misc/eplay
misc/gevas
misc/gevas/demo
misc/gevas-examples
misc/embrace
misc/eke
-mike


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r 
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Entangle

2005-04-29 Thread dan sinclair
Thats because it only looks in the all directory for the eapps. As far
as i know Applications is a non-standard place to put them. Is this just
a personal thing or does something actually use it? Entangle only pulls
eapps from the all directory.

dan


On Sat, 2005-04-30 at 04:32 +0300, Hisham Mardam Bey wrote:
 my eapps are in ~/.e/e/applications/Applications/ and it seems like
 entangle can not find them.
 
 On 4/30/05, Valtteri Vainikka [EMAIL PROTECTED] wrote:
  Hey,
  
  Looks great. I just added a section (and some news) about it on
  http://get-e.org/Documentation/User_Guide_pages/3.3.html. If you have
  spare time, please check it out if I got everything right. If there's
  anything you want me to edit, let me know.
  
  cheers,
  
  valtteri (vrln)
  
  On 4/29/05, dan sinclair [EMAIL PROTECTED] wrote:
   Hello,
  
   I just imported Entangle into e_utils. Entangle is a menu editor for
   e17. It will let you manage the ibar, favorites menu, start and restart
   directories.
  
   There are a few issues with the UI that need to be worked out, but it
   seems to work.
  
   If you want to use entangle, the control is off of the mouse. Left
   clicking on something in the left bar (the eapps) you can drag it onto
   the menu to place it.
  
   For stuff on the menu, clicking on a directory (the things with the
   arrows on the right) will open that directory for you to configure.
   (There is no way to go back so you have to navigate down from the root
   again). If you middle click the item will be deleted. If you middle
   click on a directory it, and all its sub-directories will be deleted.
   You can right click on something in the menu and drag it around to move
   stuff around if you want.
  
   Nothing should change from e17s perspective until you hit the Save
   button at the bottom, at which point e17 should pickup the change
   without having to reboot or anything. Adding new directories is through
   the Add directories button at the bottom. (There is no cursor, but just
   type.) Entering blank will cancel the directory addition.
  
   Thats about it. If it erases your hard drive, eats your cat or steals
   your car, well, not my problem, heh.
  
   dan
  
   ---
   SF.Net email is sponsored by: Tell us your software development plans!
   Take this survey and enter to win a one-year sub to SourceForge.net
   Plus IDC's 2005 look-ahead and a copy of this survey
   Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
   ___
   enlightenment-devel mailing list
   enlightenment-devel@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
  
  
  ---
  This SF.Net email is sponsored by: NEC IT Guy Games.
  Get your fingers limbered up and give it your best shot. 4 great events, 4
  opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
  win an NEC 61 plasma display. Visit http://www.necitguy.com/?r
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
  
 
 



---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Entangle

2005-04-29 Thread dan sinclair
Currently, if your eapp isn't in the all directory, they don't exist for
entangle. Can you have eapps scattered in other directories? I thought
they all had to be in the all directory.

dan



On Sat, 2005-04-30 at 11:16 +0800, Didier Casse wrote:
 I got the same problem here... duh! :-( 
 
 ([EMAIL PROTECTED]:apps)$ entangle 
 
 ERROR found Enlightenment in the favorite order file. There is no
 .eapp for it, and it isn't a directory. Skipping...
 ERROR found e17setroot.eapp in the startup order file. There is no
 .eapp for it, and it isn't a directory. Skipping...
 ERROR found myengage.eapp in the startup order file. There is no .eapp
 for it, and it isn't a directory. Skipping...
 Unable to locate theme.
 Error initing Entangle_Ui.
 
 It's not totally true... My eapp files are around but entangle can't
 seem to find them!
 
 -- 
 With kind regards,
 Didier.
 ---
 
 Didier F.B Casse | PhD candidate | LiMiNT Beamline
 Singapore Synchrotron Light Source (SSLS), 5 Research Link, Singapore 117603
 Email: [EMAIL PROTECTED]|
 Web: http://ssls.nus.edu.sg | GPG Key 1024D/B3C57D01 2004-06-23
 
 On 4/30/05, Hisham Mardam Bey [EMAIL PROTECTED] wrote:
  my eapps are in ~/.e/e/applications/Applications/ and it seems like
  entangle can not find them.
  
  On 4/30/05, Valtteri Vainikka [EMAIL PROTECTED] wrote:
   Hey,
  
   Looks great. I just added a section (and some news) about it on
   http://get-e.org/Documentation/User_Guide_pages/3.3.html. If you have
   spare time, please check it out if I got everything right. If there's
   anything you want me to edit, let me know.
  
   cheers,
  
   valtteri (vrln)
  
   On 4/29/05, dan sinclair [EMAIL PROTECTED] wrote:
Hello,
   
I just imported Entangle into e_utils. Entangle is a menu editor for
e17. It will let you manage the ibar, favorites menu, start and restart
directories.
   
There are a few issues with the UI that need to be worked out, but it
seems to work.
   
If you want to use entangle, the control is off of the mouse. Left
clicking on something in the left bar (the eapps) you can drag it onto
the menu to place it.
   
For stuff on the menu, clicking on a directory (the things with the
arrows on the right) will open that directory for you to configure.
(There is no way to go back so you have to navigate down from the root
again). If you middle click the item will be deleted. If you middle
click on a directory it, and all its sub-directories will be deleted.
You can right click on something in the menu and drag it around to move
stuff around if you want.
   
Nothing should change from e17s perspective until you hit the Save
button at the bottom, at which point e17 should pickup the change
without having to reboot or anything. Adding new directories is through
the Add directories button at the bottom. (There is no cursor, but just
type.) Entering blank will cancel the directory addition.
   
Thats about it. If it erases your hard drive, eats your cat or steals
your car, well, not my problem, heh.
   
dan
   
---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
   
  
   ---
   This SF.Net email is sponsored by: NEC IT Guy Games.
   Get your fingers limbered up and give it your best shot. 4 great events, 4
   opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
   win an NEC 61 plasma display. Visit http://www.necitguy.com/?r
   ___
   enlightenment-devel mailing list
   enlightenment-devel@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
  
  
  --
  Hisham Mardam Bey
  MSc (Computer Science)
  http://hisham.cc/
  +9613609386
  Codito Ergo Sum (I Code Therefore I Am)
  
  
  ---
  This SF.Net email is sponsored by: NEC IT Guy Games.
  Get your fingers limbered up and give it your best shot. 4 great events, 4
  opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
  win an NEC 61 plasma display. Visit http://www.necitguy.com/?r
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 
 
 ---
 This SF.Net email is sponsored by: NEC IT Guy Games.
 Get your fingers limbered up

[E-devel] directories in menus

2005-04-28 Thread dan sinclair
Hello,

I was just curious, if there is a directory in your favorite folder and
it isn't listed in the .order file, the directory shows up anyway, just
at the end of the menu.

Is this the correct behaviour? Or should directories only show up if
they're in the .order file (which I think makes more sense)?

Thanks,
dan




---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


RE: [E-devel] e_utils is cvs doesn't build!

2005-04-15 Thread dan sinclair
Update e17.



 Hi,
 Sorry to bug... I seem to have a little problem with e_utils in cvs:
 
 [SNIP]
 make[4]: Entering directory
 `/home/didier/rpmbuild/BUILD/e_utils-0.0.1/src/bin/e17setroot'
 if gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../lib
 -I/usr/local/include -I../../../lib -I/usr/local/include
 -I/usr/local/include -I/usr/local/include -I/usr/local/include
 -I/usr/local/include -I/usr/local/include/ewl -I/usr/local/include
 -I/usr/local/include -I/usr/local/include -I/usr/local/include
 -I/usr/local/include/engrave -I/usr/local/include -I/usr/X11R6/include
 -I/usr/include -I/usr/include/enlightenment-g -O2 -MT e17setroot.o
 -MD -MP -MF .deps/e17setroot.Tpo -c -o e17setroot.o e17setroot.c; \
 then mv -f .deps/e17setroot.Tpo .deps/e17setroot.Po; else rm -f
 .deps/e17setroot.Tpo; exit 1; fi
 e17setroot.c: In function `_e_bg_bg_get':
 e17setroot.c:52: error: structure has no member named `file'
 make[4]: *** [e17setroot.o] Error 1
 make[4]: Leaving directory
 `/home/didier/rpmbuild/BUILD/e_utils-0.0.1/src/bin/e17setroot'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/home/didier/rpmbuild/BUILD/e_utils-0.0.1/src/bin'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/home/didier/rpmbuild/BUILD/e_utils-0.0.1/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/didier/rpmbuild/BUILD/e_utils-0.0.1'
 make: *** [all] Error 2
 error: Bad exit status from /var/tmp/rpm-tmp.77341 (%build)
 RPM build errors:
 Bad exit status from /var/tmp/rpm-tmp.77341 (%build)
 
 
 Thanks for any help! :-)
 
 -- 
 With kind regards,
 Didier.
 ---
 
 Didier F.B Casse | PhD candidate | LiMiNT Beamline
 Singapore Synchrotron Light Source (SSLS), 5 Research Link, Singapore 117603
 Email: [EMAIL PROTECTED]|
 Web: http://ssls.nus.edu.sg | GPG Key 1024D/B3C57D01 2004-06-23
 
 
 ---
 SF email is sponsored by - The IT Product Guide
 Read honest  candid reviews on hundreds of IT Products from real users.
 Discover which products truly live up to the hype. Start reading now.
 http://ads.osdn.com/?ad_ide95alloc_id396op=click
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 






---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95alloc_id396op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Fw: an article about EFL

2005-04-14 Thread dan sinclair
Hm, that sounds like an interesting offer. I might just have to start
thinking about that. (Had a couple of differnent ideas rattling around
for things)...

dan


On Fri, 2005-04-15 at 12:31 +0900, Carsten Haitzler wrote:
 Begin chunk 'o stuff:
 
 Date: Thu, 17 Mar 2005 19:52:26 +0100
 From: Aleksander Trofimowicz [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: an article about EFL
 
 
 Hello,
 
 I've compiled the Enlightenment DR17 for nearly five hours (to be frank,
 meanwhile I was doing my everyday job activities), but finally got it.
 And now I'm pleased to write an e-mail to you in my new GUI. 
 
 While I was testing DR 17, in fact I still do, one thought came up to my
 mind. The EFL project is now consuming much of your team's effort and
 surely needs  to catch the attention of much more developers. Beside
 that it is a very promising set of libraries. I think these are good
 reasons to write an article about the EFL or even two since the one
 comprise of a wide range of libraries. What if you or some of your
 friend write such articles for Software 2.0 magazine?
 
 Our magazine would be the right place to share your thoughts with others
 since our primary concern is software development issues. To give you an
 impression what kind of article is preferred I attached two examples.
 Another advantage is that Software 2.0 is published in several countries
 (including but not limited to France, Poland, USA, Canada, Germany) in
 three language versions.
 
 I hope you find the invitation interesting.
 Whatever you decide, I would appreciate your response.
 
 Best regards,
 -- 
 Aleksander Trofimowicz
 Editor of the Software 2.0 Magazine
 http://www.software20.org/en/
 
 



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] E Summary 30-03-2005

2005-03-31 Thread dan sinclair
 directories. This should generate
the API documentation for that lib (you'll need Doxygen installed).
The output will be placed in the docs directory with HTML/MAN/LaTeX
subdirectories.


EWL Changes
---
If you were using the FREE/IF_FREE or other macros that EWL was
exporting you're going to have to change your code as these have been
made private, as they should be.


Esmart_TextArea
---
CodeWarrior added a new Esmart_TextArea object:
   esmart_textarea is a smart object around textblock which offers
   things like arrow key functionality, almost all keyboard nav, mouse
   nav, copy paste with clip board (and selection of course) amongst
   other things (reconfigurable bg and cursor etc...)


Accessing Data from Inside a Callback
-
Need to access your data from inside a callback? There are a couple of
options. If the thing being passed into the callback is an Ecore_Evas
you can use:
  - void  ecore_evas_data_set(Ecore_Evas *ee, const char *key, 
  const void *data);
  - void *ecore_evas_data_get(Ecore_Evas *ee, const char *key);
Or, if your working with an Evas and Evas_Objects you could do something
like:
   Evas_Object *o;
   o = evas_object_image_add(evas);
   evas_object_name_set(o, bob);

   /* ... later (or in a callback where you have your evas) */
   o = evas_object_name_find(evas, bob);
   /* and you should have o from above back */


e_modules
-
The e17/apps/e_modules directory has been created. This is for modules
we want to keep in CVS but aren't officially part of E17.

It currently contains snow and a new modules _notes_ (a sticky note
type thing).

---
This summary is done by dan sinclair, if you have any questions,
comments, suggestions or things you'd like added to the next summary,
send them to me: zero at everburning.com.




---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


RE: Re: [E-devel] libglade in EFL?

2005-03-23 Thread dan sinclair


 Am Tue, 22 Mar 2005 13:23:46 +0100 (CET) schrieb Vincent Torri:
 
  
  There's ewler, that you can find in cvs. It's not finished, iirc.
 
 checking for exml-config... no
 
 where could I find exml in CVS?
 


proto/exml

dan


 regards
 Andreas
 
 
 ---
 SF email is sponsored by - The IT Product Guide
 Read honest  candid reviews on hundreds of IT Products from real users.
 Discover which products truly live up to the hype. Start reading now.
 http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 






---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882alloc_id=15148op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


RE: Re: [E-devel] Strange SegFault on e17 startup

2005-03-21 Thread dan sinclair
If you attach gdb to a running program I believe you have to type 'cont' inside 
(Bgdb to get it to continue executing the program. I believe it pauses execution 
(Bby default.
(B
(Bdan
(B
(B
(B Good time of day!
(B 
(B Carsten Haitzler (The Rasterman) wrote:
(B  On Thu, 17 Mar 2005 17:48:28 +0200 "Ag. System Administrator"
(B  [EMAIL PROTECTED] babbled:
(B  
(B  
(B Hi again!
(B 
(B I'm attaching gdb session dump as you requested. E17 and stuff was compiled
(B  
(B  with -g.
(B  
(B As i see it, this segv somehow belong to X, because last lines in gdb output
(B  
(B  was:
(B  
(B  thats possible - or your stack is screwed so badly that the backtrace is
(B  useless.
(B  did you recompile e17, evas, ecore, eet, embryo and edje with CFLAGS=-g ?
(B  
(B 
(B yes
(B 
(B  cd eet
(B  make clean distclean
(B  export CFLAGS=-g
(B  ./configure
(B  make
(B  make install
(B  
(B  etc.
(B  ?
(B 
(B yes
(B 
(B  
(B  then run e17 under gdb?
(B  
(B  gdb enlightenment
(B  ...
(B  run
(B  
(B 
(B can't do run - it will freeze X
(B 
(B  then when/if it dies use these gdb commands:
(B  
(B  bt
(B  l
(B 
(B same here, when X freezed, i can't do nothing...
(B 
(B  
(B  when u see the listing and the segv it will say it died on a line. there 
(B  will 
(B be
(B  variabled. sometimes like:
(B  
(B  if (!strcmp(string, "blah")) obj-blah = 1;
(B  
(B  then print out all the variables
(B  
(B  p string
(B  p obj
(B  
(B  if its a pointer variable u can print out what it points to (the entire 
(B  struct)
(B  p *obj
(B  for example
(B  
(B  basically look at the code there, match it up with the src and dump a bunch 
(B  of
(B  variables (if you can) and then we have some info to work with. :) the bt 
(B  above
(B  looks like the stack is corrupt though - but make sure u compiled 
(B  everything of
(B  efl with gdb debugginng so we can check as much as possible
(B  
(B 
(B i did additional searches, and what i found is that problems starts in 
(B ecore_x_window_size_get(root, 
(B w, h);
(B From there called ecore_x_drawable_geometry_get, then last successfull step 
(B was 
(B before function that located in
(B ecore_x.c on line 722. (if (!XGetGeometry... blah blah blah...)
(B If i enter this function - X is freezed.
(B I think is REALLY Xorg problem, i don't know what they did with xlibs, but 
(B XGetGeometry 
(B - this is what causing my problem.
(B 
(B 
(B Might be i'm wrong, but this what i have until now... I"ll try to downgrade X 
(B and 
(B xlibs, might be it will help.
(B 
(B 
(B Thanks,
(B Dan
(B 
(B 
(B ---
(B SF email is sponsored by - The IT Product Guide
(B Read honest  candid reviews on hundreds of IT Products from real users.
(B Discover which products truly live up to the hype. Start reading now.
(B http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
(B ___
(B enlightenment-devel mailing list
(B enlightenment-devel@lists.sourceforge.net
(B https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
(B 
(B 
(B
(B
(B
(B
(B
(B
(B---
(BSF email is sponsored by - The IT Product Guide
(BRead honest  candid reviews on hundreds of IT Products from real users.
(BDiscover which products truly live up to the hype. Start reading now.
(Bhttp://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
(B___
(Benlightenment-devel mailing list
(Benlightenment-devel@lists.sourceforge.net
(Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-devel

RE: [E-devel] TODO or not TODO

2005-03-17 Thread dan sinclair
If your refering to the summary, I was talking about hte e17 todo, 
e17/apps/e/TODO. Other libs do differnet things, some have todos, some have 
entries in the code, some don't have anything.

dan


 Hey!
 
 I can't find any 'general or top level' TODO file in CVS. And many TODO 
 files are missing in libs. So I can't really figure out what and where 
 to work on. Any specific help needed?
 
 
 
 Thanks
 
 
 Thijs Thiessens
 
 
 
 ---
 SF email is sponsored by - The IT Product Guide
 Read honest  candid reviews on hundreds of IT Products from real users.
 Discover which products truly live up to the hype. Start reading now.
 http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 






---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] E Summary 16-03-2005

2005-03-16 Thread dan sinclair
The Path to Enlightenment III
-
Well, here's the third one. Waited a bit longer then I would have liked
before I got it written, and as such, there seems to have been a whole
lot of stuff thats happened. So, enjoy.


E17 Menus
-
Did you notice that your menus would get reset if you removed the
eterm.eapp file? Well, this has been changed to look for the .order file
now so it should be safe to remove the eterm.eapp file.


E17 help

Want to help? If your looking for what currently needs to be done take a
look at the top level TODO. Thats whats currently holding up the freeze.
For now, don't worry so much about the individual file TODO items.


E17 docs

Looking for E17 user docs? http://lude.net/edocs should give you
a good start. They're looking for some feedback, you can see the start
of the mailing list thread at:
http://marc.theaimsgroup.com/?l=enlightenment-develm=111054507031989w=2


E17 updating

Have you updated E17 and noticed that some of the functionality, like
alt-click on windows, seems to have broken? Well, its probably your
config. Try exiting e17, cleanup your ~/.e/apps/e directory and restart
e. Hopefully everything should work now.

Or, if you're still in E17 and you installed an new version you may
notice your menus go all wacky (if the new version included theme
changes). If you can't seem to access the restart button on the menu,
_enlightenment_remote_ has had a -restart option added.


E17 and Java

Tried to use Java in E17 and had some wacky stuff happen? Well, it seems
that Sun did some silly things with Java's X code and explicitly checks
the window manager and behaves differently with each WM (cudos to
HandyAndE for figuring this one out). Raster has put in a temporary hack
to make E pretend to be Kwin, but this fix is probably changing. So, bug
Sun, get them to fix their busted code.


E17 and Solaris 10
--
Binary Crusader did some investigation into getting E stuff working on
Solaris 10 and here are his findings:
http://marc.theaimsgroup.com/?l=enlightenment-develm=111086439419895w=2


Missing libe?
-
If your compiling something (e_utils especially) and seem to be getting
a link error taking about libe, make sure you have E17 installed
correctly as these programs access its corresponding library.


Edje Colour Class Tutorial
--
Rephorm has written up an Edje colour class tutorial, available at
http://rephorm.com/rephorm/design/cc/. There are a couple of
discussion points at the end, so give it a read and give some feedback.


Elicit
--
Rephorm has spent some time with elicit over the last little while. He
has the winter theme setup to be colour classed. You can middle click on
a swatch to set the borders to that colour, or middle click on the shot
to load it in the GIMP (using gimp-remote).


Evas Textblock
--
Minor API change in the textblock,
evas_object_textblock_current_format_get was changed to
evas_object_textblock_format_current_get to keep things consistent.


EWL Text Entry
--
EWL has had the big switch to the evas_object_textblock. As such, there
are probably lingering issues and bugs. Give it a run, pound on it and
let us know how it goes. This also removes the Etox dependency from EWL.


EWL E17 Theme
-
The start of a theme similar to the E17 default theme has been added to
the EWL repository. It isn't finished and has lots of rough edges, but
if your good with sandpaper, give it a run. (If you didn't know, EWL
apps will accept a '--ewl-theme e17' or similar parameter.)


EWL Popup Menus Example
---
RbdPngn has a simple EWL popup menu example up if you want to take a
look, it doesn't work perfectly but should get the basics across. Its
available at: http://ningerso.atmos.org/files/popup.c.


EWL todo list
-
The EWL TODO list is a bit lacking, if you have any bugs, grips, or
wishes for EWL send them to me, zero at everburning.com and I'll fixup
the TODO so its more accurate.


E17 and older E versions

If you have an older copy of E installed on your machine and want to put
E17 on, you should note that E16.8 is the only one that will play nice
in the same install prefix as E17. (You can install to different
prefixes fine, just to the same one would be an issue.)


Evas Redraw problem
---
There was a report of Evas having a redraw problem, but I didn't really
understand the email. No-one responded that I saw, so I thought I'd
bring it to everyones attention again:
http://marc.theaimsgroup.com/?l=enlightenment-develm=111064087619439w=2


edje_(de)?cc

Tilman has been playing with edje again. He has made a couple of nice
changes including adding the -o option to edje_decc to specify the
output file name and adding the long options to edje_cc for --image_dir
and --font_dir.


This summary is done by dan sinclair, if you have

[E-devel] E Summary 05-03-2005

2005-03-05 Thread dan sinclair
 to be an artifact
of the way SourceForge syncs dev to anon cvs. The lock will disappear in
~5 hrs when sourceForge does the next sync.


Ewl_Table API Breakage
--
The API to ewl_table_add has changed slightly to take an Ewl_Widget
instead of an Ewl_Cell. You'll have to update your code and cast as
needed.



This summary is done by dan sinclair, if you have any questions,
comments, suggestions or things you'd like added to the next summary,
send them to me: zero at everburning.com.




---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] E Summary 01-03-2005

2005-03-02 Thread dan sinclair
The Path To Enlightenment 1
---

Well, its been mentioned that something like a note dropped now and then
would be handy for the coding effort, new user integration. So, since I
don't feel like anything else, here's a first stab.

Let me know if there is anything blatantly wrong, corrections to be made
etc. This is a first run, so be nice.


Mini Freeze
---
The mini freeze is ongoing. Items are popping off the freeze list, so
hopefully all the blockers will be thawed and we can move onto some cool
new features.


Versioning
--
There was a bit of a stir caused by some versioning changes raster put
in last week, .001 was appended to each of the libs and any _preX stuff
has been removed. This caused a bit of a problem with some of the
current makefiles. Most of which should be worked out.

The reason for the change was to make automated releases easier,
simplifying everyones life and letting raster script his releases, so
we'll hopefully see the more often.


Engage
--
Engage has been enhanced to have an e17 module. This changes means that
you will _have_ to have e17 built and installed before compiling engage.
But the module is coming along, and some of the current plans sound
quite interesting. Who knows, maybe it'll convince me a launcher isn't
inherently evil.

Imlib2
--
A change was made to Imlib2's configure script that seemed to cause
problems for Gentoo users. If you were experiencing problems building
Imlib2 and getting undefined references to X calls, try updating your
Imlib2 and rebuilding, everything should be fixed.


e_utils
---
If you haven't seen it e_utils is kicking around the apps dir of CVS and
contains a couple of utility programs to help with e17. The are:
 - emblem   a GUI program to set e17s bg.
 - e17setroot   a cmdline program to generate/set e17 bgs.
 - eapp_editan EWL program to create eapp files for e17 menus.


Enterminus
--
Enterminus is an Evas based terminal. Its very, very new, but works for
some things, resizing was recently fixed in CVS, there are still issues
with scrolling, but there being worked on.


Helping Out
---
Raster has put out a general call for help, looking for people to work
on docs, or summaries of dev work, articles, or general FUD fighting.
The currently EFL docs are scattered throughout the code and can use a
lot of work, there are errors generating Doxygen and things like that.
If you want to help, check whats around and send some patches.


e17menugen
--
Tying into the above, there is been a project started to generate e17s
menus from KDE/GNOME menus on the system.
http://sourceforge.net/projects/e17genmenu if you want more information
or to help out.

EFL Snapshots
-
Snapshots of the EFL are available from
http://code-monkey.de/e-snapshots if for some reason you can't access
CVS or have problems in the autogen stage take a look at these snaps,
they might help you out. I belive they are generated nightly.


Live CDs

There was a question about live CDs on the mailing list, with the
pointer to: http://livecd.debianitas.net/ popping up if your interested
in trying E on a live cd.


Freedesktop Standards
-
As arises now and then, the question of E following fdo standards. E
does use these, take a look at Epsilon, a program to generate the thumb
nails based on the fdo spec. In terms of the .desktop files, E has its
own system in place to handle menus, but we want to write programs to
import/maintain these menus. For more info on this, check out rasters
mail to the e-devel mailing list.


Evas Textblock
--
The evas_object_textblock has been improving and should be mostly useful
in any user code. If your currently using Etox for anything I'd start
taking a closer look to the textblock as Etox will be getting phased out
as textblock becomes more widely adopted. If you want to see some usage
of textblock take a look at http://rasterman.com/files and find the
current expedite tar ball. There is some example code in there.


--
This summary is done by dan sinclair, if you have any questions,
comments, suggestions or things you'd like added to the next summary,
send them to me: zero at everburning.com.



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


RE: RE: Re: [E-devel] Access evas for ewl_window

2005-02-14 Thread dan sinclair
Well, I took a look at EXML when I was doing EKE and found it was simpler just 
to go straight to libxml2

Heh, I'd even skip the editor part and just make it a webbrowser. Just adding a 
lot of complexity into a program when its not necessary.

As far as I know Evas has no abilities to render SVG, so I'm not sure how you'd 
go about doing that...

dan



 I'm going to do some testing this week (if I have time), I'm also trying
 to think of a more intuitive interface then the usual (but I really suck
 at it because I don't have an art bone in my body).
 
 I was looking at EXML and wondering about modifying it to work with it.
 I think I'm actually going to XHTML for my first tests anyway, so it could
 prove usefull (if it is currently working anyway).
 
 I want it just to be a web browser and maybe an editor, but I don't want
 an email program and all that crap built into it.  They can and as far as
 i'm concerned SHOULD be seperate programs.
 
 Thanks for the textobject tip, I'll take a look at that tonite... or I'll
 browse the CVS if I have a chance at work :)
 
 Though if it does get off the ground, adding some more advanced XML
 support might be cool, rendering SVG and SMIL. I may just use something to
 like xslt to transform xml into a version that suits the program's
 structure a little better... but then again that may be too slow.
 
 What I'm not looking forward to is the Javascript :(
 
 Reading CSS shouldn't be that hard. I was planning on using CSS3 and
 mapping the attributes to a structure in the code that would be used for
 placement and whatever on the evas. Should be easy... Should be. And I
 might as well start with the top as long as I make sure everything is
 there to be compatible with version 1 and 2.
 
  If your looking to do this then I'd take a look at the
  evas_object_textobject stuff. It has a lot of the capabilities to handle
  HTML style markup built into it. bold, italic, font changes etc. And
  raster is planning at some point to add in obstical avoidance and wrapping
  stuff...
 
  Sounds like it could be an interesting/fun project, tho the parsing of the
  html could be a pain in the ass, heh.
 
  dan
 
 
 
  Awsome... that is pretty much what I was looking for...
 
  I'll be able to get the interface for this program working soon then.
  I'm going to try to put my hand at creating an E web browser (not with
  embedding mozilla or any thing halfassed like that) I want to try and
  convert the tags to evas objects.
 
  Could take a lot of time, and it will help me get to know the EFL a lot
  better.
 
  Anyone wants to help that would be cool. just send me an email.
 
   Yeah, you get the basic idea. There are some details with theming in
   there, but overall you have it right.
  
   Coordinates are all window based, not widget. If you want to clip to
   the inside of the widget you can use EWL_WIDGET(widget)-fx_clip_box
   as your clip rectangle.
  
   On Fri, 11 Feb 2005 11:13:13 -0500 (EST), Nigel Benns
   [EMAIL PROTECTED] wrote:
   Ok if I get ewl_simple_test.c correctly...
  
   You create a widget called logo, add a logo to it via edje, add the
   realize event so that when you update the text in label it will
  change
   the
   logo as well.
  
   If I create my own widget and pass it the evas to draw on, the
   coordinates
of the evas would start from the window's inner border, not my
  widgets,
   am I correct?
  
After the realize callback has occurred for the window, you can do
EWL_EMBED(window)-evas to access the evas. If you plan to use this
  to
setup a canvas, I would recommend creating your own Ewl_Widget and
setting it's preferred size. Then you can just hook into it's own
realize callback and can allocate space with EWL for your drawing.
ewl_simple_test.c has an example of how to do this with the logo
widget.
   
   
On Fri, 11 Feb 2005 09:08:12 -0500 (EST), Nigel Benns
[EMAIL PROTECTED] wrote:
Is there any way to access the evas that an ewl_window or any
  other
widget
uses to draw?
   
I know that I could create an evas and ewl_embed all of the
  widgets
   on
it,
but that doesn't seem very consistent for gui programming (mabey
  I'm
just
used to the old ways :)
   
I'm basically looking for an equivilent to Gnome_Canvas.
   
---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real
   users.
Discover which products truly live up to the hype. Start reading
  now.
http://ads.osdn.com/?ad_ide95alloc_id396opclick
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
   
   
  
  
  
 
 
 
  ---
  SF email is sponsored by - The IT Product Guide
  Read 

[E-devel] textblock formatted size

2005-02-13 Thread dan sinclair
Hello,

I've been playing with the textblock in relation to EWL a bit lately and have 
run into an issue. In the textblock, until you evas_object_resize, the width is 
always 0 (I consistently seem to get height 3 back for some reason).

Now, the problem with EWL is that it wants to get the size of the formatted 
region and then resize/set its preferred size to that size. Now, Nathan has a 
workaround:

  RbdPngn ok, so here's teh work around to discover preferred size
  RbdPngn fill in your text to the textblock
  RbdPngn resize the object to a starting size, probably start small
  RbdPngn resize and query the y position of the end of the text
  RbdPngn repeat until y doesn't change

But, I don't think this will work for scrollpane.

Is there a way we could say, what is the formatted size of this 
evas_object_textblock using the longest line as the evas object width?

(The test program I was using is http://www.everburning.com/tmp/e.c)

dan







---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] textblock formatted size

2005-02-10 Thread dan sinclair
Hello,

I've been playing with the textblock in relation to EWL a bit lately and have 
run into an issue. In the textblock, until you evas_object_resize, the width is 
always 0 (I consistently seem to get height 3 back for some reason).

Now, the problem with EWL is that it wants to get the size of the formatted 
region and then resize/set its preferred size to that size. Now, Nathan has a 
workaround:

  RbdPngn ok, so here's teh work around to discover preferred size
  RbdPngn fill in your text to the textblock
  RbdPngn resize the object to a starting size, probably start small
  RbdPngn resize and query the y position of the end of the text
  RbdPngn repeat until y doesn't change

But, I don't think this will work for scrollpane.

Is there a way we could say, what is the formatted size of this 
evas_object_textblock using the longest line as the evas object width?

(The test program I was using is http://www.everburning.com/tmp/e.c)

dan







---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] eke 0.1.0 Window Size

2004-12-31 Thread dan sinclair
The edje gui is further along then the ewl one. There is currently no
way to wrap text in the ewl_text area. This is being worked on, until
then, eke will probably take up strange amounts of space. I may try
putting it into a scrollpane to see what happens, but we'll see.

The browser stuff is a recent addition to the edje gui, not ported into
the ewl one yet. I'm waiting till text wrapping is possible before doing
work on it.

Settings aren't saved in either mode. I need to be able to store a list
of structs in ecore_config, else I have to do it in a hackish way.

You can always give all your feeds on the cmd line one after the other
and they will all start.

dan


On Fri, 2004-12-31 at 12:55 -0500, Peter Hyman wrote:
 Thanks Corey for the tip.
 
 Eke in ewl gui mode takes up a whopping 2544x1860+ screen once a feed is
 added and is completely fixed and cannot be resized. While I can force
 the window frame to fit my screen, text will not wrap. (my display
 settings are 1024x768 for screen 0 and 1280x1024 for screen 1.
 
 In edje gui mode, the window places nicely and text wraps and the window
 is resizeable.
 
 In addition, in ewl mode, no browser is launched for an article, but in
 edje mode, it is.
 
 Finally, in ewl mode, settings are not saved, so each launch, the
 feed(s) to watch have to be manually added.
 
 I have the latest CVS libraries as of today.
 
 Cool product. Good start.



---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] missing libengrave_la-engrave.h

2004-12-29 Thread dan sinclair
That header file is generated by the build process. If its not there
then either flex or bison didn't run, can't remember which. You should
see some kind of error earlier in the build process.

dan


On Fri, 2004-12-24 at 08:51 +0100, Antonio Palladini wrote:
 Hello list,
 
 after a ./autogensh in e17/libs/engrave and a make i got the error : 
 
 engrave.l:5:35: libengrave_la-engrave.h: No such file or directory
 
 This file is not in my local Reprository (cvs from 08:30 CET today)
 
 How can i solve this ?
 
 Thanks to the Enlightenment Team for this great work
 and Merry Chrismas.
 



---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


RE: [E-devel] EWL

2004-12-08 Thread dan sinclair
Hello,

I found the same ewl_box bug last night, had the fix in my tree, just hadn't 
commited it yet. Its in now.

I've also commited the new ewl_notebook code. This is basiclly a full re-write 
of the notebook to be a bit more sane. It uses the other widgets as a base. 
There are a couple of known issues, but hopefully they'll be easy to work out.

Let me know if there are any issues.

RbdPngn tracked and fixed the etox bug the other day, it should also be fixed. 
Needed to set the font path for each etox if it was in a new evas. But didn't 
want to keep appending the same font path to the same evas.

dan



 Hi!
 
 Here is a patch for ewl.
 
 In src/ewl_box.c the size isn't changed if a NULL child is added.
 
 In src/ewl_entry.c the cursor is moved to the end of the line, not one
 before the end. Not sure if this is the right fix.
 
 Many changes to src/ewl_notebook.c to make the layout right.
 
 In addition I have encountered a weird problem. If I open a new window
 with ewl_window_new from an existing window, I don't get any fonts in
 that window. I tracked it down to etox adding a font path to the
 underlying evas the first time etox_new is called, but not later. So
 the new window with a new evas has a different font path, and text
 isn't shown.
 
 So either must etox always add the font-path, or evas must change it's
 fontloader and check what the current font-path is. I think the problem
 is in etox, but I don't understand the EFL libs well enough yet.
 
 Regards
 Sebastian
 






---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


RE: [E-devel] edje_cc weirdness

2004-12-01 Thread dan sinclair
Either you need to update your edje, or you need to update the ewl theme. (That 
every EDC with border fails implies you need to update edje)

The border keyword was moved inside the image block a while ago. So if you 
don't have both pieces up to date stuff will break.

dan



 Hi E17 developers!
 
 First of all - REALLY BG THANKS! You doing great work! Hope to see e17 
 soon 
 ;)
 
 I'm trying to compile CVS's ewl, and some weird things happens:
 
 
 make
 
 (cd ../../data/themes ; edje_cc -v -id ../../data/themes/default/bits/images 
 default.edc 
 ../../data/themes/default.eet)
 edje_cc: Opening /tmp/edje_cc.edc-tmp-WAqHWs for input
 edje_cc: Parsing input file
 edje_cc: Error. default/bits/button-groups.edc:15 unhandled keyword border
 make: *** [default.eet] Error 255
 
 Every .edc file that have border keyword in it - fails :(
 Any ideas?
 
 Thank you,
 Dan
 
 
 ---
 SF email is sponsored by - The IT Product Guide
 Read honest  candid reviews on hundreds of IT Products from real users.
 Discover which products truly live up to the hype. Start reading now. 
 http://productguide.itmanagersjournal.com/
 ___
 enlightenment-devel mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 






---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


RE: [E-devel] Program eet file formats

2004-11-30 Thread dan sinclair
I'm not sure how you dumped that, but there is a program edje_decc that will 
de-compile an eet file back to its sources. 

So your best bet is to run edje_decc eterm.eet and then in the eterm directory 
there is a file called main_edje_source.edc. You can then edit this file for 
your new app and run the build script to build a new eet. (You may need to 
chagne the build script to not genreate eterm.eet but a different named file.

dan



 I dumped the eterm.eet included in the favorite_apps.tar.gz file.
 
 Is there any quick instructions for creating an application eet file
 that I could follow? Are the commands and structures in the edje source
 documented? Can I help?
 
 Feel free to annotate this example and perhaps put the proper program
 prologue in for me. Thanks a lot.
 
 eterm.eet file dump:
 
 
 CHnKqsrcfile_listCHnK
 \listCHnKOsrcfileCHnKnamemain_edje_source.edcCHnKfiledata{
 item: app/name Eterm;
 item: app/exe Eterm;
 }
 images { image: icon.png COMP; }
 collections { group {
 name: icon;
 max: 48 48;
 parts { part {
 name: image;
 mouse_events: 0;
 description {
 state: default 0.0;
 aspect: 1.0 1.0;
 image.normal: icon.png;
 } } } } }
 
 -- 
 Peter
 
 
 
 ---
 SF email is sponsored by - The IT Product Guide
 Read honest  candid reviews on hundreds of IT Products from real users.
 Discover which products truly live up to the hype. Start reading now. 
 http://productguide.itmanagersjournal.com/
 ___
 enlightenment-devel mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 






---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Ecore_Config default values

2004-08-22 Thread dan sinclair
Hello,

I was trying to set the default EWL theme into the Ecore system.db and noticed
that it dosen't seem to be working. As far as I can tell, the value is correctly
read out of the system.db but when the call to ecore_config_theme_default() is 
made that default value over-rides what was initially set in the system.db.

Is this how Ecore_Config is suppost to work? I thought the _default_ calls only set 
the values if there was no value currently set in the .db files.

Thanks,
dan



---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


RE: [E-devel] Where is ewl_edb_ed on ewl???

2004-08-07 Thread dan sinclair
If you checked out from cvs try doing a 'cvs update -d' to get the new directories, 
ewl_edb_ed will be in the tools directory. I'm not even sure if ewl_config compiles 
anymore.

dan



 hi, list users.
 
 I cannot find ewl_edb_ed on ewl.
 
 but, i found ewl_config directory.
 
 so, c below message
 
 
 diff -uNr ewl-0.0.4/configure.in ewl-0.0.4.new/configure.in
 --- ewl-0.0.4/configure.in  2004-07-29 21:47:49.0 +0900
 +++ ewl-0.0.4.new/configure.in  2004-08-07 19:52:23.902352471 +0900
 @@ -314,7 +314,7 @@
  src/Makefile
  test/Makefile
  tools/Makefile
 -tools/ewl_edb_ed/Makefile
 +tools/ewl_config/Makefile
  data/Makefile
  data/images/Makefile
  data/themes/Makefile
 diff -uNr ewl-0.0.4/tools/Makefile.am ewl-0.0.4.new/tools/Makefile.am
 --- ewl-0.0.4/tools/Makefile.am 2004-07-29 21:48:03.0 +0900
 +++ ewl-0.0.4.new/tools/Makefile.am 2004-08-07 19:45:17.859229209 +0900
 @@ -1,4 +1,4 @@
  AUTOMAKE_OPTIONS = 1.4 foreign
  MAINTAINERCLEANFILES = Makefile.in
 
 -SUBDIRS=ewl_edb_ed
 +SUBDIRS=ewl_config
 
 
 -- 
 Enlightenment SARANG NET
 EMail : [EMAIL PROTECTED]
 WEB: http://e.sarang.net/
 
 
 






---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


RE: Re: [E-devel] Time to get started.

2004-08-04 Thread dan sinclair
Its really easy to do a text viewer with EWL at this point (This is the EWL intro in 
the cookbook). Making the text editable would be a bit more work as I don't think you 
can edit the text area at this point.

dan

  Now, the question is: what can I do? =)
 
 Looking through MIME types...
 
 audio/* - viewer: euphoria, editor: ???
 image/* - viewer: entice, editor: ???
 video/* - viewer: raster's demo?, editor: ???
 text/* - viewer: ???, editor: ???
 
 So it looks like all we need is a plain text viewer, and then media creator /
 editors. There's more specific things like text/html, but I'd think it best to
 cover all the root categories first :)
 
 -- Shish
 
 
   
 __
 Do you Yahoo!?
 Yahoo! Mail Address AutoComplete - You start. We finish.
 http://promotions.yahoo.com/new_mail 
 
 
 ---
 This SF.Net email is sponsored by OSTG. Have you noticed the changes on
 Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
 one more big change to announce. We are now OSTG- Open Source Technology
 Group. Come see the changes on the new OSTG site. www.ostg.com
 ___
 enlightenment-devel mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 






---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


RE: Re: [E-devel] esmart_trans error

2004-04-26 Thread dan sinclair
Yea, the display has always been correct. 

dan


 Am 3889. September 1993 schrieb dan sinclair:
  I've setup Esmart_Trans to work in my little app, but I've noticed an
  Imlib2 error message that appears when I switch virtual desktops. It
  appears if I move to a desktop other then the first one (top left).
 
   Does it display right, though?
 
 -- 
   If writers were bakers, this sentence would be exactly a dozen words long.
 
 
 ---
 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
 
 






---
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 config

2004-04-25 Thread dan sinclair
Hello,

In using ecore_config, I was wondering why it returns 0 on success.
It seems that the general ecore way of doing things is to return 1 on success.

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


[E-devel] Esmart

2004-04-25 Thread dan sinclair
Hello,

It looks like the esmart headers also need to be wrapped to be usable
from c++.

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

2004-04-25 Thread dan sinclair
Should it be changed so that it is consistent with the rest of ecore? It is a little 
confusing 
when you can do if (!ecore_init()) for everything then suddenly you need to do 
if (ecore_config_init(foo) != 0) for config.

dan


On Sun, 2004-04-25 at 05:06, Cristalle Azundris Sabon wrote:
  In using ecore_config, I was wondering why it returns 0 on success.
 
   The C way.
 
  It seems that the general ecore way of doing things is to return 1
  on success.
 
   The shell way.
 
 
 ---
 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
 



---
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] esmart_trans error

2004-04-25 Thread dan sinclair
Hello,

I've setup Esmart_Trans to work in my little app, but I've noticed an Imlib2 error 
message that appears
when I switch virtual desktops. It appears if I move to a desktop other then the first 
one (top left).

There are 4 error messages all talking about image being NULL, the calls are:
imlib_image_clear
imlib_image_set_format
imlib_image_get_data_for_reading_only
imlib_free_image_and_decache

It seems that the root value esmart has is correct for my root window.

Let me know if you need me to look anything else up.

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


[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


[E-devel] question about etox

2004-02-14 Thread dan sinclair
Hello,

I've got a quick question about etox. Is it possible, after the etox has
been created and the text set, to change the colour of the text in the
etox?

I've tried calling the colour_set functions, but there is no change in
the displayed text. Is there some way I can force the etox to refresh
itself with the new colour values?

(I'm also trying to do the same with the font size and have added a
function to change just the font size, but again, the etox dosen't
change. If i set the value on create it works correctly).

Thanks,
dan




---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] ewl_scrollpane additions

2004-02-13 Thread dan sinclair
Hello,

I wanted to be able to scroll a scroll pane by hitting the arrow keys on
my keyboard, so I added the functions to allow me to update the
scrollpane values.

The attached patch adds:
ewl_scrollpane_set_hscrollbar_value
ewl_scrollpane_set_vscrollbar_value

ewl_scrollpane_get_hscrollbar_step
ewl_scrollpane_get_vscrollbar_step

Thanks,
dan



ewl_scrollpane_mods.diff.gz
Description: GNU Zip compressed data


[E-devel] etox get font

2004-02-13 Thread dan sinclair
Hello,

This function etox_context_get_font was listed in the header file but
wasn't implemented in code. The attached has an implementation of the
function.

Thanks,
dan

Index: etox_context.c
===
RCS file: /cvsroot/enlightenment/e17/libs/etox/src/etox_context.c,v
retrieving revision 1.16
diff -u -r1.16 etox_context.c
--- etox_context.c	10 Sep 2003 03:03:44 -	1.16
+++ etox_context.c	14 Feb 2004 02:23:50 -
@@ -313,6 +313,24 @@
 */
 
 /**
+ * etox_context_get_font - get the default font for the etox
+ * @et: the etox to get the font from
+ * @size: where the size will be placed
+ * @return Returns the font name on success, NULL on failure
+ */
+char *etox_context_get_font(Etox_Context *context, int *size)
+{
+CHECK_PARAM_POINTER_RETURN(context, context, NULL);
+
+*size = context-font_size;
+
+if (!context-font)
+return NULL;
+
+return strdup(context-font);
+}
+
+/**
  * etox_context_set_font - change the default font for the etox
  * @et: the etox to change the default font
  * @name: the name of the default font to use


[E-devel] eplayer arguments

2004-02-12 Thread dan sinclair
Hello,

I've changed the argument handling in eplayer (and some of the setup code) so users 
can pass theme, engine or output plugin on the command line and override the db values.

I had to break the eplayer_new into a _new and a _setup and then call the handle_args 
after the _new call. 

The three options added are:
 --theme (-t)specify the theme to use
 --engine (-e)   specify the evas engine to use
 --output (-o)   specify the output plugin to use

The diff can be found at:
http://www.everburning.com/tmp/eplayer_args.diff

If this gets included, I may try comverting the db stuff over to using Ecore_Config, 
but we'll see if I have time.

Thanks,
dan







---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] eplayer segfault

2004-02-11 Thread dan sinclair
Hello,

Eplayer would segfault if you tried to seek when there was no track
selected.  (Eg just run eplayer and hit the seek buttons)

(gdb) run
Starting program: /usr/local/bin/eplayer
[New Thread 16384 (LWP 4139)]
[New Thread 32769 (LWP 4140)]
[New Thread 16386 (LWP 4141)]
 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 4139)]
0x0804c14d in _eplayer_seek_timer (data=0x8052190) at callbacks.c:422
422 new_pos = pli-current_pos + player-flags.seek_dir;
(gdb) bt
#0  0x0804c14d in _eplayer_seek_timer (data=0x8052190) at
callbacks.c:422
#1  0x4014eafe in _ecore_timer_call (when=1076559873.7694211) at
ecore_timer.c:195
#2  0x4014dd7c in _ecore_main_loop_iterate_internal (once_only=0) at
ecore_main.c:394
#3  0x4014d63c in ecore_main_loop_begin () at ecore_main.c:49
#4  0x0804b547 in main (argc=0, argv=0x4015030c) at eplayer.c:346
#5  0x405d77a7 in __libc_start_main () from /lib/libc.so.6
(gdb) quit


The attached patch should fix this.

Thanks,
dan

Index: callbacks.c
===
RCS file: /cvsroot/enlightenment/misc/eplayer/src/callbacks.c,v
retrieving revision 1.48
diff -u -r1.48 callbacks.c
--- callbacks.c	8 Feb 2004 11:55:26 -	1.48
+++ callbacks.c	12 Feb 2004 04:25:48 -
@@ -419,6 +419,9 @@
 	PlayListItem *pli = playlist_current_item_get(player-playlist);
 	int new_pos;
 
+if (!pli)
+return 0;
+
 	new_pos = pli-current_pos + player-flags.seek_dir;
 
 	if (new_pos = 0)


[E-devel] Ecore Text bug

2004-02-10 Thread dan sinclair
Hello,

I was using Ecore_Txt and noticed that if my input string was corrupt it would loop 
continuously.

The attached patch catches the two cases where iconv throws -1 and that were not 
already caught. In both cases it just returns NULL as the new string. I don't know if 
this  the correct way to handle it, but it will at least allow it to be handled, heh.

Thanks,
dan





ecore_txt.diff
Description: Binary data


[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);
   }


<    1   2   3