Re: [E-devel] Ecore_Evas - EFL Cookbook sample doesnt run

2006-05-08 Thread Robin Van Loock
When I last rebuilt from CVS I also noticed that my ecore_evas code no longer worked if I specified dimensions when calling ecore_evas_gl_x11_new (it returned a nullpointer, resulting in the same magic check failures). It did work however if I specified all zeroes for the window dimensions in that call and made some calls after that to set the window sizing.
On 5/7/06, dan sinclair [EMAIL PROTECTED] wrote:
Ed Presutti wrote: /me smacks the dev team for not updating the cookbook!And yet, I see no patches.dan---Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Ecore_Evas - EFL Cookbook sample doesnt run

2006-05-08 Thread The Rasterman
On Mon, 8 May 2006 08:06:51 +0200 Robin Van Loock [EMAIL PROTECTED] babbled:

 When I last rebuilt from CVS I also noticed that my ecore_evas code no
 longer worked if I specified dimensions when calling ecore_evas_gl_x11_new
 (it returned a nullpointer, resulting in the same magic check failures). It
 did work however if I specified all zeroes for the window dimensions in that
 call and made some calls after that to set the window sizing.

that SHOULD work - like other calls. it has in the past.

 On 5/7/06, dan sinclair [EMAIL PROTECTED] wrote:
 
  Ed Presutti wrote:
   /me smacks the dev team for not updating the cookbook!
  
 
 
  And yet, I see no patches.
 
  dan
 
 
  ---
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 


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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Ecore_Evas - EFL Cookbook sample doesnt run

2006-05-08 Thread Ed Presutti
On Sun, 2006-05-07 at 17:46 -0400, dan sinclair wrote:
 Ed Presutti wrote:
  /me smacks the dev team for not updating the cookbook!

 
 
 And yet, I see no patches.
 
 dan

/me bows his head in shame.

My bad, here's the patch for the book.

Ed

--- evas_ecore_setup.xml.orig	2006-05-08 11:47:12.584196750 -0500
+++ evas_ecore_setup.xml	2006-05-08 11:52:23.899652750 -0500
@@ -43,6 +43,7 @@
 int main(){
 
 ecore_init();
+ecore_evas_init();
 
ee = ecore_evas_software_x11_new(NULL, 0,  0, 0, WIDTH, HEIGHT);
 ecore_evas_title_set(ee, Ecore_Evas Template);
@@ -63,6 +64,9 @@
 
 ecore_main_loop_begin();
 
+ecore_evas_shutdown();
+ecore_shutdown();
+
 return 0;
 }
 /programlisting


[E-devel] E_CONFIG_SUB

2006-05-08 Thread Aleksej Struk
Hi everybody,

Currently I'm trying to create a new module for E. Doing this I faced
with the following problem. I have the following module header:

typedef _Extra Extra;
typedef _Config Config;

struct _Extra
{
   int a;
   char *b;
};

stuct _Config
{
   int a;
   Extra *e;
};


I need to store the Config into the config file. The question is how to
deal with the sub-structure in the _Config structure. I tried to use
E_CONFIG_SUB, but I did not get any result. Unfortunatelly I did not
find any examples of using it. So, probably, I just incorectly used it.
But for me it seems to be as easy as with E_CONFIG_LIST :-\
THe following code illustrate the steps I do to load the data from
the confgi file :

E_Config_DD conf_edd;
E_Config_DD conf_extra_edd;



// Loading config :

   conf_extra_edd = E_CONFIG_DD_NEW(Extra_Config, Extra);
#undef T
#undef D
#define T Extra
#define D conf_extra_edd
   E_CONFIG_VAL(T, D, a, INT);
   E_CONFIG_VAL(T, D, b, STR);

   conf_edd = E_CONFIG_DD_NEW(Module_Config, Config);
#undef T
#undef D
#define T Config
#define D conf_edd
   E_CONFIG_VAL(T, D, a, INT);
   E_CONFIG_SUB(T, D, e, conf_extra_edd);

   m-conf = e_config_domain_load(module.somemodule, conf_edd);
   if (!m-conf)
 {
...
 }
...


What can be wrong with this code ?  Please help :)

sn


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel