[E-devel] DR 16.7
Hi all, DR16.7 Highlights: -- Switched from Imlib/FreeType to Imlib2/FreeType2. New winter theme by rephorm. Distribution split up into programs, docs, and themes. Theme transparency. Bug fixes. Changes since e16.7-pre6: Smarter resizing (by Josh Holtrop [EMAIL PROTECTED]). Fix image class transparency (correctly this time!). Fix focuslist trouble. And a big thanks to everybody who contributed with patches, testing, bug reports, and support! As usual, the files are here: http://sourceforge.net/project/showfiles.php?group_id=2 Have fun :-) /Kim --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] RE: E CVS: libs/etox vacuum
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Sunday, July 25, 2004 06:03 To: [EMAIL PROTECTED] Subject: E CVS: libs/etox vacuum Enlightenment CVS committal Author : vacuum Project : e17 Module : libs/etox Dir : e17/libs/etox/src/style Modified Files: etox_style_style.c Log Message: sprintf-snprintf === RCS file: /cvsroot/enlightenment/e17/libs/etox/src/style/etox_style_style.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- etox_style_style.c11 Jun 2004 14:19:05 - 1.2 +++ etox_style_style.c25 Jul 2004 04:03:00 - 1.3 @@ -733,36 +733,36 @@ layer = (Etox_Style_Style_Layer *)calloc(sizeof(Etox_Style_Style_Layer), 1); - sprintf(key, /layers/%d/stack, i); + snprintf(key, sizeof(key)-1, /layers/%d/stack, i); e_db_int_get(info-style_db, key, layer-stack); - sprintf(key, /layers/%d/size_change, i); + snprintf(key, sizeof(key)-1, /layers/%d/size_change, i); e_db_int_get(info-style_db, key, layer-size_change); [snip] Why 'sizeof(key)-1'? Why not 'sizeof key'? The size argument to snprintf() should include the space needed for the terminating NUL character. //Peter --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21alloc_id040op=click ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] e16keyedit gtk2 patch
Hi, I've done a fast patch for e16keyedit to gtk2. Now there's an configure option --enable-gtk2 to activate gtk2 build. But it has a little bug that key isn't displayed in label, but all works. I think it should be easy to fix. If not I create a new Glade2 supported one in tools. And there're a lot of gtk-warnings at start that could be ignored. I think they are because of heavy use of the deprecated widgets. If noboy cry I'll commit this: ? e16keyedit2_gtk2.patch Index: configure.in === RCS file: /cvsroot/enlightenment/e16/e16keyedit/configure.in,v retrieving revision 1.1 diff -u -u -r1.1 configure.in --- configure.in20 Jul 2004 20:21:57 - 1.1 +++ configure.in25 Jul 2004 21:38:27 - @@ -9,11 +9,23 @@ AC_PROG_MAKE_SET dnl Checks for libraries. -if !(gtk-config --version /dev/null 21); then -AC_MSG_ERROR([Gtk+ is required.]) -else -CFLAGS=$CFLAGS `gtk-config --cflags` -LIBS=$LIBS `gtk-config --libs` +AC_ARG_ENABLE(gtk2, +[ --enable-gtk2=[no/yes]enables the gtk2 GUI (default=yes)],, + enable_gtk2=no) + +if [ ! test x$enable_gtk2 != xyes]; then +pkg_modules=gtk+-2.0 = 2.0.0 +PKG_CHECK_MODULES(PACKAGE, [$pkg_modules]) +CFLAGS=$CFLAGS $PACKAGE_CFLAGS +LIBS=$LIBS $PACKAGE_LIBS +AC_DEFINE(ENABLE_GTK2, , [Define to enable gtk2 support]) +else + if !(gtk-config --version /dev/null 21); then + AC_MSG_ERROR([Gtk+ is required.]) + else + CFLAGS=$CFLAGS `gtk-config --cflags` + LIBS=$LIBS `gtk-config --libs` + fi fi dnl Checks for header files. Index: ipc.c === RCS file: /cvsroot/enlightenment/e16/e16keyedit/ipc.c,v retrieving revision 1.3 diff -u -u -r1.3 ipc.c --- ipc.c 9 Feb 2000 00:02:14 - 1.3 +++ ipc.c 25 Jul 2004 21:38:27 - @@ -141,7 +141,11 @@ if (!comms_win) { GtkWidget *win, *label, *align, *frame, *button, *vbox; +#ifdef ENABLE_GTK2 +win = gtk_window_new(GTK_WINDOW_TOPLEVEL); +#else win = gtk_window_new(GTK_WINDOW_DIALOG); +#endif gtk_window_set_policy(GTK_WINDOW(win), 0, 0, 1); gtk_window_set_position(GTK_WINDOW(win), GTK_WIN_POS_CENTER); frame = gtk_frame_new(NULL); @@ -166,7 +170,7 @@ gtk_container_add(GTK_CONTAINER(align), vbox); gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), button, FALSE, FALSE, 0); - gtk_widget_show_all(win); +gtk_widget_show_all(win); gtk_main(); exit(1); } Index: viewer.c === RCS file: /cvsroot/enlightenment/e16/e16keyedit/viewer.c,v retrieving revision 1.19 diff -u -u -r1.19 viewer.c --- viewer.c23 Mar 2000 01:13:21 - 1.19 +++ viewer.c25 Jul 2004 21:38:28 - @@ -190,7 +190,11 @@ gdk_keyboard_grab(win-window, TRUE, CurrentTime); XWindowEvent(GDK_DISPLAY(), GDK_WINDOW_XWINDOW(win-window), KeyPressMask, ev); +#ifdef ENABLE_GTK2 + gdk_keyboard_ungrab(GDK_CURRENT_TIME); +#else gdk_keyboard_ungrab(gdk_time_get()); +#endif key = XKeysymToString(XKeycodeToKeysym(GDK_DISPLAY(), ev.xkey.keycode, 0)); gtk_entry_set_text(GTK_ENTRY(act_key),key); --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Re: E CVS: tools andreas99
On Sunday, 25 July 2004, at 10:21:50 (-0700), E CVS List wrote: Enlightenment CVS committal Author : andreas99 Project : e16 Module : tools Dir : e16/tools/e16menuedit2 Okay, why are we putting this in a different directory? If someone is going to take up the reigns, why not just replace what's already there? Michael -- Michael Jennings (a.k.a. KainX) http://www.kainx.org/ [EMAIL PROTECTED] n + 1, Inc., http://www.nplus1.net/ Author, Eterm (www.eterm.org) --- Normal is in the eye of the beholder.-- Whoopi Goldberg --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Re: E CVS: tools andreas99
Michael Jennings wrote: On Sunday, 25 July 2004, at 10:21:50 (-0700), E CVS List wrote: Enlightenment CVS committal Author : andreas99 Project : e16 Module : tools Dir : e16/tools/e16menuedit2 Okay, why are we putting this in a different directory? If someone is going to take up the reigns, why not just replace what's already there? You can blame me. I thought it would be nicer to collect tools like this in e16/tools/ in stead of in e16/. I also wasn't sure we wanted to wipe out the old one(s) yet. /Kim --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] e16keyedit gtk2 patch
On Sunday, 25 July 2004, at 23:46:49 (+0200), Andreas Volz wrote: I've done a fast patch for e16keyedit to gtk2. Now there's an configure option --enable-gtk2 to activate gtk2 build. But it has a little bug that key isn't displayed in label, but all works. I think it should be easy to fix. If not I create a new Glade2 supported one in tools. And there're a lot of gtk-warnings at start that could be ignored. I think they are because of heavy use of the deprecated widgets. If noboy cry I'll commit this: By all means, please do. On Monday, 26 July 2004, at 00:36:25 (+0200), Kim Woelders wrote: You can blame me. I thought it would be nicer to collect tools like this in e16/tools/ in stead of in e16/. I also wasn't sure we wanted to wipe out the old one(s) yet. I think the last time someone besides me touched them, people still thought the Earth was flat. Stale code does no good except confuse the piss out of newcomers. If someone else is willing to take up the slack and drive these things forward, then I say let him. Putting stuff in e16/tools is perfectly okay, but if we're going to replace the old stuff (and assuming the new stuff works), let's nuke the stale crap. Besides, it's CVS. It's not like we can't get it all back if we need to! Andreas, if (when?) you're confident your code works as well as or better than what's there now, let us know. Michael -- Michael Jennings (a.k.a. KainX) http://www.kainx.org/ [EMAIL PROTECTED] n + 1, Inc., http://www.nplus1.net/ Author, Eterm (www.eterm.org) --- You can accomplish much if you don't care who gets the credit. -- Ronald Reagan --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel