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 e92139fa61ae1f0ea3767aac293d75f133212140..f9700ab85c2e626fbfdc86854d1ba0c98052c19f 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 5805ae2d48585989665b972646d82d2153d4eb22..1c08a2043892c7246a31529f42c4c6900579ebfe 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 08707818b3ae5c5e291d3f18a326f3dda7092065..0beed24e7930bb4683ec24f47526ceaa060126dd 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 962f6f6a29ddcf746fc1edc4df219d748315266d..ac7e560fc19a7509da2eaae3d215b546dff5f447 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 82b6f30aa865af6625e211c08db84586206ff193..eb404e27f24ab9e3389be91d260958ca157e84dc 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 703a6407f9a53e6e880ab565f1a6528c14d78235..90d0bd70d7acb2b3e72c63e387a2058a8fbbb68e 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 23a5ec53f4786a575bcb74242439c1b4e93fc61d..24982654afd0fdb9f33fc640a05ece4ab900fd7e 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 b5f60bedc3107d0554b63dc32a55ca58d579c1db..322b8e609d031ba1abb34bfe2b815caedafc9de6 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 ca6dde8b3bde69fec0464c95443e5c38fed1dc3e..e78a58b2282a505817d2f22b361dccd364268231 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 2fefe1d9b454823f06bb2bac3bf64fb323cac2e3..715a93166571a3fceb763240204f7cee5f67f29c 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);