E CVS: libs/e_dbus englebass

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/e_dbus

Dir : e17/libs/e_dbus/src/lib/nm


Modified Files:
E_Nm.h 


Log Message:
formatting

===
RCS file: /cvs/e/e17/libs/e_dbus/src/lib/nm/E_Nm.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- E_Nm.h  9 Mar 2008 16:08:42 -   1.5
+++ E_Nm.h  14 Mar 2008 08:15:10 -  1.6
@@ -34,68 +34,68 @@
 typedef struct E_NM_Device E_NM_Device;
 struct E_NM_Device
 {
-   char *udi; /* object_path */
-   char *interface;
-   char *driver;
-   uint capabilities;
-   int  ip4address;
-   uint state;
-   char *ip4config; /* object_path */
-   int  carrier;
-   uint type;
+  char *udi; /* object_path */
+  char *interface;
+  char *driver;
+  uint capabilities;
+  int  ip4address;
+  uint state;
+  char *ip4config; /* object_path */
+  int  carrier;
+  uint type;
 };
 
 typedef struct E_NM_Device_Wireless E_NM_Device_Wireless;
 struct E_NM_Device_Wireless
 {
-   char *hwaddress;
-   int   mode;
-   uint bitrate;
-   char *activeaccesspoint; /* object_path */
-   uint wirelesscapabilities;
+  char *hwaddress;
+  int   mode;
+  uint bitrate;
+  char *activeaccesspoint; /* object_path */
+  uint wirelesscapabilities;
 };
 
 typedef struct E_NM_Device_Wired E_NM_Device_Wired;
 struct E_NM_Device_Wired
 {
-   char *hwaddress;
-   uint speed;
+  char *hwaddress;
+  uint speed;
 };
 
 typedef struct E_NM_Access_Point E_NM_Access_Point;
 struct E_NM_Access_Point
 {
-   uint flags;
-   uint wpaflags;
-   uint rsnflags;
-   char *ssid;
-   uint frequency;
-   char *hwaddress;
-   int  mode;
-   uint rate;
-   uint strength;
+  uint flags;
+  uint wpaflags;
+  uint rsnflags;
+  char *ssid;
+  uint frequency;
+  char *hwaddress;
+  int  mode;
+  uint rate;
+  uint strength;
 };
 
 typedef struct E_NM_IP4Config E_NM_IP4Config;
 struct E_NM_IP4Config
 {
-   uint address;
-   uint gateway;
-   uint netmask;
-   uint broadcast;
-   char *hostname;
-   Ecore_List *nameserver;  /* uints */
-   Ecore_List *domains; /* char* */
-   char *nisdomain;
-   Ecore_List *nisserver; /* uints */
+  uint address;
+  uint gateway;
+  uint netmask;
+  uint broadcast;
+  char *hostname;
+  Ecore_List *nameserver;  /* uints */
+  Ecore_List *domains; /* char* */
+  char *nisdomain;
+  Ecore_List *nisserver; /* uints */
 };
 
 typedef struct E_NM_Manager E_NM_Manager;
 struct E_NM_Manager
 {
-   int wirelessenabled; /* writeable*/
-   int wirelesshardwareenabled;
-   uint state;
+  int wirelessenabled; /* writeable*/
+  int wirelesshardwareenabled;
+  uint state;
 };
 
 typedef void (*E_NM_Cb_Manager_State_Change) (void *data, int state);



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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: e kwo

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e


Modified Files:
configure.in ChangeLog timestamp.h 


Log Message:
Fri Mar 14 09:56:22 CET 2008
(Kim)

--- 0.16.8.13 0.01 ---
Avoid building unused static libraries.
Add some checking of printf style prototypes.
Use XInternAtoms to speed up initial atom fetch.
Assume free(0) is ok (if not HAVE_FREE_NULL_BUG will have to be defined).
Disable broken image/text class destroy functions.
Fix modules build.
Japanese translation update (Yasufumi Haga).
French translation update (Tristan D.).
Call autosave() on eesh sound on/off.
Optionally use PulseAudio to play sounds.
Simplify X-error checking.
Fix potential segv during translucent moves (noted by Pietro Cerutti, bug 392).
Fix memory leak if translucent move initialisation fails.
Fix bugs when shared memory image creation fails causing memory leak and 
X-errors.
Various sound/module/visibility fixes.
Add option to center new windows when desk is full (suggested by George L. 
Yermulnik).
Pick up some kde4 apps in menu generation.
Add shadow and fading flags to the remembered flag list.

===
RCS file: /cvs/e/e16/e/configure.in,v
retrieving revision 1.253
retrieving revision 1.254
diff -u -3 -r1.253 -r1.254
--- configure.in1 Mar 2008 16:38:05 -   1.253
+++ configure.in14 Mar 2008 08:57:43 -  1.254
@@ -1,5 +1,5 @@
 m4_define([pkg_version],  [0.16.8.13])
-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]))
 
===
RCS file: /cvs/e/e16/e/ChangeLog,v
retrieving revision 1.252
retrieving revision 1.253
diff -u -3 -r1.252 -r1.253
--- ChangeLog   16 Feb 2008 09:28:04 -  1.252
+++ ChangeLog   14 Mar 2008 08:57:43 -  1.253
@@ -4679,3 +4679,28 @@
 Cleanups.
 Add stuff for checking if various XSync's are really needed.
 
+
+---
+
+Fri Mar 14 09:56:22 CET 2008
+(Kim)
+
+--- 0.16.8.13 0.01 ---
+Avoid building unused static libraries.
+Add some checking of printf style prototypes.
+Use XInternAtoms to speed up initial atom fetch.
+Assume free(0) is ok (if not HAVE_FREE_NULL_BUG will have to be defined).
+Disable broken image/text class destroy functions.
+Fix modules build.
+Japanese translation update (Yasufumi Haga).
+French translation update (Tristan D.).
+Call autosave() on eesh sound on/off.
+Optionally use PulseAudio to play sounds.
+Simplify X-error checking.
+Fix potential segv during translucent moves (noted by Pietro Cerutti, bug 392).
+Fix memory leak if translucent move initialisation fails.
+Fix bugs when shared memory image creation fails causing memory leak and 
X-errors.
+Various sound/module/visibility fixes.
+Add option to center new windows when desk is full (suggested by George L. 
Yermulnik).
+Pick up some kde4 apps in menu generation.
+Add shadow and fading flags to the remembered flag list.
===
RCS file: /cvs/e/e16/e/timestamp.h,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -3 -r1.48 -r1.49
--- timestamp.h 16 Feb 2008 09:28:04 -  1.48
+++ timestamp.h 14 Mar 2008 08:57:43 -  1.49
@@ -1 +1 @@
-#define E_CHECKOUT_DATE $Date: 2008/02/16 09:28:04 $
+#define E_CHECKOUT_DATE $Date: 2008/03/14 08:57:43 $



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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/evas doursse

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:
 * Remove Windows code in evas_module.c and use evilness instead
 * Allow Windows Mobile to correctly load dll's
 * Use correct scheme for EAPI on Windows and include config.h when necessary
 * add -mwin32 to compiler flags when compiling with cegcc

===
RCS file: /cvs/e/e17/libs/evas/src/modules/savers/png/Makefile.am,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- Makefile.am 13 Feb 2008 07:55:24 -  1.6
+++ Makefile.am 14 Mar 2008 16:49:49 -  1.7
@@ -4,7 +4,8 @@
 AM_CPPFLAGS   = -I. \
 -I$(top_srcdir)/src/lib \
 -I$(top_srcdir)/src/lib/include \
-@FREETYPE_CFLAGS@ @PNG_CFLAGS@
+@FREETYPE_CFLAGS@ @PNG_CFLAGS@ \
+@WIN32_CFLAGS@
 
 pkgdir = $(libdir)/evas/modules/savers/png/$(MODULE_ARCH)
 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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/evas doursse

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib


Modified Files:
Evas.h Makefile.am main.c 


Log Message:
 * Remove Windows code in evas_module.c and use evilness instead
 * Allow Windows Mobile to correctly load dll's
 * Use correct scheme for EAPI on Windows and include config.h when necessary
 * add -mwin32 to compiler flags when compiling with cegcc

===
RCS file: /cvs/e/e17/libs/evas/src/lib/Evas.h,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -3 -r1.113 -r1.114
--- Evas.h  8 Feb 2008 22:35:19 -   1.113
+++ Evas.h  14 Mar 2008 16:49:47 -  1.114
@@ -2,14 +2,19 @@
 #define _EVAS_H
 
 #ifdef EAPI
-#undef EAPI
+# undef EAPI
 #endif
-#ifdef _MSC_VER
-# ifdef BUILDING_DLL
-#  define EAPI __declspec(dllexport)
+
+#ifdef _WIN32
+# ifdef EFL_EVAS_BUILD
+#  ifdef DLL_EXPORT
+#   define EAPI __declspec(dllexport)
+#  else
+#   define EAPI
+#  endif /* ! DLL_EXPORT */
 # else
 #  define EAPI __declspec(dllimport)
-# endif
+# endif /* ! EFL_EVAS_BUILD */
 #else
 # ifdef __GNUC__
 #  if __GNUC__ = 4
@@ -20,7 +25,7 @@
 # else
 #  define EAPI
 # endif
-#endif
+#endif /* ! _WIN32 */
 
 /**
  * @file
===
RCS file: /cvs/e/e17/libs/evas/src/lib/Makefile.am,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- Makefile.am 4 Nov 2007 09:21:44 -   1.27
+++ Makefile.am 14 Mar 2008 16:49:47 -  1.28
@@ -12,6 +12,7 @@
   @FREETYPE_CFLAGS@ \
   @EET_CFLAGS@ \
   @FONTCONFIG_CFLAGS@ \
+  @WIN32_CFLAGS@ \
   @pthread_cflags@
 
 lib_LTLIBRARIES  = libevas.la
===
RCS file: /cvs/e/e17/libs/evas/src/lib/main.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- main.c  11 Jan 2008 07:33:57 -  1.18
+++ main.c  14 Mar 2008 16:49:47 -  1.19
@@ -1,4 +1,3 @@
-#include Evas.h
 #include evas_common.h
 #include evas_private.h
 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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/evas doursse

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
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:
 * Remove Windows code in evas_module.c and use evilness instead
 * Allow Windows Mobile to correctly load dll's
 * Use correct scheme for EAPI on Windows and include config.h when necessary
 * add -mwin32 to compiler flags when compiling with cegcc

===
RCS file: /cvs/e/e17/libs/evas/src/lib/cache/evas_cache_engine_image.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- evas_cache_engine_image.c   8 Feb 2008 20:54:18 -   1.4
+++ evas_cache_engine_image.c   14 Mar 2008 16:49:47 -  1.5
@@ -1,5 +1,4 @@
 #include assert.h
-#include Evas.h
 
 #include evas_common.h
 #include evas_private.h
===
RCS file: /cvs/e/e17/libs/evas/src/lib/cache/evas_cache_image.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- evas_cache_image.c  8 Feb 2008 19:55:02 -   1.12
+++ evas_cache_image.c  14 Mar 2008 16:49:47 -  1.13
@@ -1,6 +1,5 @@
 #include stdlib.h
 #include assert.h
-#include Evas.h
 
 #include evas_common.h
 #include evas_private.h



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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/evas doursse

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am evas_module.c 


Log Message:
 * Remove Windows code in evas_module.c and use evilness instead
 * Allow Windows Mobile to correctly load dll's
 * Use correct scheme for EAPI on Windows and include config.h when necessary
 * add -mwin32 to compiler flags when compiling with cegcc

===
RCS file: /cvs/e/e17/libs/evas/src/lib/file/Makefile.am,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- Makefile.am 4 Nov 2007 09:21:45 -   1.11
+++ Makefile.am 14 Mar 2008 16:49:47 -  1.12
@@ -7,11 +7,12 @@
   -DPACKAGE_BIN_DIR=\$(bindir)\ \
   -DPACKAGE_LIB_DIR=\$(libdir)\ \
   -DPACKAGE_DATA_DIR=\$(datadir)/$(PACKAGE)\ \
-  @FREETYPE_CFLAGS@
+  @FREETYPE_CFLAGS@ \
+  @EVIL_CFLAGS@ @WIN32_CFLAGS@
 
 noinst_LTLIBRARIES  = libevas_file.la
 libevas_file_la_SOURCES  = \
 evas_path.c \
 evas_module.c
-
+libevas_file_la_LIBADD = @EVIL_LIBS@
 libevas_file_la_DEPENDENCIES = $(top_builddir)/config.h
===
RCS file: /cvs/e/e17/libs/evas/src/lib/file/evas_module.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -3 -r1.29 -r1.30
--- evas_module.c   26 Jan 2008 06:01:00 -  1.29
+++ evas_module.c   14 Mar 2008 16:49:47 -  1.30
@@ -5,86 +5,11 @@
 #endif
 
 #include dirent.h/* DIR, dirent */
-#ifdef _WIN32
-# include windows.h
-# include stdlib.h
-# include stdio.h
-#else
-# include dlfcn.h/* dlopen,dlclose,etc */
-#endif
+#include dlfcn.h /* dlopen,dlclose,etc */
 
 #include evas_common.h
 #include evas_private.h
 
-/* FIXME: that hack is a temporary one. That code will be in MinGW soon */
-#ifdef _WIN32
-
-# define RTLD_LAZY 1 /* lazy function call binding */
-# define RTLD_NOW 2 /* immediate function call binding */
-# define RTLD_GLOBAL 4 /* symbols in this dlopen'ed obj are visible
-to other dlopen'ed objs */
-
-static char *dlerr_ptr;
-static char dlerr_data[80];
-
-void *dlopen (const char *file, int mode)
-{
-  HMODULE hmodule;
-
-  hmodule = LoadLibrary(file);
-  if (hmodule == NULL) {
-int error;
-
-error = GetLastError();
-sprintf(dlerr_data, LoadLibraryEx returned %d., error);
-dlerr_ptr = dlerr_data;
-  }
-  return hmodule;
-}
-
-int dlclose (void *handle)
-{
-  if (FreeLibrary(handle)) {
-return 0;
-  }
-  else {
-int error;
-
-error = GetLastError();
-sprintf(dlerr_data, FreeLibrary returned %d., error);
-dlerr_ptr = dlerr_data;
-return -1;
-  }
-}
-
-void *dlsym (void *handle, const char *name)
-{
-  FARPROC fp;
-
-  fp = GetProcAddress(handle, name);
-  if (fp == NULL) {
-int error;
-
-error = GetLastError();
-sprintf(dlerr_data, GetProcAddress returned %d., error);
-dlerr_ptr = dlerr_data;
-  }
-  return fp;
-}
-
-char *dlerror (void)
-{
-  if (dlerr_ptr != NULL) {
-dlerr_ptr = NULL;
-return dlerr_data;
-  }
-  else {
-return NULL;
-  }
-}
-
-#endif /* _WIN32 */
-
 Evas_List *evas_modules = NULL;
 static Evas_List *evas_module_paths = NULL;
 
@@ -311,7 +236,21 @@
if (em-loaded) return 1;
 
 /*   printf(LOAD %s\n, em-name); */
-#ifdef _WIN32
+#if defined(__CEGCC__) || defined(__MINGW32CE__)
+   switch (em-type) {
+ case EVAS_MODULE_TYPE_IMAGE_SAVER:
+snprintf(buf, sizeof(buf), %s/%s/%s/saver_%s.dll, em-path, 
em-name, MODULE_ARCH, em-name);
+break;
+ case EVAS_MODULE_TYPE_IMAGE_LOADER:
+snprintf(buf, sizeof(buf), %s/%s/%s/loader_%s.dll, em-path, 
em-name, MODULE_ARCH, em-name);
+break;
+ case EVAS_MODULE_TYPE_ENGINE:
+snprintf(buf, sizeof(buf), %s/%s/%s/engine_%s.dll, em-path, 
em-name, MODULE_ARCH, em-name);
+break;
+ default:
+snprintf(buf, sizeof(buf), %s/%s/%s/object_%s.dll, em-path, 
em-name, MODULE_ARCH, em-name);
+   }
+#elif _WIN32
snprintf(buf, sizeof(buf), %s/%s/%s/module.dll, em-path, em-name, 
MODULE_ARCH);
 #else
snprintf(buf, sizeof(buf), %s/%s/%s/module.so, em-path, em-name, 
MODULE_ARCH);



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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/evas doursse

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir : e17/libs/evas


Modified Files:
configure.in 


Log Message:
 * Remove Windows code in evas_module.c and use evilness instead
 * Allow Windows Mobile to correctly load dll's
 * Use correct scheme for EAPI on Windows and include config.h when necessary
 * add -mwin32 to compiler flags when compiling with cegcc

===
RCS file: /cvs/e/e17/libs/evas/configure.in,v
retrieving revision 1.250
retrieving revision 1.251
diff -u -3 -r1.250 -r1.251
--- configure.in9 Mar 2008 13:21:15 -   1.250
+++ configure.in14 Mar 2008 16:49:47 -  1.251
@@ -35,12 +35,23 @@
 AC_SUBST(MODULE_ARCH)
 AC_DEFINE_UNQUOTED(MODULE_ARCH, $MODULE_ARCH, Module architecture)
 
+PKG_PROG_PKG_CONFIG
+
+WIN32_CFLAGS=
 create_shared_lib=
 case $host_os in
-mingw|mingw32)
+mingw|mingw32*|cegcc)
+   PKG_CHECK_MODULES(EVIL, evil)
+   AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if evil package is installed])
+   dnl needed for correct definition of EAPI
+   AC_DEFINE(EFL_EVAS_BUILD, 1, [Define to mention that evas is 
built])
+if test $host_os = cegcc ; then
+WIN32_CFLAGS=-mwin32
+fi
 create_shared_lib=-no-undefined 
 ;;
 esac
+AC_SUBST(WIN32_CFLAGS)
 AC_SUBST(create_shared_lib)
 
 x_dir=



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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/evas doursse

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
evas_imaging.c 


Log Message:
 * Remove Windows code in evas_module.c and use evilness instead
 * Allow Windows Mobile to correctly load dll's
 * Use correct scheme for EAPI on Windows and include config.h when necessary
 * add -mwin32 to compiler flags when compiling with cegcc

===
RCS file: /cvs/e/e17/libs/evas/src/lib/imaging/evas_imaging.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- evas_imaging.c  8 Feb 2008 22:35:19 -   1.12
+++ evas_imaging.c  14 Mar 2008 16:49:47 -  1.13
@@ -1,9 +1,13 @@
-#include evas_common.h
-#include evas_private.h
+#ifdef HAVE_CONFIG_H
+# include config.h  /* so that EAPI in Eet.h is correctly defined */
+#endif
 
 #ifdef BUILD_FONT_LOADER_EET
 #include Eet.h
 #endif
+
+#include evas_common.h
+#include evas_private.h
 
 EAPI Evas_Imaging_Image *
 evas_imaging_image_load(const char *file, const char *key)



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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/evas doursse

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
evas_common.h 


Log Message:
 * Remove Windows code in evas_module.c and use evilness instead
 * Allow Windows Mobile to correctly load dll's
 * Use correct scheme for EAPI on Windows and include config.h when necessary
 * add -mwin32 to compiler flags when compiling with cegcc

===
RCS file: /cvs/e/e17/libs/evas/src/lib/include/evas_common.h,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -3 -r1.93 -r1.94
--- evas_common.h   24 Jan 2008 00:57:20 -  1.93
+++ evas_common.h   14 Mar 2008 16:49:48 -  1.94
@@ -5,8 +5,11 @@
 #ifndef EVAS_COMMON_H
 #define EVAS_COMMON_H
 
+#ifdef HAVE_CONFIG_H
+# include config.h  /* so that EAPI in Evas.h is correctly defined */
+#endif
+
 #include Evas.h
-#include config.h
 
 /*/
 
@@ -72,10 +75,6 @@
 void *alloca (size_t);
 #endif
 
-#ifdef _WIN32_WCE
-#include windows.h
-#endif
-
 #include ft2build.h
 #include FT_FREETYPE_H
 #include FT_GLYPH_H
@@ -126,15 +125,7 @@
 
 /*/
 
-#ifndef _WIN32_WCE
 typedef unsigned long long DATA64;
-#else
-typedef unsigned __int64   DATA64;
-#define strdup _strdup
-#define snprintf _snprintf
-#define rewind(f) fseek(f, 0, SEEK_SET)
-#endif
-
 typedef unsigned int   DATA32;
 typedef unsigned short DATA16;
 typedef unsigned char   DATA8;



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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/evas doursse

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:
 * Remove Windows code in evas_module.c and use evilness instead
 * Allow Windows Mobile to correctly load dll's
 * Use correct scheme for EAPI on Windows and include config.h when necessary
 * add -mwin32 to compiler flags when compiling with cegcc

===
RCS file: /cvs/e/e17/libs/evas/src/modules/engines/buffer/Makefile.am,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- Makefile.am 13 Feb 2008 07:55:20 -  1.7
+++ Makefile.am 14 Mar 2008 16:49:48 -  1.8
@@ -6,7 +6,8 @@
 -I$(top_srcdir)/src/lib \
 -I$(top_srcdir)/src/lib/include \
 -I$(top_srcdir)/src/modules/engines \
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@ \
[EMAIL PROTECTED]@
 
 if BUILD_ENGINE_BUFFER
 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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/evas doursse

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:
 * Remove Windows code in evas_module.c and use evilness instead
 * Allow Windows Mobile to correctly load dll's
 * Use correct scheme for EAPI on Windows and include config.h when necessary
 * add -mwin32 to compiler flags when compiling with cegcc

===
RCS file: /cvs/e/e17/libs/evas/src/modules/engines/software_16/Makefile.am,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- Makefile.am 13 Feb 2008 07:55:21 -  1.10
+++ Makefile.am 14 Mar 2008 16:49:48 -  1.11
@@ -6,7 +6,8 @@
 -I$(top_srcdir)/src/lib \
 -I$(top_srcdir)/src/lib/include \
 -I$(top_srcdir)/src/modules/engines \
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@ \
[EMAIL PROTECTED]@
 
 if BUILD_ENGINE_SOFTWARE_16
 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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/evas doursse

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:
 * Remove Windows code in evas_module.c and use evilness instead
 * Allow Windows Mobile to correctly load dll's
 * Use correct scheme for EAPI on Windows and include config.h when necessary
 * add -mwin32 to compiler flags when compiling with cegcc

===
RCS file: /cvs/e/e17/libs/evas/src/modules/loaders/pmaps/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Makefile.am 1 Mar 2008 15:27:20 -   1.1
+++ Makefile.am 14 Mar 2008 16:49:48 -  1.2
@@ -4,7 +4,8 @@
 AM_CPPFLAGS   = -I. \
 -I$(top_srcdir)/src/lib \
 -I$(top_srcdir)/src/lib/include \
-@FREETYPE_CFLAGS@ @pmaps_cflags@
+@FREETYPE_CFLAGS@ @pmaps_cflags@ \
+@WIN32_CFLAGS@
 
 pkgdir = $(libdir)/evas/modules/loaders/pmaps/$(MODULE_ARCH)
 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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/evas doursse

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am evas_image_load_eet.c 


Log Message:
 * Remove Windows code in evas_module.c and use evilness instead
 * Allow Windows Mobile to correctly load dll's
 * Use correct scheme for EAPI on Windows and include config.h when necessary
 * add -mwin32 to compiler flags when compiling with cegcc

===
RCS file: /cvs/e/e17/libs/evas/src/modules/loaders/eet/Makefile.am,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- Makefile.am 13 Feb 2008 07:55:23 -  1.6
+++ Makefile.am 14 Mar 2008 16:49:48 -  1.7
@@ -4,7 +4,8 @@
 AM_CPPFLAGS   = -I. \
 -I$(top_srcdir)/src/lib \
 -I$(top_srcdir)/src/lib/include \
-@FREETYPE_CFLAGS@ @EET_CFLAGS@
+@FREETYPE_CFLAGS@ @EET_CFLAGS@ \
+@WIN32_CFLAGS@
 
 pkgdir = $(libdir)/evas/modules/loaders/eet/$(MODULE_ARCH)
 
===
RCS file: /cvs/e/e17/libs/evas/src/modules/loaders/eet/evas_image_load_eet.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- evas_image_load_eet.c   5 Nov 2006 05:07:52 -   1.8
+++ evas_image_load_eet.c   14 Mar 2008 16:49:48 -  1.9
@@ -1,7 +1,11 @@
-#include evas_common.h
-#include evas_private.h
+#ifdef HAVE_CONFIG_H
+# include config.h  /* so that EAPI in Eet.h is correctly defined */
+#endif
 
 #include Eet.h
+
+#include evas_common.h
+#include evas_private.h
 
 
 int evas_image_load_file_head_eet(RGBA_Image *im, const char *file, const char 
*key);



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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/evas doursse

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:
 * Remove Windows code in evas_module.c and use evilness instead
 * Allow Windows Mobile to correctly load dll's
 * Use correct scheme for EAPI on Windows and include config.h when necessary
 * add -mwin32 to compiler flags when compiling with cegcc

===
RCS file: /cvs/e/e17/libs/evas/src/modules/loaders/png/Makefile.am,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- Makefile.am 13 Feb 2008 07:55:23 -  1.6
+++ Makefile.am 14 Mar 2008 16:49:49 -  1.7
@@ -4,7 +4,8 @@
 AM_CPPFLAGS   = -I. \
 -I$(top_srcdir)/src/lib \
 -I$(top_srcdir)/src/lib/include \
-@FREETYPE_CFLAGS@ @PNG_CFLAGS@
+@FREETYPE_CFLAGS@ @PNG_CFLAGS@ \
+@WIN32_CFLAGS@
 
 pkgdir = $(libdir)/evas/modules/loaders/png/$(MODULE_ARCH)
 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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/evas doursse

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:
 * Remove Windows code in evas_module.c and use evilness instead
 * Allow Windows Mobile to correctly load dll's
 * Use correct scheme for EAPI on Windows and include config.h when necessary
 * add -mwin32 to compiler flags when compiling with cegcc

===
RCS file: /cvs/e/e17/libs/evas/src/modules/loaders/jpeg/Makefile.am,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- Makefile.am 13 Feb 2008 07:55:23 -  1.5
+++ Makefile.am 14 Mar 2008 16:49:48 -  1.6
@@ -4,7 +4,8 @@
 AM_CPPFLAGS   = -I. \
 -I$(top_srcdir)/src/lib \
 -I$(top_srcdir)/src/lib/include \
-@FREETYPE_CFLAGS@ @jpeg_cflags@
+@FREETYPE_CFLAGS@ @jpeg_cflags@ \
+@WIN32_CFLAGS@
 
 pkgdir = $(libdir)/evas/modules/loaders/jpeg/$(MODULE_ARCH)
 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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/evas doursse

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:
 * Remove Windows code in evas_module.c and use evilness instead
 * Allow Windows Mobile to correctly load dll's
 * Use correct scheme for EAPI on Windows and include config.h when necessary
 * add -mwin32 to compiler flags when compiling with cegcc

===
RCS file: /cvs/e/e17/libs/evas/src/modules/engines/software_sdl/Makefile.am,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- Makefile.am 13 Feb 2008 07:55:22 -  1.6
+++ Makefile.am 14 Mar 2008 16:49:48 -  1.7
@@ -7,7 +7,8 @@
 -I$(top_srcdir)/src/lib/include \
 -I$(top_srcdir)/src/modules/engines \
 @FREETYPE_CFLAGS@ \
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@ \
[EMAIL PROTECTED]@
 
 if BUILD_ENGINE_SDL
 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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/evas doursse

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:
 * Remove Windows code in evas_module.c and use evilness instead
 * Allow Windows Mobile to correctly load dll's
 * Use correct scheme for EAPI on Windows and include config.h when necessary
 * add -mwin32 to compiler flags when compiling with cegcc

===
RCS file: /cvs/e/e17/libs/evas/src/modules/loaders/xpm/Makefile.am,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- Makefile.am 13 Feb 2008 07:55:23 -  1.4
+++ Makefile.am 14 Mar 2008 16:49:49 -  1.5
@@ -4,7 +4,8 @@
 AM_CPPFLAGS   = -I. \
 -I$(top_srcdir)/src/lib \
 -I$(top_srcdir)/src/lib/include \
-@FREETYPE_CFLAGS@ @xpm_cflags@
+@FREETYPE_CFLAGS@ @xpm_cflags@ \
+@WIN32_CFLAGS@
 
 pkgdir = $(libdir)/evas/modules/loaders/xpm/$(MODULE_ARCH)
 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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/evas doursse

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:
 * Remove Windows code in evas_module.c and use evilness instead
 * Allow Windows Mobile to correctly load dll's
 * Use correct scheme for EAPI on Windows and include config.h when necessary
 * add -mwin32 to compiler flags when compiling with cegcc

===
RCS file: /cvs/e/e17/libs/evas/src/modules/savers/jpeg/Makefile.am,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- Makefile.am 13 Feb 2008 07:55:23 -  1.5
+++ Makefile.am 14 Mar 2008 16:49:49 -  1.6
@@ -4,7 +4,8 @@
 AM_CPPFLAGS   = -I. \
 -I$(top_srcdir)/src/lib \
 -I$(top_srcdir)/src/lib/include \
-@FREETYPE_CFLAGS@ @jpeg_cflags@
+@FREETYPE_CFLAGS@ @jpeg_cflags@ \
+@WIN32_CFLAGS@
 
 pkgdir = $(libdir)/evas/modules/savers/jpeg/$(MODULE_ARCH)
 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_tree.c 


Log Message:
don't hide the tree arrow after two clicks (bug 406)

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_tree.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -3 -r1.60 -r1.61
--- ewl_tree.c  26 Feb 2008 06:21:21 -  1.60
+++ ewl_tree.c  14 Mar 2008 19:54:51 -  1.61
@@ -1460,7 +1460,7 @@
if (w == node-handle)
DRETURN(DLEVEL_STABLE);
 
-   if (ewl_container_child_count_visible_get(c)  3)
+   if (ecore_dlist_count(c)  3)
{
if (node-handle  VISIBLE(node-handle))
ewl_widget_hide(node-handle);



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_check.c 


Log Message:
only update if there was actually a change

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_check.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- ewl_check.c 12 Nov 2007 22:42:22 -  1.17
+++ ewl_check.c 14 Mar 2008 19:58:55 -  1.18
@@ -79,6 +79,9 @@
DCHECK_PARAM_PTR(cb);
DCHECK_TYPE(cb, EWL_CHECK_TYPE);
 
+   if (cb-checked == !!c)
+   DRETURN(DLEVEL_STABLE);
+
cb-checked = !!c;
ewl_check_cb_update_check(EWL_WIDGET(cb), NULL, NULL);
 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_expansion.c ewl_expansion.h 


Log Message:
remove unused functions, minor clean ups

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_expansion.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- ewl_expansion.c 9 Dec 2007 00:27:17 -   1.7
+++ ewl_expansion.c 14 Mar 2008 20:21:24 -  1.8
@@ -6,6 +6,7 @@
 #include ewl_private.h
 #include ewl_debug.h
 
+static void ewl_expansion_expandable_update(Ewl_Expansion *ex);
 /**
  * @return Returns the newly allocated expansion on success, NULL on failure.
  * @brief Allocate and initialize a new expansion
@@ -54,10 +55,6 @@
 
ewl_object_fill_policy_set(EWL_OBJECT(w), EWL_FLAG_FILL_NONE);
ewl_object_alignment_set(EWL_OBJECT(w), EWL_FLAG_ALIGN_TOP);
-   ewl_object_preferred_inner_size_set(EWL_OBJECT(w), 20, 20);
-
-   ewl_callback_append(w, EWL_CALLBACK_MOUSE_OUT,
-   ewl_expansion_cb_update_expandable, NULL);
ewl_callback_append(w, EWL_CALLBACK_REVEAL,
ewl_expansion_cb_reveal, NULL);
 
@@ -68,42 +65,6 @@
  * @param cb: the expansion to change the status
  * @param c: the new status of the expansion
  * @return Returns no value.
- * @brief Change the expanded status of the expansion
- *
- * Changes the expanded status of the expansion and updates it's appearance
- * to reflect the change.
- */
-void
-ewl_expansion_expanded_set(Ewl_Expansion *cb, int c)
-{
-   DENTER_FUNCTION(DLEVEL_STABLE);
-   DCHECK_PARAM_PTR(cb);
-   DCHECK_TYPE(cb, EWL_EXPANSION_TYPE);
-
-   ewl_check_checked_set(EWL_CHECK(cb), c);
-
-   DLEAVE_FUNCTION(DLEVEL_STABLE);
-}
-
-/**
- * @param cb: the expansion to examine for it's expanded state
- * @return Returns TRUE if the expansion is expanded, FALSE if not.
- * @brief Determine the expanded state of the expansion
- */
-int
-ewl_expansion_is_expanded(Ewl_Expansion *cb)
-{
-   DENTER_FUNCTION(DLEVEL_STABLE);
-   DCHECK_PARAM_PTR_RET(cb, FALSE);
-   DCHECK_TYPE_RET(cb, EWL_EXPANSION_TYPE, FALSE);
-
-   DRETURN_INT(ewl_check_is_checked(EWL_CHECK(cb)), DLEVEL_STABLE);
-}
-
-/**
- * @param cb: the expansion to change the status
- * @param c: the new status of the expansion
- * @return Returns no value.
  * @brief Change the expandable status of the expansion
  *
  * Changes the expandable status of the expansion and updates it's appearance
@@ -117,7 +78,7 @@
DCHECK_TYPE(cb, EWL_EXPANSION_TYPE);
 
cb-expandable = !!c;
-   ewl_expansion_cb_update_expandable(EWL_WIDGET(cb), NULL, NULL);
+   ewl_expansion_expandable_update(cb);
 
DLEAVE_FUNCTION(DLEVEL_STABLE);
 }
@@ -145,26 +106,23 @@
  * @return Returns no value
  * @brief Callback to update the expansion
  */
-void
-ewl_expansion_cb_update_expandable(Ewl_Widget *w, void *ev_data __UNUSED__,
-   void *user_data __UNUSED__)
+static void
+ewl_expansion_expandable_update(Ewl_Expansion *ex)
 {
-   Ewl_Expansion *cb;
-
DENTER_FUNCTION(DLEVEL_STABLE);
-   DCHECK_PARAM_PTR(w);
-   DCHECK_TYPE(w, EWL_EXPANSION_TYPE);
+   DCHECK_PARAM_PTR(ex);
+   DCHECK_TYPE(ex, EWL_EXPANSION_TYPE);
 
-   cb = EWL_EXPANSION(w);
-   if (cb-expandable)
-   ewl_widget_state_set(w, expandable, EWL_STATE_TRANSIENT);
+   if (ex-expandable)
+   ewl_widget_state_set(EWL_WIDGET(ex), expandable, 
+   EWL_STATE_TRANSIENT);
else
-   ewl_widget_state_set(w, nonexpandable, EWL_STATE_TRANSIENT);
+   ewl_widget_state_set(EWL_WIDGET(ex), nonexpandable, 
+   EWL_STATE_TRANSIENT);
 
DLEAVE_FUNCTION(DLEVEL_STABLE);
 }
 
-
 /**
  * @internal
  * @param w: The widget to work with
@@ -179,9 +137,9 @@
 {
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR(w);
-   DCHECK_TYPE(w, EWL_WIDGET_TYPE);
+   DCHECK_TYPE(w, EWL_EXPANSION_TYPE);
 
-   ewl_expansion_cb_update_expandable(w, NULL, NULL);
+   ewl_expansion_expandable_update(EWL_EXPANSION(w));
 
DLEAVE_FUNCTION(DLEVEL_STABLE);
 }
===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_expansion.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- ewl_expansion.h 11 Dec 2007 05:51:22 -  1.7
+++ ewl_expansion.h 14 Mar 2008 20:21:24 -  1.8
@@ -56,15 +56,9 @@
 int ewl_expansion_is_expandable(Ewl_Expansion *c);
 voidewl_expansion_expandable_set(Ewl_Expansion *c,
int expandable);
-
-int ewl_expansion_is_expanded(Ewl_Expansion *c);
-void

E CVS: libs/ewl pfritz

2008-03-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_tree.c 


Log Message:
set the default column viw to 1

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_tree.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -3 -r1.61 -r1.62
--- ewl_tree.c  14 Mar 2008 19:54:51 -  1.61
+++ ewl_tree.c  14 Mar 2008 20:50:29 -  1.62
@@ -111,6 +111,7 @@
/* set the default row view */
ewl_tree_content_view_set(tree, ewl_tree_view_scrolled_get());
 
+   ewl_tree_column_count_set(tree, 1);
ewl_tree_headers_visible_set(tree, TRUE);
ewl_tree_fixed_rows_set(tree, FALSE);
ewl_tree_alternate_row_colors_set(tree, TRUE);



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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