Re: [E-devel] Ruby bindings
Guillaume Ballet [2008-05-01 15:36]: I'm wondering if there was still someone working on the Ruby bindings for EFL. By googling a bit, I found that there were two versions, one that is found in the source tree and another one that is available at http://code-monkey.de/pages/ruby-efl Is there someone still in charge that I could contact? IO would like to help? I wrote the ones on http://code-monkey.de/pages/ruby-efl. These days I'm not actively developing them anymore, I just fix up things when the API is b0rked in E CVS :P But of course help would be welcome. The bindings in E CVS use Ruby's DL module to call into libevas, whereas mine are written in C using Ruby's C API. So they are completely different. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpGTofd4Xbqp.pgp Description: PGP signature - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] {Spam?} Requirements for exiftags in Epsilon?
Vincent Torri [2007-12-03 23:04]: On Mon, 3 Dec 2007, Gustavo Sverzut Barbieri wrote: Hi guys, We found the root of those unaligned loads, it was in canon.c (http://www.enlightenment.org/viewvc/e17/libs/epsilon/src/lib/exiftags/canon.c?hideattic=1r1=1.2r2=1.3), with a patch tilman applied in order to reduce relocations due lots of strings requiring it at load time. The problem, according to a Red Hat gcc compiler engineer friend of mine, is that that construction is not valid according to 6.7.2.1/18 of C99-TC2 and GCC should not allow that, so it's both a bug with GCC and canon.c. canon.c could be fixed and still do few relocations by using one huge string with \0 as separators and place pointers to segments of this string on the struct. But it's a pain to do. So, I'd like to ask those who are using this exiftags support from Epsilon. I really don't think this should be in epsilon anyway... the only use of it in CVS is at esmart_thumb... and it's about orientation, which is a standard tag... So I request permission to remove all this exiftags stuff, if required I can add the code to find out orientation support and generate already rotated images later. This should make things a lot simpler, smaller and faster to start. comments? may I remove? I have contacted tilman on irc. No answer from him yet, but if you can wait some hours, or a day, so that he can answer I don't use exiftags. Simply ripping out the code and throwing it away doens't sound right though. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpd5yR3z0LcG.pgp Description: PGP signature - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] improvements of configure
Vincent Torri [2007-09-30 16:04]: Ideas ? remarks ? Can we switch to this: AC_INIT(package, version) AC_CONFIG_SRCDIR([configure.in]) AM_INIT_AUTOMAKE([dist-bzip2]) instead? I believe that's the current way to initialize autoconf/automake. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgphi4whAUmxw.pgp Description: PGP signature - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Evas: calling order for method's internals (forwarding noop to smarts)
Gustavo Sverzut Barbieri [2007-09-13 15:22]: Actually there are 2 CPP macros FORWARD_NOOP_RESIZES_TO_SMART_OBJS and FORWARD_NOOP_MOVES_TO_SMART_OBJS currently defined, do we really need them? Why don't have similars for hide/show/color/clip...? I did that. There's no real reason why only move and resize are treated that way. Maybe I figured that move/resize were usually more expensive than the others. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgp87wtL54GT8.pgp Description: PGP signature - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] _edje_recalc() algorithm and optimizations
Gustavo Sverzut Barbieri [2007-08-25 04:55]: I see that usually smart objects check for properties and return right at the beginning if they're exactly the same. But in python bindings this will result in extra C call, that will trigger python calls and overhead is bigger there. There's a similar issue in the Smart code. When you move a smart object to its current location, the smart object's move callback is executed although this shouldn't be necessary. Same for resize. I have a patch that fixes this, but apparently it broke parts of e17. Maybe you find it useful: http://files.code-monkey.de/evas-move_resize_smart.diff Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpSIQSSKOX38.pgp Description: PGP signature - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E CVS: libs/evas tilman
Kim Woelders [2007-05-18 11:23]: Enlightenment CVS wrote: Enlightenment CVS committal Author : tilman Project : e17 Module : libs/evas Dir : e17/libs/evas/src/lib/canvas Modified Files: evas_object_textblock.c Log Message: rework how the html entity escape arrays are stored. this saves a few hundred bytes on the data section of the library, kills off ~300 locations, and makes the so 77K smaller. ... I think I understand why this is good for performance. However, it makes it non-trivial to make changes unless the offset table somehow can be auto-generated. Do you have some script for that? Yes, I have C code that does it. It's not in CVS yet because I frown upon the necessary automake changes. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpAUJi8Vdhhn.pgp Description: PGP signature - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Ecore compilation error when using XCB
Ed Presutti [2007-05-13 12:58]: ecore_xcb_events.c: In function '_ecore_x_event_handle_client_message': ecore_xcb_events.c:1816: error: 'XCB_WM_ICONIC_STATE' undeclared (first use in this function) You need to install xcb-util from git IIRC. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpPuIACCrYSW.pgp Description: PGP signature - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [ecore] error: Ecore_X.h: No such file or directory
Markus Rothe [2007-05-10 08:13]: Hi Markus, I just ran into this problem while compiling ecore (CVS checkout from today): ecore_evas_private.h:26:22: error: Ecore_X.h: No such file or directory This is a fresh install without ecore installed yet. Once I applied the attached patch and ran autogen.sh I was able to compile and install ecore. Seems it's related to the XCB stuff once again. src/lib/ecore_evas/Makefile.am only checks for BUILD_ECORE_X, but it should also check for BUILD_ECORE_X_XCB. Maybe we should define the former in both cases, and introduce ECORE_X_BACKEND or something. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpkjCM3ec9cF.pgp Description: PGP signature - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] ecore_x do not build
Massimo Maiurana [2007-05-07 22:46]: I've just tried to build e17 but ecore_x doesn't build. I probably fixed that last night, please try again. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpquYx5We2LE.pgp Description: PGP signature - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [evas] fix of configure's output
Vincent Torri [2007-05-05 01:05]: when PKG_CHECK_MODULE does not find a package, it does not display the result. This lead to wrong output. Of course it does. Works perfectly fine here. See pkg.m4. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpbBTgk3I7Jh.pgp Description: PGP signature - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [evas] fix of configure's output
Vincent Torri [2007-05-05 13:51]: On Sat, 5 May 2007, Tilman Sauerbeck wrote: Vincent Torri [2007-05-05 01:05]: when PKG_CHECK_MODULE does not find a package, it does not display the result. This lead to wrong output. Of course it does. Works perfectly fine here. See pkg.m4. Of course it does not (version 0.20). Example with a missing fontconfig: checking for FONTCONFIG... checking windows.h usability... yes PKG_CHECK_MODULES does not display anything when the package is missing and something is given in the 4th parameter. Which is the point of my patch. I'm not retarded, I understood the intended purpose of your patch very well. My example is: checking for SVG... no configure.in:926 cf Also, please don't CC me when replying, I actually read the list ;) Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpg60NuI6DWT.pgp Description: PGP signature - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E17 Bindings
Carsten Haitzler [2007-04-09 08:36]: Hello, I would like to try and write some PLT-Scheme bindings to EWL and E17. Where should I start? Probably from imlib2 and then all my way to ewl and e17? I don't think I can go directly to EWL, right? well actually you don't need to do imlib2 - but start at eet, evas, ecore, embryo, edje. Only do that if you loads of free time. AFAIK Ewl apps don't need to deal with ecore/ecore_evas directly so I believe you can just start with Ewl bindings. If you later decide you would like to have Eet support, too, you can always go back and write bindings for it. e17 itself you will not be able to rite bindings for. You can write a Scheme meta module that loads other modules written in Scheme. Like I did with Ruby some years ago. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpVVFT2UsfP2.pgp Description: PGP signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Edje -- alternate font metrics
Hi, some days ago a new Edje feature hit CVS. It can be even useful, so I guess I should document it a bit. Edje writers now can make their parts use alternate font metrics. This will make libedje compute the size of a text part a little different than usual. Using that alternate metrics mode usually only makes sense for monospace fonts. With a monospace font, that mode will ensure that your text parts have the same width/height for any string contents (given you use the same number of characters ;D). If you happen to write a music player UI and want to implement a song ticker widget, you may find it useful :) Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpUbn8YcH22t.pgp Description: PGP signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] Cutout
Cedric BAIL [2007-03-29 17:58]: Another little patch that potentially break every thing and need review. To make the story short, when you have a lot of image on the screen with many cliping, you are creating and destroying many time Cutout_Rect object. So I changed the code to do less allocation/destruction. It also break the API used by the engine, so a patch for them is needed. Looks good in general. I attached a modified version of your patch where I removed some oddities: In evas_common_draw_context_cutouts_del(), I renamed delta to index. delta implies (for me) that it's the difference between two values, but it really is an index ;) I also removed some unrelated changes that crept into the patch, like that error_data enum that wasn't referenced anywhere, and a few whitespace-only changes. Not sure whether I'm brave enough to commit this :) Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? Index: src/lib/engines/common/evas_draw_main.c === RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_draw_main.c,v retrieving revision 1.20 diff -u -p -r1.20 evas_draw_main.c --- src/lib/engines/common/evas_draw_main.c 15 Nov 2006 16:44:34 - 1.20 +++ src/lib/engines/common/evas_draw_main.c 29 Mar 2007 18:32:06 - @@ -1,5 +1,57 @@ #include evas_common.h +EAPI Cutout_Rects* +evas_common_draw_context_cutouts_new() +{ + Cutout_Rects *rects; + + rects = malloc(sizeof(Cutout_Rects)); + rects-rects = NULL; + rects-active = 0; + rects-max = 0; + + return rects; +} + +EAPI void +evas_common_draw_context_cutouts_free(Cutout_Rects* rects) +{ + rects-active = 0; +} + +EAPI Cutout_Rect* +evas_common_draw_context_cutouts_add(Cutout_Rects* rects, + int x, int y, int w, int h) +{ + Cutout_Rect* rect; + + if (rects-max rects-active + 1) { + rects-max += 8; + rects-rects = realloc(rects-rects, sizeof(Cutout_Rect) * rects-max); + } + + rect = rects-rects + rects-active++; + rect-x = x; + rect-y = y; + rect-w = w; + rect-h = h; + + return rect; +} + +EAPI void +evas_common_draw_context_cutouts_del(Cutout_Rects* rects, + int index) +{ + if (index = 0 index rects-active) + { +Cutout_Rect*rect = rects-rects + index; + +memmove(rect, rect + 1, sizeof (Cutout_Rect) * (rects-active - index - 1)); +rects-active--; + } +} + void evas_common_init(void) { @@ -43,10 +95,17 @@ evas_common_draw_context_new(void) EAPI void evas_common_draw_context_free(RGBA_Draw_Context *dc) { + evas_common_draw_context_apply_clean_cutouts(dc-cutout); free(dc); } EAPI void +evas_common_draw_context_clear_cutouts(RGBA_Draw_Context *dc) +{ + evas_common_draw_context_apply_clean_cutouts(dc-cutout); +} + +EAPI void evas_common_draw_context_font_ext_set(RGBA_Draw_Context *dc, void *data, void *(*gl_new) (void *data, RGBA_Font_Glyph *fg), @@ -115,113 +174,34 @@ evas_common_draw_context_unset_multiplie EAPI void evas_common_draw_context_add_cutout(RGBA_Draw_Context *dc, int x, int y, int w, int h) { - Cutout_Rect *r; - - r = calloc(1, sizeof(Cutout_Rect)); - r-x = x; - r-y = y; - r-w = w; - r-h = h; - dc-cutout.rects = evas_object_list_append(dc-cutout.rects, r); -} - -EAPI void -evas_common_draw_context_clear_cutouts(RGBA_Draw_Context *dc) -{ - evas_common_draw_context_apply_free_cutouts(dc-cutout.rects); - dc-cutout.rects = NULL; -} - -EAPI Cutout_Rect * -evas_common_draw_context_apply_cutouts(RGBA_Draw_Context *dc) -{ - Cutout_Rect *r, *rects; - Evas_Object_List *l; - - if (!dc-clip.use) return NULL; - if ((dc-clip.w = 0) || (dc-clip.h = 0)) return NULL; - r = calloc(1, sizeof(Cutout_Rect)); - r-x = dc-clip.x; - r-y = dc-clip.y; - r-w = dc-clip.w; - r-h = dc-clip.h; - rects = r; - for (l = (Evas_Object_List *)dc-cutout.rects; l; l = l-next) - { - r = (Cutout_Rect *)l; - rects = evas_common_draw_context_cutouts_split(rects, r); - } - return rects; + evas_common_draw_context_cutouts_add(dc-cutout, x, y, w, h); } -EAPI void -evas_common_draw_context_apply_free_cutouts(Cutout_Rect *rects) -{ - while (rects) - { - Cutout_Rect *r; - - r = rects; - rects = evas_object_list_remove(rects, rects); - free(r); - } -} - -EAPI Cutout_Rect * -evas_common_draw_context_cutouts_split(Cutout_Rect *in, Cutout_Rect *split) -{ - /* multiple rect in, multiple out */ - Cutout_Rect *out; - Evas_Object_List *l; - - out = NULL; - for (l = (Evas_Object_List *)in; l; l = l-next) - { - Cutout_Rect *r; - - r = (Cutout_Rect *)l; - r =
Re: [E-devel] E CVS: proto titan
Enlightenment CVS [2007-03-22 21:27]: +PKG_CHECK_MODULES([EVAS], evas, + [ + ], + [ + echo Evas was not found by pkg-config!; + AC_MSG_ERROR([Empower needs evas to compile.]) + ] +) The default is to error out if no third argument is given. So really you could just use PKG_CHECK_MODULES(EVAS, evas) and be done with it. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpzwGNfjN5cj.pgp Description: PGP signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] switching to pkg-config?
Hi, a few years ago, I proposed to use pkg-config instead of foo-config for the EFL. The suggestion was shot down quickly, because apparently there were some issues with libpng back then. I'd like to propose to use pkg-config again now. libpng is only required by evas and imlib2 AFAIK, and if libpng's pc file really causes that much trouble (which I don't think is likely), we can still hardcode the CFLAGS/LDFLAGS needed for it evas.pc resp. imlib2.pc. So, any serious reasons against using it? Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpQRlTr1dQ4o.pgp Description: PGP signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] switching to pkg-config?
Carsten Haitzler [2007-03-21 01:10]: a few years ago, I proposed to use pkg-config instead of foo-config for the EFL. The suggestion was shot down quickly, because apparently there were some issues with libpng back then. I'd like to propose to use pkg-config again now. libpng is only required by evas and imlib2 AFAIK, and if libpng's pc file really causes that much trouble (which I don't think is likely), we can still hardcode the CFLAGS/LDFLAGS needed for it evas.pc resp. imlib2.pc. we use libpng's packageconfig now - for evas anyway. so no need to bother there. don't you mean to use pc for the rest of intra-efl deps? :) Yes, that's what I meant. I just mentioned libpng because it was the main argument NOT to use pkg-config for the EFL components a few years ago. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgp5SDqHryCkI.pgp Description: PGP signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] switching to pkg-config?
Carsten Haitzler [2007-03-21 01:24]: Carsten Haitzler [2007-03-21 01:10]: a few years ago, I proposed to use pkg-config instead of foo-config for the EFL. The suggestion was shot down quickly, because apparently there were some issues with libpng back then. I'd like to propose to use pkg-config again now. libpng is only required by evas and imlib2 AFAIK, and if libpng's pc file really causes that much trouble (which I don't think is likely), we can still hardcode the CFLAGS/LDFLAGS needed for it evas.pc resp. imlib2.pc. we use libpng's packageconfig now - for evas anyway. so no need to bother there. don't you mean to use pc for the rest of intra-efl deps? :) Yes, that's what I meant. I just mentioned libpng because it was the main argument NOT to use pkg-config for the EFL components a few years ago. i see no big reason not to anymore... pkgconfig has settled down now :) Great, I'll start doing the transition then. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpJ0K6RulJ5P.pgp Description: PGP signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Ecore_Str new feature...
Stéphane Bauland [2007-03-12 14:56]: Brian Mattern wrote: On Mon, Mar 12, 2007 at 12:41:41PM +0100, Stéphane Bauland wrote: + * @param max_tokens The maximum number of strings to split string into. If this is less than 1, the string is split completely. + if ( max_tokens 1 ) max_tokens = 100; Filthy lies :) rephorm Hi! Yep brian, but i didn't want to put something like EINT_MAX defined. But if you know a good way on ecore to do that correctly it's ok for me :) Btw, if you want me to remove ecore_list during the process i could too.. Ugh, can't you do something like if (max_tokens 1 || current_number_of_elements max_tokens) { /* get one more token */ } Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgp3kWGbPpA4H.pgp Description: PGP signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Edje data speedup
Brian Mattern [2007-03-01 15:34]: On Thu, Mar 01, 2007 at 09:35:13PM +0100, Tilman Sauerbeck wrote: ACK. I believe raster's reasoning for using lists in various spots that would intuitively like to be hashes was the size of the entries that are stored. IIRC evas/ecore_evas also use lists to store key/value userdata. Yes, but the assumption is that there won't be many data nodes. If there ARE (like in ewl themes which map generic keys to actual groups), then you get the performance hit. So, its a tradeoff. This change (as far as Yes, I know and agree. Just wanted to explain the original reasoning :) I understand) would be a single hash per edje file (~1K). (What's the typical size of an edje file in memory?) E's theme (typically) a single file, so this shouldn't be too bad. IIRC there's one global data section, and every collection/group does have its own data section, too. So we can't get away with a single hash table. Not that it matters much :) It could also only allocate the hash for files that actually have data. Yep, thought of that, too. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpXGM0txkAQh.pgp Description: PGP signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Edje data speedup
Christopher Michael [2007-03-01 05:01]: Nathan Ingersoll wrote: Doing some profiling, I noticed that I was seeing a fair amount of overhead (19.9% of the test apps completion time) coming from strcmp, and in particular from calls to edje_file_data_get. This isn't completely unexpected as EWL uses data keys in the edje to map widgets to edje collections, but it had me wondering why there were so many comparisons relative to other hot paths in the code. The problem became clear when I saw how data lookups were being done, a linear scan of a list doing strcmp against each key in the list until a match was found. With each search being O(n), this could add up quickly. Since we are using key/value pairs for the data association, a hash seemed more appropriate. To test this without breaking the file format, I added a cache to the edje file struct and populated it immediately after reading the file by moving data out of the list and into the hash. Using the new hash I re-ran my test and saw an improvement of 18.5%, and basically eliminating almost the entire time spent in edje_file_data_get. Just my 2 cents, but with gains like that how can we NOT use a hash :) ACK. I believe raster's reasoning for using lists in various spots that would intuitively like to be hashes was the size of the entries that are stored. IIRC evas/ecore_evas also use lists to store key/value userdata. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpP1SKGH0lHg.pgp Description: PGP signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] edje_decc patch
[EMAIL PROTECTED] [2007-02-28 14:14]: Dave [2007-02-27 12:58]: Tilman Sauerbeck ha scritto: Dave [2007-02-24 02:11]: Carsten Haitzler (The Rasterman) ha scritto: On Mon, 5 Feb 2007 20:53:16 +0100 Tilman Sauerbeck [EMAIL PROTECTED] babbled: dan sinclair [2007-02-05 12:17]: Tilman Sauerbeck wrote: DaveMDS [2007-02-05 05:05]: here's a patch for edje_decc that create a file called default.edc in the decompiled source dir. The file contents is only a line that include the main edc file. If the default.edc file exist none is created With this patch I can open edj file from edje_editor (engrave run edje_decc and always open default.edc). NAK. Breaks compatibility with redact for no good reason. It used to be that edje would output the main .edc file as main_edje_source.edc (or something similar) this made life for engrave really easy as we'd just look for that file. Now, it uses whatever the coder sets as their default file. We have no-way to know what the main .edc file is called anymore. (Well, besides parsing the rebuild script I think). Having it either rename he main .edc file to something common, or spitting out a commonly named file means that an editor can open the .edc files decompiled from the .edj file. The correct way would be of course to just read the EET. But maybe you want to introduce another edje_decc switch that overrides the name of the first SourceFile entry (= main file name). edje_decc --main_file BLAH.EDC It's a hack, but I still think that the concept of Engrave isn't quite perfect :o Regards, Tilman parsing build.sh is probably a clean way to do this - or making it a different name that hasnt been used before (eg edje.edc) which wouldnt break anything (and ALWAYS write it) :) Like raster said, I have done a new patch that ALWAYS create a file named main_edje_source.edc This file simply include the user main source. I think that this doesn't break anything. If you prefer can also change the name of the created file. And as I already said, this breaks redact. Want me to make my suggestion for an elegant and world-compatible implementation again? ;p Ok sorry, I can't understand what you mean with 'breaks redact' (what is redact?). But go on... redact is my alternate Edje compiler. It writes the same files as edje_cc, but works with different input. If I make the creation of the file only when you specify a command line switch is good for you? like: edje_decc -d file_name This will create an additional file called for ex. main_edc_to_load.edc If you agree I will made the patch in this way. Okay, I can implement my suggestion on top of that then... ;) Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpjwCxPFv13z.pgp Description: PGP signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] edje_decc patch
Dave [2007-02-24 02:11]: Carsten Haitzler (The Rasterman) ha scritto: On Mon, 5 Feb 2007 20:53:16 +0100 Tilman Sauerbeck [EMAIL PROTECTED] babbled: dan sinclair [2007-02-05 12:17]: Tilman Sauerbeck wrote: DaveMDS [2007-02-05 05:05]: here's a patch for edje_decc that create a file called default.edc in the decompiled source dir. The file contents is only a line that include the main edc file. If the default.edc file exist none is created With this patch I can open edj file from edje_editor (engrave run edje_decc and always open default.edc). NAK. Breaks compatibility with redact for no good reason. It used to be that edje would output the main .edc file as main_edje_source.edc (or something similar) this made life for engrave really easy as we'd just look for that file. Now, it uses whatever the coder sets as their default file. We have no-way to know what the main .edc file is called anymore. (Well, besides parsing the rebuild script I think). Having it either rename he main .edc file to something common, or spitting out a commonly named file means that an editor can open the .edc files decompiled from the .edj file. The correct way would be of course to just read the EET. But maybe you want to introduce another edje_decc switch that overrides the name of the first SourceFile entry (= main file name). edje_decc --main_file BLAH.EDC It's a hack, but I still think that the concept of Engrave isn't quite perfect :o Regards, Tilman parsing build.sh is probably a clean way to do this - or making it a different name that hasnt been used before (eg edje.edc) which wouldnt break anything (and ALWAYS write it) :) Arghh. I had my mail server down until now, and I lost the end of discussion, sorry :( So... we can also write a file named (for example) main_edc.txt and write inside the name of the main source file. Make it as you prefer but please do it, I really need this for the editor. In the future I want to read the edj directly, but for now I need to decompile the file. That's fugly. Why not do it like I suggested? Gets you the same functionality with less uglyness. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpq4gZVXM6f5.pgp Description: PGP signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] edje_decc patch
DaveMDS [2007-02-05 05:05]: here's a patch for edje_decc that create a file called default.edc in the decompiled source dir. The file contents is only a line that include the main edc file. If the default.edc file exist none is created With this patch I can open edj file from edje_editor (engrave run edje_decc and always open default.edc). NAK. Breaks compatibility with redact for no good reason. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpnwS5jn6H1R.pgp Description: PGP signature - 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] edje_decc patch
dan sinclair [2007-02-05 12:17]: Tilman Sauerbeck wrote: DaveMDS [2007-02-05 05:05]: here's a patch for edje_decc that create a file called default.edc in the decompiled source dir. The file contents is only a line that include the main edc file. If the default.edc file exist none is created With this patch I can open edj file from edje_editor (engrave run edje_decc and always open default.edc). NAK. Breaks compatibility with redact for no good reason. It used to be that edje would output the main .edc file as main_edje_source.edc (or something similar) this made life for engrave really easy as we'd just look for that file. Now, it uses whatever the coder sets as their default file. We have no-way to know what the main .edc file is called anymore. (Well, besides parsing the rebuild script I think). Having it either rename he main .edc file to something common, or spitting out a commonly named file means that an editor can open the .edc files decompiled from the .edj file. The correct way would be of course to just read the EET. But maybe you want to introduce another edje_decc switch that overrides the name of the first SourceFile entry (= main file name). edje_decc --main_file BLAH.EDC It's a hack, but I still think that the concept of Engrave isn't quite perfect :o Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpAH4ZdaHmtr.pgp Description: PGP signature - 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_geometry_get()
Ed Presutti [2007-01-21 23:11]: On Sun, 2007-01-14 at 20:03 -0600, Ed Presutti wrote: How do you correctly get the window position and size when using Ecore_Evas? Here's a quick code snippet to demonstrate what i'm trying to do. I've correctly gotten the size of the object, but can't seem to get the window position right. This could just be a coding error on my part. :-) After further research, it appears that the width/height part always break when using XRender, but work when using the Software engine. The X/Y part always breaks on either engine. ecore_evas_geometry_get() works just fine here with both the software and the XRender engine. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpBZBzAZbaJu.pgp Description: PGP signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] evas_smart_new() api
Brian Mattern [2006-11-28 10:15]: Any objections to removing these from the API (other than the fact that we have to trudge through cvs and delete a bunch of NULL's)? I'd prefer this to having deprecated API on release. No, please do. Please let the list know when it's done so I can adapt my Ruby bindings to the change. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpw8V7AOQFL0.pgp Description: PGP signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] bytecode hinting and desktop files
Nikolas Arend [2006-10-19 13:59]: Carsten Haitzler (The Rasterman) wrote: On Thu, 19 Oct 2006 13:14:21 +0200 Nikolas Arend [EMAIL PROTECTED] babbled: Massimo Maiurana wrote: Carsten Haitzler (The Rasterman), il 18/10/2006 00:57, scrisse: see the above - add a printf and see what that func actually returns - but i bet you it is saying that it DOESNT do patented hinting. ok, I'll try recompiling freetype first, but I would like to know how your ft2 is configured. in my ftoption.h I see these options commented: /* #define FT_EXPORT(x) extern x */ /* #define FT_EXPORT_DEF(x) x */ could it be my problems are related to this? also, in tt driver configuration I see this undefined: #undef TT_CONFIG_OPTION_COMPONENT_OFFSET_SCALED should I define it? can you send me your ftoption.h so that I can see what are the differences between yours and mine? I don't have the time atm to get deeper into this, so I can't add anything valuable to this thread and the solution. But I too used bytecode hinting with my self-compiled ft2 2.2.1 and enlightenment cvs on FC4 not so long ago. Now (since a few revisions) the bytecode option is greyed out. That means ft2 seems to be able to do bytecode hinting, so probably s.th. has changed in e/EFL. Cheers, Nick. works here on debian and ubunutu. the code in evas looks right. and it works here. since you are compiling and installing your own ft2's i can only surmise something is wrong with your install of ft2 and how it reports if it can do bytecode or not. But since it worked before with the very same ft2 install, there is supposed to be a change in how enlightenment checks whether ft2 can do bytecode hinting (or is willing to ;-). Maybe that can help to get to the bottom of this problem. Don't get me wrong, I don't say it's e's fault. Maybe you used the bytecode interpreter although only the _patented_ bits of code weren't enabled. That one will yield BAD results with most TTFs, so Evas will only accept the _patented_ bytecode interpreter. See http://freetype.fis.uniroma2.it/freetype2/docs/reference/ft2-ttengine.html I'm sure that the Evas code is correct :) Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgphnuXX474Kx.pgp Description: PGP signature - 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] E CVS: libs/ecore kwo
Carsten Haitzler [2006-09-14 07:37]: On Wed, 13 Sep 2006 13:45:12 -0400 (EDT) Enlightenment CVS [EMAIL PROTECTED] babbled: hmm - i would have done it per root window - not screen (reverse map the roots back to screen #) I felt _screen was the obvious choice since there's one selection atom per screen... Thanks Kim for putting it in :) Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpzfiWVmlANw.pgp Description: PGP signature - 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] xrender_x11 engine: identity transform workaround
Carsten Haitzler [2006-09-12 09:01]: On Mon, 11 Sep 2006 19:55:28 +0200 Tilman Sauerbeck [EMAIL PROTECTED] babbled: I just fixed xorg-server so that setting a scaled variant of the identity is a no-op, too. That means if you pass the identity to XRenderSetPictureTransform(), the function will just exit and not use any transform at all. even if it set the identity - i would expect the xserver-side to go ooh look- identity transform! ... NOP! :) That's what it's doing now. This might expose a in the render implementation raster experienced the source-depth == 1 bug in. I'd like to remove the FIXME and that chunk of code, since it's officially pointless. Should we really work around stupid driver bugs? It also won't work in xorg 7.2+ :D if this actually has a chance of being fixed in xorg soon - yes - remove... ONCE that xorg is out and about with the fixes :) so... if it goes into xorg git - then change the fixme to added to xorg git some/date/2006 - expected in release 7.x and once we encounter that release in the wild - flip over... or make it a #ifdef broken_xrender too :) That sucks. Hiding bugs sucks. Even if they are in xorg or in NVidia's drivers. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpvFnqcSgbQa.pgp Description: PGP signature - 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] E CVS: libs/evas tilman
Carsten Haitzler [2006-09-12 08:02]: On Mon, 11 Sep 2006 10:42:39 -0400 (EDT) Enlightenment CVS [EMAIL PROTECTED] babbled: [init transform changes] did this change anything with your xrender output? i would expect not (simply changing how the matrix is initted - content should be the same) No, it didn't change anything. Your matrix transform is correct. I just wanted to clean it up a bit. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgp1oxNThjH8s.pgp Description: PGP signature - 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
[E-devel] xrender_x11 engine: identity transform workaround
Hi, this is about the FIXME in evas_engine_xrender.c:493. If the depth of the surface is 1, we're passing a scaled variant of the identity matrix to the picture. All scaled variants of the identity should be treated the same in the render implementation, but apparently they aren't. I just fixed xorg-server so that setting a scaled variant of the identity is a no-op, too. That means if you pass the identity to XRenderSetPictureTransform(), the function will just exit and not use any transform at all. This might expose a in the render implementation raster experienced the source-depth == 1 bug in. I'd like to remove the FIXME and that chunk of code, since it's officially pointless. Should we really work around stupid driver bugs? It also won't work in xorg 7.2+ :D May I remove that chunk or do you want to keep it? Patch attached. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpES7rIixKRy.pgp Description: PGP signature - 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] xrender_x11 engine: identity transform workaround
Tilman Sauerbeck [2006-09-11 19:55]: May I remove that chunk or do you want to keep it? Patch attached. Yeah, well, not quite attached. Now. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? Index: evas_engine_xrender.c === RCS file: /cvs/e/e17/libs/evas/src/modules/engines/xrender_x11/evas_engine_xrender.c,v retrieving revision 1.16 diff -u -p -r1.16 evas_engine_xrender.c --- evas_engine_xrender.c 11 Sep 2006 15:24:54 - 1.16 +++ evas_engine_xrender.c 11 Sep 2006 17:48:27 - @@ -487,22 +487,10 @@ _xr_render_surface_composite(Xrender_Sur void _xr_render_surface_copy(Xrender_Surface *srs, Xrender_Surface *drs, int sx, int sy, int x, int y, int w, int h) { - XTransform xf; XRenderPictureAttributes att; if ((w = 0) || (h = 0) || (!srs) || (!drs)) return; - /* FIXME: why do we need to change the identity matrix ifthe src surface -* is 1 bit deep? -*/ - if (srs-depth == 1) - { - init_transform(xf); - xf.matrix[0][0] = xf.matrix[1][1] = xf.matrix[2][2] = 1; - XRenderSetPictureTransform(srs-xinf-disp, srs-pic, xf); - } - - att.clip_mask = None; XRenderChangePicture(srs-xinf-disp, srs-pic, CPClipMask, att); XRenderChangePicture(srs-xinf-disp, drs-pic, CPClipMask, att); pgph52MrzWVA2.pgp Description: PGP signature - 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
[E-devel] Colormap issues in ecore_x_window_argb_internal_new()
Hi, when ecore_x creates an window with an ARGB visual, it creates a colormap for that visual (ecore_x_window.c:973). This colormap is evaluated by XCreateWindow() etc. Afterwards, when the window has been set up, the colormap is freed (line 1010). So now the colormap field in the XSetWindowAttributes structure of the window points to a freed chunk of memory. Is this correct behaviour? When a window manager wants to take care of that window, it has to create the colormap again. There's no way it can find out whether the colormap pointer is valid, either - so it might waste resourrces by creating the color map. I'm probably wrong about a few of these points as my xlib knowledge is pretty limited :D But shouldn't we either omit the XFreeColormap() call or also reset the colormap field? The first alternative seems better to me. GTK doesn't seem to free their colormaps, btw. Thoughts? Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpowFnuMcEzg.pgp Description: PGP signature - 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 borderless_set in conflict with alpha_set ?
Carsten Haitzler [2006-09-07 14:27]: On Thu, 27 Jul 2006 20:50:54 + Hannes Janetzek [EMAIL PROTECTED] babbled: I found some strange behavior with this ecore calls. If I dont use alpha_set borderless_set works as expected. With alpha_set the border gets drawn. This is the code which I have tested. this is now fixed - should work now :) I think you only pathed the code path for the software engine but ignored the XRender path. Here's an untested patch. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? Index: src/lib/ecore_evas/ecore_evas_x.c === RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_evas/ecore_evas_x.c,v retrieving revision 1.90 diff -u -p -r1.90 ecore_evas_x.c --- src/lib/ecore_evas/ecore_evas_x.c 7 Sep 2006 10:33:57 - 1.90 +++ src/lib/ecore_evas/ecore_evas_x.c 9 Sep 2006 17:53:35 - @@ -1601,6 +1601,8 @@ _ecore_evas_x_alpha_set(Ecore_Evas *ee, evas_damage_rectangle_add(ee-evas, 0, 0, ee-w, ee-h); ecore_x_window_shape_mask_set(ee-engine.x.win, 0); ecore_evases_hash = evas_hash_add(ecore_evases_hash, _ecore_evas_x_winid_str_get(ee-engine.x.win), ee); +if (ee-prop.borderless) + ecore_x_mwm_borderless_set(ee-engine.x.win, ee-prop.borderless); if (ee-visible) ecore_x_window_show(ee-engine.x.win); if (ee-prop.focused) ecore_x_window_focus(ee-engine.x.win); } pgpIDtR3UlxIv.pgp Description: PGP signature - 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] cvs, servers and stuff.
Eugen Minciu [2006-08-14 15:29]: Carsten Haitzler (The Rasterman) wrote: It has come to my attention that yet again we are killing systems. yes - we are becoming a burden on yet more cvs servers. we are monsters! :( anyway - we have been living on caosity's cvs for a while now - but we are killing it (sorry kainx!) so its time to finally bite the bullet and dredge up the issue of us needing servers again. here is what i think we need: 1. devel cvs server + future web server (for downloads too of official tarballs etc.) 2. an anonymous cvs server and possibly second download mirror. so 2 systems really. i hear that svn is significantly less load for anonymous access - even developer - who has experience with this server-side? can you confirm or deny? i would consider a possible move to svn if we can keep our history from cvs. so - let the flames begin. Now I know this is probably not going to sound right but how about a git repository?. git kicks Subversion's ass. At first, the decentralized nature of git might feel weird, but you'll get used to it, and love it (I've been using git since the day when Bitkeeper ended it's free-as-in-beer license thing, I think it was 2005-07-01). Disk space usage on the developer's box is considerably worse than CVS of course. The read-only git daemon (the one you'd use for anongit.e.org) is light on ressources I believe. Developer access would be done via ssh. cogito isn't needed for a sane git experience any more (it was, in the early days). Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpG2QhpFFsrK.pgp Description: PGP signature - 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_x_netwm : some prop are not in spec
Vincent Torri [2006-07-28 21:00]: i'm reviewing netwm properties and the following ones : [...] EAPI Ecore_X_Atom ECORE_X_ATOM_NET_STARTUP_INFO_BEGIN = { 0 }; EAPI Ecore_X_Atom ECORE_X_ATOM_NET_STARTUP_INFO = { 0 }; http://standards.freedesktop.org/startup-notification-spec/startup-notification-0.1.txt Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpEChWdoJ8p9.pgp Description: PGP signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] patch for edje
ZigsMcKenzie [2006-06-11 20:50]: Some comments. + STATE_COLOR_CLASS = 10, + STATE_REL1 = 11, +STATE_REL1_TO = 12, Obviously bad indentation here (and in some other places). + case EDJE_STATE_PARAM_COLOR_CLASS: + CHKPARAM(3); + + char *cc; Declaring variables in the middle of a block isn't allowed in C89, and IMO we shouldn't break C89 support for no good reason (same problem in other places, too). + case EDJE_STATE_PARAM_REL1_TO: + CHKPARAM(4); + + GETINT(rp-custom.description-rel1.id_x, params[3]); + GETINT(rp-custom.description-rel1.id_y, params[4]); + + if (rp-param1.description-rel1.id_x = 0) +rp-param1.rel1_to_x = ed-table_parts[rp-param1.description-rel1.id_x % ed-table_parts_size]; + if (rp-param1.description-rel1.id_y = 0) +rp-param1.rel1_to_y = ed-table_parts[rp-param1.description-rel1.id_y % ed-table_parts_size]; Bad indentation here. + GETINT(rp-custom.description-visible, params[3]); + + break; default: break; } + ed-dirty=1; + _edje_recalc(ed); + return 0; } OY! Always recalcing the Edje here seems too excessive. It used to work well without it for the ops we had before your patch AFAIK, so you should prolly only recalc for the new ops, and where it's really necessary. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpWLBfddsLxa.pgp Description: PGP signature ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E CVS: mail devilhorns
David Seikel [2006-06-08 05:54]: On Wed, 7 Jun 2006 15:43:59 -0400 (EDT) Enlightenment CVS [EMAIL PROTECTED] wrote: Added mail module based on embrace code (Thanks Tilman :) ) Does this make misc/embrace obsolete? No, because misc/embrace can also be used as a stand-alone application. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgp3kLg3TY4PH.pgp Description: PGP signature ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] File manager for iRiver iFP player.
Hisham Mardam Bey [2006-05-30 23:56]: On 5/30/06, Grzegorz Andrelczyk [EMAIL PROTECTED] wrote: I'm trying to write (using EWL) file manager for iriver player. And I'm stack with file manager part. Can somebody suggest me which EFL library I should use to be able to write this part? Take a look at ETK. ETK is a toolkit (similar to GTK) and already has ETK is also not EWL, which is what Grzegorz asked for. MEEEP. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpzcdQhtoQmc.pgp Description: PGP signature ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Valgrind support in Evas
Hi, some time ago, Valgrind support was disabled in Evas. IIRC it was because we applied the linker flags from pkg-config --libs valgrind, which broke the build. I attached a patch that enables Valgrind support again, but doesn't apply the libs (they are only needed when you're developing Valgrind tools I think). Can we get that in? Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? Index: configure.in === RCS file: /cvs/e/e17/libs/evas/configure.in,v retrieving revision 1.158 diff -u -p -r1.158 configure.in --- configure.in19 May 2006 09:27:33 - 1.158 +++ configure.in21 May 2006 18:08:08 - @@ -1694,31 +1694,31 @@ AC_ARG_ENABLE(convert-32-rgb-rot-90, # Setting have_valgrind to no seems pointless, but we just need to # put something in as the 4th parameter, so configure doesn't abort # when valgrind.pc isn't found. -#have_valgrind=no -#PKG_CHECK_MODULES(VALGRIND, valgrind = 2.4.0, have_valgrind=yes, have_valgrind=no) -#AC_ARG_ENABLE(valgrind, -# [ --enable-valgrind enable valgrind fixes to stop false reports], [ -# if test x$enableval = xyes ; then -#have_valgrind=yes -# else -#have_valgrind=no -#VALGRIND_CFLAGS= -#VALGRIND_LIBS= -# fi -# ], [ -#have_valgrind=$have_valgrind -# ] -#) +have_valgrind=no +PKG_CHECK_MODULES(VALGRIND, valgrind = 2.4.0, have_valgrind=yes, have_valgrind=no) +VALGRIND_LIBS= # dont use LIBS -#if test x$have_valgrind = xyes; then -# AC_DEFINE(HAVE_VALGRIND, 1, [Valgrind support]) -#fi +AC_ARG_ENABLE(valgrind, + [ --enable-valgrind enable valgrind fixes to stop false reports], [ + if test x$enableval = xyes ; then +have_valgrind=yes + else +have_valgrind=no +VALGRIND_CFLAGS= + fi + ], [ +have_valgrind=$have_valgrind + ] +) + +if test x$have_valgrind = xyes; then + AC_DEFINE(HAVE_VALGRIND, 1, [Valgrind support]) +fi # ## Fill in flags AC_SUBST(VALGRIND_CFLAGS) -AC_SUBST(VALGRIND_LIBS) AC_SUBST(x_cflags) AC_SUBST(x_libs) pgpDfAIRuOxWN.pgp Description: PGP signature
Re: [E-devel] Some ideas
Jerome Pinot [2006-04-08 20:25]: * ${HOME}/.e/apps (like enotes, elitaire, elicit, etc) That's not nice to clutter so much the files ;-) What about putting all EFL based apps under ${HOME}/.e ? I did start doing patches but I wonder what the E devs think. ~/.e/apps/foo is the correct directory to use AFAIK. differents folders. It would save space and be more elegant to make the EFL apps install their fonts always under ${prefix}/share/enlightenment/data/fonts No, there's EFL-based projects that aren't related to enlightenment-the-wm. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpztfu4gkqmg.pgp Description: PGP signature
Re: [E-devel] IMPORTANT - READ THIS - CVS MOVE!
Carsten Haitzler [2006-03-18 12:02]: 4. a location (country, major city at minimum - full address if you want to give it) Eh? Why do you want that information? Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpNBvRheSGbf.pgp Description: PGP signature
Re: [E-devel] Embrace
Walter Becker [2006-01-21 20:20]: /usr/local/enlightenment/lib/enlightenment/modules_extra/embrace/linux-i686/module.so: undefined symol: e_db_int_get However embrace as application works. The problem appeared with the cvs build yesterday. Does the attached patch help? Just a guess :) (You'll have to run autogen.sh again after applying it) Yes it does! Excellent, I'm committing this to CVS. Thanks, Tilman -- GnuPG key available at http://code-monkey.de/files/tsauerbeck-public-key.asc pgpKvos7XLyiU.pgp Description: PGP signature
Re: [E-devel] [Patch] Evas -- poorly-placed ++'s
Eric Sandall [2005-12-13 11:16]: while (dst dst_end) - *dst++ = (*src++ | PIXEL_SOLID_ALPHA) (*dst | 0x00ff); + *dst = (*src | PIXEL_SOLID_ALPHA) (*dst | 0x00ff); + dst++; + src++; } Shouldn't pre-increment (e.g. ++dst) be used instead of post-increment (e.g. dst++) as the post-increment in C, IIRC, requires the object to be copied, incremented, and then reassigned, whereas the pre-increment just increments without all the copying and reassigning. Since you cannot overload the ++ operator, and there are no classes and objects in C, this doesn't apply to C at all. Regards, Tilman pgpauuv8uLiAE.pgp Description: PGP signature
Re: [E-devel] imap/biff
Morten Nilsen [2005-12-02 06:23]: With the recent checkin of the gadget stuff in CVS, I suddenly got this idea to implement a gadget that tells you of new mail in a more clean way than the current alternative does.. The current alternative is as clean as it can be. Cheers, Tilman pgpxLV0mzFPrJ.pgp Description: PGP signature
Re: [E-devel] Stuff
Jose O Gonzalez [EMAIL PROTECTED] [2005-11-27 01:19]: I'll see if I can find a better way. Talking about better ways - it would be awesome if you could fix your email client so your mails don't get sent messed up like this. Thanks, Tilman pgpoRz6XbkgRr.pgp Description: PGP signature
Re: [E-devel] Re: libs/eet sebastid
Nathan Ingersoll [EMAIL PROTECTED] [2005-11-04 13:38]: It's a trick to allocate the file node and name in one allocation instead of two. Since we have the memory available for the name, the strcpy is then used to copy the string into the allocated space. Yeah, and it's even buggy. Horray. If the integer used for the byte count overflows, we'll end up with less bytes allocated than requested, which will blow. Regards, Tilman pgpww3KVmBq80.pgp Description: PGP signature
Re: [E-devel] EWL themes
dan sinclair [EMAIL PROTECTED] [2005-11-02 11:25]: We could either do a separate CVS directory, or move them to edevelop.org and depend on the ability for .edj's to be de-compiled to let people get the source code. What's the point of option 1? Doesn't matter whether they are unmaintained in 'ewl_themes' or in 'ewl'. You can remove the offending directories from the SUBDIR variables in Makefile.am, so they won't be distributed etc. If anyone succeeds in fixing them, you can put them in again. Keeping them in CVS is a good idea though... Revision history is important :) Regards, Tilman pgpbkguGQ7Jra.pgp Description: PGP signature
Re: [E-devel] [edje] problem with 1 source for a signal and several targets
Vincent Torri [EMAIL PROTECTED] [2005-10-08 14:54]: program { name, focus_choose; signal, mouse,clicked,1; source, titi; script { run_program(PROGRAM:toto); run_program(PROGRAM:tata); } } program { name, toto; action, STATE_SET focus 0.0; target, t1; } program { name, tata; action, STATE_SET focus 0.0; target, t2; } after, toto; after, tata; Is nicer, cause it doesn't depend on Embryo. Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html pgpm6x11Jxije.pgp Description: PGP signature
[E-devel] [PATCH] Ability to shade maximized windows
Hi, topic says it all. At the moment, you cannot shade maximized windows, which is silly IMO. I don't see any good reason for this :) Please enlighten me. Patch attached. Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html Index: e_border.c === RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v retrieving revision 1.444 diff -u -r1.444 e_border.c --- e_border.c 5 Oct 2005 19:02:41 - 1.444 +++ e_border.c 8 Oct 2005 17:50:23 - @@ -1234,7 +1236,7 @@ E_OBJECT_CHECK(bd); E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE); - if ((bd-fullscreen) || (bd-maximized) || (bd-shading)) return; + if ((bd-fullscreen) || (bd-shading)) return; if (!strcmp(borderless, bd-client.border.name)) return; if (!bd-shaded) { @@ -1320,7 +1322,7 @@ E_OBJECT_CHECK(bd); E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE); - if ((bd-fullscreen) || (bd-maximized) || (bd-shading)) return; + if ((bd-fullscreen) || (bd-shading)) return; if (bd-shaded) { // printf(UNSHADE!\n); pgpY703k9bK0d.pgp Description: PGP signature
Re: [E-devel] [PATCH] Debugging helper for theme developers
Carsten Haitzler [EMAIL PROTECTED] [2005-10-05 11:05]: If ~/.e/e/logs/debug-border.log exists, it will be filled with whatever info is emitted by the theme (emission == debug), e.g.: emit(debug, blah); When the log file doesn't exist, no debug data will be gathered. I think this is very useful, since it's more convenient than grepping e17's stdout for debug messages from themes. Do you consider it useful enough to go into CVS? i guess this could be useful to theme developers to see whats going on... :) i assume that's what drove this? :) Yes, exactly. Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html pgpm5200do5lo.pgp Description: PGP signature
[E-devel] [PATCH] Make Edje complain if you try to cancel non-existing animators
Hi, the bug I was hunting in a theme was that I did: public meh; set_int (meh, anim (...)); cancel_anim (meh); /* oops, should be get_int (meh)) of course! */ Edje never complained about it, which imo is a problem. When you try to ecore_timer_del() a non-existing timer, you'll get spanked by ecore, why not do the same for the edje-embryo API? I attached an example patch which adds the spanking for cancel_anim(). The same would be applied to cancel_timer() and possibly other functions. Objections? Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html Index: edje_var.c === RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_var.c,v retrieving revision 1.14 diff -u -r1.14 edje_var.c --- edje_var.c 27 Jun 2005 10:04:59 - 1.14 +++ edje_var.c 5 Oct 2005 17:51:58 - @@ -1,3 +1,7 @@ +/* + * vim:ts=8:sw=3:sts=8:noexpandtab:cino=5n-3f0^-2{2 + */ + #include Edje.h #include edje_private.h @@ -992,39 +996,59 @@ return ea-id; } -void -_edje_var_anim_del(Edje *ed, int id) +static Edje_Var_Animator * +_edje_var_anim_find(Edje *ed, int id) { Evas_List *l; - if (!ed-var_pool) return; + if (!ed-var_pool) return NULL; + for (l = ed-var_pool-animators; l; l = l-next) { - Edje_Var_Animator *ea; - - ea = l-data; - if (ea-id == id) + Edje_Var_Animator *ea = l-data; + + if (ea-id == id) return ea; + } + + return NULL; +} + +void +_edje_var_anim_del(Edje *ed, int id) +{ + Edje_Var_Animator *ea; + + ea = _edje_var_anim_find(ed, id); + if (!ea) + { + fprintf(stderr, +*** EDJE ERROR: Cannot find animator to cancel\n +*** NAUGHTY PROGRAMMER!!!\n +*** SPANK SPANK SPANK!!!\n +*** Now go fix your code. Tut tut tut!\n +\n); + if (getenv(EDJE_ERROR_ABORT)) abort(); + return; + } + + if (ed-var_pool-walking_list) + { + ea-delete_me = 1; + return; + } + + ed-var_pool-animators = evas_list_remove(ed-var_pool-animators, ea); + free(ea); + + if (ed-var_pool-animators) return; + + _edje_anim_list = evas_list_remove(_edje_anim_list, ed); + if (!_edje_anim_list) + { + if (_edje_animator) { -if (!ed-var_pool-walking_list) - { - ed-var_pool-animators = evas_list_remove(ed-var_pool-animators, ea); - free(ea); - if (!ed-var_pool-animators) - { - _edje_anim_list = evas_list_remove(_edje_anim_list, ed); - if (!_edje_anim_list) -{ - if (_edje_animator) - { -ecore_animator_del(_edje_animator); -_edje_animator = NULL; - } -} - } - } -else - ea-delete_me = 1; -return; +ecore_animator_del(_edje_animator); +_edje_animator = NULL; } } } pgpJvkU5yeYNi.pgp Description: PGP signature
[E-devel] Re: [PATCH] Debugging helper for theme developers
Tilman Sauerbeck [EMAIL PROTECTED] [2005-10-05 00:03]: see attached patch. Whoops, it's attached now :) Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html Index: src/bin/e_border.c === RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v retrieving revision 1.441 diff -u -r1.441 e_border.c --- src/bin/e_border.c 4 Oct 2005 11:15:32 - 1.441 +++ src/bin/e_border.c 4 Oct 2005 21:59:45 - @@ -48,6 +48,8 @@ static int _e_border_cb_pointer_warp(void *data, int ev_type, void *ev); static void _e_border_cb_signal_bind(void *data, Evas_Object *obj, const char *emission, const char *source); +static void _e_border_cb_debug(void *data, Evas_Object *obj, const char *emission, const char *source); +static const char *_e_border_debug_log (); static int _e_border_cb_mouse_in(void *data, int type, void *event); static int _e_border_cb_mouse_out(void *data, int type, void *event); static int _e_border_cb_mouse_wheel(void *data, int type, void *event); @@ -3702,6 +3704,16 @@ (char *)emission, (char *)source); } +static void +_e_border_cb_debug(void *data, Evas_Object *obj, const char *emission, const char *source) +{ + FILE *fp; + + fp = fopen (_e_border_debug_log (), a); + fprintf (fp, %s\n, source); + fclose (fp); +} + static int _e_border_cb_mouse_in(void *data, int type, void *event) { @@ -4168,6 +4180,23 @@ return 0; } +static const char * +_e_border_debug_log () +{ + static char buf[PATH_MAX]; + + if (*buf == 0) + { + char *tmp = e_user_homedir_get(); + + snprintf(buf, sizeof (buf), %s/.e/e/logs/debug-border.log, +tmp); + free(tmp); + } + + return buf; +} + static void _e_border_eval(E_Border *bd) { @@ -4771,6 +4800,9 @@ ecore_x_window_move(bd-client.shell_win, l, t); if (bd-bg_object) { +if (ecore_file_exists (_e_border_debug_log())) + edje_object_signal_callback_add(bd-bg_object, debug, *, + _e_border_cb_debug, NULL); edje_object_signal_callback_add(bd-bg_object, *, *, _e_border_cb_signal_bind, bd); if (bd-focused) pgpw7yiCHAi0r.pgp Description: PGP signature
[E-devel] [PATCH] Debugging helper for theme developers
Hi, see attached patch. If ~/.e/e/logs/debug-border.log exists, it will be filled with whatever info is emitted by the theme (emission == debug), e.g.: emit(debug, blah); When the log file doesn't exist, no debug data will be gathered. I think this is very useful, since it's more convenient than grepping e17's stdout for debug messages from themes. Do you consider it useful enough to go into CVS? Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html pgpC2FN0dTB7K.pgp Description: PGP signature
Re: [E-devel] Font struct in edje_cc.h
Carsten Haitzler [EMAIL PROTECTED] [2005-09-30 10:03]: On Thu, 29 Sep 2005 19:38:17 +0200 Tilman Sauerbeck [EMAIL PROTECTED] babbled: Vincent Torri [EMAIL PROTECTED] [2005-09-29 13:37]: a small problem with that structure : when I use ecore_xcb, I have to include X.h. But then, Font is defined twice. what about renaming the one in edje_cc.h ? I think it's wrong for a library to have an entity simply called Font, but I'd say it's okay to namespace the Edje entities in this case. 1. that isnt in a library. it's a header for edje_cc which is non-graphical executable. it is private to the app and never installed. 2. there is no need for ecore_xcb to need x headers in EXTERNAL headers installed. ecore_x coesnt need them for its headers for example. When I said library, I meant xlib, not libedje :) Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html pgpzlYNGTgCw1.pgp Description: PGP signature
Re: [E-devel] Font struct in edje_cc.h
Vincent Torri [EMAIL PROTECTED] [2005-09-29 13:37]: a small problem with that structure : when I use ecore_xcb, I have to include X.h. But then, Font is defined twice. what about renaming the one in edje_cc.h ? I think it's wrong for a library to have an entity simply called Font, but I'd say it's okay to namespace the Edje entities in this case. Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html pgpS3bmD5Ba7d.pgp Description: PGP signature
Re: [E-devel] edc script : are arithmetic computations in parts possible ?
Vincent Torri [EMAIL PROTECTED] [2005-09-25 10:34]: I'm writing an edje and I would like to set the y offset of rel2 to (12 + the y offset of rel1) (in a defined part). Something like : #define TOTO(y) parts { *** *** rel1 { offset, 0 y; } rel2 { offset, 0 y+12; -- of course, this syntax is not correct } } is it possible ? Yes, if the above doesn't work, try adding spaces like so: y + 12 Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html --- 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] Re: E CVS: libs/evas tsauerbeck
On Sun, 11 Sep 2005 11:23:37 -0500 Chad Kittel [EMAIL PROTECTED] wrote: [valgrind stuff] With this change, evas stopped compiling with a build error of not being able to find memcheck.h. Valgrind 2.2.0 (at least on my system) puts memcheck.h into /usr/include/valgrind/memcheck.h so changing #include memcheck.h to be #include valgrind/memcheck.h worked like a champ for me. memcheck.h should be in the directory that pkg-config --cflags valgrind reports. Which is /usr/include/valgrind on my system. If it's not, it's a bug in Valgrind. UPDATE: Right before I was about to send this, i decided to try to upgrade valgrind to 2.4.0. After doing so, evas compiled without the change being needed. So, not an issue any more for me, but might still be an issue for any valgrind 2.2.0 people. I guess I'm no longer really suggesting a change, just maybe more like a heads-up. Then again, something could have just been wrong with my 2.2.0 install. Okay, I'll make Valgrind 2.4+ a requirement for Evas. Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html --- 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] [PATCH] init/shutdown support for Imlib2
On Thu, 8 Sep 2005 10:22:43 +0900 Carsten Haitzler (The Rasterman) [EMAIL PROTECTED] wrote: On Wed, 7 Sep 2005 22:29:47 +0200 Tilman Sauerbeck [EMAIL PROTECTED] babbled: Hi guys, patch attached, objections? ;) i have no objections as such... but i am not sure of the usefulness (at this stage) as imlib2 has been around for so long post 1.0 :) True. What about just calling the shutdown stuff via atexit()? Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html --- 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
[E-devel] [PATCH] init/shutdown support for Imlib2
Hi guys, patch attached, objections? ;) Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html imlib_init_shutdown.diff Description: Binary data
Re: [E-devel] Re: E CVS: libs/ecore sebastid
On Tue, 06 Sep 2005 21:44:40 +0200 Kim Woelders [EMAIL PROTECTED] wrote: diff -u -3 -r1.24 -r1.25 --- Ecore.h 5 Sep 2005 10:17:08 - 1.24 +++ Ecore.h 6 Sep 2005 19:26:19 - 1.25 @@ -43,6 +43,14 @@ #include sys/types.h #include signal.h +#ifndef TRUE +#define TRUE 1 +#endif + +#ifndef FALSE +#define FALSE 0 +#endif + #ifdef __cplusplus extern C { #endif Is this really a good idea? I have over the years seen way too many cases of clashing definitions of TRUE/True/true, FALSE/False/false. true/false are a very different story, since they are defined by C99. Defining FALSE to zero is alright from my experience. Would you be happier if we defined TRUE to !FALSE? Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html --- 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
[E-devel] ecore_con_dns breakage
Hi, the recent addition of ecore_con_dns broke Embrace (and likely others) badly. When I open up a new connecton, random bytes are dumped to the controlling terminal (not to stdout or stderr, either I'm drunk or I just don't get it). Apparently the connection isn't established. The app freezes. This is w/ SSL enabled. Thanks, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html --- 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] make install of emotion crashes with edje_cc Segmentation fault
On Sat, 13 Aug 2005 13:48:23 +0100 Andreas Orfanos [EMAIL PROTECTED] wrote: I am building from scratch EFL, and when I installed emotion I have the Segmentation fault bellow. I am building from CVS source tree. edje_cc -v -id ../data -fd ../data \ ../data/theme.edc \ ../data/theme.edj edje_cc: Opening /tmp/edje_cc.edc-tmp-BKXrS8 for input edje_cc: Parsing input file edje_cc: Parsing done make[1]: *** [theme.edj] Segmentation fault make[1]: *** Deleting file `theme.edj' Get a backtrace and submit it: cd data gdb edje_cc r theme.edc bt -- learn to quote: http://www.netmeister.org/news/learn2quote.html --- 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] Entice segfaults
Paulo Jorge de Oliveira Cantante de Matos [EMAIL PROTECTED] [2005-07-29 21:43]: Hi all, Hi, Anyway I've chosen a directory were I keep my images and entice segfaults (probably trying to create thumbnail of a tar.bz2 file): $ entice fotos/ Segmentation fault * Imlib2 Developer Warning * : This program is calling the Imlib call: imlib_image_format(); With the parameter: image being NULL. Please fix your program. Unable to thumbnail fotos//fotos-escalada-31Mar2005.tar.bz2 Does the attached patch fix the Imlib warning? Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html ? config.guess ? config.sub ? ltmain.sh Index: src/lib/Epsilon.c === RCS file: /cvsroot/enlightenment/e17/libs/epsilon/src/lib/Epsilon.c,v retrieving revision 1.14 diff -u -r1.14 Epsilon.c --- src/lib/Epsilon.c 20 Jul 2005 02:02:32 - 1.14 +++ src/lib/Epsilon.c 30 Jul 2005 10:40:00 - @@ -524,11 +524,16 @@ if (!tmp) - { - tmp = imlib_load_image_immediately_without_cache (e-src); + tmp = imlib_load_image_immediately_without_cache (e-src); + + if (!tmp) + { + if (ee) ecore_evas_free(ee); + return EPSILON_FAIL; + } + imlib_context_set_image (tmp); snprintf (format, 32, image/%s, imlib_image_format ()); - } if (tmp) {
Re: [E-devel] E module template
Vincent Torri [EMAIL PROTECTED] [2005-07-30 13:20]: A friend ask me to create a module template generator, so here is my attempt to seg faulting E17. Maybe it can help :) Trailing whitespace is the devil. Patch attached :D Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html diff -aur e_modules_template.old/template/e_mod_main.c e_modules_template/template/e_mod_main.c --- e_modules_template.old/template/e_mod_main.c2005-07-30 13:16:39.0 +0200 +++ e_modules_template/template/e_mod_main.c2005-07-30 14:18:32.589322136 +0200 @@ -43,7 +43,7 @@ e_modapi_init(E_Module *module) { MyModule *my_module; - + /* check module api version */ if (module-api-version E_MODULE_API_VERSION) { @@ -92,7 +92,7 @@ e_modapi_info(E_Module *module) { char buf[4096]; - + module-label = strdup(_(MyModule)); snprintf(buf, sizeof(buf), %s/module_icon.png, e_module_dir_get(module)); module-icon_file = strdup(buf); @@ -115,7 +115,7 @@ MyModule *my_module; Evas_List *managers, *l, *l2, *cl; E_Menu_Item *mi; - + _my_module_count = 0; my_module = E_NEW(MyModule, 1); if (!my_module) return NULL; @@ -149,13 +149,13 @@ for (l = managers; l; l = l-next) { E_Manager *man; - + man = l-data; for (l2 = man-containers; l2; l2 = l2-next) { E_Container *con; MyModule_Face *face; - + con = l2-data; face = _my_module_face_new(con); if (face) @@ -228,10 +228,10 @@ face = E_NEW(MyModule_Face, 1); if (!face) return NULL; - + face-con = con; e_object_ref(E_OBJECT(con)); - + evas_event_freeze(con-bg_evas); o = edje_object_add(con-bg_evas); face-my_module_object = o; @@ -239,7 +239,7 @@ e_theme_edje_object_set(o, base/theme/modules/my_module, modules/my_module/main); evas_object_show(o); - + o = evas_object_rectangle_add(con-bg_evas); face-event_object = o; evas_object_layer_set(o, 2); @@ -315,7 +315,7 @@ mn = e_menu_new(); face-menu = mn; - + /* Example with enabled */ /* Don't uncomment it */ /* It's here to show you how it works */ @@ -325,7 +325,7 @@ /*e_menu_item_check_set(mi, 1); */ /*if (face-conf-enabled) e_menu_item_toggle_set(mi, 1); */ /*e_menu_item_callback_set(mi, _my_module_face_cb_menu_enabled, face); */ - + /* Edit */ mi = e_menu_item_new(mn); e_menu_item_label_set(mi, _(Edit Mode)); @@ -386,7 +386,7 @@ { MyModule_Face *face; Evas_Event_Mouse_Down *ev; - + face = data; ev = event_info; if (ev-button == 3) @@ -417,11 +417,11 @@ face = data; enabled = e_menu_item_toggle_get(mi); if ((face-conf-enabled) (!enabled)) - { + { _my_module_face_disable(face); } else if ((!face-conf-enabled) (enabled)) - { + { _my_module_face_enable(face); } } diff -aur e_modules_template.old/template/e_mod_main.h e_modules_template/template/e_mod_main.h --- e_modules_template.old/template/e_mod_main.h2005-07-30 12:43:11.0 +0200 +++ e_modules_template/template/e_mod_main.h2005-07-30 14:18:35.299910064 +0200 @@ -25,7 +25,7 @@ { Evas_List *faces; E_Menu *config_menu; - + Config *conf; }; @@ -37,9 +37,9 @@ E_Menu *menu; E_Menu *digital_menu; Config_Face *conf; - + /* Evas Objects */ - + E_Gadman_Client *gmc; };
Re: [E-devel] E_Lib Desktop Add/Del Background Patch
Aaron Luptak [EMAIL PROTECTED] [2005-07-28 18:50]: + char *params[5]; + if(!bgfile | !desk_y | !desk_x | !zone | !con) + return; + params[0] = strdup(con); [...] + free(params); That's broken. Don't free 'params', free params[0], params[1] etc. Also, you prolly should check that your strdup calls are succeeding. Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html --- 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] List configuration question.
Simon Poole [EMAIL PROTECTED] [2005-07-22 14:48]: Tres Melton wrote: Is there anyway to have the FROM: field changed to point to the list? If you forget to change the TO: field when replying it ends up going to the individual and not to the list. I have been bitten by this a number of times and have seen others cus and scream as well. The latest Example is Edward Presutti's [E-devel] Monitor Module Patch 2 and 2-r1 emails. If not I'll continue to try to implant new usage into stubborn brain. :) The current behaviour is correct. If you want to send messages to the list, you should be using Reply to all. No, use reply to list. At least that's how it's called in mutt ;) Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html --- 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] Eosd
Mike Frysinger [EMAIL PROTECTED] [2005-07-22 13:39]: On Friday 22 July 2005 04:20 pm, Brian Sakal wrote: I figured I may get started on a xosd clone (eosd) since one needs gnome crap for xosd... esod already exists ... it probably needs to be updated to the new api's though ... Yeah (Brian contacted me by mail about the compilation error). Also, eOSD should probably use Evas instead of Ecore_X and Imlib2. last i checked though, it was a drop-in replacment for xosd (which would be sweet i think ... have it install an optional xosd.h which provides wrapper API to eosd calls) I never intended to copy xosd's API 100% (their API sucks balls IMHO). Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html --- 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] Valgrind on modules?
Edward Presutti [EMAIL PROTECTED] [2005-07-22 20:29]: Okay, so here's the newbie question for today... What's the best way to valgrind modules? Just do it (TM). The question sucks, because it's way too generic. If you meant to ask: When e17 exits, I don't see any information about the lines of code where memory chunk foo was allocated (which lead to this memory leak), then the answer is: call VALGRIND_DO_LEAK_CHECK in e17 before the shared objects are unloaded. See the Valgrind manual for more information about Valgrind user requests. Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html --- 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][Maximize horizontal/vertical]
Sebastien HOUZE [EMAIL PROTECTED] [2005-07-19 15:02]: +#define MAXIMIZE12 +#define MAXIMIZE_H 13 +#define MAXIMIZE_V 14 That's pretty ugly, magic values suck. Where do these come from? What about putting them in an enumeration? etc ;) Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html --- 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
enlightenment-cvs@lists.sourceforge.net enlightenment-cvs@lists.sourceforge.net [2005-07-08 12:56]: Enlightenment CVS committal Author : moom16 Project : e17 Module : libs/emotion Dir : e17/libs/emotion/src/lib Modified Files: emotion_private.h emotion_smart.c Log Message: [...] 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. Yes, the GPL is really incompatible with the BSD license. If you knew that, you shouldn't have imported that code in the first place... Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html --- 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] Re: E CVS: libs/emotion moom16
Tab [EMAIL PROTECTED] [2005-07-08 16:44]: YUY2 - BGRA is a really trivial conversion. It shouldn't be a problem to write up a native one from scratch. Unfortunately, this came up at a bad time -- I'm off to the beach :p Also, it's probably a good idea to implement the conversion algorithm in Evas, not in Emotion. Now, go read my signature and stop that broken quoting. Thanks. Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html --- 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] Edje patch again.
Boldin Pavel [EMAIL PROTECTED] [2005-07-05 02:42]: FAQ: Q: Still I need to recompile all *.edj files? A: Yes, you still need to do it. This is CVS and you should understand, that backward compability is out of there. Luckily, it's not you who will make that decision. Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html --- 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] Imlib2: less restrictions for put_back_data
Carsten Haitzler [EMAIL PROTECTED] [2005-06-01 07:02]: I have stumbled across a problem in Imlib2 wrt language bindings. imlib_image_put_back_data() assumes that the data pointer it has been given points is the same that was returned by imlib_image_get_data(). When you're not using Imlib2's C interface, but some language binding, this restriction can be hard to meet. I suggest to apply the attached patch, which will memcpy() the data if the pointer passed isn't the original pointer. Is this okay to commit? hmm - as i said on irc... (just tidying off mail loos ends) somehow to me this smells of a ruby/binding issue not something to be put into imlib2's api as a workaround.. ? :) Yeah. Just for the record, this has been fixed in imlib2-ruby instead ;D Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html --- 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] Imlib2: less restrictions for put_back_data
Hi, I have stumbled across a problem in Imlib2 wrt language bindings. imlib_image_put_back_data() assumes that the data pointer it has been given points is the same that was returned by imlib_image_get_data(). When you're not using Imlib2's C interface, but some language binding, this restriction can be hard to meet. I suggest to apply the attached patch, which will memcpy() the data if the pointer passed isn't the original pointer. Is this okay to commit? Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html Index: api.c === RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/lib/api.c,v retrieving revision 1.2 diff -u -r1.2 api.c --- api.c 2 Mar 2005 21:33:49 - 1.2 +++ api.c 29 May 2005 11:46:58 - @@ -1479,6 +1479,10 @@ CHECK_PARAM_POINTER(imlib_image_put_back_data, image, ctx-image); CHECK_PARAM_POINTER(imlib_image_put_back_data, data, data); CAST_IMAGE(im, ctx-image); + + if (im-data != data) + memcpy(im-data, data, im-h * im-w * 4); + __imlib_DirtyImage(im); data = NULL; }
Re: [E-devel] segfault on evas_object_bottom_get(), evas_object_top_get()
[EMAIL PROTECTED] [EMAIL PROTECTED] [2005-05-09 00:50]: gdb? :) Ok. I confirmed that, stepping though the test program using gdb, I get the same segfault[1] than previously [2]. that's weird - i read the code and i am baffled how obj2 could be wrong :( Does this mean you cannot reproduce this? If it's the case, how can I help? I just tried this on a x86 (gentoo 2005.0) and amd64 (Fedora core II, on sourceforge). I get the same problem at both places, using the same Evas code base. There *was* a bug in these two Evas functions, and I fixed them (or just in one? I forget). So if you update from CVS, your test program should work fine (besides the missing format specified in the last two printf calls). Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html --- 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
Re: [E-devel] Cross-compiling edje
Simon Poole [EMAIL PROTECTED] [2005-05-20 13:17]: Is there currently a way to use edje_cc on my x86 build box to create themes that will work on my ARM box? I have no native compiler on the ARM box and Yes. Edjes built on x86 will work nicely on big-endian arch boxes and vice versa of course :) Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html --- 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
Re: [E-devel] segfault on evas_object_bottom_get(), evas_object_top_get()
Carsten Haitzler [EMAIL PROTECTED] [2005-05-09 13:30]: obj2 = evas_object_below_get_internal(obj2); that's weird - i read the code and i am baffled how obj2 could be wrong :( Fixed :) Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html --- 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] embryo: getarg b0rked?
Carsten Haitzler [EMAIL PROTECTED] [2005-04-29 13:06]: On Thu, 28 Apr 2005 22:16:48 +0200 Tilman Sauerbeck [EMAIL PROTECTED] babbled: getarg() seems to be slightly b0rked. IMHO the attached patch should work, but it doesn't. It's way too much work to get string contents manually (for-loop) instead of doing it w/ getarg(num, 0). nah - embryo just doesn't work like that as it has no pointers, strings are done weirdly when passed to a function. in fact all parameters are. the argument itself is not a pointer to the string but an offset from the frame pointer as to where the string is stored. i didn't invent this - this is how small came :) that's why what you are doing wont work. :( sure - maybe we could provide wrappers that did the copy for you, but the string passed is not accessible as a string as such :) Mmmh, why does getarg(num) work when num is the last argument then? I've been doing this without problems. It just breaks when there are 2 (or more, I guess) string arguments you want to copy with getarg(num). Anyway, I'll send in a patch for getsarg() or something. -- learn to quote: http://www.netmeister.org/news/learn2quote.html --- 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] Re: E CVS: libs/edje tsauerbeck
Sebastian Dransfeld [EMAIL PROTECTED] [2005-04-29 22:42]: - if (ret != 0) + /* accept warnings in the embryo code */ + if (ret 0 || ret 1) Or ret != 0 ? Then this diff would be kinda pointless ;) -- learn to quote: http://www.netmeister.org/news/learn2quote.html --- 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
[E-devel] embryo: getarg b0rked?
getarg() seems to be slightly b0rked. IMHO the attached patch should work, but it doesn't. It's way too much work to get string contents manually (for-loop) instead of doing it w/ getarg(num, 0). raster, I cannot figure out why it doesn't work, can you please have a look? Thanks, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html Index: data/src/edje_test.edc === RCS file: /cvsroot/enlightenment/e17/libs/edje/data/src/edje_test.edc,v retrieving revision 1.1 diff -u -r1.1 edje_test.edc --- data/src/edje_test.edc 9 Dec 2004 05:49:33 - 1.1 +++ data/src/edje_test.edc 28 Apr 2005 20:14:19 - @@ -65,11 +65,12 @@ snprintf(buf, sizeof(buf), MESSAGE STRING SET ID: %i, id); for (new i = 2; i numargs(); i++) { - for (new j = 0; j (sizeof(str) - 1); j++) + /*for (new j = 0; j (sizeof(str) - 1); j++) { str[j] = getarg(i, j); if (str[j] == 0) break; - } + }*/ + snprintf(str, sizeof(str), %s, getarg(i)); emit(buf, str); } send_message(type, id + 1000, Alpha, Beta, Gamma, Delta);
Re: [E-devel] SEGFAULT in edb_salloc.c
C. David Wilde [EMAIL PROTECTED] [2005-04-26 17:53]: and then xmms2 from BK. Now I'm trying to get euphoria to run, the latest one you've put in CVS and it SEGFAULTS at line 135 @xmms.connect. I ran it through gdb, and bingo it's segfaulting at the Hack Euphoria like this: - @xmms.connect + @xmms.connect(unix:///tmp/xmms-ipc-FOO) Replace FOO with your user name. The default is to look up the current user name, apparently that's why it's crashing. I'll have a look at the XMMS2 code. -- Regards, Tilman --- 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] esmart_container and partially concealed elements
Brian Mattern [EMAIL PROTECTED] [2005-04-26 22:07]: hmm. i guess its a 'feature'. it should definitely be an option. i think it might looks odd if things scroll along smoothly, then suddenly pop into view when they fully fit. (same with scrolling 'off screen', they'd scroll smoothly and then instantly disappear when they hit the edge). but, i see why you'd want something like this. so, stick it in as an optional thing. Alright, I'll add it to my list ;) -- Regards, Tilman --- 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] Feeding events around in evas
Ben Martin [EMAIL PROTECTED] [2005-04-27 23:35]: I noticed that recent evas cvs has broken gevas event feeding. I am calling evas_event_feed_mouse_down() inside the GTK+2 event handler and attaching to evas objects with evas_object_event_callback_add( eobj, EVAS_CALLBACK_MOUSE_DOWN, __gevas_mouse_down, object ); Though the events never hit the down() handler. Should an event fed to an evas, such as a mouse_down be passed onto evas objects in the canvas which are under the mouse? Do I now need to call I don't quite understand that question. I suggest you have a look at how ecore_evas (ecore_evas_x.c) handles the event feeding, maybe that will give you some hints ;) -- Regards, Tilman --- 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] Fw: The results of me wasting time . . .
Carsten Haitzler [EMAIL PROTECTED] [2005-04-27 11:41]: --- /mine/CVS/misc/engage/src/module/e_mod_main.c 2005-04-26 07:13:50.0 -0700 +++ e_mod_main.c 2005-04-26 18:21:14.0 -0700 @@ -1,37 +1,33 @@ -/* - * vim:ts=8:sw=3:sts=8:noexpandtab:cino=5n-3f0^-2{2 - */ +/* vim:ts=8:sw=3:sts=8:noexpandtab:cino=5n-3f0^-2{2 */ Rejected, this breaks vim. -- Regards, Tilman --- 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
[E-devel] Edje, swallowing, and non-SWALLOW parts
Hi guys, I noticed slightly irritating behaviour with libedje. In one of my edjes, I have a IMAGE part. At runtime, I have a esmart_container swallow that image part. The result is that the image is still there, and the container is there, too, of course. Question: a) shouldn't the part that swallows the object be removed/ignored? b) there's the SWALLOW part type - I think libedje should refuse to swallow objects into any parts that are not SWALLOW parts. Otherwise, what's the use for SWALLOW anyway ;) raster, what do you think? -- Regards, Tilman --- 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] Logging for #edevelop
Tilman Sauerbeck [EMAIL PROTECTED] [2005-04-22 20:38]: Tilman Sauerbeck [EMAIL PROTECTED] [2005-04-22 19:12]: What do you think? Should we request logging for #edevelop with that project? Objections? @ RbdPngn tilman: I think we should just go ahead with that bot @ RbdPngn if someone objects, they'll speak up @ tilman RbdPngn: anyway, i'll do so now To #edevelop ops, quoting http://loglibrary.com/home/request_logging: Before I log your channel, I will join it as gernika and ask permission to log giving the requestor's nick as a reference. If the ops in your channel don't appear to know what's going on or if I am kicked, I will not come back and I will not log your channel. Logs are now available at http://loglibrary.com/137 -- Regards, Tilman --- 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] Logging for #edevelop
gimpel [EMAIL PROTECTED] [2005-04-22 21:50]: On Fri, 22 Apr 2005 20:38:20 +0200 Tilman Sauerbeck [EMAIL PROTECTED] wrote: Tilman Sauerbeck [EMAIL PROTECTED] [2005-04-22 19:12]: What do you think? Should we request logging for #edevelop with that project? Objections? @ RbdPngn tilman: I think we should just go ahead with that bot @ RbdPngn if someone objects, they'll speak up @ tilman RbdPngn: anyway, i'll do so now To #edevelop ops, quoting http://loglibrary.com/home/request_logging: Before I log your channel, I will join it as gernika and ask permission to log giving the requestor's nick as a reference. If the ops in your channel don't appear to know what's going on or if I am kicked, I will not come back and I will not log your channel. he was already there and asked about that some days ago, azundris has been there. he meant you should join his chan and talk to him again Yeah, I've seen that in my logs, too. Someone requested logging at the site without telling the ops, dunno who it was. -- Regards, Tilman --- 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] esmart_container and partially concealed elements
Hi, atm, Esmart_Container will try to draw container elements even if there's not enough space to draw all of the object. Example: http://code-monkey.de/files/esmart_container_error.png The last entry isn't drawn completely, which looks pretty bad ;) Brian, is that a bug that should be fixed or is it a feature? If it's a feature, I'd like to make this behaviour configurable. -- Regards, Tilman --- 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] Logging for #edevelop
Tilman Sauerbeck [EMAIL PROTECTED] [2005-04-22 19:12]: What do you think? Should we request logging for #edevelop with that project? Objections? @ RbdPngn tilman: I think we should just go ahead with that bot @ RbdPngn if someone objects, they'll speak up @ tilman RbdPngn: anyway, i'll do so now To #edevelop ops, quoting http://loglibrary.com/home/request_logging: Before I log your channel, I will join it as gernika and ask permission to log giving the requestor's nick as a reference. If the ops in your channel don't appear to know what's going on or if I am kicked, I will not come back and I will not log your channel. -- Regards, Tilman --- 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] Logging for #edevelop
Hi guys, some weeks ago, Nathan proposed to add a logging bot to #edevelop. One benefit of this would be that we can tell users to go look for answers to common questions there ;D I've stumbled across http://loglibrary.com/ recently, and it looks quite good. What do you think? Should we request logging for #edevelop with that project? Objections? -- Regards, Tilman --- 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] Perl Bindings
Artin Rebekale [EMAIL PROTECTED] [2005-04-20 18:21]: I'd appreciate it if anyone could point me to various examples of code in c (like http://www.everburning.com/docs/evas_textblock/evas_textblock_intro.html but for handling mouse events, listboxes, buttons etc...) so that i can flesh out what functions should be available or not (also to make cool perl apps that look good ) Most important: The Ecore event system (ecore_event_handler_add ()). There are Ecore events in ecore-x (Ecore_X.h, look for EVENT) for key presses etc. If you want to get callbacks on mouse actions on Evas objects directly, you'll have to wrap evas_object_event_callback_add () for the callbacks that are in Evas_Callback_Type (see Evas.h). Evas callbacks are used less often than Ecore events though, so you should start with the latter (especially since Ecore events are used throughout the Ecore modules :) -- Regards, Tilman --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Ecore LDFLAGS - handle them like Esmart?
Carsten Haitzler [EMAIL PROTECTED] [2005-04-20 11:56]: I suggest to handle this the same way we do it in Esmart: ecore-config --libs only includes -lecore, if you need the subsystems, you'll have to add the other linker switches yourself. hmm - i see not big problem with this - as long as everything updates to match... i guess we can just say fuck it to any system that doesn't handle shared lib linking :) (ecore_x, ecore_evas etc.) Not sure I understood you correctly - do you agree with my suggestion? -- Regards, Tilman --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] SEGFAULT in edb_salloc.c
C. David Wilde [EMAIL PROTECTED] [2005-04-19 10:16]: I was messing around with xmms2 and the clieclient kept seg faulting on me, so I ran it through gdb. The client is calls g_get_home_dir at which point __edb_shalloc gets called. __edb_shalloc gets SIGSEGV at line 89, the for loop. My C is very rusty and I don't have time to figure out exactly what is going on. Below is the output from gdb. I added the printf(DEBUG...) line to xmms_client.c, both xmms2 and e17 are built from cvs as of 04/18/2005. I tested the cli client outside of e17 and it works fine. Neither xmms2d nor xmms2 (the CLI) use EDB, and the backtrace doesn't make sense at all. The CLI is linked to EDB if you compile libxmmsclient with support for Ecore's main loop, but the CLI won't call into it... -- Regards, Tilman --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Ecore LDFLAGS - handle them like Esmart?
Hi, IMHO it sucks that if you want to link your application to Ecore, you have to link in all of its subsystems. This isn't much of an issue for the generic app that uses ecore_evas, but it sucks if all you need is the E-ecore and the config subsystem e.g. I suggest to handle this the same way we do it in Esmart: ecore-config --libs only includes -lecore, if you need the subsystems, you'll have to add the other linker switches yourself. Comments? -- Regards, Tilman --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [e-devel] ewl entry
ilLogict [EMAIL PROTECTED] [2005-04-18 10:17]: Note: This is the first ever patch I submit to a project, I don't know if it is the way it should be, so can you please correct me and tell me how it should be? echo diff -uN ~/.cvsrc then, run cvs diff to create the patch. -- Regards, Tilman --- 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] [ANN] Redact 0.1.0
I'm happy to announce the release of Redact 0.1.0. Redact is an Edje compiler written in Ruby. Unline the official Edje compiler, edje_cc, Redact doesn't read EDC code, it reads Ruby code instead. This means that Redact will allow you to write Edjes in a full-blown programming language. So why is this a good thing? With edje_cc, the only way to automate the creation of parts and/or programs is to use CPP macros, which are very limited feature-wise and hard to debug. Also, it means that syntax errors won't go unnoticed anymore :) (although I'm pretty positive we hunted down all of the bugs in that aspect in edje_cc). Redact already supports almost all important features of edje_cc, there are a few minor issues that you probably won't notice anyway ;) For further information, please see the the tiny project page at http://code-monkey.de/projects/redact.html Feedback is greatly appreciated, let me know what sucks about Redact atm, and how it could be done better. I hope an easy to handle Edje compiler will make it easier to get started with Edje and help in getting more people to design stuff with Edje :) ps: Please don't ask why I chose Ruby instead of C++, C#, Perl6, Python or Visual Basic ;) -- Regards, Tilman --- 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] winter gtk2
Michel Briand [EMAIL PROTECTED] [2005-03-29 21:58]: I decided to use Winter with E16 (perfect theme!!!) and recently with gtk2 also. But with gtk2 menu item are displayed black when active :'(... IIRC David Barr's GTK2 theme doesn't have that problem. His website is gone, but xcomputerman.com is mirroring it: http://xcomputerman.com/files/winter-gtk2.tar.gz -- Regards, Tilman --- 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] Ecore_Fd_Handler: prepare callback
Carsten Haitzler [EMAIL PROTECTED] [2005-03-28 08:41]: On Mon, 28 Mar 2005 00:14:00 +0200 Tilman Sauerbeck [EMAIL PROTECTED] babbled: Hi, I was missing a prepare callback in Ecore's FD handler - a callback that's executed just before the main loop actually checks for the file descriptors' states. One use of this prepare callback is that you can change the state the FD handler should check for. i'm wondering to see if you need it? why do you need it? there's 2 callbacks for fd's, one for raw fd data and one for buffered data (ie xlib buffers data so there may be data available in the xlib internal buffer like events, but the fd is not actually active for reading - this is why i added this - i am wondering if you are just re-implementing the buffered data callback in a different way???) The example I gave is what I need this for; I need a flexible Ecore_Fd_Handler - I need to set the flags the FD handler should check for just before it actually checks for them. So in that prepare callback I'd call ecore_fd_handler_active_set(). This could also be done with an FD handler and a timer, that periodically sets the flags on the FD handler, but that's pretty ugly and not reliable. So no, it cannot be done with the buffer callback :) -- Regards, Tilman --- 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