[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16175] branches/soc-2008-jaguarandi: svn merge -r 16077:16174 https://svn.blender.org/svnroot/bf-blender/trunk/ blender

André Pinto andresusanopinto at gmail.com
Mon Aug 18 16:33:26 CEST 2008


Revision: 16175
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16175
Author:   jaguarandi
Date:     2008-08-18 16:33:26 +0200 (Mon, 18 Aug 2008)

Log Message:
-----------
svn merge -r 16077:16174 https://svn.blender.org/svnroot/bf-blender/trunk/blender

Modified Paths:
--------------
    branches/soc-2008-jaguarandi/CMakeLists.txt
    branches/soc-2008-jaguarandi/intern/guardedalloc/intern/mallocn.c
    branches/soc-2008-jaguarandi/intern/guardedalloc/intern/mmap_win.c
    branches/soc-2008-jaguarandi/intern/guardedalloc/make/msvc_7_0/guardedalloc.vcproj
    branches/soc-2008-jaguarandi/intern/guardedalloc/mmap_win.h
    branches/soc-2008-jaguarandi/intern/opennl/make/msvc_7_0/opennl.vcproj
    branches/soc-2008-jaguarandi/intern/opennl/superlu/smemory.c
    branches/soc-2008-jaguarandi/projectfiles_vc7/gameengine/gamelogic/SCA_GameLogic.vcproj
    branches/soc-2008-jaguarandi/projectfiles_vc7/kernel/system/SYS_system.vcproj
    branches/soc-2008-jaguarandi/release/VERSION
    branches/soc-2008-jaguarandi/release/datafiles/datatoc.c
    branches/soc-2008-jaguarandi/release/datafiles/splash.jpg
    branches/soc-2008-jaguarandi/source/blender/blenkernel/BKE_blender.h
    branches/soc-2008-jaguarandi/source/blender/blenkernel/BKE_customdata.h
    branches/soc-2008-jaguarandi/source/blender/blenkernel/BKE_effect.h
    branches/soc-2008-jaguarandi/source/blender/blenkernel/BKE_endian.h
    branches/soc-2008-jaguarandi/source/blender/blenkernel/BKE_utildefines.h
    branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/CCGSubSurf.c
    branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/DerivedMesh.c
    branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/cloth.c
    branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/displist.c
    branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/effect.c
    branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/icons.c
    branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/image.c
    branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/implicit.c
    branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/ipo.c
    branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/particle_system.c
    branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/sca.c
    branches/soc-2008-jaguarandi/source/blender/blenlib/BLI_editVert.h
    branches/soc-2008-jaguarandi/source/blender/blenlib/BLI_rand.h
    branches/soc-2008-jaguarandi/source/blender/blenlib/intern/BLI_ghash.c
    branches/soc-2008-jaguarandi/source/blender/blenlib/intern/BLI_kdopbvh.c
    branches/soc-2008-jaguarandi/source/blender/blenlib/intern/fileops.c
    branches/soc-2008-jaguarandi/source/blender/blenlib/intern/psfont.c
    branches/soc-2008-jaguarandi/source/blender/blenlib/intern/rand.c
    branches/soc-2008-jaguarandi/source/blender/blenlib/intern/util.c
    branches/soc-2008-jaguarandi/source/blender/blenloader/BLO_sys_types.h
    branches/soc-2008-jaguarandi/source/blender/blenloader/intern/genfile.c
    branches/soc-2008-jaguarandi/source/blender/blenloader/intern/readblenentry.c
    branches/soc-2008-jaguarandi/source/blender/blenloader/intern/readfile.c
    branches/soc-2008-jaguarandi/source/blender/blenloader/intern/writefile.c
    branches/soc-2008-jaguarandi/source/blender/blenpluginapi/intern/pluginapi.c
    branches/soc-2008-jaguarandi/source/blender/imbuf/intern/cineon/cineonlib.c
    branches/soc-2008-jaguarandi/source/blender/imbuf/intern/cineon/dpxlib.c
    branches/soc-2008-jaguarandi/source/blender/imbuf/intern/cineon/logImageCore.h
    branches/soc-2008-jaguarandi/source/blender/imbuf/intern/cineon/logmemfile.c
    branches/soc-2008-jaguarandi/source/blender/imbuf/intern/cineon/logmemfile.h
    branches/soc-2008-jaguarandi/source/blender/imbuf/intern/scaling.c
    branches/soc-2008-jaguarandi/source/blender/include/BIF_meshtools.h
    branches/soc-2008-jaguarandi/source/blender/makesdna/DNA_ipo_types.h
    branches/soc-2008-jaguarandi/source/blender/makesdna/DNA_object_force.h
    branches/soc-2008-jaguarandi/source/blender/makesdna/DNA_sensor_types.h
    branches/soc-2008-jaguarandi/source/blender/makesdna/intern/makesdna.c
    branches/soc-2008-jaguarandi/source/blender/python/api2_2x/Draw.c
    branches/soc-2008-jaguarandi/source/blender/python/api2_2x/Text3d.c
    branches/soc-2008-jaguarandi/source/blender/python/api2_2x/doc/Mathutils.py
    branches/soc-2008-jaguarandi/source/blender/python/api2_2x/doc/Text3d.py
    branches/soc-2008-jaguarandi/source/blender/python/api2_2x/vector.c
    branches/soc-2008-jaguarandi/source/blender/python/api2_2x/vector.h
    branches/soc-2008-jaguarandi/source/blender/radiosity/CMakeLists.txt
    branches/soc-2008-jaguarandi/source/blender/radiosity/SConscript
    branches/soc-2008-jaguarandi/source/blender/radiosity/intern/source/Makefile
    branches/soc-2008-jaguarandi/source/blender/radiosity/intern/source/radnode.c
    branches/soc-2008-jaguarandi/source/blender/radiosity/intern/source/radpreprocess.c
    branches/soc-2008-jaguarandi/source/blender/render/CMakeLists.txt
    branches/soc-2008-jaguarandi/source/blender/render/SConscript
    branches/soc-2008-jaguarandi/source/blender/render/intern/include/render_types.h
    branches/soc-2008-jaguarandi/source/blender/render/intern/source/occlusion.c
    branches/soc-2008-jaguarandi/source/blender/render/intern/source/pipeline.c
    branches/soc-2008-jaguarandi/source/blender/render/intern/source/rendercore.c
    branches/soc-2008-jaguarandi/source/blender/render/intern/source/shadbuf.c
    branches/soc-2008-jaguarandi/source/blender/render/intern/source/strand.c
    branches/soc-2008-jaguarandi/source/blender/render/intern/source/zbuf.c
    branches/soc-2008-jaguarandi/source/blender/src/buttons_editing.c
    branches/soc-2008-jaguarandi/source/blender/src/buttons_logic.c
    branches/soc-2008-jaguarandi/source/blender/src/buttons_object.c
    branches/soc-2008-jaguarandi/source/blender/src/buttons_scene.c
    branches/soc-2008-jaguarandi/source/blender/src/drawmesh.c
    branches/soc-2008-jaguarandi/source/blender/src/drawobject.c
    branches/soc-2008-jaguarandi/source/blender/src/editipo_lib.c
    branches/soc-2008-jaguarandi/source/blender/src/editkey.c
    branches/soc-2008-jaguarandi/source/blender/src/editmesh_mods.c
    branches/soc-2008-jaguarandi/source/blender/src/editmesh_tools.c
    branches/soc-2008-jaguarandi/source/blender/src/header_info.c
    branches/soc-2008-jaguarandi/source/blender/src/header_script.c
    branches/soc-2008-jaguarandi/source/blender/src/header_view3d.c
    branches/soc-2008-jaguarandi/source/blender/src/interface.c
    branches/soc-2008-jaguarandi/source/blender/src/meshlaplacian.c
    branches/soc-2008-jaguarandi/source/blender/src/meshtools.c
    branches/soc-2008-jaguarandi/source/blender/src/parametrizer.c
    branches/soc-2008-jaguarandi/source/blender/src/parametrizer.h
    branches/soc-2008-jaguarandi/source/blender/src/parametrizer_intern.h
    branches/soc-2008-jaguarandi/source/blender/src/renderwin.c
    branches/soc-2008-jaguarandi/source/blender/src/space.c
    branches/soc-2008-jaguarandi/source/blender/src/splash.jpg.c
    branches/soc-2008-jaguarandi/source/blender/src/toolbox.c
    branches/soc-2008-jaguarandi/source/blender/src/transform_conversions.c
    branches/soc-2008-jaguarandi/source/blender/src/transform_generics.c
    branches/soc-2008-jaguarandi/source/blender/yafray/intern/export_Plugin.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Converter/BL_ActionActuator.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Converter/BL_BlenderDataConversion.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Converter/BL_ShapeActionActuator.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Converter/KX_ConvertActuators.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Converter/KX_ConvertSensors.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Expressions/InputParser.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Expressions/ListValue.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Expressions/PyObjectPlus.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Expressions/PyObjectPlus.h
    branches/soc-2008-jaguarandi/source/gameengine/Expressions/Value.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Expressions/Value.h
    branches/soc-2008-jaguarandi/source/gameengine/GameLogic/SCA_ActuatorSensor.cpp
    branches/soc-2008-jaguarandi/source/gameengine/GameLogic/SCA_ILogicBrick.cpp
    branches/soc-2008-jaguarandi/source/gameengine/GameLogic/SCA_ISensor.cpp
    branches/soc-2008-jaguarandi/source/gameengine/GameLogic/SCA_ISensor.h
    branches/soc-2008-jaguarandi/source/gameengine/GameLogic/SCA_PythonController.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Ketsji/BL_Shader.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_CameraActuator.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_CameraActuator.h
    branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_ConstraintActuator.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_ConstraintWrapper.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_GameObject.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_GameObject.h
    branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_IpoActuator.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_MaterialIpoController.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_MeshProxy.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_ObjectActuator.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_ParentActuator.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_ParentActuator.h
    branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_PhysicsObjectWrapper.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_PythonInit.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.h
    branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_TrackToActuator.cpp
    branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_TrackToActuator.h
    branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_VehicleWrapper.cpp
    branches/soc-2008-jaguarandi/source/gameengine/PyDoc/GameLogic.py
    branches/soc-2008-jaguarandi/source/gameengine/PyDoc/KX_CameraActuator.py
    branches/soc-2008-jaguarandi/source/gameengine/PyDoc/KX_ParentActuator.py
    branches/soc-2008-jaguarandi/source/gameengine/PyDoc/KX_SCA_AddObjectActuator.py
    branches/soc-2008-jaguarandi/source/gameengine/PyDoc/KX_TrackToActuator.py
    branches/soc-2008-jaguarandi/source/gameengine/PyDoc/SCA_ISensor.py
    branches/soc-2008-jaguarandi/source/kernel/CMakeLists.txt
    branches/soc-2008-jaguarandi/source/kernel/SConscript
    branches/soc-2008-jaguarandi/source/kernel/gen_system/GEN_HashedPtr.cpp
    branches/soc-2008-jaguarandi/source/kernel/gen_system/Makefile

Added Paths:
-----------
    branches/soc-2008-jaguarandi/intern/guardedalloc/BLO_sys_types.h
    branches/soc-2008-jaguarandi/intern/opennl/superlu/BLO_sys_types.h
    branches/soc-2008-jaguarandi/release/text/release_247.txt
    branches/soc-2008-jaguarandi/source/gameengine/GameLogic/SCA_DelaySensor.cpp
    branches/soc-2008-jaguarandi/source/gameengine/GameLogic/SCA_DelaySensor.h
    branches/soc-2008-jaguarandi/source/gameengine/PyDoc/SCA_DelaySensor.py

Removed Paths:
-------------
    branches/soc-2008-jaguarandi/release/text/release_246.txt

Modified: branches/soc-2008-jaguarandi/CMakeLists.txt
===================================================================
--- branches/soc-2008-jaguarandi/CMakeLists.txt	2008-08-18 14:16:34 UTC (rev 16174)
+++ branches/soc-2008-jaguarandi/CMakeLists.txt	2008-08-18 14:33:26 UTC (rev 16175)
@@ -63,7 +63,6 @@
 OPTION(WITH_OPENEXR		"Enable OpenEXR Support (http://www.openexr.com)"	ON)
 OPTION(WITH_FFMPEG		"Enable FFMPeg Support (http://ffmpeg.mplayerhq.hu/)"	OFF)
 OPTION(WITH_OPENAL		"Enable OpenAL Support (http://www.openal.org)"		ON)
-OPTION(YESIAMSTUPID		"Enable execution on 64-bit platforms"			OFF)
 OPTION(WITH_OPENMP		"Enable OpenMP (has to be supported by the compiler)"	OFF)
 
 IF(NOT WITH_GAMEENGINE AND WITH_PLAYER)

Copied: branches/soc-2008-jaguarandi/intern/guardedalloc/BLO_sys_types.h (from rev 16174, trunk/blender/intern/guardedalloc/BLO_sys_types.h)
===================================================================
--- branches/soc-2008-jaguarandi/intern/guardedalloc/BLO_sys_types.h	                        (rev 0)
+++ branches/soc-2008-jaguarandi/intern/guardedalloc/BLO_sys_types.h	2008-08-18 14:33:26 UTC (rev 16175)
@@ -0,0 +1,125 @@
+/**
+ * $Id$
+ *
+ * ***** BEGIN GPL LICENSE BLOCK *****
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ *
+ * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
+ * All rights reserved.
+ *
+ * The Original Code is: all of this file.
+ *
+ * Contributor(s): none yet.
+ *
+ * ***** END GPL LICENSE BLOCK *****
+ * A platform-independent definition of [u]intXX_t
+ * Plus the accompanying header include for htonl/ntohl
+ *
+ * This file includes <sys/types.h> to define [u]intXX_t types, where
+ * XX can be 8, 16, 32 or 64. Unfortunately, not all systems have this
+ * file.
+ * - Windows uses __intXX compiler-builtin types. These are signed,
+ *   so we have to flip the signs.
+ * For these rogue platforms, we make the typedefs ourselves.
+ *
+ */
+
+/* 
+// DG: original BLO_sys_types.h is in source/blender/blenkernel 
+// but is not allowed be accessed here because of bad-level-call
+*/
+
+#ifndef BLO_SYS_TYPES_H
+#define BLO_SYS_TYPES_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+ 
+#if defined(_WIN32) && !defined(FREE_WINDOWS)
+
+/* The __intXX are built-in types of the visual complier! So we don't
+ * need to include anything else here. */
+
+typedef signed __int8  int8_t;
+typedef signed __int16 int16_t;
+typedef signed __int32 int32_t;
+typedef signed __int64 int64_t;
+
+typedef unsigned __int8  uint8_t;
+typedef unsigned __int16 uint16_t;
+typedef unsigned __int32 uint32_t;
+typedef unsigned __int64 uint64_t;
+
+#ifndef _INTPTR_T_DEFINED
+#ifdef _WIN64
+typedef __int64 intptr_t;
+#else
+typedef long intptr_t;
+#endif
+#define _INTPTR_T_DEFINED
+#endif
+
+#ifndef _UINTPTR_T_DEFINED
+#ifdef _WIN64
+typedef unsigned __int64 uintptr_t;
+#else
+typedef unsigned long uintptr_t;
+#endif
+#define _UINTPTR_T_DEFINED
+#endif
+
+#elif defined(__linux__)
+
+	/* Linux-i386, Linux-Alpha, Linux-ppc */
+#include <stdint.h>
+
+#elif defined (__APPLE__)
+
+#include <inttypes.h>
+
+#elif defined(FREE_WINDOWS)
+
+#include <stdint.h>
+
+#else
+
+	/* FreeBSD, Irix, Solaris */
+#include <sys/types.h>
+
+#endif /* ifdef platform for types */
+
+#ifdef _WIN32
+#ifndef htonl
+#define htonl(x) correctByteOrder(x)
+#endif
+#ifndef ntohl
+#define ntohl(x) correctByteOrder(x)
+#endif
+#elif defined (__FreeBSD__) || defined (__OpenBSD__) 
+#include <sys/param.h>
+#elif defined (__APPLE__)
+#include <sys/types.h>
+#else  /* irix sun linux */
+#include <netinet/in.h>
+#endif /* ifdef platform for htonl/ntohl */
+
+#ifdef __cplusplus 
+}
+#endif
+
+#endif /* eof */
+

Modified: branches/soc-2008-jaguarandi/intern/guardedalloc/intern/mallocn.c
===================================================================
--- branches/soc-2008-jaguarandi/intern/guardedalloc/intern/mallocn.c	2008-08-18 14:16:34 UTC (rev 16174)
+++ branches/soc-2008-jaguarandi/intern/guardedalloc/intern/mallocn.c	2008-08-18 14:33:26 UTC (rev 16175)
@@ -49,6 +49,8 @@
 
 #include "MEM_guardedalloc.h"
 
+#include "BLO_sys_types.h" // needed for intptr_t
+
 /* --------------------------------------------------------------------- */
 /* Data definition                                                       */
 /* --------------------------------------------------------------------- */
@@ -112,7 +114,7 @@
 	
 
 volatile int totblock= 0;
-volatile unsigned long mem_in_use= 0, mmap_in_use= 0;
+volatile uintptr_t mem_in_use= 0, mmap_in_use= 0;
 
 static volatile struct localListBase _membase;
 static volatile struct localListBase *membase = &_membase;
@@ -335,7 +337,7 @@
 /* Memory statistics print */
 typedef struct MemPrintBlock {
 	const char *name;
-	unsigned long len;
+	uintptr_t len;
 	int items;
 } MemPrintBlock;
 
@@ -485,14 +487,14 @@
 		return(-1);
 	}
 
-	if(sizeof(long)==8) {
-		if (((long) memh) & 0x7) {
+	if(sizeof(intptr_t)==8) {
+		if (((intptr_t) memh) & 0x7) {
 			MemorY_ErroR("free","attempt to free illegal pointer");
 			return(-1);
 		}
 	}
 	else {
-		if (((long) memh) & 0x3) {
+		if (((intptr_t) memh) & 0x3) {
 			MemorY_ErroR("free","attempt to free illegal pointer");
 			return(-1);
 		}

Modified: branches/soc-2008-jaguarandi/intern/guardedalloc/intern/mmap_win.c
===================================================================
--- branches/soc-2008-jaguarandi/intern/guardedalloc/intern/mmap_win.c	2008-08-18 14:16:34 UTC (rev 16174)
+++ branches/soc-2008-jaguarandi/intern/guardedalloc/intern/mmap_win.c	2008-08-18 14:33:26 UTC (rev 16175)
@@ -151,7 +151,7 @@
 }
 
 /* munmap for windows */
-long munmap(void *ptr, long size)
+intptr_t munmap(void *ptr, intptr_t size)
 {
 	MemMap *mm = mmap_findlink(mmapbase, ptr);
 	if (!mm) {

Modified: branches/soc-2008-jaguarandi/intern/guardedalloc/make/msvc_7_0/guardedalloc.vcproj
===================================================================
--- branches/soc-2008-jaguarandi/intern/guardedalloc/make/msvc_7_0/guardedalloc.vcproj	2008-08-18 14:16:34 UTC (rev 16174)
+++ branches/soc-2008-jaguarandi/intern/guardedalloc/make/msvc_7_0/guardedalloc.vcproj	2008-08-18 14:33:26 UTC (rev 16175)
@@ -262,6 +262,9 @@
 				Name="extern"
 				Filter="">
 				<File
+					RelativePath="..\..\BLO_sys_types.h">
+				</File>
+				<File
 					RelativePath="..\..\MEM_guardedalloc.h">
 				</File>
 				<File

Modified: branches/soc-2008-jaguarandi/intern/guardedalloc/mmap_win.h
===================================================================
--- branches/soc-2008-jaguarandi/intern/guardedalloc/mmap_win.h	2008-08-18 14:16:34 UTC (rev 16174)
+++ branches/soc-2008-jaguarandi/intern/guardedalloc/mmap_win.h	2008-08-18 14:33:26 UTC (rev 16175)
@@ -45,8 +45,10 @@
 
 #define MAP_FAILED ((void *)-1)
 
+#include "BLO_sys_types.h" // needed for intptr_t
+
 void *mmap(void *start, size_t len, int prot, int flags, int fd, off_t offset);
-long munmap(void *ptr, long size);
+intptr_t munmap(void *ptr, intptr_t size);
 
 #endif
 

Modified: branches/soc-2008-jaguarandi/intern/opennl/make/msvc_7_0/opennl.vcproj
===================================================================
--- branches/soc-2008-jaguarandi/intern/opennl/make/msvc_7_0/opennl.vcproj	2008-08-18 14:16:34 UTC (rev 16174)
+++ branches/soc-2008-jaguarandi/intern/opennl/make/msvc_7_0/opennl.vcproj	2008-08-18 14:33:26 UTC (rev 16175)
@@ -716,6 +716,9 @@
 				Name="superlu"
 				Filter="">
 				<File
+					RelativePath="..\..\superlu\BLO_sys_types.h">
+				</File>
+				<File
 					RelativePath="..\..\superlu\Cnames.h">
 				</File>
 				<File

Copied: branches/soc-2008-jaguarandi/intern/opennl/superlu/BLO_sys_types.h (from rev 16174, trunk/blender/intern/opennl/superlu/BLO_sys_types.h)
===================================================================
--- branches/soc-2008-jaguarandi/intern/opennl/superlu/BLO_sys_types.h	                        (rev 0)
+++ branches/soc-2008-jaguarandi/intern/opennl/superlu/BLO_sys_types.h	2008-08-18 14:33:26 UTC (rev 16175)
@@ -0,0 +1,125 @@
+/**
+ * $Id$
+ *
+ * ***** BEGIN GPL LICENSE BLOCK *****
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ *
+ * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
+ * All rights reserved.
+ *
+ * The Original Code is: all of this file.
+ *
+ * Contributor(s): none yet.
+ *
+ * ***** END GPL LICENSE BLOCK *****
+ * A platform-independent definition of [u]intXX_t
+ * Plus the accompanying header include for htonl/ntohl
+ *
+ * This file includes <sys/types.h> to define [u]intXX_t types, where
+ * XX can be 8, 16, 32 or 64. Unfortunately, not all systems have this
+ * file.
+ * - Windows uses __intXX compiler-builtin types. These are signed,
+ *   so we have to flip the signs.
+ * For these rogue platforms, we make the typedefs ourselves.
+ *
+ */
+
+/* 
+// DG: original BLO_sys_types.h is in source/blender/blenkernel 
+// but is not allowed be accessed here because of bad-level-call
+*/
+
+#ifndef BLO_SYS_TYPES_H
+#define BLO_SYS_TYPES_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+ 
+#if defined(_WIN32) && !defined(FREE_WINDOWS)
+
+/* The __intXX are built-in types of the visual complier! So we don't
+ * need to include anything else here. */
+

@@ Diff output truncated at 10240 characters. @@




More information about the Bf-blender-cvs mailing list