1
0
forked from 0ad/0ad
Commit Graph

61 Commits

Author SHA1 Message Date
c28c5a1beb fix of VC2k5 fix (both pointers to tokenized string are now char*)
This was SVN commit r1186.
2004-09-22 00:46:12 +00:00
a1bd91d198 VC2k5 fix: don't keep converting char* -> const char* -> char*
This was SVN commit r1184.
2004-09-21 22:10:49 +00:00
0868b2ee6c VC2k5 fix: strchr return value saved as const char* (cf Stu's CVS report #161)
This was SVN commit r1183.
2004-09-21 18:43:58 +00:00
d3f452cd80 - add vfs_io_complete (wasn't in header) and vfs_size (convenience function)
- have vfs_load allocate the buffer, so mem_assign is no longer needed.
exposes buffer alignment requirement to VFS, but hey. simplifies things
a good bit.
- moved performance measuring crap to vfs_timed_io, a wrapper function
- various fixes for streaming code

This was SVN commit r1159.
2004-09-19 15:42:32 +00:00
1aae7dcead more dox!
also found problem with partial reads from zip; not important since all
files are currently loaded in one go, but will attack tomorrow.

This was SVN commit r1065.
2004-08-27 00:33:20 +00:00
df5ba1f690 simplification: only VFS allocates output buffer
This was SVN commit r1051.
2004-08-24 17:34:00 +00:00
0706801286 heeding thoreau's "simplify" call. fat trimmed from tree_lookup and remount;
no longer support single archives: discussed with stu, it's not
necessary

This was SVN commit r1020.
2004-08-19 12:02:15 +00:00
4934c7cbe2 don't cache VDir (not copy equivalent). fixes bug that caused terrain textures not to load.
also renamed FileIO

This was SVN commit r1014.
2004-08-18 02:06:23 +00:00
611ec4f10d add throughput measure
This was SVN commit r1002.
2004-08-16 13:19:10 +00:00
48ecbe3c48 VFS wraps async IO control block in a handle (better separation of powers ;))
This was SVN commit r1000.
2004-08-15 21:49:17 +00:00
0b452320ef add callback for sync I/O (useful for reporting progress)
This was SVN commit r978.
2004-08-12 15:51:31 +00:00
df9dcc5711 opening files as a directory -> problem with dir_watch. solved
This was SVN commit r977.
2004-08-11 23:25:37 +00:00
04c4e7ae02 now case-insensitive; added tags to each path variable to tell what kind
also fixed some bugs, Zip loading is successfully integrated.

This was SVN commit r975.
2004-08-11 20:24:26 +00:00
e4867475dd no longer use LOC_ZIP
This was SVN commit r957.
2004-08-10 15:58:54 +00:00
0b3361b6f5 several bugfixes for loading from Zip (currently broken)
This was SVN commit r950.
2004-08-09 16:46:57 +00:00
ca9174e1d8 update vfs_load; now returns handle with the correct file size (i.e. leaving out padding)
This was SVN commit r934.
2004-08-07 13:45:03 +00:00
bcbb2a36c7 missing brace - d'oh!
This was SVN commit r916.
2004-08-05 14:06:16 +00:00
a91b0d9368 only store HMem if FILE_CACHE
This was SVN commit r915.
2004-08-05 14:02:10 +00:00
338b849b4c FILE_CACHE flag: overrides default of not caching the file handle (see explanation in latest build thread)
This was SVN commit r910.
2004-08-05 12:48:13 +00:00
78d47d3016 fixed funny bug: file write handles were cached; VFS writes (eg. screenshots) led to reload -> wiped out file contents
temp solution: do not cache file writes; see latest build thread.

This was SVN commit r885.
2004-08-02 22:16:18 +00:00
a060a65a95 attempt to get Zip archives working (problem with directory traverse in VFS). not quite there yet
This was SVN commit r867.
2004-07-31 19:36:06 +00:00
2c23606c31 hook up aio; cleanup; commenting
This was SVN commit r850.
2004-07-31 11:03:17 +00:00
d5197e3c77 revised mount logic; now stores the mount point and uses it to correctly convert from VFS to native paths
This was SVN commit r675.
2004-07-09 19:58:43 +00:00
41d8db6f81 add vfs_exists, uncached_io, and change IO interface to value-return buffer param (void**)
This was SVN commit r671.
2004-07-09 02:17:37 +00:00
b7a05fd50b fix iterator invalidation bug triggered by multiple mount points; add vfs_uncached_io()
This was SVN commit r657.
2004-07-08 14:38:58 +00:00
7bb375ac69 completed support for writing files (hopefully). now adds them to the VFS tree.
also removed VFS file open flags, used file.h flags instead

This was SVN commit r632.
2004-07-05 02:32:43 +00:00
64444251d4 fixed bug (missing else) reported by philip. thanks!
This was SVN commit r615.
2004-06-30 18:47:15 +00:00
ddd7821425 res reload callback interface change: now also receives handle of object being reloaded. simplifies tex reload code
This was SVN commit r602.
2004-06-25 22:19:19 +00:00
cc02e9ea97 more abstraction in VFS<->dir watch interface (thinking of using dazuko and/or FAM)
This was SVN commit r594.
2004-06-23 16:29:03 +00:00
fc476e04f6 stomped on numerous warnings
This was SVN commit r584.
2004-06-21 16:29:47 +00:00
38bfabeb38 fixed goto problem with gcc - was jumping over an (unused) var decl
This was SVN commit r535.
2004-06-18 14:59:50 +00:00
941f7c3661 bullet-proofing - fail if reloading VDir
This was SVN commit r531.
2004-06-18 13:32:33 +00:00
e1997e6b31 added a few comments
This was SVN commit r506.
2004-06-14 12:59:15 +00:00
ed23cb7cc1 hopefully bulletproof is_subpath
This was SVN commit r497.
2004-06-13 19:13:32 +00:00
da1e6df5f0 uhoh, yet another problem. quick fix so others aren't impacted; investigating
This was SVN commit r496.
2004-06-13 17:15:38 +00:00
3893d1597d fixed loophole in mount path handling (cannot now mount parent dir of a previous mounting)
This was SVN commit r495.
2004-06-13 16:58:22 +00:00
f1713bbca0 improved mount logic; added comments
This was SVN commit r491.
2004-06-13 16:12:54 +00:00
15ca5cbf21 newline stomper and fixed warnings
This was SVN commit r473.
2004-06-11 02:14:18 +00:00
5b8d980809 Fixed path_validate debug statement
This was SVN commit r438.
2004-06-09 13:44:12 +00:00
825289242a added vfs_get_path (bad name) - returns the VFS path to a given real dir
(used by res.cpp to translate paths from WFAM)

This was SVN commit r426.
2004-06-08 15:21:42 +00:00
f9ad314f5a fix empty-statement warning (i.e. comment out - that spot isn't implemented yet)
This was SVN commit r407.
2004-06-07 00:04:37 +00:00
2dcb0d8056 more header fixes
This was SVN commit r401.
2004-06-04 17:47:12 +00:00
0dc6007fbd (re)added headers so it'll work without HAVE_PCH
This was SVN commit r396.
2004-06-04 12:41:53 +00:00
c7a84e84be added precompiled.h everywhere
This was SVN commit r392.
2004-06-03 18:38:14 +00:00
cb75497412 documentation! w00t
This was SVN commit r385.
2004-06-03 13:57:00 +00:00
2d51e32878 some bulletproofing; completed+documented mmap
This was SVN commit r373.
2004-06-03 00:17:24 +00:00
af3949ab7a updated file mapping (was partially unimplemented)
This was SVN commit r371.
2004-06-02 20:41:05 +00:00
f8dafe455d CVS dirs are skipped when mounting
This was SVN commit r362.
2004-06-02 16:58:35 +00:00
4ba7fc3b7c yet more tree_lookup fixes for bug pointed out by simon
This was SVN commit r358.
2004-06-02 16:12:13 +00:00
85f335e0fe fixed tree_lookup - now allows dir names (with optional trailing slash)
This was SVN commit r354.
2004-06-02 15:32:42 +00:00