Re: [E-devel] berlin/paris/berne... who's around?
Hey, On Thu, 23 Apr 2009, Carsten Haitzler (The Rasterman) wrote: > just thought i'd drop this in. i'm heading to europe for a few weeks. > business, > etc. and i'll be visiting a few spots there. here's my plan: > > berlin: may 19-22 > paris: may 25-30 > berne: may 31-june 7 > zurich: june 8-9 > > these are rough dates - but relatively certain... if anyone wants to grab some > beer/food/wine/whatever or just beat me with a large stick for having made > your > life hell for the past few years here's your chance! get your sticks > ready! > > if you live in these places and are around at the time and up for mischief... > let me know! I should be in Paris. Paris by night is awesome ! Vincent -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] fixes to configure.ac
On Thu, 23 Apr 2009, Rodrigo Belem wrote: On Thu, Apr 23, 2009 at 4:37 AM, Albin Tonnerre wrote: On Thu, Apr 23, 2009 at 04:36:18AM +0200, Vincent Torri wrote : On Thu, 23 Apr 2009, Carsten Haitzler (The Rasterman) wrote: On Wed, 22 Apr 2009 16:29:18 -0400 Rodrigo Belem said: Hi all, I was getting some build fails, so I notice that the error was coming from configure.ac. The patch is attached, but I did not tested if the others libs need this fix too. hmm i changed it for consistency in the version strip - it worked for me but not you (odd). i've gone the other way and removed all the []'s instead. it''s at least consistent maybe you should search why it does not work, instead of committing this I agree with vincent here, it's been this way for long and nobody ever had issues with it. Would you mind providing an error log so that we can try to understand why you were getting this error ? The error is in the following link http://paste.ubuntu.com/156095/ line 375 of your paste: cp -R ./embryo-AC_INIT([embryo], 0.9.9.060, [enlightenment-de...@lists.sourceforge.net])-doc/doc/html debian/libembryo-doc/usr/share/doc/libembryo-doc/ i think that you have an error in your script somewhere for embryo, but it has nothing to do with the quotes in configure.ac. The command is certainly: cp -R ./embryo-doc/doc/html debian/libembryo-doc/usr/share/doc/libembryo-doc/ and for a reason or another, AC_INIT([embryo], 0.9.9.060, [enlightenment-de...@lists.sourceforge.net]) has been pasted into that command Vincent-- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] modules to disable by default in monday release
Gustavo wrote: > dropshadow is broken? > no, but it is lame :-P >> No way man! Dropshadow is neat. >> > > first time I saw it, before composite managers where born, I said > "cool", but nowadays it's very lame, even windows do proper shadows! > :-/ > Last time I checked, composite was still somewhat unreliable. Argb visuals are ideal, but small devices so far tend to be limited. For those kinds of applications, Carsten's "bg-only" shadows are likely the best bet there. For more flexible systems there's a lot more one could do. Mind you, evas, edje, and friends should be better able to deal with these kinds of things, rather than the current wm-only stuff that's there. You want to be able to have such things (and others) as part of the rendering engine and api/declarative/scripted system. Given the current overall state of 'gfx', I'd say it's largely a waste of time to attempt rendering engines based on other than software-argb32 and gl-shaders. Xrender is largely good only for compositing, some others are just as limited, and the 16bpp engines are a dead-end for anything other than simple image blits and solid color fills. Apple captured a huge market largely because they dared to push the bleeding edge of gfx use in guis and made a system which could support that. Sexy "eye-candy", good gfx design, and "cinematic" like interfaces will capture interest and attention. And most of these things can be done efficiently even with moderate systems. But still, you have to push the systems.. not the other way around. Earn your associate's criminal justice degree and start your career training today. http://thirdpartyoffers.juno.com/TGL2141/fc/BLSrjpTKKZrp3bzN9qs4im97c063mpEepL7kysvNPea5MQKXE0gYtgFrJXS/ -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: urandom trunk/PROTO/ethumb/src/lib
On Fri, Apr 24, 2009 at 3:53 PM, Enlightenment SVN wrote: > +EAPI void > +ethumb_file_get(Ethumb *e, const char **path, const char **key) > +{ > + EINA_SAFETY_ON_NULL_RETURN_VAL(e, NULL); ooops! returns NULL on void? BTW, on such functions that are getters and values are returned on parameters it's better to NULL/zero pointers before returning, at least most efl apis do that. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: urandom trunk/PROTO/ethumb/src/lib
On Fri, 2009-04-24 at 17:01 -0300, Gustavo Sverzut Barbieri wrote: > On Fri, Apr 24, 2009 at 3:53 PM, Enlightenment SVN > wrote: > > +EAPI void > > +ethumb_file_get(Ethumb *e, const char **path, const char **key) > > +{ > > + EINA_SAFETY_ON_NULL_RETURN_VAL(e, NULL); > > ooops! returns NULL on void? > > BTW, on such functions that are getters and values are returned on > parameters it's better to NULL/zero pointers before returning, at > least most efl apis do that. > How would I do that with the EINA_SAFETY_ macro? Looking at evas, its macro opens a block in which you can null the values. Not sure how to do that with the eina macro -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: urandom trunk/PROTO/ethumb/src/lib
On Fri, Apr 24, 2009 at 5:49 PM, Viktor Kojouharov wrote: > On Fri, 2009-04-24 at 17:01 -0300, Gustavo Sverzut Barbieri wrote: >> On Fri, Apr 24, 2009 at 3:53 PM, Enlightenment SVN >> wrote: >> > +EAPI void >> > +ethumb_file_get(Ethumb *e, const char **path, const char **key) >> > +{ >> > + EINA_SAFETY_ON_NULL_RETURN_VAL(e, NULL); >> >> ooops! returns NULL on void? >> >> BTW, on such functions that are getters and values are returned on >> parameters it's better to NULL/zero pointers before returning, at >> least most efl apis do that. >> > > How would I do that with the EINA_SAFETY_ macro? > > Looking at evas, its macro opens a block in which you can null the > values. Not sure how to do that with the eina macro not possible with EINA_SAFETY_ macros now... probably need to do one that checks and reports, either with _BEGIN, _END like evas, which I dislike, or giving the macro a block, not that better. Summary: EINA_SAFETY_ON_NULL_BEGIN(e) if (path) *path = NULL; if (key) *key = NULL; EINA_SAFETY_ON_NULL_END or: EINA_SAFETY_ON_NULL_DO(e, { if (path) *path = NULL; if (key) *key = NULL; }) -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [ewl 3/4] XCB engine should check for NULL window title/class to match X11 one
--- src/engines/xcb/ewl_engine_xcb.c | 14 ++ 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/engines/xcb/ewl_engine_xcb.c b/src/engines/xcb/ewl_engine_xcb.c index cb4251e..a3c656d 100644 --- a/src/engines/xcb/ewl_engine_xcb.c +++ b/src/engines/xcb/ewl_engine_xcb.c @@ -518,12 +518,15 @@ ee_window_hide(Ewl_Window *win) static void ee_window_title_set(Ewl_Window *win) { +const char* title; + DENTER_FUNCTION(DLEVEL_STABLE); DCHECK_PARAM_PTR(win); DCHECK_TYPE(win, EWL_WINDOW_TYPE); -ecore_x_icccm_title_set((Ecore_X_Window)win->window, win->title); -ecore_x_netwm_name_set((Ecore_X_Window)win->window, win->title); +title = win->title ? win->title : ""; +ecore_x_icccm_title_set((Ecore_X_Window)win->window, title); +ecore_x_netwm_name_set((Ecore_X_Window)win->window, title); DLEAVE_FUNCTION(DLEVEL_STABLE); } @@ -531,12 +534,15 @@ ee_window_title_set(Ewl_Window *win) static void ee_window_name_class_set(Ewl_Window *win) { +const char* name; + DENTER_FUNCTION(DLEVEL_STABLE); DCHECK_PARAM_PTR(win); DCHECK_TYPE(win, EWL_WINDOW_TYPE); -ecore_x_icccm_name_class_set((Ecore_X_Window)win->window, win->name, -(win->classname ? win->classname : win->name)); +name = win->name ? win->name : ""; +ecore_x_icccm_name_class_set((Ecore_X_Window)win->window, name, +(win->classname ? win->classname : name)); DLEAVE_FUNCTION(DLEVEL_STABLE); } -- 1.6.2.1 -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [ewl 2/4] Update EWL XCB backend for the merged X11/XCB ecore backend
--- .../Ewl_Engine_Evas_Software_Xcb.h |2 +- src/engines/evas_software_xcb/Makefile.am |5 ++--- .../ewl_engine_evas_software_xcb.c | 10 ++ src/engines/xcb/Makefile.am|2 +- src/engines/xcb/ewl_engine_xcb.c |4 ++-- 5 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/engines/evas_software_xcb/Ewl_Engine_Evas_Software_Xcb.h b/src/engines/evas_software_xcb/Ewl_Engine_Evas_Software_Xcb.h index 9e45297..53c1f9f 100644 --- a/src/engines/evas_software_xcb/Ewl_Engine_Evas_Software_Xcb.h +++ b/src/engines/evas_software_xcb/Ewl_Engine_Evas_Software_Xcb.h @@ -5,7 +5,7 @@ #include "ewl_base.h" #include #include -#include +#include #define EWL_ENGINE_EVAS_SOFTWARE_XCB(engine) \ ((Ewl_Engine_Evas_Software_Xcb *)engine) diff --git a/src/engines/evas_software_xcb/Makefile.am b/src/engines/evas_software_xcb/Makefile.am index a33bbf0..6a2839e 100644 --- a/src/engines/evas_software_xcb/Makefile.am +++ b/src/engines/evas_software_xcb/Makefile.am @@ -5,8 +5,7 @@ AM_CPPFLAGS = \ -I$(top_builddir)/src/lib \ -I$(top_srcdir)/src/engines/evas_software_xcb \ -I$(top_builddir)/src/engines/evas_software_xcb \ -...@ecore_cflags@ \ -...@evas_software_xcb_cflags@ +...@ecore_cflags@ pkgdir = $(libdir)/ewl/engines @@ -18,7 +17,7 @@ evas_software_xcb_la_SOURCES = \ Ewl_Engine_Evas_Software_Xcb.h \ ewl_engine_evas_software_xcb.c -evas_software_xcb_la_LIBADD = $(top_builddir)/src/lib/libewl.la +evas_software_xcb_la_LIBADD = $(top_builddir)/src/lib/libewl.la @ECORE_XCB_LIBS@ @ECORE_LIBS@ evas_software_xcb_la_LDFLAGS = -module -version-info @INTERFACE_VERSION@ evas_software_xcb_la_DEPENDENCIES = diff --git a/src/engines/evas_software_xcb/ewl_engine_evas_software_xcb.c b/src/engines/evas_software_xcb/ewl_engine_evas_software_xcb.c index fc87237..f18c54e 100644 --- a/src/engines/evas_software_xcb/ewl_engine_evas_software_xcb.c +++ b/src/engines/evas_software_xcb/ewl_engine_evas_software_xcb.c @@ -1,9 +1,11 @@ /* vim: set sw=8 ts=8 sts=8 expandtab: */ -#include "Ewl_Engine_Evas_Software_X11.h" +#include "Ewl_Engine_Evas_Software_Xcb.h" #include "ewl_private.h" #include "ewl_debug.h" #include "ewl_macros.h" +#include + static void ee_canvas_setup(Ewl_Window *win, int debug); static int ee_init(Ewl_Engine *engine); static void ee_shutdown(Ewl_Engine *engine); @@ -130,11 +132,11 @@ ee_canvas_setup(Ewl_Window *win, int debug) sinfo->info.backend = EVAS_ENGINE_INFO_SOFTWARE_X11_BACKEND_XCB; sinfo->info.connection = ecore_x_connection_get(); sinfo->info.screen = ecore_x_default_screen_get(); -sinfo->info.visual = visualtype_get(sinfo->info.conn, +sinfo->info.visual = visualtype_get(sinfo->info.connection, sinfo->info.screen); -sinfo->info.colormap = sinfo->info.screen->default_colormap; +sinfo->info.colormap = ((xcb_screen_t*)sinfo->info.screen)->default_colormap; sinfo->info.drawable = (Ecore_X_Window)win->window; -sinfo->info.depth = sinfo->info.screen->root_depth; +sinfo->info.depth = ((xcb_screen_t*)sinfo->info.screen)->root_depth; sinfo->info.rotation = 0; sinfo->info.debug = debug; diff --git a/src/engines/xcb/Makefile.am b/src/engines/xcb/Makefile.am index 456e4a3..a892101 100644 --- a/src/engines/xcb/Makefile.am +++ b/src/engines/xcb/Makefile.am @@ -18,7 +18,7 @@ xcb_la_SOURCES = \ Ewl_Engine_Xcb.h \ ewl_engine_xcb.c -xcb_la_LIBADD = $(top_builddir)/src/lib/libewl.la +xcb_la_LIBADD = $(top_builddir)/src/lib/libewl.la @ECORE_XCB_LIBS@ @ECORE_LIBS@ xcb_la_LDFLAGS = -module -version-info @INTERFACE_VERSION@ xcb_la_DEPENDENCIES = diff --git a/src/engines/xcb/ewl_engine_xcb.c b/src/engines/xcb/ewl_engine_xcb.c index 1452f6e..cb4251e 100644 --- a/src/engines/xcb/ewl_engine_xcb.c +++ b/src/engines/xcb/ewl_engine_xcb.c @@ -909,7 +909,7 @@ ee_dnd_drag_types_set(Ewl_Embed *embed, const char **types, unsigned int num) ecore_x_dnd_aware_set((Ecore_X_Window)embed->canvas_window, (num > 0 ? 1 : 0)); ecore_x_dnd_type_get_fetch(); -ecore_x_dnd_types_set((Ecore_X_Window)embed->canvas_window, (char **)types, num); +ecore_x_dnd_types_set((Ecore_X_Window)embed->canvas_window, types, num); DLEAVE_FUNCTION(DLEVEL_STABLE); } @@ -1182,7 +1182,7 @@ ewl_ev_x_key_up(void *data __UNUSED__, int type __UNUSED__, void *e) ev = e; -window = ewl_window_window_find((void *)ev->win); +window = ewl_window_window_find((void *)ev->window); if (!window) DRETURN_INT(TRUE, DLEVEL_STABLE); -- 1.6.2.1 -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution
[E-devel] [ewl 4/4] Enable XCB backend as it kinda works again
--- configure.ac |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index b1156ad..558af0f 100644 --- a/configure.ac +++ b/configure.ac @@ -72,8 +72,6 @@ requirements="evas ecore edje" PKG_CHECK_MODULES([ECORE_X], [ecore-x >= 0.9.9], [have_ecore_x="yes"], [have_ecore_x="no"]) PKG_CHECK_MODULES([ECORE_XCB], [xcb >= 1.0 ecore-x >= 0.9.9], [have_ecore_xcb="yes"], [have_ecore_xcb="no"]) -# Disable xcb support for now -have_ecore_xcb="no" PKG_CHECK_MODULES([ECORE_WIN32], [ecore-win32 >= 0.9.9], [have_ecore_win32="yes"], [have_ecore_win32="no"]) -- 1.6.2.1 -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [ewl 1/4] Update xcb backend to match API changes in EWL core
--- src/engines/xcb/ewl_engine_xcb.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/engines/xcb/ewl_engine_xcb.c b/src/engines/xcb/ewl_engine_xcb.c index 4a8c32e..1452f6e 100644 --- a/src/engines/xcb/ewl_engine_xcb.c +++ b/src/engines/xcb/ewl_engine_xcb.c @@ -1262,7 +1262,7 @@ ewl_ev_x_mouse_up(void *data __UNUSED__, int type __UNUSED__, void *e) clicks = 3; key_modifiers = ewl_ev_modifiers_get(); -ewl_embed_mouse_up_feed(EWL_EMBED(window), ev->buttons, ev->x, +ewl_embed_mouse_up_feed(EWL_EMBED(window), ev->buttons, clicks, ev->x, ev->y, key_modifiers); DRETURN_INT(TRUE, DLEVEL_STABLE); @@ -1570,7 +1570,6 @@ ewl_ev_dnd_drop(void *data __UNUSED__, int type __UNUSED__, void *e) { Ewl_Embed *embed; Ecore_X_Event_Xdnd_Drop *ev; -int internal = 0; DENTER_FUNCTION(DLEVEL_STABLE); DCHECK_PARAM_PTR_RET(e, FALSE); @@ -1584,13 +1583,10 @@ ewl_ev_dnd_drop(void *data __UNUSED__, int type __UNUSED__, void *e) ewl_embed_window_position_get(embed, &wx, &wy); -if (ev->source == (Ecore_X_Window)embed->canvas_window) -internal = 1; - x = ev->position.x - wx; y = ev->position.y - wy; -type = ewl_embed_dnd_drop_feed(embed, x, y, internal); +type = ewl_embed_dnd_drop_feed(embed, x, y); if (type) ecore_x_selection_xdnd_request(ev->win, (char *)type); } -- 1.6.2.1 -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel