E CVS: libs/ewl pfritz
Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ewl Dir : e17/libs/ewl Modified Files: configure.in Log Message: typo === RCS file: /cvs/e/e17/libs/ewl/configure.in,v retrieving revision 1.120 retrieving revision 1.121 diff -u -3 -r1.120 -r1.121 --- configure.in16 Nov 2007 18:53:24 - 1.120 +++ configure.in17 Nov 2007 12:56:28 - 1.121 @@ -207,7 +207,7 @@ enable_tests=no fi -AM_CONDITIONAL(EWL_TESTS_BUILD, test xenable_tests$ = xyes) +AM_CONDITIONAL(EWL_TESTS_BUILD, test x$enable_tests = xyes) ### # Define these at the bottom as they are not release versions, but API - 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/ewl pfritz
Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ewl Dir : e17/libs/ewl/src/bin Modified Files: main.c Log Message: the name notebook is also used in test case, so change it to not conflict === RCS file: /cvs/e/e17/libs/ewl/src/bin/main.c,v retrieving revision 1.85 retrieving revision 1.86 diff -u -3 -r1.85 -r1.86 --- main.c 14 Nov 2007 06:54:19 - 1.85 +++ main.c 17 Nov 2007 13:00:31 - 1.86 @@ -429,7 +429,7 @@ c = ewl_widget_name_find(unit_test_box); - n = ewl_widget_name_find(notebook); + n = ewl_widget_name_find(test_notebook); ewl_notebook_visible_page_set(EWL_NOTEBOOK(n), c); } @@ -456,7 +456,7 @@ t-func(EWL_CONTAINER(c)); - n = ewl_widget_name_find(notebook); + n = ewl_widget_name_find(test_notebook); ewl_notebook_visible_page_set(EWL_NOTEBOOK(n), c); } @@ -563,7 +563,7 @@ note = ewl_notebook_new(); ewl_container_child_append(box, note); - ewl_widget_name_set(note, notebook); + ewl_widget_name_set(note, test_notebook); ewl_notebook_tabbar_alignment_set(EWL_NOTEBOOK(note), EWL_FLAG_ALIGN_CENTER); ewl_widget_show(note); - 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/ecore mickeyl
Enlightenment CVS committal Author : mickeyl Project : e17 Module : libs/ecore Dir : e17/libs/ecore Modified Files: configure.in Log Message: ecore: fix linking against tslib, it's -lts, not -ltslib === RCS file: /cvs/e/e17/libs/ecore/configure.in,v retrieving revision 1.239 retrieving revision 1.240 diff -u -3 -r1.239 -r1.240 --- configure.in13 Nov 2007 07:05:12 - 1.239 +++ configure.in17 Nov 2007 13:49:47 - 1.240 @@ -559,7 +559,7 @@ if test x$have_ecore_fb = xyes ; then AC_CHECK_HEADER(tslib.h, [ - tslib_libs=-ltslib + tslib_libs=-lts AC_DEFINE(HAVE_TSLIB, 1, [Build Ecore_FB Touchscreen Code]) ] ) - 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: ravenlock ravenlock
Enlightenment CVS committal Author : ravenlock Project : devs Module : ravenlock Dir : devs/ravenlock Modified Files: info.txt Log Message: Update info. === RCS file: /cvs/e/devs/ravenlock/info.txt,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- info.txt24 Jul 2007 04:25:39 - 1.5 +++ info.txt17 Nov 2007 14:31:30 - 1.6 @@ -4,8 +4,8 @@ Location: Dallas, Tx, USA E-Mail: [EMAIL PROTECTED] WWW:http://www.ravenlock.us -Managing: (none) +Managing: Contributing: E17, ecore, efreet, e_modules Group: ? -Platform: FreeBSD 6.x +Platform: FreeBSD 7.x GeoData: 32.9164 -96.5973 - 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: debian kaethorn
Enlightenment CVS committal Author : kaethorn Project : e_modules Module : debian Dir : e_modules/debian Modified Files: control emodule0-alarm.install emodule0-cpu.install emodule0-deskshow.install emodule0-emu.install emodule0-flame.install emodule0-forecasts.install emodule0-language.install emodule0-mail.install emodule0-mem.install emodule0-mixer.install emodule0-moon.install emodule0-net.install emodule0-photo.install emodule0-rain.install emodule0-screenshot.install emodule0-slideshow.install emodule0-snow.install emodule0-taskbar.install emodule0-tclock.install emodule0-uptime.install emodule0-weather.install emodule0-winselector.install emodule0-wlan.install rules Log Message: update debian files: * include efm and penguins modules * reflect changes in locale paths and other installed files * update rules commands === RCS file: /cvs/e/e_modules/debian/control,v retrieving revision 1.23 retrieving revision 1.24 diff -u -3 -r1.23 -r1.24 --- control 8 Aug 2007 13:19:35 - 1.23 +++ control 17 Nov 2007 14:56:15 - 1.24 @@ -19,6 +19,13 @@ Description: An E17 module providing a Composite Manager An E17 module which acts as a Composite Manager. +Package: emodule0-calendar +Architecture: any +Depends: ${shlibs:Depends}, enlightenment +Provides: emodule-calendar +Description: E17 calendar module + An E17 module which displays a calendar on the desktop. + Package: emodule0-cpu Architecture: any Depends: ${shlibs:Depends}, enlightenment @@ -36,6 +43,22 @@ An E17 module which minimizes all windows in order to show the desktop. +Package: emodule0-efm-nav +Architecture: any +Depends: ${shlibs:Depends}, libc6 (= 2.5), enlightenment +Provides: emodule-efm-nav +Description: E17 file manager navigation module + An E17 module which allows the user to navigate through the file manager + history. + +Package: emodule0-efm-path +Architecture: any +Depends: ${shlibs:Depends}, libc6 (= 2.5), enlightenment +Provides: emodule-efm-path +Description: E17 file manager path module + An E17 module which allows for displaying and editing the path in the + file manager. + Package: emodule0-emu Architecture: any Depends: ${shlibs:Depends}, enlightenment @@ -119,6 +142,13 @@ Provides: emodule-news Description: The E17 new modules An E17 module to display feeds like Rss or Atom on the desktop. + +Package: emodule0-penguins +Architecture: any +Depends: ${shlibs:Depends}, enlightenment +Provides: emodule-penguins +Description: The E17 penguins module + An E17 module to display penguins on the desktop. Package: emodule0-photo Architecture: any @@ -228,15 +258,18 @@ Package: emodules0-all Architecture: any -Depends: enlightenment, emodule0-alarm, emodule0-bling, emodule0-cpu, emodule0-deskshow, emodule0-emu, emodule0-flame, emodule0-forecasts, emodule0-language, emodule0-mail, emodule0-mem, emodule0-mixer, emodule0-moon, emodule0-net, emodule0-news, emodule0-photo, emodule0-rain, emodule0-screenshot, emodule0-slideshow, emodule0-snow, emodule0-taskbar, emodule0-tclock, emodule0-uptime, emodule0-weather, emodule0-winselector, emodule0-wlan +Depends: enlightenment, emodule0-alarm, emodule0-bling, emodule0-calendar, emodule0-cpu, emodule0-deskshow, emodule0-efm-nav, emodule0-efm-path, emodule0-emu, emodule0-flame, emodule0-forecasts, emodule0-language, emodule0-mail, emodule0-mem, emodule0-mixer, emodule0-moon, emodule0-net, emodule0-news, emodule0-penguins, emodule0-photo, emodule0-rain, emodule0-screenshot, emodule0-slideshow, emodule0-snow, emodule0-taskbar, emodule0-tclock, emodule0-uptime, emodule0-weather, emodule0-winselector, emodule0-wlan Conflicts: emodules-extra, evolume Provides: emodules-all, e17-modules Description: A dummy package for installing all modules for E17 This package will install the following modules: Alarm : Enlightenment Alarm Module Bling : EFLized Composite Manager for E17. + Calendar: Calendar module for the desktop. Cpu : Monitor module for the CPU load. Deskshow: A module that minimizes all windows to show the desktop. + EFM-nav : A file manager history browser. + EFM-path: A module for the file manager which displays the path. Emu : A module front end that runs arbitrary back ends written in any language. Flame : Displays flames at the bottom of the screen. @@ -248,6 +281,7 @@ Moon: Moon Clock module for Enlightenment. Net : Network activity monitoring module. News: Displays Rss or Atom feeds on the desktop. + Penguins: Displays penguins on the desktop. Photo : Display, view or set pictures as backgrounds. Rain: Displays rain on the desktop. Screenshot : This module is used to take screenshots. It
E CVS: epplets kwo
Enlightenment CVS committal Author : kwo Project : e16 Module : epplets Dir : e16/epplets/epplets Modified Files: Makefile.am Log Message: Move glx stuff to separate library. === RCS file: /cvs/e/e16/epplets/epplets/Makefile.am,v retrieving revision 1.99 retrieving revision 1.100 diff -u -3 -r1.99 -r1.100 --- Makefile.am 11 Nov 2007 17:51:14 - 1.99 +++ Makefile.am 17 Nov 2007 16:16:09 - 1.100 @@ -1,4 +1,4 @@ -# $Id: Makefile.am,v 1.99 2007/11/11 17:51:14 kwo Exp $ +# $Id: Makefile.am,v 1.100 2007/11/17 16:16:09 kwo Exp $ edatadir = $(datadir)/e16 @@ -44,8 +44,10 @@ EppletConfigTest_epplet_LDFLAGS = -rpath $(libdir) E_OpenGL_Demo_epplet_SOURCES = E-OpenGL-Demo.c -E_OpenGL_Demo_epplet_DEPENDENCIES = $(top_builddir)/api/libepplet.la +E_OpenGL_Demo_epplet_DEPENDENCIES = \ + $(top_builddir)/api/libepplet.la $(top_builddir)/api/libepplet_glx.la E_OpenGL_Demo_epplet_LDFLAGS = -rpath $(libdir) +E_OpenGL_Demo_epplet_LDADD = $(top_builddir)/api/libepplet_glx.la $(LDADD) E_Exec_epplet_SOURCES = E-Exec.c - 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: epplets kwo
Enlightenment CVS committal Author : kwo Project : e16 Module : epplets Dir : e16/epplets Modified Files: configure.in Log Message: Move glx stuff to separate library. === RCS file: /cvs/e/e16/epplets/configure.in,v retrieving revision 1.52 retrieving revision 1.53 diff -u -3 -r1.52 -r1.53 --- configure.in11 Nov 2007 17:51:14 - 1.52 +++ configure.in17 Nov 2007 16:16:09 - 1.53 @@ -85,7 +85,7 @@ enable_glx=yes) if test x$enable_glx = xyes; then AC_CHECK_HEADERS(GL/gl.h GL/glu.h GL/glx.h,, enable_glx=no) - AC_CHECK_LIB(GL, glXChooseVisual,, enable_glx=no) + AC_CHECK_LIB(GL, glXChooseVisual, enable_glx=yes, enable_glx=no) dnl# AC_CHECK_LIB(GLU, main, , GLX_LIBS=, $X_LIBS) fi if test x$enable_glx = xyes; then @@ -97,6 +97,7 @@ fi AC_SUBST(GLX_LIBS) AC_SUBST(GLX_PROGS) +AM_CONDITIONAL(BUILD_GLX, test x$enable_glx = xyes) PKG_CHECK_MODULES(IMLIB2, imlib2 = 1.2.0) - 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: epplets kwo
Enlightenment CVS committal Author : kwo Project : e16 Module : epplets Dir : e16/epplets/api Modified Files: Makefile.am epplet.c Added Files: epplet_glx.c Log Message: Move glx stuff to separate library. === RCS file: /cvs/e/e16/epplets/api/Makefile.am,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- Makefile.am 11 Nov 2007 17:51:14 - 1.13 +++ Makefile.am 17 Nov 2007 16:16:09 - 1.14 @@ -1,15 +1,25 @@ -# $Id: Makefile.am,v 1.13 2007/11/11 17:51:14 kwo Exp $ +# $Id: Makefile.am,v 1.14 2007/11/17 16:16:09 kwo Exp $ if BUILD_SNPRINTF SRCS_SNPRINTF = snprintf.c endif -lib_LTLIBRARIES = libepplet.la +if BUILD_GLX +EPPLET_LIB_GLX = libepplet_glx.la +endif + +lib_LTLIBRARIES = libepplet.la $(EPPLET_LIB_GLX) include_HEADERS = epplet.h + libepplet_la_SOURCES = epplet.c $(SRCS_SNPRINTF) libepplet_la_CPPFLAGS = -I$(top_srcdir) $(IMLIB2_CFLAGS) $(X_CFLAGS) -D ENLIGHTENMENT_ROOT=\$(datadir)/e16\ -libepplet_la_LIBADD = $(IMLIB2_LIBS) $(GLX_LIBS) $(X_LIBS) -lXext -lX11 -libepplet_la_LDFLAGS = -version-info 2:0:0 +libepplet_la_LIBADD = $(IMLIB2_LIBS) $(X_LIBS) -lXext -lX11 +libepplet_la_LDFLAGS = -version-info 3:0:0 + +libepplet_glx_la_SOURCES = epplet_glx.c +libepplet_glx_la_CPPFLAGS = -I$(top_srcdir) $(X_CFLAGS) +libepplet_glx_la_LIBADD = libepplet.la $(GLX_LIBS) +libepplet_glx_la_LDFLAGS = -version-info 3:0:0 -EXTRA_DIST = epplet.h.in snprintf.c +EXTRA_DIST = epplet.h.in snprintf.c epplet_glx.c === RCS file: /cvs/e/e16/epplets/api/epplet.c,v retrieving revision 1.147 retrieving revision 1.148 diff -u -3 -r1.147 -r1.148 --- epplet.c11 Nov 2007 17:56:29 - 1.147 +++ epplet.c17 Nov 2007 16:16:09 - 1.148 @@ -31,7 +31,7 @@ EppWindow; typedef EppWindow *Epplet_window; -static Display *disp = NULL; +Display*disp = NULL; static int window_num = 0;/* For window list */ static Epplet_window *windows = NULL; /* List of windows to loop though */ @@ -5435,78 +5435,6 @@ free(buf); } } - -#ifdef HAVE_GLX -GLXContext -Epplet_bind_double_GL(Epplet_gadget da, int red, int green, int blue, - int aux_buffers, int alpha, int depth, int stencil, - int accum_red, int accum_green, int accum_blue, - int accum_alpha) -{ - XVisualInfo*vi; - GLXContext cx; - Window win; - - /* This sets up our MINIMUM request list for glx values. If all -* the following minimums are not available, then a NULL is -* returned for cx. You also might get a LARGER value then you -* specify. */ - - int attributeListDbl[] = { GLX_RGBA, GLX_DOUBLEBUFFER, - GLX_RED_SIZE, red, GLX_GREEN_SIZE, green, GLX_BLUE_SIZE, blue, - GLX_ALPHA_SIZE, alpha, GLX_AUX_BUFFERS, aux_buffers, - GLX_DEPTH_SIZE, depth, GLX_STENCIL_SIZE, stencil, - GLX_ACCUM_RED_SIZE, accum_red, GLX_ACCUM_GREEN_SIZE, accum_green, - GLX_ACCUM_BLUE_SIZE, accum_blue, GLX_ACCUM_ALPHA_SIZE, accum_alpha, - None - }; - - win = Epplet_get_drawingarea_window(da); - vi = glXChooseVisual(disp, DefaultScreen(disp), attributeListDbl); - cx = glXCreateContext(disp, vi, 0, GL_TRUE); - glXMakeCurrent(disp, win, cx); - - return cx; -} - -GLXContext -Epplet_bind_single_GL(Epplet_gadget da, int red, int green, int blue, - int aux_buffers, int alpha, int depth, int stencil, - int accum_red, int accum_green, int accum_blue, - int accum_alpha) -{ - XVisualInfo*vi; - GLXContext cx; - Window win; - int attributeListSgl[] = { GLX_RGBA, - GLX_RED_SIZE, red, GLX_GREEN_SIZE, green, GLX_BLUE_SIZE, blue, - GLX_ALPHA_SIZE, alpha, GLX_AUX_BUFFERS, aux_buffers, - GLX_DEPTH_SIZE, depth, GLX_STENCIL_SIZE, stencil, - GLX_ACCUM_RED_SIZE, accum_red, GLX_ACCUM_GREEN_SIZE, accum_green, - GLX_ACCUM_BLUE_SIZE, accum_blue, GLX_ACCUM_ALPHA_SIZE, accum_alpha, - None - }; - - win = Epplet_get_drawingarea_window(da); - vi = glXChooseVisual(disp, DefaultScreen(disp), attributeListSgl); - cx = glXCreateContext(disp, vi, 0, GL_TRUE); - glXMakeCurrent(disp, win, cx); - - return cx; -} - -GLXContext -Epplet_default_bind_GL(Epplet_gadget da) -{ - return Epplet_bind_double_GL(da, 1, 1, 1, 0, 0, 8, 0, 0, 0, 0, 0); -} - -void -Epplet_unbind_GL(GLXContext cx) -{ - glXDestroyContext(disp, cx); -} -#endif static void Epplet_handle_child(int num) - 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-cvs
E CVS: epplets kwo
Enlightenment CVS committal Author : kwo Project : e16 Module : epplets Dir : e16/epplets/api Modified Files: epplet.h.in Log Message: GLU is not used. === RCS file: /cvs/e/e16/epplets/api/epplet.h.in,v retrieving revision 1.59 retrieving revision 1.60 diff -u -3 -r1.59 -r1.60 --- epplet.h.in 18 Mar 2007 22:29:36 - 1.59 +++ epplet.h.in 17 Nov 2007 16:22:59 - 1.60 @@ -31,9 +31,7 @@ #include sys/time.h #endif -/* preliminary OpenGL Checking */ #ifdef HAVE_GLX -#include GL/glut.h #include GL/glx.h #endif - 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: epplets kwo
Enlightenment CVS committal Author : kwo Project : e16 Module : epplets Dir : e16/epplets Modified Files: configure.in Log Message: GLU is not used. === RCS file: /cvs/e/e16/epplets/configure.in,v retrieving revision 1.53 retrieving revision 1.54 diff -u -3 -r1.53 -r1.54 --- configure.in17 Nov 2007 16:16:09 - 1.53 +++ configure.in17 Nov 2007 16:22:59 - 1.54 @@ -84,12 +84,11 @@ [ --enable-glxbuild with GLX support @:@default=yes@:@],, enable_glx=yes) if test x$enable_glx = xyes; then - AC_CHECK_HEADERS(GL/gl.h GL/glu.h GL/glx.h,, enable_glx=no) + AC_CHECK_HEADERS(GL/gl.h GL/glx.h,, enable_glx=no) AC_CHECK_LIB(GL, glXChooseVisual, enable_glx=yes, enable_glx=no) -dnl# AC_CHECK_LIB(GLU, main, , GLX_LIBS=, $X_LIBS) fi if test x$enable_glx = xyes; then - GLX_LIBS=-lGL -lGLU + GLX_LIBS=-lGL GLX_PROGS=E-OpenGL-Demo.epplet AC_DEFINE(HAVE_GLX, 1, [GLX support]) else - 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: epplets kwo
Enlightenment CVS committal Author : kwo Project : e16 Module : epplets Dir : e16/epplets Modified Files: epplets.spec.in Log Message: Avoid including debug stuff in binary rpm. === RCS file: /cvs/e/e16/epplets/epplets.spec.in,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- epplets.spec.in 18 Mar 2007 01:08:10 - 1.11 +++ epplets.spec.in 17 Nov 2007 16:25:40 - 1.12 @@ -54,7 +54,7 @@ %defattr(-, root, root) %doc ChangeLog %{_includedir}/* -%{_libdir}/* +%{_libdir}/libepplet*.* %{_bindir}/* %{_datadir}/e16/epplet_icons/* %{_datadir}/e16/epplet_data/* - 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: epplets kwo
Enlightenment CVS committal Author : kwo Project : e16 Module : epplets Dir : e16/epplets Modified Files: ChangeLog configure.in Log Message: Bump revision. Update ChangeLog. === RCS file: /cvs/e/e16/epplets/ChangeLog,v retrieving revision 1.235 retrieving revision 1.236 diff -u -3 -r1.235 -r1.236 --- ChangeLog 3 May 2007 22:01:53 - 1.235 +++ ChangeLog 17 Nov 2007 16:29:43 - 1.236 @@ -1,3 +1,41 @@ +2007-11-17 16:25 kwo + +* epplets.spec.in: + +Avoid including debug stuff in binary rpm. + +2007-11-17 16:22 kwo + +* configure.in, api/epplet.h.in: + +GLU is not used. + +2007-11-17 16:16 kwo + +* configure.in, api/Makefile.am, api/epplet.c, api/epplet_glx.c, +epplets/Makefile.am: + +Move glx stuff to separate library. + +2007-11-11 17:56 kwo + +* api/epplet.c: + +Fix instance counting bug (incorrect use of fcntl return code). + +2007-11-11 17:51 kwo + +* .cvsignore, configure.in, api/Makefile.am, api/epplet.c, +epplets/Makefile.am: + +New AC_INIT, autofoo cleanups. Bump version. + +2007-05-03 22:01 kwo + +* ChangeLog, configure.in: + +epplets-0.10. + 2007-05-03 21:46 kwo * epplets.spec: === RCS file: /cvs/e/e16/epplets/configure.in,v retrieving revision 1.54 retrieving revision 1.55 diff -u -3 -r1.54 -r1.55 --- configure.in17 Nov 2007 16:22:59 - 1.54 +++ configure.in17 Nov 2007 16:29:43 - 1.55 @@ -1,5 +1,5 @@ m4_define([pkg_version], [0.11]) -m4_define([pkg_revision], [0.00]) +m4_define([pkg_revision], [0.01]) m4_define([pkg_ver_rev], m4_ifdef([pkg_revision], [pkg_version-pkg_revision], [pkg_version])) m4_define([rpm_revision], m4_ifdef([pkg_revision], [pkg_revision], [1])) - 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/ewl doursse
Enlightenment CVS committal Author : doursse Project : e17 Module : libs/ewl Dir : e17/libs/ewl/src/engines/win32 Added Files: .cvsignore Log Message: .cvsignore - 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/ewl doursse
Enlightenment CVS committal Author : doursse Project : e17 Module : libs/ewl Dir : e17/libs/ewl/src/engines/evas_gl_glew Added Files: .cvsignore Log Message: .cvsignore - 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/ewl doursse
Enlightenment CVS committal Author : doursse Project : e17 Module : libs/ewl Dir : e17/libs/ewl/data/config Modified Files: .cvsignore Log Message: .cvsignore === RCS file: /cvs/e/e17/libs/ewl/data/config/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- .cvsignore 30 Sep 2006 22:31:36 - 1.1 +++ .cvsignore 17 Nov 2007 16:51:48 - 1.2 @@ -1,2 +1,3 @@ +ewl.cfg Makefile Makefile.in - 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/ewl jethomas
Enlightenment CVS committal Author : jethomas Project : e17 Module : libs/ewl Dir : e17/libs/ewl/src/lib Modified Files: ewl_filepicker.c Log Message: Fix more memory leaks === RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_filepicker.c,v retrieving revision 1.38 retrieving revision 1.39 diff -u -3 -r1.38 -r1.39 --- ewl_filepicker.c17 Nov 2007 00:01:55 - 1.38 +++ ewl_filepicker.c17 Nov 2007 16:57:56 - 1.39 @@ -566,6 +566,7 @@ Ewl_Filepicker *fp; Ewl_Filelist *fl; Ewl_Event_Action_Response *e; + char *file; DENTER_FUNCTION(DLEVEL_STABLE); DCHECK_PARAM_PTR(w); @@ -575,35 +576,32 @@ fp = data; e = ev; + /* clear the text and get the selected file */ + ewl_text_clear(EWL_TEXT(fp-file_entry)); + file = ewl_filelist_selected_file_get(fl); + if (e-response == EWL_FILELIST_EVENT_DIR_CHANGE) { char *dir; dir = strdup(ewl_filelist_directory_get(fl)); ewl_filepicker_path_populate(fp, dir); - ewl_text_clear(EWL_TEXT(fp-file_entry)); FREE(dir); } else if ((e-response == EWL_FILELIST_EVENT_SELECTION_CHANGE) (!fl-multiselect)) - { - ewl_text_clear(EWL_TEXT(fp-file_entry)); - ewl_text_text_set(EWL_TEXT(fp-file_entry), - ewl_filelist_selected_file_get(fl)); - } + ewl_text_text_set(EWL_TEXT(fp-file_entry), file); else if (e-response == EWL_FILELIST_EVENT_MULTI_TRUE) - { - ewl_text_clear(EWL_TEXT(fp-file_entry)); ewl_widget_disable(EWL_WIDGET(fp-file_entry)); - } else if (e-response == EWL_FILELIST_EVENT_MULTI_FALSE) { ewl_widget_enable(EWL_WIDGET(fp-file_entry)); - ewl_text_text_set(EWL_TEXT(fp-file_entry), - ewl_filelist_selected_file_get(fl)); + ewl_text_text_set(EWL_TEXT(fp-file_entry), file); } + + FREE(file); DLEAVE_FUNCTION(DLEVEL_STABLE); } - 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/ewl jethomas
Enlightenment CVS committal Author : jethomas Project : e17 Module : libs/ewl Dir : e17/libs/ewl/src/bin/tests/filepicker Modified Files: ewl_filepicker.c Log Message: Fix more memory leaks === RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/filepicker/ewl_filepicker.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- ewl_filepicker.c14 Nov 2007 20:07:58 - 1.10 +++ ewl_filepicker.c17 Nov 2007 16:57:56 - 1.11 @@ -4,6 +4,7 @@ #include ewl_filepicker.h #include stdio.h +#include stdlib.h #include string.h /** @@ -130,7 +131,10 @@ if (!file) printf(No file selected.\n); else + { printf(%s\n, file); + free(file); + } break; } default: - 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/ewl jethomas
Enlightenment CVS committal Author : jethomas Project : e17 Module : libs/ewl Dir : e17/libs/ewl/src/bin/tests/filedialog Modified Files: ewl_filedialog.c Log Message: Fix more memory leaks === RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/filedialog/ewl_filedialog.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- ewl_filedialog.c23 Aug 2007 05:26:44 - 1.6 +++ ewl_filedialog.c17 Nov 2007 16:57:56 - 1.7 @@ -5,6 +5,7 @@ #include ewl_filedialog.h #include ewl_label.h #include stdio.h +#include stdlib.h static int create_test(Ewl_Container *box); static void dialog_cb_single_clicked(Ewl_Widget *w, void *ev, void *data); @@ -117,15 +118,12 @@ } fd = EWL_FILEDIALOG(w); - if (ewl_filedialog_multiselect_get(fd)) - { - Ecore_List *l; - l = ewl_filedialog_selected_files_get(fd); - ecore_list_for_each(l, fd_append, list); - } - else - fd_append(ewl_filedialog_selected_file_get(fd), list); + Ecore_List *l; + l = ewl_filedialog_selected_files_get(fd); + ecore_list_free_cb_set(l, ECORE_FREE_CB(free)); + ecore_list_for_each(l, fd_append, list); + ecore_list_destroy(l); ewl_widget_destroy(w); } - 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/ewl ningerso
Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl Dir : e17/libs/ewl/src/bin/tests/object Modified Files: ewl_object.c Log Message: Add basic inset set/get unit test. === RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/object/ewl_object.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- ewl_object.c15 Nov 2007 19:14:57 - 1.5 +++ ewl_object.c18 Nov 2007 05:13:11 - 1.6 @@ -24,6 +24,7 @@ static int minimum_size_test_set_request(char *buf, int len); static int maximum_size_test_set_request(char *buf, int len); static int padding_test_set_get(char *buf, int len); +static int insets_test_set_get(char *buf, int len); static int fill_policy_test_set_get(char *buf, int len); static int alignment_test_set_get(char *buf, int len); @@ -35,6 +36,7 @@ {minimum size set/request, minimum_size_test_set_request, NULL, -1, 0}, {maximum size set/request, maximum_size_test_set_request, NULL, -1, 0}, {padding set/get, padding_test_set_get, NULL, -1, 0}, + {insets set/get, insets_test_set_get, NULL, -1, 0}, {fill policy set/get, fill_policy_test_set_get, NULL, -1, 0}, {alignment set/get, alignment_test_set_get, NULL, -1, 0}, {NULL, NULL, NULL, -1, 0} @@ -361,6 +363,36 @@ ret = 1; else snprintf(buf, len, incorrect returned padding); + } + + ewl_widget_destroy(w); + + return ret; +} + +/* + * Test that setting the insets on an object returns the same results on get. + */ +static int +insets_test_set_get(char *buf, int len) +{ + Ewl_Widget *w; + int l, r, t, b; + int ret = 0; + + w = calloc(1, sizeof(Ewl_Widget)); + ewl_widget_init(w); + + ewl_object_insets_get(EWL_OBJECT(w), l, r, t, b); + if (l || r || t || b) + snprintf(buf, len, initial insets not 0); + else { + ewl_object_insets_set(EWL_OBJECT(w), 1, 2, 3, 4); + ewl_object_insets_get(EWL_OBJECT(w), l, r, t, b); + if (l == 1 r == 2 t == 3 b == 4) + ret = 1; + else + snprintf(buf, len, incorrect returned insets); } ewl_widget_destroy(w); - 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/ewl ningerso
Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl Dir : e17/libs/ewl/src/bin/tests/object Modified Files: ewl_object.c Log Message: Additional unit tests for padding and inset interactions with sizes. === RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/object/ewl_object.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- ewl_object.c18 Nov 2007 05:13:11 - 1.6 +++ ewl_object.c18 Nov 2007 06:05:06 - 1.7 @@ -25,6 +25,9 @@ static int maximum_size_test_set_request(char *buf, int len); static int padding_test_set_get(char *buf, int len); static int insets_test_set_get(char *buf, int len); +static int padding_test_set_size_get(char *buf, int len); +static int insets_test_set_size_get(char *buf, int len); +static int insets_padding_test_set_size_get(char *buf, int len); static int fill_policy_test_set_get(char *buf, int len); static int alignment_test_set_get(char *buf, int len); @@ -37,6 +40,9 @@ {maximum size set/request, maximum_size_test_set_request, NULL, -1, 0}, {padding set/get, padding_test_set_get, NULL, -1, 0}, {insets set/get, insets_test_set_get, NULL, -1, 0}, + {padding set/size get, padding_test_set_size_get, NULL, -1, 0}, + {insets set/size get, insets_test_set_size_get, NULL, -1, 0}, + {insets padding set/size get, insets_padding_test_set_size_get, NULL, -1, 0}, {fill policy set/get, fill_policy_test_set_get, NULL, -1, 0}, {alignment set/get, alignment_test_set_get, NULL, -1, 0}, {NULL, NULL, NULL, -1, 0} @@ -394,6 +400,93 @@ else snprintf(buf, len, incorrect returned insets); } + + ewl_widget_destroy(w); + + return ret; +} + +/* + * Test that setting the padding on an object returns the expected results after + * a size request. + */ +static int +padding_test_set_size_get(char *buf, int len) +{ + Ewl_Widget *w; + int width = 0, height = 0; + int ret = 0; + + w = calloc(1, sizeof(Ewl_Widget)); + ewl_widget_init(w); + + ewl_object_padding_set(EWL_OBJECT(w), 1, 2, 3, 4); + + ewl_object_current_size_get(EWL_OBJECT(w), width, height); + if (width == (3 + EWL_OBJECT_MIN_SIZE) + height == (7 + EWL_OBJECT_MIN_SIZE)) + ret = 1; + else + snprintf(buf, len, incorrect returned size %dx%d, width, + height); + + ewl_widget_destroy(w); + + return ret; +} + +/* + * Test that setting the insets on an object returns the expected results after + * a size request. + */ +static int +insets_test_set_size_get(char *buf, int len) +{ + Ewl_Widget *w; + int width = 0, height = 0; + int ret = 0; + + w = calloc(1, sizeof(Ewl_Widget)); + ewl_widget_init(w); + + ewl_object_insets_set(EWL_OBJECT(w), 1, 2, 3, 4); + + ewl_object_current_size_get(EWL_OBJECT(w), width, height); + if (width == 4 height == 8) + ret = 1; + else + snprintf(buf, len, incorrect returned size %dx%d, width, + height); + + ewl_widget_destroy(w); + + return ret; +} + +/* + * Test that setting the insets and padding on an object returns the expected + * results after a size request. + */ +static int +insets_padding_test_set_size_get(char *buf, int len) +{ + Ewl_Widget *w; + int width = 0, height = 0; + int ret = 0; + + w = calloc(1, sizeof(Ewl_Widget)); + ewl_widget_init(w); + + ewl_object_padding_set(EWL_OBJECT(w), 1, 2, 3, 4); + ewl_object_insets_set(EWL_OBJECT(w), 4, 3, 2, 1); + + ewl_object_current_size_get(EWL_OBJECT(w), width, height); + if (width == (10 + EWL_OBJECT_MIN_SIZE) + height == (10 + EWL_OBJECT_MIN_SIZE)) + ret = 1; + else + snprintf(buf, len, incorrect returned size %dx%d, width, + height); ewl_widget_destroy(w); - 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: libs/ewl ningerso
Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl Dir : e17/libs/ewl/src/bin/tests/object Modified Files: ewl_object.c Log Message: Add a basic position set/get test. === RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/object/ewl_object.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- ewl_object.c18 Nov 2007 06:05:06 - 1.7 +++ ewl_object.c18 Nov 2007 06:43:04 - 1.8 @@ -17,6 +17,7 @@ #define DIFFER_WIDTH 30 #define DIFFER_HEIGHT 20 +static int position_test_set_get(char *buf, int len); static int preferred_inner_size_test_set_get(char *buf, int len); static int preferred_size_test_set_get(char *buf, int len); static int minimum_size_test_set_get(char *buf, int len); @@ -32,6 +33,7 @@ static int alignment_test_set_get(char *buf, int len); static Ewl_Unit_Test object_unit_tests[] = { + {position set/get, position_test_set_get, NULL, -1, 0}, {preferred inner size set/get, preferred_inner_size_test_set_get, NULL, -1, 0}, {preferred size set/get, preferred_size_test_set_get, NULL, -1, 0}, {minimum size set/get, minimum_size_test_set_get, NULL, -1, 0}, @@ -56,6 +58,34 @@ test-filename = __FILE__; test-type = EWL_TEST_TYPE_MISC; test-unit_tests = object_unit_tests; +} + +/* + * Set the position and verify that it gets the same position back. + */ +static int +position_test_set_get(char *buf, int len) +{ + Ewl_Widget *w; + int x, y; + int ret = 0; + + w = calloc(1, sizeof(Ewl_Widget)); + ewl_widget_init(w); + + ewl_object_position_request(EWL_OBJECT(w), 11, 23); + + x = ewl_object_current_x_get(EWL_OBJECT(w)); + y = ewl_object_current_y_get(EWL_OBJECT(w)); + + if (x == 11 y == 23) + ret = 1; + else + snprintf(buf, len, incorrect positions returned); + + ewl_widget_destroy(w); + + return ret; } /* - 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs