1
0
forked from 0ad/0ad
0ad/source/lib/res/file
janwas e6be7e36d2 FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET
ERR_(FILE|PATH)_NOT_FOUND -> ERR_TNODE_NOT_FOUND, ERR_NOT_(FILE|DIR) ->
ERR_TNODE_WRONG TYPE
path_util:
- path_append: bugfix (no more extraneous /); add support for appending
slash
- path_replace: bugfix (no more warnings for expected error)
- add path_last_component, path_foreach_component
- move some defs to the header that belong there from vfs.h/path.h

file: add dir_create; move PosixFile definition here and provide
accessor for fileio
vfs: no longer automatically append slash; instead, make sure caller
does
vfs_mount:
- mount_realpath: bugfix (strip trailing /), interface improvement
- document write_target; clarify MULTIPLE_MOUNTINGS; add support for
creating real dirs
vfs_tree:
- refactor TDir::add into find, add, find_and_add
- fix TDir and TNode for dir-ends-with-slash requirement
- split up lookup into lookup_cb and path_foreach_component
- add support for inserting dirs with given mount point: tree_add_path
(needed when mounting)

wposix: get rid of weird PATH_MAX = 260 (Win32 weirdness)


TextureManager: remove no longer needed SupportedTextureFormats
GameSetup, Xeromyces: setup XMB location to data/cache/mods/official/xmb
Util: HardcodedErrorString now uses error_description_r
VFSUtil, i18n: fixes for dir slash issue

Closes #79, #80

This was SVN commit r3874.
2006-05-17 14:48:18 +00:00
..
archive_builder.cpp # more res/file refactoring (split up archive provider and builder) 2006-04-24 05:20:14 +00:00
archive_builder.h # more res/file refactoring (split up archive provider and builder) 2006-04-24 05:20:14 +00:00
archive.cpp FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET 2006-05-17 14:48:18 +00:00
archive.h # more res/file refactoring (split up archive provider and builder) 2006-04-24 05:20:14 +00:00
compression.cpp #further VFS refactor (dirent enumeration interface unified, more code sharing) 2006-04-26 22:38:25 +00:00
compression.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
file_cache.cpp # bugfixes: prevent incorrect FPU results due to 0-length files, and incorrect file caching due to timestamps delayed by long sojourn in the debugger. 2006-04-30 21:45:32 +00:00
file_cache.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
file_internal.h FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET 2006-05-17 14:48:18 +00:00
file_io.cpp FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET 2006-05-17 14:48:18 +00:00
file_io.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
file_stats.cpp Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
file_stats.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
file_util.cpp # GCC compatibility 2006-04-28 04:53:23 +00:00
file.cpp FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET 2006-05-17 14:48:18 +00:00
file.h FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET 2006-05-17 14:48:18 +00:00
path.cpp FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET 2006-05-17 14:48:18 +00:00
path.h FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET 2006-05-17 14:48:18 +00:00
trace.cpp FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET 2006-05-17 14:48:18 +00:00
trace.h # bugfixes: prevent incorrect FPU results due to 0-length files, and incorrect file caching due to timestamps delayed by long sojourn in the debugger. 2006-04-30 21:45:32 +00:00
vfs_mount.cpp FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET 2006-05-17 14:48:18 +00:00
vfs_mount.h FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET 2006-05-17 14:48:18 +00:00
vfs_optimizer.cpp # bugfixes: prevent incorrect FPU results due to 0-length files, and incorrect file caching due to timestamps delayed by long sojourn in the debugger. 2006-04-30 21:45:32 +00:00
vfs_optimizer.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00
vfs_redirector.cpp FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET 2006-05-17 14:48:18 +00:00
vfs_redirector.h #further VFS refactor (dirent enumeration interface unified, more code sharing) 2006-04-26 22:38:25 +00:00
vfs_tree.cpp FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET 2006-05-17 14:48:18 +00:00
vfs_tree.h FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET 2006-05-17 14:48:18 +00:00
vfs.cpp FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET 2006-05-17 14:48:18 +00:00
vfs.h FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET 2006-05-17 14:48:18 +00:00
zip.cpp #further VFS refactor (dirent enumeration interface unified, more code sharing) 2006-04-26 22:38:25 +00:00
zip.h Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings) 2006-04-23 23:14:18 +00:00