Blender Git Commit Log
Git Commits -> Revision d14e768
Revision d14e768 by Campbell Barton (master) April 7, 2020, 02:10 (GMT) |
Cleanup: BLI_path.h function renaming Use BLI_path_ prefix, more consistent names: BLI_parent_dir -> BLI_path_parent_dir BLI_parent_dir_until_exists -> BLI_path_parent_dir_until_exists BLI_ensure_filename -> BLI_path_filename_ensure BLI_first_slash -> BLI_path_slash_find BLI_last_slash -> BLI_path_slash_rfind BLI_add_slash -> BLI_path_slash_ensure BLI_del_slash -> BLI_path_slash_rstrip BLI_path_native_slash -> BLI_path_slash_native Rename 'cleanup' to 'normalize', similar to Python's `os.path.normpath`. BLI_cleanup_path -> BLI_path_normalize BLI_cleanup_dir -> BLI_path_normalize_dir BLI_cleanup_unc -> BLI_path_normalize_unc BLI_cleanup_unc16 -> BLI_path_normalize_unc16 Clarify naming for extracting, creating numbered paths: BLI_stringenc -> BLI_path_sequence_encode BLI_stringdec -> BLI_path_sequence_decode Part of T74506 proposal. |
Commit Details:
Full Hash: d14e76806921f9a4d686ea731364242ededb735d
Parent Commit: d54757e
Lines Changed: +156, -153
32 Modified Paths:
/source/blender/blenkernel/intern/appdir.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/blendfile.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/bpath.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/image.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/image_save.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/seqcache.c (+2, -2) (Diff)
/source/blender/blenlib/BLI_path_util.h (+13, -13) (Diff)
/source/blender/blenlib/intern/BLI_filelist.c (+1, -1) (Diff)
/source/blender/blenlib/intern/fileops.c (+13, -13) (Diff)
/source/blender/blenlib/intern/path_util.c (+37, -37) (Diff)
/source/blender/blenloader/intern/readfile.c (+3, -3) (Diff)
/source/blender/blenloader/intern/writefile.c (+2, -2) (Diff)
/source/blender/editors/space_buttons/buttons_ops.c (+3, -3) (Diff)
/source/blender/editors/space_clip/clip_buttons.c (+1, -1) (Diff)
/source/blender/editors/space_clip/clip_ops.c (+1, -1) (Diff)
/source/blender/editors/space_file/filelist.c (+9, -9) (Diff)
/source/blender/editors/space_file/filesel.c (+2, -2) (Diff)
/source/blender/editors/space_file/file_ops.c (+16, -16) (Diff)
/source/blender/editors/space_image/image_buttons.c (+1, -1) (Diff)
/source/blender/editors/space_image/image_ops.c (+2, -1) (Diff)
/source/blender/editors/space_image/image_sequence.c (+4, -4) (Diff)
/source/blender/freestyle/intern/application/Controller.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/system/StringUtils.cpp (+1, -1) (Diff)
/source/blender/imbuf/intern/anim_movie.c (+1, -1) (Diff)
/source/blender/io/collada/ImageExporter.cpp (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_files_link.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_playanim.c (+4, -2) (Diff)
/tests/gtests/blenlib/BLI_path_util_test.cc (+9, -9) (Diff)
/source/blender/blenkernel/intern/blendfile.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/bpath.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/image.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/image_save.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/seqcache.c (+2, -2) (Diff)
/source/blender/blenlib/BLI_path_util.h (+13, -13) (Diff)
/source/blender/blenlib/intern/BLI_filelist.c (+1, -1) (Diff)
/source/blender/blenlib/intern/fileops.c (+13, -13) (Diff)
/source/blender/blenlib/intern/path_util.c (+37, -37) (Diff)
/source/blender/blenloader/intern/readfile.c (+3, -3) (Diff)
/source/blender/blenloader/intern/writefile.c (+2, -2) (Diff)
/source/blender/editors/space_buttons/buttons_ops.c (+3, -3) (Diff)
/source/blender/editors/space_clip/clip_buttons.c (+1, -1) (Diff)
/source/blender/editors/space_clip/clip_ops.c (+1, -1) (Diff)
/source/blender/editors/space_file/filelist.c (+9, -9) (Diff)
/source/blender/editors/space_file/filesel.c (+2, -2) (Diff)
/source/blender/editors/space_file/file_ops.c (+16, -16) (Diff)
/source/blender/editors/space_image/image_buttons.c (+1, -1) (Diff)
/source/blender/editors/space_image/image_ops.c (+2, -1) (Diff)
/source/blender/editors/space_image/image_sequence.c (+4, -4) (Diff)
/source/blender/freestyle/intern/application/Controller.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/system/StringUtils.cpp (+1, -1) (Diff)
/source/blender/imbuf/intern/anim_movie.c (+1, -1) (Diff)
/source/blender/io/collada/ImageExporter.cpp (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_files_link.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_playanim.c (+4, -2) (Diff)
/tests/gtests/blenlib/BLI_path_util_test.cc (+9, -9) (Diff)