E CVS: libs/evas englebass

2007-12-02 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/engines/common


Modified Files:
evas_image_load.c 


Log Message:
formatting

===
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_image_load.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -3 -r1.43 -r1.44
--- evas_image_load.c   18 Jul 2007 09:04:30 -  1.43
+++ evas_image_load.c   2 Dec 2007 19:44:27 -   1.44
@@ -94,7 +94,7 @@
 {
Evas_Image_Load_Func *evas_image_load_func = NULL;
 
-   if ((im->flags & RGBA_IMAGE_LOADED) == RGBA_IMAGE_LOADED) return ;
+   if ((im->flags & RGBA_IMAGE_LOADED) == RGBA_IMAGE_LOADED) return;
if (!im->info.module) return;
 
evas_image_load_func = im->info.loader;



-
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-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-11-05 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas


Modified Files:
configure.in 


Log Message:
Use $enableval directly.
AC_HELP_STRING

===
RCS file: /cvs/e/e17/libs/evas/configure.in,v
retrieving revision 1.240
retrieving revision 1.241
diff -u -3 -r1.240 -r1.241
--- configure.in5 Nov 2007 07:55:17 -   1.240
+++ configure.in6 Nov 2007 06:44:54 -   1.241
@@ -861,13 +861,7 @@
 AC_MSG_CHECKING(whether to enable xpm image loader)
 AC_ARG_ENABLE(image-loader-xpm,
   AC_HELP_STRING([--disable-image-loader-xpm], [disable XPM image loader]),
-  [
-if test "x$enableval" = "xyes" ; then
-  have_xpm="yes"
-else
-  have_xpm="no"
-fi
-  ]
+  [ have_xpm=$enableval ]
 )
 AC_MSG_RESULT($have_xpm)
 
@@ -948,7 +942,8 @@
 #build_pthreads="no"
 AC_MSG_CHECKING(whether to build pthread code)
 AC_ARG_ENABLE(pthreads,
-  [  --enable-pthreads   enable threaded rendering], [
+  AC_HELP_STRING([--enable-pthreads], [enable threaded rendering]),
+  [
   if test "x$enableval" = "xyes" ; then
 AC_MSG_RESULT(yes)
 AC_DEFINE(BUILD_PTHREAD, 1, [Build Threaded Rendering])
@@ -983,7 +978,8 @@
 esac
 AC_MSG_CHECKING(whether to build mmx code)
 AC_ARG_ENABLE(cpu-mmx,
-  [  --enable-cpu-mmxenable mmx code], [
+  AC_HELP_STRING([--enable-cpu-mmx], [enable mmx code]),
+  [
   if test "x$enableval" = "xyes" ; then
 AC_MSG_RESULT(yes)
 AC_DEFINE(BUILD_MMX, 1, [Build MMX Code])
@@ -1014,7 +1010,8 @@
 esac
 AC_MSG_CHECKING(whether to build sse code)
 AC_ARG_ENABLE(cpu-sse,
-  [  --enable-cpu-sseenable sse code], [
+  AC_HELP_STRING([--enable-cpu-sse], [enable sse code]),
+  [
   if test "x$enableval" = "xyes" ; then
 AC_MSG_RESULT(yes)
 AC_DEFINE(BUILD_SSE, 1, [Build SSE Code])
@@ -1043,9 +1040,8 @@
 altivec_cflags=""
 AC_MSG_CHECKING(whether to build altivec code)
 AC_ARG_ENABLE(cpu-altivec,
-  [  --enable-cpu-altivecenable altivec code], [
- build_cpu_altivec=$enableval
-  ]
+  AC_HELP_STRING([--enable-cpu-altivec], [enable altivec code]),
+  [ build_cpu_altivec=$enableval ]
 )
 AC_MSG_RESULT($build_cpu_altivec)
 if test "x$build_cpu_altivec" = "xyes"; then
@@ -1098,7 +1094,8 @@
 build_cpu_c="yes"
 AC_MSG_CHECKING(whether to build c code)
 AC_ARG_ENABLE(cpu-c,
-  [  --enable-cpu-c  enable C code], [
+  AC_HELP_STRING([--enable-cpu-c], [enable C code]),
+  [
   if test "x$enableval" = "xyes" ; then
 AC_MSG_RESULT(yes)
 AC_DEFINE(BUILD_C, 1, [Build plain C code])
@@ -1124,7 +1121,8 @@
 scaler_sample="yes"
 AC_MSG_CHECKING(whether to build sampling scaler)
 AC_ARG_ENABLE(scale-sample,
-  [  --enable-scale-sample   enable sampling scaler code], [
+  AC_HELP_STRING([--enable-scale-sample], [enable sampling scaler code]),
+  [
   if test "x$enableval" = "xyes" ; then
 AC_MSG_RESULT(yes)
 AC_DEFINE(BUILD_SCALE_SAMPLE, 1, [Sampling Scaler Support])
@@ -1147,7 +1145,8 @@
 scaler_smooth="yes"
 AC_MSG_CHECKING(whether to build smooth scaler)
 AC_ARG_ENABLE(scale-smooth,
-  [  --enable-scale-smooth   enable smooth scaler code], [
+  AC_HELP_STRING([--enable-scale-smooth], [enable smooth scaler code]),
+  [
   if test "x$enableval" = "xyes" ; then
 AC_MSG_RESULT(yes)
 AC_DEFINE(BUILD_SCALE_SMOOTH, 1, [Smooth Scaler Support])
@@ -1170,7 +1169,8 @@
 conv_yuv="yes"
 AC_MSG_CHECKING(whether to build yuv converter code)
 AC_ARG_ENABLE(convert-yuv,
-  [  --enable-convert-yuvenable yuv converter code], [
+  AC_HELP_STRING([--enable-convert-yuv], [enable yuv converter code]),
+  [
   if test "x$enableval" = "xyes" ; then
 AC_MSG_RESULT(yes)
 AC_DEFINE(BUILD_CONVERT_YUV, 1, [YUV Converter Support])



-
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-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-11-05 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/m4


Added Files:
evas_converter.m4 


Log Message:
Create macros for converters.
AC_CHECK_HEADER -> AC_CHECK_HEADERS when there are several headers to check
Use PKG_CHECK_EXISTS macro.
Add AC_HELP_STRING to AC_ARG_ENABLE, and fix some default enable/disable.




-
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-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-11-04 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas


Modified Files:
autogen.sh configure.in 


Log Message:
Create macros for converters.
AC_CHECK_HEADER -> AC_CHECK_HEADERS when there are several headers to check
Use PKG_CHECK_EXISTS macro.
Add AC_HELP_STRING to AC_ARG_ENABLE, and fix some default enable/disable.

===
RCS file: /cvs/e/e17/libs/evas/autogen.sh,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- autogen.sh  25 Mar 2007 08:54:46 -  1.11
+++ autogen.sh  5 Nov 2007 07:55:17 -   1.12
@@ -5,7 +5,7 @@
 
 touch README
 
-echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS || exit 1
+echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
 echo "Running autoheader..." ; autoheader || exit 1
 echo "Running autoconf..." ; autoconf || exit 1
 echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize 
--automake) || exit 1
===
RCS file: /cvs/e/e17/libs/evas/configure.in,v
retrieving revision 1.239
retrieving revision 1.240
diff -u -3 -r1.239 -r1.240
--- configure.in5 Nov 2007 06:15:53 -   1.239
+++ configure.in5 Nov 2007 07:55:17 -   1.240
@@ -449,7 +449,9 @@
 AC_MSG_RESULT($want_evas_gl_x11)
 
 if test "x$want_evas_gl_x11" = "xyes"; then
-  AC_CHECK_HEADER(GL/gl.h GL/glu.h X11/X.h,
+  AC_PATH_X
+  AC_PATH_XTRA
+  AC_CHECK_HEADERS(GL/gl.h GL/glu.h X11/X.h,
 [
   AC_DEFINE(BUILD_ENGINE_GL_X11, 1, [OpenGL X11 Rendering Backend])
   x_dir=${x_dir:-/usr/X11R6};
@@ -478,7 +480,7 @@
 AC_MSG_RESULT($want_evas_gl_glew)
 
 if test "x$want_evas_gl_glew" = "xyes" ; then
-  AC_CHECK_HEADER(GL/gl.h GL/glu.h GL/glew.h,
+  AC_CHECK_HEADERS(GL/gl.h GL/glu.h GL/glew.h,
 [
   AC_DEFINE(BUILD_ENGINE_GL_GLEW, 1, [OpenGL Glew Rendering Backend])
   glew_libs="-lglew32 -lopengl32 -lgdi32"
@@ -552,18 +554,13 @@
 if test "x$want_evas_xrender_x11" = "xyes"; then
   AC_PATH_X
   AC_PATH_XTRA
-  AC_CHECK_HEADER(X11/X.h,
+  AC_CHECK_HEADERS(X11/X.h X11/extensions/Xrender.h,
 [
-  AC_CHECK_HEADER(X11/extensions/Xrender.h,
-[
-  AC_DEFINE(BUILD_ENGINE_XRENDER_X11, 1, [XRender X11 Rendering 
Backend])
-  x_dir=${x_dir:-/usr/X11R6}
-  x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
-  x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext 
-lXrender"
-  have_evas_xrender_x11="yes"
-],
-[ have_evas_xrender_x11="no" ]
-  )
+  AC_DEFINE(BUILD_ENGINE_XRENDER_X11, 1, [XRender X11 Rendering Backend])
+  x_dir=${x_dir:-/usr/X11R6}
+  x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
+  x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
+  have_evas_xrender_x11="yes"
 ],
 [ have_evas_xrender_x11="no" ]
   )
@@ -683,13 +680,15 @@
 AC_MSG_RESULT($want_png)
 
 if test "x$want_png" = "xyes"; then
-  if pkg-config --exists libpng12; then
-PKG_CHECK_MODULES(PNG, libpng12, [ have_png="yes" ], [ have_png="no"])
-  elif pkg-config --exists libpng10; then
-PKG_CHECK_MODULES(PNG, libpng10, [ have_png="yes" ], [ have_png="no"])
-  else
-PKG_CHECK_MODULES(PNG, libpng, [ have_png="yes" ], [ have_png="no"])
-  fi
+  PKG_CHECK_EXISTS(libpng12,
+[ PKG_CHECK_MODULES(PNG, libpng12, [ have_png="yes" ], [ have_png="no"]) ],
+[
+  PKG_CHECK_EXISTS(libpng10,
+[ PKG_CHECK_MODULES(PNG, libpng10, [ have_png="yes" ], [ 
have_png="no"]) ],
+[ PKG_CHECK_MODULES(PNG, libpng, [ have_png="yes" ], [ have_png="no"]) 
]
+  )
+]
+  )
 fi
 AM_CONDITIONAL(BUILD_LOADER_PNG, test x$have_png = xyes)
 
@@ -930,9 +929,7 @@
 pthread_libs=""
 build_pthreads="no"
 # sched_getaffinity pthread_attr_setaffinity_np
-AC_CHECK_HEADER(pthread.h,
-  [
-AC_CHECK_HEADER(sched.h,
+AC_CHECK_HEADERS(pthread.h sched.h,
   [
 AC_CHECK_LIB(pthread, pthread_attr_setaffinity_np,
   [
@@ -945,9 +942,6 @@
 )
   ],
   [ build_pthreads="no" ]
-)
-  ],
-  [ build_pthreads="no" ]
 )
 ### disable pthreads by default for now - some wierd deadlock issue with
 # barriers (makes no sense)
@@ -1199,10 +1193,10 @@
 ###
 ## Small dither mask instead of big one (lower quality)
 conv_small_dither="no"
-conv_small_dither="no"
 AC_MSG_CHECKING(whether to build small dither mask code)
 AC_ARG_ENABLE(small-dither-mask,
-  [  --enable-small-dither-mask  enable small dither mask code], [
+  AC_HELP_STRING([--enable-small-dither-mask], [enable small dither mask 
code]),
+  [
   if test "x$enableval" = "xyes" ; then
 AC_MSG_RESULT(yes)
 AC_DEFINE(BUILD_SMALL_DITHER_MASK, 1, [Small Dither Mask Support])
@@ -1222,10 +1216,10 @@
 ###
 ## No dither mask at all for 16bpp
 conv_no_dither="no"
-

E CVS: libs/evas englebass

2007-11-04 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas


Modified Files:
configure.in 


Log Message:
ed isn't enabled by default.

===
RCS file: /cvs/e/e17/libs/evas/configure.in,v
retrieving revision 1.238
retrieving revision 1.239
diff -u -3 -r1.238 -r1.239
--- configure.in4 Nov 2007 20:16:07 -   1.238
+++ configure.in5 Nov 2007 06:15:53 -   1.239
@@ -783,7 +783,7 @@
 AC_ARG_ENABLE(image-loader-edb,
   AC_HELP_STRING(
 [--enable-image-loader-edb],
-[enable EDB image loader. [[default=enabled]]]
+[enable EDB image loader.]
   ),
   [want_edb_image_loader=$enableval],
   [want_edb_image_loader=no]



-
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-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-11-04 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas


Modified Files:
configure.in 


Log Message:
Use correct value for png libs and cflags

===
RCS file: /cvs/e/e17/libs/evas/configure.in,v
retrieving revision 1.237
retrieving revision 1.238
diff -u -3 -r1.237 -r1.238
--- configure.in4 Nov 2007 20:01:33 -   1.237
+++ configure.in4 Nov 2007 20:16:07 -   1.238
@@ -1887,8 +1887,6 @@
 
 AC_SUBST(gif_cflags)
 AC_SUBST(gif_libs)
-AC_SUBST(png_cflags)
-AC_SUBST(png_libs)
 AC_SUBST(jpeg_cflags)
 AC_SUBST(jpeg_libs)
 AC_SUBST(tiff_cflags)



-
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-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-11-04 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/loaders/png


Modified Files:
Makefile.am 


Log Message:
Use correct value for png libs and cflags

===
RCS file: /cvs/e/e17/libs/evas/src/modules/loaders/png/Makefile.am,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- Makefile.am 4 Nov 2007 09:21:48 -   1.4
+++ Makefile.am 4 Nov 2007 20:16:07 -   1.5
@@ -4,7 +4,7 @@
 AM_CPPFLAGS   = -I. \
 -I$(top_srcdir)/src/lib \
 -I$(top_srcdir)/src/lib/include \
-@FREETYPE_CFLAGS@ @png_cflags@
+@FREETYPE_CFLAGS@ @PNG_CFLAGS@
 
 pkgdir = $(libdir)/evas/modules/loaders/png/$(MODULE_ARCH)
 
@@ -12,7 +12,7 @@
 
 module_la_SOURCES  = evas_image_load_png.c
 
-module_la_LIBADD   = @png_libs@ $(top_builddir)/src/lib/libevas.la
+module_la_LIBADD   = @PNG_LIBS@ $(top_builddir)/src/lib/libevas.la
 module_la_LDFLAGS  = @create_shared_lib@ -module -avoid-version
 
 module_la_DEPENDENCIES = $(top_builddir)/config.h



-
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-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-11-04 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/savers/png


Modified Files:
Makefile.am 


Log Message:
Use correct value for png libs and cflags

===
RCS file: /cvs/e/e17/libs/evas/src/modules/savers/png/Makefile.am,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- Makefile.am 4 Nov 2007 09:21:49 -   1.4
+++ Makefile.am 4 Nov 2007 20:16:07 -   1.5
@@ -4,7 +4,7 @@
 AM_CPPFLAGS   = -I. \
 -I$(top_srcdir)/src/lib \
 -I$(top_srcdir)/src/lib/include \
-@FREETYPE_CFLAGS@ @png_cflags@
+@FREETYPE_CFLAGS@ @PNG_CFLAGS@
 
 pkgdir = $(libdir)/evas/modules/savers/png/$(MODULE_ARCH)
 
@@ -12,7 +12,7 @@
 
 module_la_SOURCES  = evas_image_save_png.c
 
-module_la_LIBADD   = @png_libs@ $(top_builddir)/src/lib/libevas.la
+module_la_LIBADD   = @PNG_LIBS@ $(top_builddir)/src/lib/libevas.la
 module_la_LDFLAGS  = @create_shared_lib@ -module -avoid-version
 
 module_la_DEPENDENCIES = $(top_builddir)/config.h



-
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-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-11-04 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas


Modified Files:
configure.in 


Log Message:
Let the value for AC_ARG_ENABLE reflect the default status (enable/disable).

===
RCS file: /cvs/e/e17/libs/evas/configure.in,v
retrieving revision 1.236
retrieving revision 1.237
diff -u -3 -r1.236 -r1.237
--- configure.in4 Nov 2007 19:09:19 -   1.236
+++ configure.in4 Nov 2007 20:01:33 -   1.237
@@ -76,13 +76,10 @@
 have_fontconfig="no"
 AC_ARG_ENABLE(fontconfig,
   AC_HELP_STRING(
-[--enable-fontconfig],
-[enable fontconfig for finding fonts. [[default=enabled]]]
-  ), [
-want_fontconfig=$enableval
-  ], [
-want_fontconfig=yes
-  ]
+[--disable-fontconfig],
+[disable fontconfig for finding fonts. [[default=enabled]]]
+  ),
+  [ want_fontconfig=$enableval ]
 )
 
 if test "x$want_fontconfig" = "xyes"; then
@@ -227,7 +224,7 @@
 
 AC_MSG_CHECKING(whether software x11 backend is to be built)
 AC_ARG_ENABLE(software-x11,
-  AC_HELP_STRING([--enable-software-x11], [enable the Software X11 rendering 
backend]),
+  AC_HELP_STRING([--disable-software-x11], [disable the Software X11 rendering 
backend]),
   [ want_evas_software_x11=$enableval ]
 )
 AC_MSG_RESULT($want_evas_software_x11)
@@ -393,7 +390,7 @@
 
 AC_MSG_CHECKING(whether buffer backend is to be built)
 AC_ARG_ENABLE(buffer,
-  AC_HELP_STRING([--enable-buffer], [enable the Buffer rendering backend]),
+  AC_HELP_STRING([--disable-buffer], [disable the Buffer rendering backend]),
   [ want_evas_buffer=$enableval ]
 )
 AC_MSG_RESULT($want_evas_buffer)
@@ -547,7 +544,7 @@
 
 AC_MSG_CHECKING(whether xrender x11 backend is to be built)
 AC_ARG_ENABLE(xrender-x11,
-  AC_HELP_STRING([--enable-xrender-x11], [enable the XRender X11 rendering 
backend]),
+  AC_HELP_STRING([--disable-xrender-x11], [disable the XRender X11 rendering 
backend]),
   [ want_evas_xrender_x11=$enableval ]
 )
 AC_MSG_RESULT($want_evas_xrender_x11)
@@ -641,7 +638,7 @@
 
 AC_MSG_CHECKING(whether to enable gif image loader)
 AC_ARG_ENABLE(image-loader-gif,
-  AC_HELP_STRING([--enable-image-loader-gif], [enable GIF image loader]),
+  AC_HELP_STRING([--disable-image-loader-gif], [disable GIF image loader]),
   [ want_gif=$enableval ]
 )
 AC_MSG_RESULT($want_gif)
@@ -680,7 +677,7 @@
 have_png="no";
 
 AC_ARG_ENABLE(image-loader-png,
-  AC_HELP_STRING([--enable-image-loader-png], [enable PNG image loader]),
+  AC_HELP_STRING([--disable-image-loader-png], [disable PNG image loader]),
   [ want_png=$enableval ]
 )
 AC_MSG_RESULT($want_png)
@@ -703,7 +700,7 @@
 
 AC_MSG_CHECKING(whether to enable jpeg image loader)
 AC_ARG_ENABLE(image-loader-jpeg,
-  AC_HELP_STRING([--enable-image-loader-jpeg], [enable JPEG image loader]),
+  AC_HELP_STRING([--disable-image-loader-jpeg], [disable JPEG image loader]),
   [ want_jpeg=$enableval ]
 )
 AC_MSG_RESULT($want_jpeg)
@@ -736,8 +733,8 @@
 have_eet=no
 AC_ARG_ENABLE(image-loader-eet,
   AC_HELP_STRING(
-[--enable-image-loader-eet],
-[enable EET image loader. [[default=enabled]]]
+[--disable-image-loader-eet],
+[disable EET image loader. [[default=enabled]]]
   ),
   [want_eet_image_loader=$enableval],
   [want_eet_image_loader=yes]
@@ -745,8 +742,8 @@
 
 AC_ARG_ENABLE(font-loader-eet,
   AC_HELP_STRING(
-[--enable-font-loader-eet],
-[enable EET font loader. [[default=enabled]]]
+[--disable-font-loader-eet],
+[disable EET font loader. [[default=enabled]]]
   ),
   [want_eet_font_loader=$enableval],
   [want_eet_font_loader=yes]
@@ -789,7 +786,7 @@
 [enable EDB image loader. [[default=enabled]]]
   ),
   [want_edb_image_loader=$enableval],
-  [want_edb_image_loader=yes]
+  [want_edb_image_loader=no]
 )
 
 # next, if she does, check whether EDB is available
@@ -816,7 +813,7 @@
 
 AC_MSG_CHECKING(whether to enable tiff image loader)
 AC_ARG_ENABLE(image-loader-tiff,
-  AC_HELP_STRING([--enable-image-loader-tiff], [enable TIFF image loader]),
+  AC_HELP_STRING([--disable-image-loader-tiff], [disable TIFF image loader]),
   [ want_tiff=$enableval ]
 )
 AC_MSG_RESULT($want_tiff)
@@ -864,7 +861,7 @@
 have_xpm="yes";
 AC_MSG_CHECKING(whether to enable xpm image loader)
 AC_ARG_ENABLE(image-loader-xpm,
-  AC_HELP_STRING([--enable-image-loader-xpm], [enable XPM image loader]),
+  AC_HELP_STRING([--disable-image-loader-xpm], [disable XPM image loader]),
   [
 if test "x$enableval" = "xyes" ; then
   have_xpm="yes"
@@ -887,7 +884,7 @@
 
 AC_MSG_CHECKING(whether to enable svg image loader)
 AC_ARG_ENABLE(image-loader-svg,
-  AC_HELP_STRING([--enable-image-loader-svg], [enable SVG image loader]),
+  AC_HELP_STRING([--disable-image-loader-svg], [disable SVG image loader]),
   [ want_svg=$enableval ]
 )
 AC_MSG_RESULT($want_svg)



-
This SF.net email is sponsored by: Splunk Inc.
Still

E CVS: libs/evas englebass

2007-11-04 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/engines/software_xcb


Modified Files:
Makefile.am 


Log Message:
Clean up configure.in file

===
RCS file: /cvs/e/e17/libs/evas/src/modules/engines/software_xcb/Makefile.am,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- Makefile.am 4 Nov 2007 09:21:48 -   1.7
+++ Makefile.am 4 Nov 2007 19:09:19 -   1.8
@@ -7,7 +7,7 @@
 -I$(top_srcdir)/src/lib/include \
 -I$(top_srcdir)/src/modules/engines \
 @FREETYPE_CFLAGS@ \
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
 
 if BUILD_ENGINE_SOFTWARE_XCB
 
@@ -22,7 +22,7 @@
 evas_xcb_color.c \
 evas_xcb_main.c
 
-module_la_LIBADD = @xcb_libs@ $(top_builddir)/src/lib/libevas.la
+module_la_LIBADD = @XCB_LIBS@ $(top_builddir)/src/lib/libevas.la
 module_la_LDFLAGS = -module -avoid-version
 module_la_DEPENDENCIES = $(top_builddir)/config.h
 



-
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-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-11-04 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/engines/software_sdl


Modified Files:
Makefile.am 


Log Message:
Clean up configure.in file

===
RCS file: /cvs/e/e17/libs/evas/src/modules/engines/software_sdl/Makefile.am,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- Makefile.am 4 Nov 2007 09:21:47 -   1.4
+++ Makefile.am 4 Nov 2007 19:09:19 -   1.5
@@ -7,7 +7,7 @@
 -I$(top_srcdir)/src/lib/include \
 -I$(top_srcdir)/src/modules/engines \
 @FREETYPE_CFLAGS@ \
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
 
 if BUILD_ENGINE_SDL
 
@@ -19,7 +19,7 @@
 evas_engine.c \
 evas_engine.h
 
-module_la_LIBADD = @sdl_libs@ $(top_builddir)/src/lib/libevas.la
+module_la_LIBADD = @SDL_LIBS@ $(top_builddir)/src/lib/libevas.la
 module_la_LDFLAGS = @create_shared_lib@ -module -avoid-version
 module_la_DEPENDENCIES = $(top_builddir)/config.h
 



-
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-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-11-04 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/engines/xrender_xcb


Modified Files:
Makefile.am 


Log Message:
Clean up configure.in file

===
RCS file: /cvs/e/e17/libs/evas/src/modules/engines/xrender_xcb/Makefile.am,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- Makefile.am 4 Nov 2007 09:21:48 -   1.4
+++ Makefile.am 4 Nov 2007 19:09:19 -   1.5
@@ -7,7 +7,7 @@
 -I$(top_srcdir)/src/lib/include \
 -I$(top_srcdir)/src/modules/engines \
 @FREETYPE_CFLAGS@ \
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
 
 if BUILD_ENGINE_XRENDER_XCB
 
@@ -23,7 +23,7 @@
 evas_engine_font.c \
 evas_engine_gradient.c
 
-module_la_LIBADD = @xcbrender_libs@ $(top_builddir)/src/lib/libevas.la
+module_la_LIBADD = @XCBRENDER_LIBS@ $(top_builddir)/src/lib/libevas.la
 module_la_LDFLAGS = -module -avoid-version
 module_la_DEPENDENCIES = $(top_builddir)/config.h
 



-
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-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-11-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/engines/software_16_ddraw


Added Files:
.cvsignore 


Log Message:
ignore




-
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-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-08-21 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas


Modified Files:
README.in 


Log Message:
typo

===
RCS file: /cvs/e/e17/libs/evas/README.in,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- README.in   21 Aug 2007 17:56:51 -  1.7
+++ README.in   22 Aug 2007 05:10:20 -  1.8
@@ -108,7 +108,7 @@
 
 --enable-fb
 
-this is the software framebuffer drivign engine. this uses the linux
+this is the software framebuffer driving engine. this uses the linux
 framebuffer device (/dev/fb) and will currently just inherit the current
 framebuffer settings on the fb device and use them to run in. this engine is
 almost fully functional except for the fb management itself. i'd be quite



-
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-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-08-12 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/cache


Modified Files:
evas_cache_engine_image.c evas_cache_image.c 


Log Message:
As cache_key uses evas_stringshare, it should be const.
Don't free stringshare'd strings.
Formatting.

===
RCS file: /cvs/e/e17/libs/evas/src/lib/cache/evas_cache_engine_image.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evas_cache_engine_image.c   16 Jul 2007 07:25:33 -  1.1
+++ evas_cache_engine_image.c   13 Aug 2007 05:30:17 -  1.2
@@ -5,7 +5,7 @@
 #include "evas_private.h"
 
 EAPI int
-evas_cache_engine_image_usage_get(Evas_Cache_Engine_Image* cache)
+evas_cache_engine_image_usage_get(Evas_Cache_Engine_Image *cache)
 {
assert(cache != NULL);
 
@@ -13,7 +13,7 @@
 }
 
 EAPI int
-evas_cache_engine_image_get(Evas_Cache_Engine_Image* cache)
+evas_cache_engine_image_get(Evas_Cache_Engine_Image *cache)
 {
assert(cache != NULL);
 
@@ -21,17 +21,17 @@
 }
 
 EAPI void
-evas_cache_engine_image_set(Evas_Cache_Engine_Image* cache, int limit)
+evas_cache_engine_image_set(Evas_Cache_Engine_Image *cache, int limit)
 {
assert(cache != NULL);
 
cache->limit = limit;
 }
 
-EAPI Evas_Cache_Engine_Image*
+EAPI Evas_Cache_Engine_Image *
 evas_cache_engine_image_init(const Evas_Cache_Engine_Image_Func *cb, 
Evas_Cache_Image *parent)
 {
-   Evas_Cache_Engine_Image* new;
+   Evas_Cache_Engine_Image *new;
 
new = malloc(sizeof (Evas_Cache_Engine_Image));
if (!new)
@@ -54,9 +54,9 @@
 static Evas_Bool
 _evas_cache_engine_image_free_cb(Evas_Hash *hash, const char *key, void *data, 
void *fdata)
 {
-   Evas_Cache_Engine_Image* cache = fdata;
-   RGBA_Engine_Image*   eim = data;
-   RGBA_Image*  im;
+   Evas_Cache_Engine_Image *cache = fdata;
+   RGBA_Engine_Image   *eim = data;
+   RGBA_Image  *im;
 
if (cache->func.debug)
  cache->func.debug("shutdown-engine-activ", eim);
@@ -73,17 +73,17 @@
 }
 
 EAPI void
-evas_cache_engine_image_shutdown(Evas_Cache_Engine_Image* cache)
+evas_cache_engine_image_shutdown(Evas_Cache_Engine_Image *cache)
 {
-   RGBA_Engine_Image*   eim;
-   RGBA_Image*  im;
+   RGBA_Engine_Image   *eim;
+   RGBA_Image  *im;
 
assert(cache != NULL);
 
/* This is mad, I am about to destroy image still alive, but we need to 
prevent leak. */
while (cache->dirty)
  {
-eim = (RGBA_Engine_Image*) cache->dirty;
+eim = (RGBA_Engine_Image *) cache->dirty;
 im = eim->src;
 
 cache->dirty = evas_object_list_remove(cache->dirty, eim);
@@ -99,13 +99,13 @@
evas_hash_free(cache->activ);
 }
 
-EAPI RGBA_Engine_Image*
+EAPI RGBA_Engine_Image *
 evas_cache_engine_image_request(Evas_Cache_Engine_Image *cache, const char 
*file, const char *key,
 RGBA_Image_Loadopts *lo, void *data, int 
*error)
 {
-   RGBA_Engine_Image*   eim;
-   RGBA_Image*  im;
-   const char*  ekey;
+   RGBA_Engine_Image   *eim;
+   RGBA_Image  *im;
+   const char  *ekey;
 
assert(cache != NULL);
 
@@ -162,7 +162,7 @@
 }
 
 static void
-_evas_cache_engine_image_free(Evas_Cache_Engine_Image* cache, 
RGBA_Engine_Image *eim)
+_evas_cache_engine_image_free(Evas_Cache_Engine_Image *cache, 
RGBA_Engine_Image *eim)
 {
int size;
 
@@ -180,7 +180,7 @@
 EAPI void
 evas_cache_engine_image_drop(RGBA_Engine_Image *eim)
 {
-   Evas_Cache_Engine_Image* cache;
+   Evas_Cache_Engine_Image *cache;
 
assert(eim);
assert(eim->cache);
@@ -205,13 +205,13 @@
  }
 }
 
-EAPI RGBA_Engine_Image*
+EAPI RGBA_Engine_Image *
 evas_cache_engine_image_dirty(RGBA_Engine_Image *eim, int x, int y, int w, int 
h)
 {
-   RGBA_Engine_Image*   eim_dirty = eim;
-   RGBA_Image*  im;
-   RGBA_Image*  im_dirty;
-   Evas_Cache_Engine_Image* cache;
+   RGBA_Engine_Image   *eim_dirty = eim;
+   RGBA_Image  *im;
+   RGBA_Image  *im_dirty;
+   Evas_Cache_Engine_Image *cache;
 
assert(eim);
assert(eim->cache);
@@ -227,7 +227,7 @@
   {
  if (eim->references == 1)
{
-  const char*   hkey;
+  const char   *hkey;
 
   hkey = eim->cache_key;
   cache->activ = evas_hash_del(cache->activ, hkey, eim);
@@ -289,8 +289,8 @@
return NULL;
 }
 
-static RGBA_Engine_Image*
-_evas_cache_engine_image_push_dirty(Evas_Cache_Engine_Image *cache, RGBA_Image 
*im, void* engine_data)
+static RGBA_Engine_Image *
+_evas_cache_engine_image_push_dirty(Evas_Cache_Engine_Image *cache, RGBA_Image 
*im, void *engine_data)
 {
RGBA_Engine_Image*eim;
int  error;
@@ -323,8 +323,8 @@
return NULL;
 }
 
-EAPI RGBA_Engine_Image*
-evas_c

E CVS: libs/evas englebass

2007-08-12 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/include


Modified Files:
evas_common.h 


Log Message:
As cache_key uses evas_stringshare, it should be const.
Don't free stringshare'd strings.
Formatting.

===
RCS file: /cvs/e/e17/libs/evas/src/lib/include/evas_common.h,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -3 -r1.90 -r1.91
--- evas_common.h   17 Jul 2007 08:39:50 -  1.90
+++ evas_common.h   13 Aug 2007 05:30:17 -  1.91
@@ -410,7 +410,7 @@
 
/* Cache stuff. */
Evas_Cache_Image *cache;
-   char *cache_key;
+   const char   *cache_key;
 };
 
 struct _RGBA_Engine_Image



-
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-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-08-12 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/canvas


Modified Files:
evas_smart.c 


Log Message:
Remove wrong comma in printf statement.

===
RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_smart.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- evas_smart.c4 Aug 2007 13:12:43 -   1.15
+++ evas_smart.c13 Aug 2007 05:17:44 -  1.16
@@ -59,7 +59,7 @@
 {
Evas_Smart *s;
 
-   printf("- WARNING. evas_smart_new() will be deprecated and removed 
soon\n",
+   printf("- WARNING. evas_smart_new() will be deprecated and removed 
soon\n"
  "- Please use evas_smart_class_new() instead\n");

if (!name) return NULL;



-
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-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-08-12 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/engines/common


Modified Files:
evas_array_hash.c 


Log Message:
Remove unnecessary code.

===
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_array_hash.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- evas_array_hash.c   8 Aug 2007 23:41:31 -   1.2
+++ evas_array_hash.c   12 Aug 2007 19:20:16 -  1.3
@@ -70,7 +70,7 @@
  }
else if (el->data_count == el->data_max)
  {
-   el->data_max = el->data_max *= 2;
+   el->data_max *= 2;
el->data = realloc(el->data, sizeof(int) * el->data_max);
  }




-
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-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-06-18 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/engines/common


Modified Files:
evas_font_query.c 


Log Message:
Find chr_x the same way as in the other functions. The main loop is very
similar in many functions and should be refactored.

===
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_font_query.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- evas_font_query.c   8 Oct 2006 12:43:31 -   1.21
+++ evas_font_query.c   18 Jun 2007 16:47:20 -  1.22
@@ -52,7 +52,8 @@
fg = evas_common_font_int_cache_glyph_get(fi, index);
if (!fg) continue;
 
-chr_x = (pen_x + (fg->glyph_out->left));
+   if (kern < 0) kern = 0;
+   chr_x = ((pen_x - kern) + (fg->glyph_out->left));
chr_y = (pen_y + (fg->glyph_out->top));
 // chr_w = fg->glyph_out->bitmap.width;
chr_w = fg->glyph_out->bitmap.width + kern;



-
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-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-05-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/engines/software_16


Added Files:
.cvsignore 


Log Message:
ignore++




-
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-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-05-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/engines/software_16_x11


Added Files:
.cvsignore 


Log Message:
ignore++




-
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-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-05-01 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas


Modified Files:
configure.in 


Log Message:
Write XCB consistently

===
RCS file: /cvs/e/e17/libs/evas/configure.in,v
retrieving revision 1.215
retrieving revision 1.216
diff -u -3 -r1.215 -r1.216
--- configure.in29 Apr 2007 15:45:39 -  1.215
+++ configure.in1 May 2007 13:07:51 -   1.216
@@ -2080,7 +2080,7 @@
 echo "  OpenGL X11..: $have_evas_gl_x11"
 echo "  Cairo X11...: $have_evas_cairo_x11"
 echo "  XRender X11.: $have_evas_xrender_x11"
-echo "  XRender Xcb.: $have_evas_xrender_xcb"
+echo "  XRender XCB.: $have_evas_xrender_xcb"
 echo "  Glitz X11...: $have_evas_glitz_x11"
 echo "  Software 16bit X11..: $have_evas_software_16_x11"
 # FIXME: opengl engine needs to be fixed and tested lots for all drivers



-
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-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-05-01 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/canvas


Modified Files:
evas_font_dir.c 


Log Message:
ok is only needed if we build eet font loader.

===
RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_font_dir.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- evas_font_dir.c 4 Aug 2006 10:00:49 -   1.25
+++ evas_font_dir.c 1 May 2007 13:05:24 -   1.26
@@ -242,9 +242,9 @@
  }
else /* Base font loaded, append others */
  {
+#ifdef BUILD_FONT_LOADER_EET
 void *ok = NULL;
 
-#ifdef BUILD_FONT_LOADER_EET
 if (source)
   {
  Eet_File *ef;



-
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-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-04-05 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/engines/xrender_x11


Modified Files:
evas_engine_image.c 


Log Message:
Remove unused variable.

===
RCS file: 
/cvs/e/e17/libs/evas/src/modules/engines/xrender_x11/evas_engine_image.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- evas_engine_image.c 4 Jan 2007 03:42:14 -   1.11
+++ evas_engine_image.c 5 Apr 2007 15:44:28 -   1.12
@@ -414,8 +414,6 @@
 void
 _xre_image_data_put(XR_Image *im, void *data)
 {
-   void *imdata = NULL;
-
if (!data) return;
switch (im->cs.space)
  {



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-04-05 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/engines/common


Modified Files:
evas_pipe.c 


Log Message:
Remove unused variables.

===
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_pipe.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- evas_pipe.c 4 Apr 2007 09:55:39 -   1.7
+++ evas_pipe.c 5 Apr 2007 15:42:39 -   1.8
@@ -37,8 +37,6 @@
 static void
 evas_common_pipe_draw_context_copy(RGBA_Draw_Context *dc, RGBA_Pipe_Op *op)
 {
-   Cutout_Rect *r, *r2;
-
memcpy(&(op->context), dc, sizeof(RGBA_Draw_Context));
op->context.cutout.rects = malloc(sizeof(Cutout_Rect) * 
op->context.cutout.active);
memcpy(op->context.cutout.rects, dc->cutout.rects, sizeof(Cutout_Rect) * 
op->context.cutout.active);



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-04-05 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/canvas


Modified Files:
evas_callbacks.c 


Log Message:
Remove unused code.

===
RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_callbacks.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -3 -r1.29 -r1.30
--- evas_callbacks.c21 Feb 2007 21:43:45 -  1.29
+++ evas_callbacks.c5 Apr 2007 15:40:51 -   1.30
@@ -1,25 +1,10 @@
 #include "evas_common.h"
 #include "evas_private.h"
 
-static void evas_object_event_callback_list_free(Evas_Object_List **list);
 static void evas_object_event_callback_list_post_free(Evas_Object_List **list);
 static void evas_object_event_callback_clear(Evas_Object *obj);
 
 static void
-evas_object_event_callback_list_free(Evas_Object_List **list)
-{
-   /* MEM OK */
-   while (*list)
- {
-   Evas_Func_Node *fn;
-
-   fn = (Evas_Func_Node *)(*list);
-   *list = evas_object_list_remove(*list, fn);
-   free(fn);
- }
-}
-
-static void
 evas_object_event_callback_list_post_free(Evas_Object_List **list)
 {
Evas_Object_List *l;
@@ -466,7 +451,6 @@
 {
/* MEM OK */
Evas_Func_Node *fn;
-   Evas_Object_List **l_mod;
 
MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
return;
@@ -577,7 +561,7 @@
 evas_object_event_callback_del(Evas_Object *obj, Evas_Callback_Type type, void 
(*func) (void *data, Evas *e, Evas_Object *obj, void *event_info))
 {
/* MEM OK */
-   Evas_Object_List **l_mod, *l;
+   Evas_Object_List *l;
 
MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
return NULL;



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-03-25 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas


Modified Files:
autogen.sh 


Log Message:
Remove unused files.

===
RCS file: /cvs/e/e17/libs/evas/autogen.sh,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- autogen.sh  3 Aug 2005 01:00:19 -   1.10
+++ autogen.sh  25 Mar 2007 08:54:46 -  1.11
@@ -5,7 +5,7 @@
 
 touch README
 
-echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
+echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS || exit 1
 echo "Running autoheader..." ; autoheader || exit 1
 echo "Running autoconf..." ; autoconf || exit 1
 echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize 
--automake) || exit 1



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-03-25 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/m4


Removed Files:
ac_expand_dir.m4 


Log Message:
Remove unused files.




-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-03-22 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas


Modified Files:
configure.in 


Log Message:
Join the pkconfig frenzy!
Use pkgconfig for freetype.

===
RCS file: /cvs/e/e17/libs/evas/configure.in,v
retrieving revision 1.206
retrieving revision 1.207
diff -u -3 -r1.206 -r1.207
--- configure.in21 Mar 2007 02:37:10 -  1.206
+++ configure.in22 Mar 2007 15:30:55 -  1.207
@@ -87,9 +87,9 @@
   qt_dir="/opt/Qtopia";
 ])
 # check for freetype
-AC_PATH_GENERIC(freetype, 9.3.0,
+PKG_CHECK_MODULES(FREETYPE, freetype2 >= 9.3.0,
   [ ],
-  [
+  [ 
 AC_MSG_ERROR(Freetype isn't installed)
   ]
 )



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2007-03-22 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/m4


Removed Files:
ac_path_generic.m4 


Log Message:
Join the pkconfig frenzy!
Use pkgconfig for freetype.




-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2006-12-28 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/savers/tiff


Modified Files:
evas_image_save_tiff.c 


Log Message:
Remove unused variable.

===
RCS file: /cvs/e/e17/libs/evas/src/modules/savers/tiff/evas_image_save_tiff.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- evas_image_save_tiff.c  5 Nov 2006 05:07:53 -   1.5
+++ evas_image_save_tiff.c  28 Dec 2006 12:48:20 -  1.6
@@ -17,7 +17,6 @@
uint8  *buf = NULL;
DATA32  pixel;
DATA32 *data;
-   double  alpha_factor;
uint32  x, y;
uint8   r, g, b, a = 0;
int i = 0;



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2006-12-28 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/engines/xrender_x11


Modified Files:
evas_engine_gradient.c 


Log Message:
Fix warning. First compute value, then increment pointer.

===
RCS file: 
/cvs/e/e17/libs/evas/src/modules/engines/xrender_x11/evas_engine_gradient.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- evas_engine_gradient.c  30 Sep 2006 10:18:36 -  1.5
+++ evas_engine_gradient.c  28 Dec 2006 12:47:33 -  1.6
@@ -198,7 +198,10 @@
  {
 DATA32  *p = im->image->data, *pe = p + (w * h);
 while (p < pe)
- *p++ = (*p << 24) + ((*p << 8) & 0xff) + ((*p >> 8) & 
0xff00) + (*p >> 24);
+  {
+ *p = (*p << 24) + ((*p << 8) & 0xff) + ((*p >> 8) & 
0xff00) + (*p >> 24);
+ p++;
+  }
  }
_xr_image_put(xim, gr->surface->draw, 0, 0, w, h);
evas_common_image_free(im);



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2006-12-28 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/engines/software_x11


Modified Files:
evas_outbuf.c 


Log Message:
Remove unused variables.

===
RCS file: /cvs/e/e17/libs/evas/src/modules/engines/software_x11/evas_outbuf.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- evas_outbuf.c   21 Oct 2006 10:28:01 -  1.7
+++ evas_outbuf.c   28 Dec 2006 12:45:32 -  1.8
@@ -442,8 +442,6 @@
  }
else
  {
-   DATA32 *s, *e;
-   
if (data != src_data)
  conv_func(src_data, data,
0,
@@ -457,6 +455,7 @@
  {
 int i;
 DATA32 a;
+DATA32 *s, *e;
 
 for (i = 0; i < obr->h; i++)
   {
@@ -666,9 +665,11 @@
 {
/* create an "empty" perf struct with just the system & display info */
Outbuf_Perf*perf;
+#if 0
Window  root;
struct utsname  un;
FILE   *f;
+#endif
 
perf = calloc(1, sizeof(Outbuf_Perf));
 
@@ -774,12 +775,12 @@
 {
/* get a seriazed string that is a unique identifier for your */
/* hardware/x/connection setup. */
+   return NULL;
+#if 0   
charbuf[32768];
int sum1, sum2, i;
char   *p;
 
-   return NULL;
-#if 0   
sum1 = 0;
sum2 = 0;
snprintf(buf, sizeof(buf),
@@ -806,11 +807,11 @@
 evas_software_x11_outbuf_perf_store_x(Outbuf_Perf * perf)
 {
/* write performance results to x root property */
+   return;
+#if 0   
Atomtype, format;
char   *str;
 
-   return;
-#if 0   
type = XInternAtom(perf->x.disp, "__EVAS_PERF_ENGINE_SOFTWARE", False);
format = XA_STRING;
str = evas_software_x11_outbuf_perf_serialize_x(perf);
@@ -826,12 +827,14 @@
   Colormap cmap, int x_depth)
 {
/* read performance results from root window */
-   Atomtype, format;
Outbuf_Perf*perf;
+#if 0
+   Atomtype, format;
unsigned char  *retval = NULL;
Atomtype_ret;
unsigned long   bytes_after, num_ret;
int format_ret;
+#endif
 
perf = evas_software_x11_outbuf_perf_new_x(disp, draw, vis, cmap, x_depth);
return perf;



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2006-12-28 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/engines/common


Modified Files:
evas_pipe.c evas_scale_smooth_scaler_down.c 
evas_scale_smooth_scaler_up.c 


Log Message:
Remove unused variables.
Add */ to comment.

===
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_pipe.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- evas_pipe.c 18 Nov 2006 03:24:40 -  1.5
+++ evas_pipe.c 28 Dec 2006 12:40:42 -  1.6
@@ -188,7 +188,7 @@
 {

RGBA_Pipe *p;
-   int i, y, h;
+   int i;
 
if (!im->pipe) return;
 #ifdef BUILD_PTHREAD
@@ -222,7 +222,7 @@
int i;

if (!im->pipe) return;
-   /* FIXME: PTHREAD join all threads here (if not finished) 
+   /* FIXME: PTHREAD join all threads here (if not finished) */

/* free pipe */
while (im->pipe)
===
RCS file: 
/cvs/e/e17/libs/evas/src/lib/engines/common/evas_scale_smooth_scaler_down.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- evas_scale_smooth_scaler_down.c 13 Nov 2006 23:23:43 -  1.6
+++ evas_scale_smooth_scaler_down.c 28 Dec 2006 12:40:42 -  1.7
@@ -4,7 +4,6 @@
int *xapoints, *xapp;
int *yapoints, *yapp;
DATA32  *buf, *src_data;
-   RGBA_Image  *line_buf;

RGBA_Gfx_Func  func;
 
===
RCS file: 
/cvs/e/e17/libs/evas/src/lib/engines/common/evas_scale_smooth_scaler_up.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- evas_scale_smooth_scaler_up.c   15 Nov 2006 16:44:34 -  1.11
+++ evas_scale_smooth_scaler_up.c   28 Dec 2006 12:40:42 -  1.12
@@ -10,7 +10,6 @@
 
DATA32  *psrc, *pdst, *pdst_end;
DATA32  *buf, *pbuf, *pbuf_end;
-   RGBA_Image  *im_buf;
RGBA_Gfx_Func  func;
 
/* a scanline buffer */



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2006-12-28 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/engines/common


Modified Files:
evas_image_main.c 


Log Message:
Fix warning. First compute value then increment pointer.

===
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_image_main.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -3 -r1.41 -r1.42
--- evas_image_main.c   19 Dec 2006 23:51:44 -  1.41
+++ evas_image_main.c   28 Dec 2006 12:37:37 -  1.42
@@ -682,8 +682,9 @@
  {
DATA32  a = 1 + (*s >> 24);
 
-   *s++ = (*s & 0xff00) + (*s) >> 8) & 0xff) * a) & 0xff00) + 
+   *s = (*s & 0xff00) + (*s) >> 8) & 0xff) * a) & 0xff00) + 
 (*s) & 0x00ff00ff) * a) >> 8) & 0x00ff00ff);
+   s++;
if ((a == 1) || (a == 256))
   nas++;
  }



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2006-12-28 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/engines/common


Modified Files:
evas_gradient_linear.c 


Log Message:
Remove unused variables.

===
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_gradient_linear.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- evas_gradient_linear.c  5 Oct 2006 05:28:35 -   1.6
+++ evas_gradient_linear.c  28 Dec 2006 12:36:41 -  1.7
@@ -636,7 +636,6 @@
 {
DATA32  *dst_end = dst + dst_len;
Linear_Data  *gdata = (Linear_Data *)params_data;
-   int  off = gdata->off * (src_len - 1);
int  yy;
 
SETUP_LINEAR_FILL
@@ -706,7 +705,6 @@
 {
DATA32  *dst_end = dst + dst_len;
Linear_Data  *gdata = (Linear_Data *)params_data;
-   int  off = gdata->off * (src_len - 1);
int  yy;
 
if (AXIS_ALIGNED)
@@ -777,7 +775,6 @@
 {
DATA32  *dst_end = dst + dst_len;
Linear_Data  *gdata = (Linear_Data *)params_data;
-   int  off = gdata->off * (src_len - 1);
int  yy;
 
SETUP_LINEAR_FILL
@@ -856,7 +853,6 @@
 {
DATA32  *dst_end = dst + dst_len;
Linear_Data  *gdata = (Linear_Data *)params_data;
-   int  off = gdata->off * (src_len - 1);
int  yy;
 
if (AXIS_ALIGNED)
@@ -1439,7 +1435,6 @@
 {
DATA32  *dst_end = dst + dst_len;
Linear_Data  *gdata = (Linear_Data *)params_data;
-   int  off = gdata->off * (src_len - 1);
int  yy;
 
SETUP_LINEAR_FILL
@@ -1462,7 +1457,6 @@
 {
DATA32  *dst_end = dst + dst_len;
Linear_Data  *gdata = (Linear_Data *)params_data;
-   int  off = gdata->off * (src_len - 1);
int  yy;
 
if (AXIS_ALIGNED)



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2006-12-28 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/engines/common


Modified Files:
evas_convert_color.c 


Log Message:
Fix warning, first compute value then increment pointer.

===
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_convert_color.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- evas_convert_color.c2 Oct 2006 05:19:39 -   1.5
+++ evas_convert_color.c28 Dec 2006 12:35:08 -  1.6
@@ -10,9 +10,10 @@
  {
DATA32  a = 1 + (*data >> 24);
 
-   *data++ = (*data & 0xff00) + 
+   *data = (*data & 0xff00) + 
  (*data) >> 8) & 0xff) * a) & 0xff00) + 
  (*data) & 0x00ff00ff) * a) >> 8) & 0x00ff00ff);
+   data++;
  }
 }
 



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2006-12-28 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/engines/common/evas_op_blend


Modified Files:
op_blend_color_.c op_blend_mask_color_.c op_blend_pixel_.c 
op_blend_pixel_color_.c op_blend_pixel_mask_.c 


Log Message:
Fix warnings. First compute value, then increment pointer.

===
RCS file: 
/cvs/e/e17/libs/evas/src/lib/engines/common/evas_op_blend/op_blend_color_.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- op_blend_color_.c   30 Sep 2006 10:18:32 -  1.2
+++ op_blend_color_.c   28 Dec 2006 12:33:29 -  1.3
@@ -6,7 +6,10 @@
 _op_blend_c_dp(DATA32 *s, DATA8 *m, DATA32 c, DATA32 *d, int l) {
DATA32 *e = d + l, a = 256 - (c >> 24);
while (d < e)
-   *d++ = c + MUL_256(a, *d);
+ {
+   *d = c + MUL_256(a, *d);
+   d++;
+ }
 }
 
 #define _op_blend_caa_dp _op_blend_c_dp
@@ -61,7 +64,10 @@
DATA32 *e = d + l;
l = 256 - (c >> 24);
while (d < e)
-   *d++ = MUL_SYM(*d >> 24, c) + MUL_256(l, *d);
+ {
+   *d = MUL_SYM(*d >> 24, c) + MUL_256(l, *d);
+   d++;
+ }
 }
 
 #define _op_blend_rel_caa_dp _op_blend_rel_c_dp
===
RCS file: 
/cvs/e/e17/libs/evas/src/lib/engines/common/evas_op_blend/op_blend_mask_color_.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- op_blend_mask_color_.c  30 Sep 2006 10:18:33 -  1.2
+++ op_blend_mask_color_.c  28 Dec 2006 12:33:29 -  1.3
@@ -118,7 +118,8 @@
while (d < e) {
DATA32 mc = MUL_SYM(*m, c);
l = 256 - (mc >> 24);
-   *d++ = MUL_SYM(*d >> 24, mc) + MUL_256(l, *d);
+   *d = MUL_SYM(*d >> 24, mc) + MUL_256(l, *d);
+   d++;
m++;
  }
 }
===
RCS file: 
/cvs/e/e17/libs/evas/src/lib/engines/common/evas_op_blend/op_blend_pixel_.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- op_blend_pixel_.c   30 Sep 2006 10:18:33 -  1.3
+++ op_blend_pixel_.c   28 Dec 2006 12:33:29 -  1.4
@@ -7,7 +7,8 @@
DATA32 *e = d + l;
while (d < e) {
l = 256 - (*s >> 24);
-   *d++ = *s++ + MUL_256(l, *d);
+   *d = *s++ + MUL_256(l, *d);
+   d++;
  }
 }
 
@@ -89,7 +90,8 @@
while (d < e) {
l = 256 - (*s >> 24);
c = 1 + (*d >> 24);
-   *d++ = MUL_256(c, *s) + MUL_256(l, *d);
+   *d = MUL_256(c, *s) + MUL_256(l, *d);
+   d++;
s++;
  }
 }
===
RCS file: 
/cvs/e/e17/libs/evas/src/lib/engines/common/evas_op_blend/op_blend_pixel_color_.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- op_blend_pixel_color_.c 30 Sep 2006 10:18:33 -  1.2
+++ op_blend_pixel_color_.c 28 Dec 2006 12:33:29 -  1.3
@@ -8,7 +8,8 @@
while (d < e) {
DATA32 sc = MUL4_SYM(c, *s);
l = 256 - (sc >> 24);
-   *d++ = sc + MUL_256(l, *d);
+   *d = sc + MUL_256(l, *d);
+   d++;
s++;
  }
 }
@@ -18,7 +19,8 @@
DATA32 *e = d + l;
l = 256 - (c >> 24);
while (d < e) {
-   *d++ = ((c & 0xff00) + MUL3_SYM(c, *s)) + MUL_256(l, *d);
+   *d = ((c & 0xff00) + MUL3_SYM(c, *s)) + MUL_256(l, *d);
+   d++;
s++;
  }
 }
@@ -28,7 +30,8 @@
DATA32 *e = d + l;
while (d < e) {
l = 256 - (*s >> 24);
-   *d++ = ((*s & 0xff00) + MUL3_SYM(c, *s)) + MUL_256(l, *d);
+   *d = ((*s & 0xff00) + MUL3_SYM(c, *s)) + MUL_256(l, *d);
+   d++;
s++;
  }
 }
@@ -49,7 +52,8 @@
   while (d < e) {
DATA32 sc = MUL_256(c, *s);
l = 256 - (sc >> 24);
-   *d++ = sc + MUL_256(l, *d);
+   *d = sc + MUL_256(l, *d);
+   d++;
s++;
  }
 }
@@ -59,7 +63,8 @@
DATA32 *e = d + l;
c = 1 + (c & 0xff);
while (d < e) {
-   *d++ = INTERP_256(c, *s, *d);
+   *d = INTERP_256(c, *s, *d);
+   d++;
s++;
  }
 }
@@ -166,7 +171,8 @@
while (d < e) {
DATA32 sc = MUL4_SYM(c, *s);
l = 256 - (sc >> 24);
-   *d++ = MUL_SYM(*d >> 24, sc) + MUL_256(l, *d);
+   *d = MUL_SYM(*d >> 24, sc) + MUL_256(l, *d);
+   d++;
s++;
  }
 }
===
RCS file: 
/cvs/e/e17/libs/evas/src/lib/engines/common/evas_op_blend/op_blend_pixel_mask_.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- op_blend_pixel_mask_.c  30 Sep 2006 10:18:33 -  1.2
+++ op_blend_pixel_mask_.c  28 Dec 2006 12:33:29 -  1.3
@@ -129,8 +129,10 @@
while (d < e) {
c = MUL_SYM(*m, *s);
l = 256 - (c >> 24);
-   *d++ = MUL_SYM(*d >> 24, c) + MUL_256(l, *d);
-   m++;  s++;
+   *d = MUL_SYM(*d >> 24, c) 

E CVS: libs/evas englebass

2006-12-28 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/engines/common/evas_op_copy


Modified Files:
op_copy_pixel_color_.c 


Log Message:
Fix warnings. First compute value, then increment pointer.

===
RCS file: 
/cvs/e/e17/libs/evas/src/lib/engines/common/evas_op_copy/op_copy_pixel_color_.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- op_copy_pixel_color_.c  30 Sep 2006 10:18:33 -  1.2
+++ op_copy_pixel_color_.c  28 Dec 2006 12:33:29 -  1.3
@@ -6,7 +6,8 @@
 _op_copy_p_c_dp(DATA32 *s, DATA8 *m, DATA32 c, DATA32 *d, int l) {
DATA32 *e = d + l;
while (d < e) {
-   *d++ = MUL4_SYM(c, *s);
+   *d = MUL4_SYM(c, *s);
+   d++;
s++;
  }
 }
@@ -16,7 +17,8 @@
DATA32 *e = d + l;
c = 1 + (c >> 24);
while (d < e) {
-   *d++ = MUL_256(c, *s);
+   *d = MUL_256(c, *s);
+   d++;
s++;
  }
 }
@@ -130,7 +132,8 @@
DATA32 *e = d + l;
while (d < e) {
DATA32 cs = MUL4_SYM(c, *s);
-   *d++ = MUL_SYM(*d >> 24, cs);
+   *d = MUL_SYM(*d >> 24, cs);
+   d++;
s++;
  }
 }



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas englebass

2006-12-28 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/canvas


Modified Files:
evas_object_text.c evas_object_textblock.c 


Log Message:
Use cpp to remove code.

===
RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_object_text.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -3 -r1.61 -r1.62
--- evas_object_text.c  16 Nov 2006 03:20:24 -  1.61
+++ evas_object_text.c  28 Dec 2006 12:23:13 -  1.62
@@ -1403,22 +1403,24 @@
 obj->cur.geometry.w, \
 obj->cur.geometry.h, \
 o->cur.text);
-#define DRAW_TEXT(ox, oy) \
-   if ((o->engine_data) && (o->cur.text)) \
- ENFN->font_draw(output, \
-context, \
-surface, \
-o->engine_data, \
-obj->cur.cache.geometry.x + x + sl + ox - \
-ENFN->font_inset_get(ENDT, o->engine_data, o->cur.text), \
-obj->cur.cache.geometry.y + y + st + oy + \
-(int) \
-(((o->max_ascent * obj->cur.cache.geometry.h) / 
obj->cur.geometry.h) - 0.5), \
-obj->cur.cache.geometry.w, \
-obj->cur.cache.geometry.h, \
-obj->cur.geometry.w, \
-obj->cur.geometry.h, \
-o->cur.text);
+#if 0
+#define DRAW_TEXT(ox, oy) \
+   if ((o->engine_data) && (o->cur.text)) \
+ ENFN->font_draw(output, \
+context, \
+surface, \
+o->engine_data, \
+obj->cur.cache.geometry.x + x + sl + ox - \
+ENFN->font_inset_get(ENDT, o->engine_data, o->cur.text), \
+obj->cur.cache.geometry.y + y + st + oy + \
+(int) \
+(((o->max_ascent * obj->cur.cache.geometry.h) / 
obj->cur.geometry.h) - 0.5), \
+obj->cur.cache.geometry.w, \
+obj->cur.cache.geometry.h, \
+obj->cur.geometry.w, \
+obj->cur.geometry.h, \
+o->cur.text);
+#endif
/* shadows */
if (o->cur.style == EVAS_TEXT_STYLE_SHADOW)
  {
===
RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_object_textblock.c,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -3 -r1.134 -r1.135
--- evas_object_textblock.c 28 Nov 2006 20:30:48 -  1.134
+++ evas_object_textblock.c 28 Dec 2006 12:23:13 -  1.135
@@ -4154,13 +4154,15 @@
 obj->cur.geometry.x + ln->x + 
it->x - it->inset + x + (ox), \
 obj->cur.geometry.y + ln->y + 
yoff + y + (oy), \
 it->w, it->h, it->w, it->h, 
it->text);
-#define DRAW_TEXT(ox, oy) \
-   if (it->format->font.font) ENFN->font_draw(output, context, surface, 
it->format->font.font, \
-obj->cur.geometry.x + ln->x + 
it->x - it->inset + x + (ox), \
-obj->cur.geometry.y + ln->y + 
yoff + y + (oy), \
-obj->cur.cache.geometry.x + 
ln->x + it->x - it->inset + x + (ox), \
-obj->cur.cache.geometry.y + 
ln->y + yoff + y + (oy), \
-it->w, it->h, it->w, it->h, 
it->text);
+#if 0
+#define DRAW_TEXT(ox, oy) \
+   if (it->format->font.font) ENFN->font_draw(output, context, surface, 
it->format->font.font, \
+obj->cur.geometry.x + ln->x + 
it->x - it->inset + x + (ox), \
+obj->cur.geometry.y + ln->y + 
yoff + y + (oy), \
+obj->cur.cache.geometry.x + 
ln->x + it->x - it->inset + x + (ox), \
+obj->cur.cache.geometry.y + 
ln->y + yoff + y + (oy), \
+it->w, it->h, it->w, it->h, 
it->text);
+#endif

pback = 0;
/* backing */



-
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.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs