e86001f45e
- file bugfix: truncate when opening for writing (problem reported by philip)
...
- file: now return size at close() time for use with VFS
- zip: tested open speed, added [exec time] notes
This was SVN commit r2075.
2005-03-29 06:27:35 +00:00
540a76e88b
clean up reload code; add cache invalidate call when reloading (make sure file contents are actually loaded)
...
This was SVN commit r1948.
2005-02-27 19:11:39 +00:00
ab67b4f3fa
move VFS::is_subpath to file::file_is_subpath
...
This was SVN commit r1943.
2005-02-27 14:33:59 +00:00
9d317d8164
1) removed scaffolding from file
...
2) VFS: add path_copy convenience routine
3) various lib code: removed unnecessary const cluttering things (like
const char* _const_ name in param list)
This was SVN commit r1483.
2004-12-09 23:12:02 +00:00
e15562b7ae
1) file: clean up path conversion call sites (was using private routine)
...
2) all: change file_enum and cohorts to pass struct stat instead of just
size
3) minor cleanup
This was SVN commit r1465.
2004-12-07 01:19:10 +00:00
c0ef326340
1) file.cpp: add functions for relative path conversion, also better dox
...
2) ERR_PATH_LENGTH (instead of ERR_VFS_): now used by file.cpp also
3) better document file_enum and FileCB
This was SVN commit r1433.
2004-12-01 18:44:38 +00:00
f6cfcd0555
slight change to interface (FileIO* vs simple void* output value) to simplify Zip interface (needed to change because now it has to store data of its own in IOs when doing partial reads)
...
This was SVN commit r1161.
2004-09-19 15:51:12 +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
d58e16e0ff
work in progress. caching moved to sync IO code (simplifies things).
...
This was SVN commit r1017.
2004-08-18 02:12:52 +00:00
94316413db
rough initial implementation of revised L3 file block cache. works, considerable speedup.
...
also: async routines now fill a control block, instead of returning a
handle (that's now done by VFS)
This was SVN commit r1001.
2004-08-15 21:50:29 +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
1f2ebb678e
slightly change file_enum interface (don't need flags); comments
...
This was SVN commit r974.
2004-08-11 20:23:22 +00:00
b81d75a0f3
add file_io_complete call for polling.
...
also some bugfixes related to reading from zip
This was SVN commit r956.
2004-08-10 15:57:35 +00:00
d274e4c7f9
more comments; also SECTOR_SIZE constant added
...
This was SVN commit r914.
2004-08-05 14:01:49 +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
3e92b4a043
comment path conversion functions
...
This was SVN commit r880.
2004-08-02 13:44:48 +00:00
af58e59633
pass FILE_NO_AIO at open instead of calling uncached_* (which ended up duplicating code)
...
This was SVN commit r674.
2004-07-09 19:57:59 +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
0c05abb304
fixes for write code and new uncached_write routine (bypass cache, no file padding problem)
...
This was SVN commit r654.
2004-07-08 14:30:35 +00:00
680d5dd7b4
revisions to file open flag comments. btw, these are now also used by VFS
...
This was SVN commit r631.
2004-07-05 02:31:32 +00:00
15ca5cbf21
newline stomper and fixed warnings
...
This was SVN commit r473.
2004-06-11 02:14:18 +00:00
78fa30be94
export path conversion function for res.cpp interaction with FAM
...
This was SVN commit r424.
2004-06-08 15:16:50 +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
c0d33d3330
Linux/GCC compat, a few newlines at end of file, minor changes
...
This was SVN commit r353.
2004-06-02 15:31:55 +00:00
34c3c12934
fixes for VC6 build problems reported by Stu.
...
This was SVN commit r239.
2004-05-18 00:38:39 +00:00
556afb4a5c
fixed current directory problem. added healthy does of paranoia to file_rel_chdir, and removed bogus chdir from main.cpp (from test code)
...
This was SVN commit r238.
2004-05-17 13:23:39 +00:00
d1036b9a18
VFS updates; texture reloading now works, tex.cpp is WIP
...
This was SVN commit r223.
2004-05-13 13:52:48 +00:00
f383cfd4a8
fix for vc7 (incomplete type in container). also some updates to vfs
...
This was SVN commit r221.
2004-05-08 01:11:51 +00:00
5b5726ed4d
merge of (work in progress) VFS code with new dir layout
...
This was SVN commit r216.
2004-05-06 17:14:30 +00:00
5aa404a8f2
no message
...
This was SVN commit r174.
2004-03-05 16:23:31 +00:00
89c5b0d88c
the big merge (tm). see forum post for changes made.
...
This was SVN commit r158.
2004-03-02 23:56:51 +00:00