Ryan C. Gordon
f871802f51
Cleaned up some #includes.
2010-09-06 19:35:01 -04:00
Ryan C. Gordon
3f02ce767f
Moved most the cut-and-paste between simple archivers to one file.
2010-09-06 02:50:29 -04:00
Ryan C. Gordon
7f0e7105a7
Removed isDirectory, isSymLink and exists methods from internal code.
...
Use the PhysFS stat() interface instead.
2010-09-05 02:41:13 -04:00
Ryan C. Gordon
4bc5ed1725
Abstracted file i/o into PHYSFS_Io interface.
...
This touched a lot of code, and involved cleaning up a lot of stuff.
2010-08-30 03:01:57 -04:00
Ryan C. Gordon
b58e5f348c
Removed __PHYSFS_platformGetLastModTime().
2010-08-25 01:28:28 -04:00
Ryan C. Gordon
fc680aa468
Removed PHYSFS_Archiver's isArchive() method.
...
It was redundant with openArchive().
2010-08-24 10:05:58 -04:00
Ryan C. Gordon
2beafa790d
Removed getLastModTime() interface from the archivers; it's not used anymore.
2010-08-22 20:20:04 -04:00
Ryan C. Gordon
c306d73fdc
Patched to compile.
2010-08-22 03:35:55 -04:00
Ryan C. Gordon
f99f0ef9e7
Fixed details of PHYSFS_Archiver's stat method.
2010-08-22 00:37:25 -04:00
Ryan C. Gordon
f7a8d9292c
Fixed PHYSFS_stat()'s return value to match rest of PhysicsFS API.
2010-08-21 19:10:42 -04:00
Ryan C. Gordon
4000b234c0
Moved all the file i/o from stdio-style to POSIX-style.
...
Instead of trying to deal with a count of objects, just give 'em a stream of
bytes. This is WAY simpler to work with at the implementation level, and
removes confusion about what to do with a partial read.
This will be very useful when we expose the i/o interface to applications.
2010-08-21 02:47:58 -04:00
Ryan C. Gordon
f1cd4d8f0d
THIS is Christoph's PHYSFS_stat() work.
...
I've merged some basic ideas from the other patch, which was Indy Sam's work,
and cleaned up a few things.
2010-02-15 14:02:36 -05:00
Ryan C. Gordon
8e78e4719d
Backed out changeset f87b0b7cca8e ... This wasn't Christoph's patch. Sorry!
2010-02-15 09:19:38 -05:00
Ryan C. Gordon
7cc80bebc5
Added first work on PHYSFS_stat() API (thanks, Christoph!).
2010-02-14 23:07:19 -05:00
Ryan C. Gordon
595ac1da39
Cleaned up returns that look like function calls for my updated coding style.
2010-01-28 02:27:45 -05:00
Ryan C. Gordon
2a65060cde
Moved directory structure around.
2009-03-27 15:10:42 -04:00