Blender Git Loki

Git Commits -> Revision f11a6d3

Revision f11a6d3 by Alexander Kuznetsov (master)
March 20, 2012, 02:17 (GMT)
Adds support for utf paths on Windows.

Not all file formats/calls are supported yet. It will be expended.

Please from now on use BLI_fopen, BLI_* for file manipulations.
For non-windows systems BLI_fopen just calls fopen.
For Windows, the utf-8 string is translated to utf-16 string in order to call UTF version of the function.

Commit Details:

Full Hash: f11a6d3a847e8e18faefd8694373d2f11b5ec802
SVN Revision: 45012
Parent Commit: deea1f3
Lines Changed: +1012, -175

6 Added Paths:

/intern/utfconv/CMakeLists.txt (+24, -0) (View)
/intern/utfconv/SConscript (+12, -0) (View)
/intern/utfconv/utfconv.c (+232, -0) (View)
/intern/utfconv/utfconv.h (+102, -0) (View)
/intern/utfconv/utf_winfunc.c (+156, -0) (View)
/intern/utfconv/utf_winfunc.h (+44, -0) (View)

60 Modified Paths:

/build_files/scons/tools/Blender.py (+1, -0) (Diff)
/intern/CMakeLists.txt (+5, -0) (Diff)
/intern/ghost/CMakeLists.txt (+4, -0) (Diff)
/intern/ghost/intern/GHOST_DropTargetWin32.cpp (+6, -11) (Diff)
/intern/ghost/intern/GHOST_SystemPathsWin32.cpp (+19, -7) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+51, -26) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.cpp (+15, -7) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.h (+2, -2) (Diff)
/intern/ghost/SConscript (+1, -0) (Diff)
/intern/SConscript (+1, -0) (Diff)
/source/blender/blenkernel/intern/blender.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/customdata_file.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/image.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/packedFile.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/text.c (+3, -2) (Diff)
/source/blender/blenlib/BLI_fileops.h (+7, -0) (Diff)
/source/blender/blenlib/BLI_winstuff.h (+1, -1) (Diff)
/source/blender/blenlib/CMakeLists.txt (+6, -0) (Diff)
/source/blender/blenlib/intern/dynlib.c (+7, -1) (Diff)
/source/blender/blenlib/intern/fileops.c (+85, -19) (Diff)
/source/blender/blenlib/intern/path_util.c (+13, -6) (Diff)
/source/blender/blenlib/intern/storage.c (+56, -27) (Diff)
/source/blender/blenlib/intern/winstuff.c (+41, -9) (Diff)
/source/blender/blenlib/SConscript (+1, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/blenloader/intern/runtime.c (+2, -2) (Diff)
/source/blender/blenloader/intern/writefile.c (+1, -1) (Diff)
/source/blender/editors/armature/reeb.c (+1, -1) (Diff)
/source/blender/editors/curve/editfont.c (+1, -1) (Diff)
/source/blender/editors/physics/physics_fluid.c (+1, -1) (Diff)
/source/blender/editors/space_file/fsmenu.c (+2, -2) (Diff)
/source/blender/editors/space_text/text_ops.c (+1, -1) (Diff)
/source/blender/imbuf/CMakeLists.txt (+6, -0) (Diff)
/source/blender/imbuf/intern/bmp.c (+1, -1) (Diff)
/source/blender/imbuf/intern/cineon/cineonlib.c (+3, -2) (Diff)
/source/blender/imbuf/intern/cineon/dpxlib.c (+4, -3) (Diff)
/source/blender/imbuf/intern/cineon/logImageLib.c (+2, -1) (Diff)
/source/blender/imbuf/intern/indexer.c (+4, -4) (Diff)
/source/blender/imbuf/intern/iris.c (+1, -1) (Diff)
/source/blender/imbuf/intern/jp2.c (+1, -1) (Diff)
/source/blender/imbuf/intern/jpeg.c (+3, -3) (Diff)
/source/blender/imbuf/intern/png.c (+1, -1) (Diff)
/source/blender/imbuf/intern/radiance_hdr.c (+1, -1) (Diff)
/source/blender/imbuf/intern/readimage.c (+3, -3) (Diff)
/source/blender/imbuf/intern/targa.c (+1, -1) (Diff)
/source/blender/imbuf/intern/thumbs.c (+6, -1) (Diff)
/source/blender/imbuf/intern/thumbs_blend.c (+2, -2) (Diff)
/source/blender/imbuf/intern/util.c (+1, -1) (Diff)
/source/blender/imbuf/SConscript (+1, -0) (Diff)
/source/blender/modifiers/intern/MOD_fluidsim_util.c (+3, -3) (Diff)
/source/blender/python/intern/bpy_interface.c (+2, -1) (Diff)
/source/blender/render/intern/source/voxeldata.c (+2, -2) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+6, -0) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+3, -3) (Diff)
/source/blender/windowmanager/SConscript (+1, -0) (Diff)
/source/creator/CMakeLists.txt (+5, -0) (Diff)
/source/creator/creator.c (+32, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021