janwas
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
janwas
df5ba1f690
simplification: only VFS allocates output buffer
...
This was SVN commit r1051.
2004-08-24 17:34:00 +00:00
janwas
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
janwas
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
janwas
611ec4f10d
add throughput measure
...
This was SVN commit r1002.
2004-08-16 13:19:10 +00:00
janwas
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
janwas
0b452320ef
add callback for sync I/O (useful for reporting progress)
...
This was SVN commit r978.
2004-08-12 15:51:31 +00:00
janwas
df9dcc5711
opening files as a directory -> problem with dir_watch. solved
...
This was SVN commit r977.
2004-08-11 23:25:37 +00:00
janwas
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
janwas
e4867475dd
no longer use LOC_ZIP
...
This was SVN commit r957.
2004-08-10 15:58:54 +00:00
janwas
0b3361b6f5
several bugfixes for loading from Zip (currently broken)
...
This was SVN commit r950.
2004-08-09 16:46:57 +00:00
janwas
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
janwas
bcbb2a36c7
missing brace - d'oh!
...
This was SVN commit r916.
2004-08-05 14:06:16 +00:00
janwas
a91b0d9368
only store HMem if FILE_CACHE
...
This was SVN commit r915.
2004-08-05 14:02:10 +00:00
janwas
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
janwas
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
janwas
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
janwas
2c23606c31
hook up aio; cleanup; commenting
...
This was SVN commit r850.
2004-07-31 11:03:17 +00:00
janwas
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
janwas
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
janwas
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
janwas
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
janwas
64444251d4
fixed bug (missing else) reported by philip. thanks!
...
This was SVN commit r615.
2004-06-30 18:47:15 +00:00
janwas
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
janwas
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
janwas
fc476e04f6
stomped on numerous warnings
...
This was SVN commit r584.
2004-06-21 16:29:47 +00:00
janwas
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
janwas
941f7c3661
bullet-proofing - fail if reloading VDir
...
This was SVN commit r531.
2004-06-18 13:32:33 +00:00
janwas
e1997e6b31
added a few comments
...
This was SVN commit r506.
2004-06-14 12:59:15 +00:00
janwas
ed23cb7cc1
hopefully bulletproof is_subpath
...
This was SVN commit r497.
2004-06-13 19:13:32 +00:00
janwas
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
janwas
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
janwas
f1713bbca0
improved mount logic; added comments
...
This was SVN commit r491.
2004-06-13 16:12:54 +00:00
janwas
15ca5cbf21
newline stomper and fixed warnings
...
This was SVN commit r473.
2004-06-11 02:14:18 +00:00
olsner
5b8d980809
Fixed path_validate debug statement
...
This was SVN commit r438.
2004-06-09 13:44:12 +00:00
janwas
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
janwas
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
janwas
2dcb0d8056
more header fixes
...
This was SVN commit r401.
2004-06-04 17:47:12 +00:00
janwas
0dc6007fbd
(re)added headers so it'll work without HAVE_PCH
...
This was SVN commit r396.
2004-06-04 12:41:53 +00:00
janwas
c7a84e84be
added precompiled.h everywhere
...
This was SVN commit r392.
2004-06-03 18:38:14 +00:00
janwas
cb75497412
documentation! w00t
...
This was SVN commit r385.
2004-06-03 13:57:00 +00:00
janwas
2d51e32878
some bulletproofing; completed+documented mmap
...
This was SVN commit r373.
2004-06-03 00:17:24 +00:00
janwas
af3949ab7a
updated file mapping (was partially unimplemented)
...
This was SVN commit r371.
2004-06-02 20:41:05 +00:00
janwas
f8dafe455d
CVS dirs are skipped when mounting
...
This was SVN commit r362.
2004-06-02 16:58:35 +00:00
janwas
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
janwas
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
janwas
3abf9ac4b5
lots of type fixes; types.h is now a convenience wrapper on top of the standard uintN_t routines
...
This was SVN commit r334.
2004-06-01 17:34:12 +00:00
janwas
1c5a2d8f10
started vfs enumerate directory support, not finished or functional
...
This was SVN commit r292.
2004-05-29 12:00:53 +00:00
janwas
fbba2e463d
merged in rich's demo
...
This was SVN commit r236.
2004-05-16 03:31:29 +00:00
janwas
76b52d1d8a
remove vc6,vc7; use premake instead (will generate workspace in workspaces\vc7 , vc6)
...
This was SVN commit r226.
2004-05-13 17:23:07 +00:00