Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4534)

Issue 5505080: UTF Paths in Windows

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by AlexKu
Modified:
12 years, 1 month ago
Reviewers:
jesterKing, elubie, brechtvl
Base URL:
https://svn.blender.org/svnroot/bf-blender/trunk/blender/
Visibility:
Public.

Description

Add support for utf path in windows by converting utf-16 to Blender's utf-8 and back when it is needed. Adds support for Drag and Drop, Copy and Paste Current Issues: * may be it is me, but mingw won't link * Needed to be tested if other OSs aren't affected by build files * Python dislikes not ascii paths * Probably not all file calls were changed Quick search over all files http://www.pasteall.org/27870/c findintree(base path, search for, doesn't have)

Patch Set 1 #

Total comments: 6

Patch Set 2 : Updated #

Patch Set 3 : Updated to SVN #

Patch Set 4 : Updated to SVN #

Total comments: 3

Patch Set 5 : Done. Removed from elbeem, added utf LoadLibrary, fixed style #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1003 lines, -175 lines) Patch
build_files/scons/tools/Blender.py View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
intern/CMakeLists.txt View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
intern/SConscript View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
intern/ghost/CMakeLists.txt View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
intern/ghost/SConscript View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
intern/ghost/intern/GHOST_DropTargetWin32.cpp View 1 2 3 4 3 chunks +6 lines, -11 lines 0 comments Download
intern/ghost/intern/GHOST_SystemPathsWin32.cpp View 1 2 3 4 5 chunks +19 lines, -7 lines 0 comments Download
intern/ghost/intern/GHOST_SystemWin32.cpp View 1 2 3 4 11 chunks +53 lines, -26 lines 0 comments Download
intern/ghost/intern/GHOST_WindowWin32.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
intern/ghost/intern/GHOST_WindowWin32.cpp View 1 2 3 4 6 chunks +15 lines, -7 lines 0 comments Download
intern/utfconv/CMakeLists.txt View 1 chunk +24 lines, -0 lines 0 comments Download
intern/utfconv/SConscript View 1 chunk +12 lines, -0 lines 0 comments Download
intern/utfconv/utf_winfunc.h View 1 1 chunk +44 lines, -0 lines 0 comments Download
intern/utfconv/utf_winfunc.c View 1 1 chunk +143 lines, -0 lines 0 comments Download
intern/utfconv/utfconv.h View 1 1 chunk +102 lines, -0 lines 0 comments Download
intern/utfconv/utfconv.c View 1 1 chunk +234 lines, -0 lines 1 comment Download
source/blender/blenkernel/intern/blender.c View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
source/blender/blenkernel/intern/customdata_file.c View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
source/blender/blenkernel/intern/image.c View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
source/blender/blenkernel/intern/movieclip.c View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
source/blender/blenkernel/intern/packedFile.c View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
source/blender/blenkernel/intern/particle_system.c View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
source/blender/blenkernel/intern/pointcache.c View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
source/blender/blenkernel/intern/text.c View 1 2 3 4 3 chunks +3 lines, -2 lines 0 comments Download
source/blender/blenlib/BLI_fileops.h View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
source/blender/blenlib/BLI_winstuff.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
source/blender/blenlib/CMakeLists.txt View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
source/blender/blenlib/SConscript View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
source/blender/blenlib/intern/dynlib.c View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
source/blender/blenlib/intern/fileops.c View 1 2 3 4 12 chunks +85 lines, -19 lines 0 comments Download
source/blender/blenlib/intern/path_util.c View 1 2 3 4 4 chunks +13 lines, -6 lines 0 comments Download
source/blender/blenlib/intern/storage.c View 1 2 3 4 8 chunks +56 lines, -27 lines 0 comments Download
source/blender/blenlib/intern/winstuff.c View 1 2 3 4 3 chunks +41 lines, -9 lines 0 comments Download
source/blender/blenloader/intern/readfile.c View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
source/blender/blenloader/intern/runtime.c View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
source/blender/blenloader/intern/writefile.c View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
source/blender/editors/armature/reeb.c View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
source/blender/editors/curve/editfont.c View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
source/blender/editors/physics/physics_fluid.c View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
source/blender/editors/space_file/fsmenu.c View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
source/blender/editors/space_text/text_ops.c View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
source/blender/imbuf/CMakeLists.txt View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
source/blender/imbuf/SConscript View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
source/blender/imbuf/intern/bmp.c View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
source/blender/imbuf/intern/cineon/cineonlib.c View 1 2 3 4 3 chunks +3 lines, -2 lines 0 comments Download
source/blender/imbuf/intern/cineon/dpxlib.c View 1 2 3 4 4 chunks +4 lines, -3 lines 0 comments Download
source/blender/imbuf/intern/cineon/logImageLib.c View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
source/blender/imbuf/intern/indexer.c View 1 2 3 4 4 chunks +4 lines, -4 lines 0 comments Download
source/blender/imbuf/intern/iris.c View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
source/blender/imbuf/intern/jp2.c View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
source/blender/imbuf/intern/jpeg.c View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
source/blender/imbuf/intern/png.c View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
source/blender/imbuf/intern/radiance_hdr.c View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
source/blender/imbuf/intern/readimage.c View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
source/blender/imbuf/intern/targa.c View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
source/blender/imbuf/intern/thumbs.c View 1 2 3 4 2 chunks +6 lines, -1 line 0 comments Download
source/blender/imbuf/intern/thumbs_blend.c View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
source/blender/imbuf/intern/util.c View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
source/blender/modifiers/intern/MOD_fluidsim_util.c View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
source/blender/python/intern/bpy_interface.c View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
source/blender/render/intern/source/voxeldata.c View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
source/blender/windowmanager/CMakeLists.txt View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
source/blender/windowmanager/SConscript View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
source/blender/windowmanager/intern/wm_files.c View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
source/creator/CMakeLists.txt View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
source/creator/creator.c View 1 2 3 4 4 chunks +32 lines, -0 lines 0 comments Download

Messages

Total messages: 11
AlexKu
12 years, 4 months ago (2011-12-28 18:12:14 UTC) #1
elubie
http://codereview.appspot.com/5505080/diff/1/intern/utfconv/utfconv.h File intern/utfconv/utfconv.h (right): http://codereview.appspot.com/5505080/diff/1/intern/utfconv/utfconv.h#newcode10 intern/utfconv/utfconv.h:10: One general remark, we already have utf8 to wchar_t ...
12 years, 4 months ago (2011-12-29 21:01:09 UTC) #2
elubie
Some initial stuff, review is still ongoing http://codereview.appspot.com/5505080/diff/1/intern/utfconv/utf_winfunc.c File intern/utfconv/utf_winfunc.c (right): http://codereview.appspot.com/5505080/diff/1/intern/utfconv/utf_winfunc.c#newcode12 intern/utfconv/utf_winfunc.c:12: parameters should ...
12 years, 3 months ago (2012-01-02 18:06:33 UTC) #3
elubie
Some more comments, hope I'm not too picky, but I think we should start enforcing ...
12 years, 3 months ago (2012-01-03 10:55:01 UTC) #4
AlexKu
Updated
12 years, 3 months ago (2012-01-03 21:13:27 UTC) #5
AlexKu
Updated to SVN
12 years, 2 months ago (2012-02-05 18:53:59 UTC) #6
AlexKu
Updated to SVN
12 years, 1 month ago (2012-03-11 17:34:28 UTC) #7
brechtvl
It's compiling on Mac and Linux fine, also seems to be working ok. http://codereview.appspot.com/5505080/diff/23001/intern/elbeem/intern/utilities.cpp File ...
12 years, 1 month ago (2012-03-12 12:13:48 UTC) #8
AlexKu
Done. Removed from elbeem, added utf LoadLibrary, fixed style
12 years, 1 month ago (2012-03-12 18:15:51 UTC) #9
elubie
Ok, just checked the code again, apart from the license comment is now looking good ...
12 years, 1 month ago (2012-03-16 18:38:45 UTC) #10
brechtvl
12 years, 1 month ago (2012-03-19 11:38:54 UTC) #11
I'd just use GPL here, though if there's a particular reason to use BSD that
could be ok .. further LGTM.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b