[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [14695] branches/soc-2008-jaguarandi: Merge from trunk
André Pinto
andresusanopinto at gmail.com
Mon May 5 19:30:34 CEST 2008
Revision: 14695
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14695
Author: jaguarandi
Date: 2008-05-05 19:30:33 +0200 (Mon, 05 May 2008)
Log Message:
-----------
Merge from trunk
svn merge -r 14626:14692 https://svn.blender.org/svnroot/bf-blender/trunk/blender
Modified Paths:
--------------
branches/soc-2008-jaguarandi/CMakeLists.txt
branches/soc-2008-jaguarandi/SConstruct
branches/soc-2008-jaguarandi/config/darwin-config.py
branches/soc-2008-jaguarandi/config/win32-vc-config.py
branches/soc-2008-jaguarandi/extern/verse/dist/v_bignum.c
branches/soc-2008-jaguarandi/intern/ghost/intern/GHOST_SystemCarbon.cpp
branches/soc-2008-jaguarandi/projectfiles_vc7/gameengine/blenderhook/KX_blenderhook.vcproj
branches/soc-2008-jaguarandi/projectfiles_vc7/gameengine/ketsji/KX_ketsji.vcproj
branches/soc-2008-jaguarandi/projectfiles_vc7/gameengine/rasterizer/RAS_rasterizer.vcproj
branches/soc-2008-jaguarandi/projectfiles_vc7/gameengine/rasterizer/openglrasterizer/RAS_openglrasterizer.vcproj
branches/soc-2008-jaguarandi/release/scripts/console.py
branches/soc-2008-jaguarandi/release/scripts/wizard_curve2tree.py
branches/soc-2008-jaguarandi/release/scripts/x3d_export.py
branches/soc-2008-jaguarandi/source/blender/blenkernel/BKE_node.h
branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/DerivedMesh.c
branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/constraint.c
branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/image.c
branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/library.c
branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/mball.c
branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/node.c
branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/packedFile.c
branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/particle_system.c
branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/pointcache.c
branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/sound.c
branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/text.c
branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/writeavi.c
branches/soc-2008-jaguarandi/source/blender/blenkernel/intern/writeffmpeg.c
branches/soc-2008-jaguarandi/source/blender/blenlib/BLI_blenlib.h
branches/soc-2008-jaguarandi/source/blender/blenlib/intern/bpath.c
branches/soc-2008-jaguarandi/source/blender/blenlib/intern/util.c
branches/soc-2008-jaguarandi/source/blender/blenloader/intern/genfile.c
branches/soc-2008-jaguarandi/source/blender/include/BIF_screen.h
branches/soc-2008-jaguarandi/source/blender/include/butspace.h
branches/soc-2008-jaguarandi/source/blender/nodes/intern/SHD_nodes/SHD_dynamic.c
branches/soc-2008-jaguarandi/source/blender/python/BPY_interface.c
branches/soc-2008-jaguarandi/source/blender/python/BPY_menus.c
branches/soc-2008-jaguarandi/source/blender/python/api2_2x/Blender.c
branches/soc-2008-jaguarandi/source/blender/python/api2_2x/Library.c
branches/soc-2008-jaguarandi/source/blender/python/api2_2x/Library.h
branches/soc-2008-jaguarandi/source/blender/python/api2_2x/Node.c
branches/soc-2008-jaguarandi/source/blender/python/api2_2x/Sys.c
branches/soc-2008-jaguarandi/source/blender/python/api2_2x/doc/LibData.py
branches/soc-2008-jaguarandi/source/blender/python/api2_2x/sceneRender.c
branches/soc-2008-jaguarandi/source/blender/quicktime/apple/quicktime_export.c
branches/soc-2008-jaguarandi/source/blender/render/intern/source/pipeline.c
branches/soc-2008-jaguarandi/source/blender/src/buttons_editing.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/buttons_shading.c
branches/soc-2008-jaguarandi/source/blender/src/drawimage.c
branches/soc-2008-jaguarandi/source/blender/src/drawobject.c
branches/soc-2008-jaguarandi/source/blender/src/drawview.c
branches/soc-2008-jaguarandi/source/blender/src/editcurve.c
branches/soc-2008-jaguarandi/source/blender/src/editdeform.c
branches/soc-2008-jaguarandi/source/blender/src/editimasel.c
branches/soc-2008-jaguarandi/source/blender/src/editipo.c
branches/soc-2008-jaguarandi/source/blender/src/editobject.c
branches/soc-2008-jaguarandi/source/blender/src/editscreen.c
branches/soc-2008-jaguarandi/source/blender/src/editsima.c
branches/soc-2008-jaguarandi/source/blender/src/editsound.c
branches/soc-2008-jaguarandi/source/blender/src/filesel.c
branches/soc-2008-jaguarandi/source/blender/src/fluidsim.c
branches/soc-2008-jaguarandi/source/blender/src/ghostwinlay.c
branches/soc-2008-jaguarandi/source/blender/src/header_action.c
branches/soc-2008-jaguarandi/source/blender/src/header_ipo.c
branches/soc-2008-jaguarandi/source/blender/src/header_nla.c
branches/soc-2008-jaguarandi/source/blender/src/interface_draw.c
branches/soc-2008-jaguarandi/source/blender/src/outliner.c
branches/soc-2008-jaguarandi/source/blender/src/screendump.c
branches/soc-2008-jaguarandi/source/blender/src/seqaudio.c
branches/soc-2008-jaguarandi/source/blender/src/sequence.c
branches/soc-2008-jaguarandi/source/blender/src/space.c
branches/soc-2008-jaguarandi/source/blender/src/view.c
branches/soc-2008-jaguarandi/source/blender/src/writeimage.c
branches/soc-2008-jaguarandi/source/blender/src/writemovie.c
branches/soc-2008-jaguarandi/source/blender/yafray/intern/export_File.cpp
branches/soc-2008-jaguarandi/source/blender/yafray/intern/export_Plugin.cpp
branches/soc-2008-jaguarandi/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
branches/soc-2008-jaguarandi/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp
branches/soc-2008-jaguarandi/source/gameengine/Converter/BL_BlenderDataConversion.cpp
branches/soc-2008-jaguarandi/source/gameengine/Converter/KX_ConvertActuators.cpp
branches/soc-2008-jaguarandi/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp
branches/soc-2008-jaguarandi/source/gameengine/GameLogic/SCA_MouseSensor.cpp
branches/soc-2008-jaguarandi/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp
branches/soc-2008-jaguarandi/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_BlenderMaterial.cpp
branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_BlenderMaterial.h
branches/soc-2008-jaguarandi/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.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_Scene.cpp
branches/soc-2008-jaguarandi/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp
branches/soc-2008-jaguarandi/source/gameengine/Physics/Bullet/CcdPhysicsController.h
branches/soc-2008-jaguarandi/source/gameengine/Rasterizer/RAS_BucketManager.cpp
branches/soc-2008-jaguarandi/source/gameengine/Rasterizer/RAS_IRenderTools.h
branches/soc-2008-jaguarandi/source/gameengine/Rasterizer/RAS_MaterialBucket.cpp
Modified: branches/soc-2008-jaguarandi/CMakeLists.txt
===================================================================
--- branches/soc-2008-jaguarandi/CMakeLists.txt 2008-05-05 17:29:11 UTC (rev 14694)
+++ branches/soc-2008-jaguarandi/CMakeLists.txt 2008-05-05 17:30:33 UTC (rev 14695)
@@ -250,6 +250,10 @@
ELSE (MSVC80)
SET(OPENEXR_LIBPATH ${OPENEXR}/lib_msvc)
ENDIF(MSVC80)
+ IF (MSVC90)
+ SET(OPENEXR_LIBPATH ${OPENEXR}/lib_vs2008)
+ ENDIF(MSVC90)
+
SET(QUICKTIME ${LIBDIR}/QTDevWin)
SET(QUICKTIME_INC ${QUICKTIME}/CIncludes)
Modified: branches/soc-2008-jaguarandi/SConstruct
===================================================================
--- branches/soc-2008-jaguarandi/SConstruct 2008-05-05 17:29:11 UTC (rev 14694)
+++ branches/soc-2008-jaguarandi/SConstruct 2008-05-05 17:30:33 UTC (rev 14695)
@@ -398,9 +398,26 @@
if '.svn' in tn:
tn.remove('.svn')
for f in tf:
+ print ">>>", env['BF_INSTALLDIR'], tp, f
pluglist.append(tp+os.sep+f)
plugtargetlist.append(env['BF_INSTALLDIR']+tp[7:]+os.sep+f)
+# header files for plugins
+pluglist.append('source/blender/blenpluginapi/documentation.h')
+plugtargetlist.append(env['BF_INSTALLDIR'] + os.sep + 'plugins' + os.sep + 'include' + os.sep +'documentation.h')
+pluglist.append('source/blender/blenpluginapi/externdef.h')
+plugtargetlist.append(env['BF_INSTALLDIR'] + os.sep + 'plugins' + os.sep + 'include' + os.sep +'externdef.h')
+pluglist.append('source/blender/blenpluginapi/floatpatch.h')
+plugtargetlist.append(env['BF_INSTALLDIR'] + os.sep + 'plugins' + os.sep + 'include' + os.sep +'floatpatch.h')
+pluglist.append('source/blender/blenpluginapi/iff.h')
+plugtargetlist.append(env['BF_INSTALLDIR'] + os.sep + 'plugins' + os.sep + 'include' + os.sep +'iff.h')
+pluglist.append('source/blender/blenpluginapi/plugin.h')
+plugtargetlist.append(env['BF_INSTALLDIR'] + os.sep + 'plugins' + os.sep + 'include' + os.sep +'plugin.h')
+pluglist.append('source/blender/blenpluginapi/util.h')
+plugtargetlist.append(env['BF_INSTALLDIR'] + os.sep + 'plugins' + os.sep + 'include' + os.sep +'util.h')
+pluglist.append('source/blender/blenpluginapi/plugin.DEF')
+plugtargetlist.append(env['BF_INSTALLDIR'] + os.sep + 'plugins' + os.sep + 'include' + os.sep + 'plugin.def')
+
plugininstall = []
for targetdir,srcfile in zip(plugtargetlist, pluglist):
td, tf = os.path.split(targetdir)
Modified: branches/soc-2008-jaguarandi/config/darwin-config.py
===================================================================
--- branches/soc-2008-jaguarandi/config/darwin-config.py 2008-05-05 17:29:11 UTC (rev 14694)
+++ branches/soc-2008-jaguarandi/config/darwin-config.py 2008-05-05 17:30:33 UTC (rev 14695)
@@ -221,9 +221,10 @@
CCFLAGS=SDK_FLAGS+CCFLAGS
CXXFLAGS=SDK_FLAGS+CXXFLAGS
+# you can add -mssse3 if gcc >= 4.2
if MAC_PROC == 'i386':
- REL_CFLAGS = ['-O2','-ftree-vectorize','-msse','-msse2','-msse3','-mssse3']
- REL_CCFLAGS = ['-O2','-ftree-vectorize','-msse','-msse2','-msse3','-mssse3']
+ REL_CFLAGS = ['-O2','-ftree-vectorize','-msse','-msse2','-msse3']
+ REL_CCFLAGS = ['-O2','-ftree-vectorize','-msse','-msse2','-msse3']
else:
CFLAGS = CFLAGS+['-fno-strict-aliasing']
CCFLAGS = CCFLAGS+['-fno-strict-aliasing']
Modified: branches/soc-2008-jaguarandi/config/win32-vc-config.py
===================================================================
--- branches/soc-2008-jaguarandi/config/win32-vc-config.py 2008-05-05 17:29:11 UTC (rev 14694)
+++ branches/soc-2008-jaguarandi/config/win32-vc-config.py 2008-05-05 17:30:33 UTC (rev 14695)
@@ -170,7 +170,6 @@
/NODEFAULTLIB:"libcd.lib"
/NODEFAULTLIB:"libcpd.lib"
/NODEFAULTLIB:"libcp.lib"
- /NODEFAULTLIB:"libcmtd.lib"
'''
BF_BUILDDIR = '..\\build\\win32-vc'
Modified: branches/soc-2008-jaguarandi/extern/verse/dist/v_bignum.c
===================================================================
--- branches/soc-2008-jaguarandi/extern/verse/dist/v_bignum.c 2008-05-05 17:29:11 UTC (rev 14694)
+++ branches/soc-2008-jaguarandi/extern/verse/dist/v_bignum.c 2008-05-05 17:30:33 UTC (rev 14695)
@@ -768,7 +768,7 @@
for(j = i + 1; j < t; j++)
{
/* printf("computing uv=%X+2*%X*%X+%X\n", w[i + j], x[1 + j], x[1 + i], c);*/
- uv = x[1 + j] * x[1 + i];
+ uv = ((VBigDigs)x[1 + j]) * ((VBigDigs)x[1 + i]);
high = (uv & 0x80000000) != 0;
uv *= 2;
ouv = uv; /* Addition below might wrap and generate high bit. */
Modified: branches/soc-2008-jaguarandi/intern/ghost/intern/GHOST_SystemCarbon.cpp
===================================================================
--- branches/soc-2008-jaguarandi/intern/ghost/intern/GHOST_SystemCarbon.cpp 2008-05-05 17:29:11 UTC (rev 14694)
+++ branches/soc-2008-jaguarandi/intern/ghost/intern/GHOST_SystemCarbon.cpp 2008-05-05 17:30:33 UTC (rev 14695)
@@ -34,10 +34,9 @@
* @date May 7, 2001
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <Carbon/Carbon.h>
+#include <ApplicationServices/ApplicationServices.h>
#include "GHOST_SystemCarbon.h"
#include "GHOST_DisplayManagerCarbon.h"
@@ -52,6 +51,7 @@
#include "GHOST_WindowManager.h"
#include "GHOST_WindowCarbon.h"
#include "GHOST_NDOFManager.h"
+#include "AssertMacros.h"
#define GHOST_KEY_SWITCH(mac, ghost) { case (mac): ghostKey = (ghost); break; }
@@ -1121,13 +1121,16 @@
OSStatus err = noErr;
GHOST_TUns8 * temp_buff;
CFRange range;
+ OSStatus syncFlags;
err = PasteboardCreate(kPasteboardClipboard, &inPasteboard);
if(err != noErr) { return NULL;}
- err = PasteboardSynchronize( inPasteboard );
- if(err != noErr) { return NULL;}
+ syncFlags = PasteboardSynchronize( inPasteboard );
+ /* as we always get in a new string, we can safely ignore sync flags if not an error*/
+ if(syncFlags <0) { return NULL;}
+
err = PasteboardGetItemIdentifier( inPasteboard, 1, &itemID );
if(err != noErr) { return NULL;}
@@ -1152,15 +1155,18 @@
void GHOST_SystemCarbon::putClipboard(GHOST_TInt8 *buffer, int flag) const
{
if(flag == 1) {return;} //If Flag is 1 means the selection and is used on X11
+
PasteboardRef inPasteboard;
CFDataRef textData = NULL;
OSStatus err = noErr; /*For error checking*/
+ OSStatus syncFlags;
err = PasteboardCreate(kPasteboardClipboard, &inPasteboard);
if(err != noErr) { return;}
- err = PasteboardSynchronize( inPasteboard );
- if(err != noErr) { return;}
+ syncFlags = PasteboardSynchronize( inPasteboard );
+ /* as we always put in a new string, we can safely ignore sync flags */
+ if(syncFlags <0) { return;}
err = PasteboardClear( inPasteboard );
if(err != noErr) { return;}
Modified: branches/soc-2008-jaguarandi/projectfiles_vc7/gameengine/blenderhook/KX_blenderhook.vcproj
===================================================================
--- branches/soc-2008-jaguarandi/projectfiles_vc7/gameengine/blenderhook/KX_blenderhook.vcproj 2008-05-05 17:29:11 UTC (rev 14694)
+++ branches/soc-2008-jaguarandi/projectfiles_vc7/gameengine/blenderhook/KX_blenderhook.vcproj 2008-05-05 17:30:33 UTC (rev 14695)
@@ -22,7 +22,7 @@
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\..\build\msvc_7\intern\moto\include;..\..\..\..\build\msvc_7\intern\string\include;..\..\..\..\build\msvc_7\intern\bmfont\include;..\..\..\..\build\msvc_7\intern\soundsystem\include;..\..\..\..\build\msvc_7\intern\guardedalloc\include;..\..\..\..\build\msvc_7\extern\solid\include;..\..\..\..\lib\windows\python\include\python2.5;..\..\..\source\blender;..\..\..\source\blender\misc;..\..\..\source\blender\imbuf;..\..\..\source\blender\blenlib;..\..\..\source\blender\include;..\..\..\source\blender\makesdna;..\..\..\source\blender\blenloader;..\..\..\source\blender\blenkernel;..\..\..\source\kernel\gen_system;..\..\..\source\gameengine\ketsji;..\..\..\source\gameengine\network;..\..\..\source\gameengine\rasterizer;..\..\..\source\gameengine\Converter;..\..\..\source\gameengine\gamelogic;..\..\..\source\gameengine\scenegraph;..\..\..\source\gameengine\expressions;..\..\..\source\gameengine\Physics\Sumo;..\..\..\source\gameengine\Physics\common;..\..\..\source\gameengine\network\loopbacknetwork;..\..\..\source\gameengine\rasterizer\ras_openglrasterizer;..\..\..\source\gameengine\Physics\Sumo\Fuzzics\include"
- PreprocessorDefinitions="WIN32,_LIB,_DEBUG"
+ PreprocessorDefinitions="WIN32;_LIB;_DEBUG;WITH_GLEXT"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
DefaultCharIsUnsigned="TRUE"
Modified: branches/soc-2008-jaguarandi/projectfiles_vc7/gameengine/ketsji/KX_ketsji.vcproj
===================================================================
--- branches/soc-2008-jaguarandi/projectfiles_vc7/gameengine/ketsji/KX_ketsji.vcproj 2008-05-05 17:29:11 UTC (rev 14694)
+++ branches/soc-2008-jaguarandi/projectfiles_vc7/gameengine/ketsji/KX_ketsji.vcproj 2008-05-05 17:30:33 UTC (rev 14695)
@@ -127,7 +127,7 @@
Name="VCCLCompilerTool"
Optimization="0"
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list