Blender Git Loki

Git Commits -> Revision 4135f13

Revision 4135f13 by Andrea Weikert (master)
July 4, 2010, 21:14 (GMT)
Patch [#22339] File/installation paths changes

Update after discussions on IRC:
* operating system specific path retrieval is moved back to GHOST, nothing blender specific here though
* cleaned up path functions a bit to remove #ifdefs
* removed Cocoa from blenlib again

TODO:
* Matt, Damien, please check and correct the functions for Cocoa and Carbon, could only put back existing code but needs adjustment
* finish GHOST_getBinaryDir - this should replace the BLI_where_am_i eventually as well as BLI_getInstallationPath on Windows and get_install_dir for the blenderplayer runtime
* It would probably be nice to define GHOST_getTempDir as well and move those out
* more cleanups...

NOTE:
Things are likely broken for macs

Commit Details:

Full Hash: 4135f1310c145d8df5e1195e3205715ada8296cb
SVN Revision: 29947
Parent Commit: 83a2a4e
Lines Changed: +425, -156

2 Added Paths:

/intern/ghost/GHOST_Path-api.h (+63, -0) (View)
/intern/ghost/intern/GHOST_Path-api.cpp (+49, -0) (View)

1 Deleted Path:

/source/blender/blenlib/intern/path_util_cocoa.mm (+0, -94)

14 Modified Paths:

/intern/ghost/CMakeLists.txt (+1, -0) (Diff)
/intern/ghost/GHOST_ISystem.h (+19, -1) (Diff)
/intern/ghost/intern/GHOST_System.h (+19, -0) (Diff)
/intern/ghost/intern/GHOST_SystemCarbon.cpp (+26, -0) (Diff)
/intern/ghost/intern/GHOST_SystemCarbon.h (+21, -0) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.h (+20, -0) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.mm (+89, -0) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+38, -0) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.h (+20, -1) (Diff)
/intern/ghost/intern/GHOST_SystemX11.cpp (+20, -0) (Diff)
/intern/ghost/intern/GHOST_SystemX11.h (+20, -0) (Diff)
/source/blender/blenlib/BLI_path_util.h (+5, -0) (Diff)
/source/blender/blenlib/CMakeLists.txt (+0, -4) (Diff)
/source/blender/blenlib/intern/path_util.c (+15, -56) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021