2.5
authorAndrea Weikert <elubie@gmx.net>
Sat, 20 Dec 2008 12:43:53 +0000 (12:43 +0000)
committerAndrea Weikert <elubie@gmx.net>
Sat, 20 Dec 2008 12:43:53 +0000 (12:43 +0000)
* fix lost declaration and missing includes after blenlib cleanup.
* bump warning level to W3 for Debug in a few libraries for MSVC9 projectfiles. Others will follow.

projectfiles_vc9/blender/avi/BL_avi.vcproj
projectfiles_vc9/blender/blenkernel/BKE_blenkernel.vcproj
projectfiles_vc9/blender/blenlib/BLI_blenlib.vcproj
projectfiles_vc9/blender/editors/ED_editors.vcproj
projectfiles_vc9/blender/gpu/BL_gpu.vcproj
projectfiles_vc9/blender/imbuf/BL_imbuf.vcproj
projectfiles_vc9/blender/loader/BLO_loader.vcproj
projectfiles_vc9/blender/nodes/nodes.vcproj
source/blender/blenlib/BLI_util.h
source/blender/blenlib/intern/string.c

index e92139f..f9700ab 100644 (file)
@@ -4,6 +4,7 @@
        Version="9,00"\r
        Name="BL_avi"\r
        ProjectGUID="{9A307EE5-CD77-47BC-BD87-62508C7E19D8}"\r
+       RootNamespace="BL_avi"\r
        TargetFrameworkVersion="131072"\r
        >\r
        <Platforms>\r
                                AssemblerListingLocation="..\..\..\..\build\msvc_9\source\blender\avi\debug\"\r
                                ObjectFile="..\..\..\..\build\msvc_9\source\blender\avi\debug\"\r
                                ProgramDataBaseFileName="..\..\..\..\build\msvc_9\source\blender\avi\debug\"\r
-                               WarningLevel="2"\r
+                               WarningLevel="3"\r
                                SuppressStartupBanner="true"\r
                                DebugInformationFormat="3"\r
                                CompileAs="0"\r
index 5805ae2..1c08a20 100644 (file)
                                AssemblerListingLocation="..\..\..\..\build\msvc_9\source\blender\blenkernel\debug\"\r
                                ObjectFile="..\..\..\..\build\msvc_9\source\blender\blenkernel\debug\"\r
                                ProgramDataBaseFileName="..\..\..\..\build\msvc_9\source\blender\blenkernel\debug\"\r
-                               WarningLevel="2"\r
+                               WarningLevel="3"\r
                                SuppressStartupBanner="true"\r
                                DebugInformationFormat="3"\r
                                CompileAs="0"\r
index 0870781..0beed24 100644 (file)
                                AssemblerListingLocation="..\..\..\..\build\msvc_9\source\blender\blenlib\debug\"\r
                                ObjectFile="..\..\..\..\build\msvc_9\source\blender\blenlib\debug\"\r
                                ProgramDataBaseFileName="..\..\..\..\build\msvc_9\source\blender\blenlib\debug\"\r
-                               WarningLevel="2"\r
+                               WarningLevel="4"\r
                                SuppressStartupBanner="true"\r
                                DebugInformationFormat="3"\r
                                CompileAs="0"\r
index 962f6f6..ac7e560 100644 (file)
                <Filter\r
                        Name="util"\r
                        >\r
-                       <File\r
-                               RelativePath="..\..\..\source\blender\editors\util\ed_markers.c"\r
-                               >\r
-                       </File>\r
                        <File\r
                                RelativePath="..\..\..\source\blender\editors\util\ed_util.c"\r
                                >\r
index 82b6f30..eb404e2 100644 (file)
                                AssemblerListingLocation="..\..\..\..\build\msvc_9\source\blender\gpu\debug\"\r
                                ObjectFile="..\..\..\..\build\msvc_9\source\blender\gpu\debug\"\r
                                ProgramDataBaseFileName="..\..\..\..\build\msvc_9\source\blender\gpu\debug\"\r
-                               WarningLevel="2"\r
+                               WarningLevel="3"\r
                                SuppressStartupBanner="true"\r
                                DebugInformationFormat="3"\r
                                CompileAs="0"\r
index 703a640..90d0bd7 100644 (file)
@@ -4,6 +4,7 @@
        Version="9,00"\r
        Name="BL_imbuf"\r
        ProjectGUID="{415BFD6E-64CF-422B-AF88-C07F040A7292}"\r
+       RootNamespace="BL_imbuf"\r
        TargetFrameworkVersion="131072"\r
        >\r
        <Platforms>\r
@@ -52,7 +53,7 @@
                                AssemblerListingLocation="..\..\..\..\build\msvc_9\source\blender\imbuf\debug\"\r
                                ObjectFile="..\..\..\..\build\msvc_9\source\blender\imbuf\debug\"\r
                                ProgramDataBaseFileName="..\..\..\..\build\msvc_9\source\blender\imbuf\debug\"\r
-                               WarningLevel="2"\r
+                               WarningLevel="3"\r
                                SuppressStartupBanner="true"\r
                                DebugInformationFormat="3"\r
                                CompileAs="0"\r
index 23a5ec5..2498265 100644 (file)
@@ -53,7 +53,7 @@
                                AssemblerListingLocation="..\..\..\..\build\msvc_9\source\blender\loader\debug\"\r
                                ObjectFile="..\..\..\..\build\msvc_9\source\blender\loader\debug\"\r
                                ProgramDataBaseFileName="..\..\..\..\build\msvc_9\source\blender\loader\debug\"\r
-                               WarningLevel="2"\r
+                               WarningLevel="3"\r
                                SuppressStartupBanner="true"\r
                                DebugInformationFormat="3"\r
                                CompileAs="0"\r
index b5f60be..322b8e6 100644 (file)
                                AssemblerListingLocation="..\..\..\..\build\msvc_9\source\blender\nodes\debug\"\r
                                ObjectFile="..\..\..\..\build\msvc_9\source\blender\nodes\debug\"\r
                                ProgramDataBaseFileName="..\..\..\..\build\msvc_9\source\blender\nodes\debug\"\r
-                               WarningLevel="2"\r
+                               WarningLevel="3"\r
                                Detect64BitPortabilityProblems="false"\r
                                DebugInformationFormat="3"\r
                                CompileAs="0"\r
index ca6dde8..e78a58b 100644 (file)
@@ -55,6 +55,9 @@ int BLI_stringdec(char *string, char *kop, char *start, unsigned short *numlen);
 void BLI_stringenc(char *string, char *kop, char *start, unsigned short numlen, int pic);
 void BLI_splitdirstring(char *di,char *fi);
 
+/* make sure path separators conform to system one */
+void BLI_clean(char *path);
+
 /**
         * dir can be any input, like from buttons, and this function
         * converts it to a regular full path.
index 2fefe1d..715a931 100644 (file)
 #include <string.h>
 #include <stdlib.h>
 #include <stdarg.h>
+#include <ctype.h>
 
 #include "MEM_guardedalloc.h"
 
+#include "BLI_string.h"
+
 char *BLI_strdupn(const char *str, int len) {
        char *n= MEM_mallocN(len+1, "strdup");
        memcpy(n, str, len);