Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-04-14 | Changed File::open to take a Common::String as file name parameter | Max Horn | |
svn-id: r21867 | |||
2006-04-01 | Simplified the File::addDefaultDirectory(Recursive) code; avoid scanning ↵ | Max Horn | |
directory multiple times svn-id: r21527 | |||
2006-03-28 | - Renamed class AssocArray to HashMap to match our existing class Map (note also | Max Horn | |
that many STL implementations have a class hash_map next to class map, too) - Changed some static File class member vars to be normal static variables, in yet another attempt to reduce header dependencies (in this case on hashmap.h) svn-id: r21473 | |||
2006-03-25 | - Revert my last change with moving addDefaultDirectory() from TheneNew.cpp | Eugene Sandulenko | |
- Removed locking of further directory adds because it did not work for themes. svn-id: r21452 | |||
2006-03-25 | - Implemented case insensitive file reading. Left old system as a fallback | Eugene Sandulenko | |
in case some engine writer decide to do something unwise - Removed used of ConfMan.getKey("path") in file-related cases, because now File class handles that - Fixed bug in ScummEngine_v80he::o80_getFileSize() where path delimiters weren't translated svn-id: r21443 | |||
2006-02-11 | Change CVS keywords to SVN keywords | Max Horn | |
svn-id: r20510 | |||
2006-01-18 | Update copyright notice | Eugene Sandulenko | |
svn-id: r20088 | |||
2005-10-18 | Update FSF address. Eek. Actually that took place on May 1, 2005 | Eugene Sandulenko | |
svn-id: r19142 | |||
2005-07-30 | Remove trailing whitespaces. | Eugene Sandulenko | |
svn-id: r18604 | |||
2005-06-24 | When including files from common/, explicitly use the common/ prefix | Max Horn | |
svn-id: r18444 | |||
2005-05-10 | Moved class File and the MD5 stuff to namespace Common | Max Horn | |
svn-id: r18037 | |||
2005-05-06 | Fix another doyxgen warning | Max Horn | |
svn-id: r17933 | |||
2005-05-05 | Turned File::exists into a static method (as it should have been from the ↵ | Max Horn | |
start, silly copy&paste mistake svn-id: r17915 | |||
2005-04-22 | * Added new virtual base class 'Stream', ReadStream and | Max Horn | |
WriteStream are now subclasses of it. * Added new methods eos(), ioFailed(), clearIOFailed() to all streams. This allows better error checking. * SaveFile classes take advantage of these new standard stream APIS * Removed File::gets() * Added SeekableReadStream::readLine() (replaces File::gets) * Added WriteStream::writeString, for convenience svn-id: r17752 | |||
2005-01-09 | Added new interface SeekableReadStream | Max Horn | |
svn-id: r16493 | |||
2005-01-01 | Updated copyright | Max Horn | |
svn-id: r16398 | |||
2004-11-27 | Make use of our String class instead of juggling with char pointers; added ↵ | Max Horn | |
File::exists method svn-id: r15913 | |||
2004-10-16 | Add gets() method to File class. | Eugene Sandulenko | |
svn-id: r15572 | |||
2004-07-26 | Turn various File class methods into virtual methods, to allow overloading | Max Horn | |
svn-id: r14341 | |||
2004-07-23 | Allow subclasses to modify File class members (e.g. to set _ioFailed); ↵ | Max Horn | |
change some warnings into errors svn-id: r14302 | |||
2004-06-28 | Added simple ref-counting to the File class | Max Horn | |
svn-id: r14106 | |||
2004-06-28 | Enhanced default directory support in the File class; now one can specify ↵ | Max Horn | |
arbitrary many default search directories svn-id: r14095 | |||
2004-06-27 | Reversed param order of File::open() -- this allowed me to get rid of a few ↵ | Max Horn | |
more getGameDataPath() calls svn-id: r14090 | |||
2004-04-17 | Removed XOR encoding stuff from File class; instead the new Scumm::XORFile ↵ | Max Horn | |
class provides this functionality now svn-id: r13597 | |||
2004-04-17 | Introduce ReadStream and WriteStream (as explained in my File class design ↵ | Max Horn | |
mails on scummvm-devel) svn-id: r13595 | |||
2004-01-06 | updated copyright notice | Max Horn | |
svn-id: r12176 | |||
2003-12-25 | be stricter about File::open params | Max Horn | |
svn-id: r11919 | |||
2003-11-30 | cleanup | Max Horn | |
svn-id: r11432 | |||
2003-10-16 | add method to set the xor byte in the file class. Needed as the combined mac ↵ | Jonathan Gray | |
data files are only xor'd in the resource files, not the parts of the combined file svn-id: r10825 | |||
2003-10-10 | some cleanup | Max Horn | |
svn-id: r10720 | |||
2003-09-17 | added a static method setDefaultDirectory to class File; used this to ↵ | Max Horn | |
simplify some code; added a global g_sound pointer in bs2, this cuts down on uses of g_sword2 (of course both should be removed on the long run); some other minor tweaks/fixes svn-id: r10278 | |||
2003-08-01 | #include cleanup (explicityl specify the location for headers from common/, ↵ | Max Horn | |
so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level) svn-id: r9359 | |||
2003-06-21 | make File constructor virtual to allow subclassing; made seek default to ↵ | Max Horn | |
SEEK_SET mode for conveniance svn-id: r8587 | |||
2003-05-28 | the _encbyte code was evil, because it modified the memory passed to ↵ | Max Horn | |
write(); worse, though, it incremented ptr2, which then was later passed to fwrite - hence if used to write something while _encbyte != 0, write() resulted in wrong data being written svn-id: r8055 | |||
2003-03-06 | updated copyrights headers | Paweł Kołodziejski | |
svn-id: r6726 | |||
2002-12-24 | File object stores file name (useful for debugging) | Max Horn | |
svn-id: r6089 | |||
2002-11-10 | indention fix :-) | Max Horn | |
svn-id: r5492 | |||
2002-10-21 | The terms Word and DWord are somewhat Windows centric; in fact there are ↵ | Max Horn | |
systems on which word is 32bit, as opposed to our 16 bits. Hence, use the uin16/uint32 naming scheme, which is not ambigious svn-id: r5216 | |||
2002-09-15 | improved open function in File class | Paweł Kołodziejski | |
svn-id: r4945 | |||
2002-09-13 | factored out the case-insensitive fopen into its own function - makes it ↵ | Max Horn | |
easier to adapt all the code to use it. TODO: improve it to work like in exult, i.e. sometimes other parts of the path have to be changed to upper/lower case (e.g. video vs. VIDEO) svn-id: r4935 | |||
2002-09-13 | ugh! yes, negative offsets for seek do occur! Thus using an unsigned isn't ↵ | Max Horn | |
such a good choice for the offset parameter svn-id: r4927 | |||
2002-09-08 | rewrote config class; cleanup; code restructuring | Max Horn | |
svn-id: r4903 | |||
2002-09-02 | added write support to File | Paweł Kołodziejski | |
svn-id: r4900 | |||
2002-09-02 | changed file io in sounds to class File | Paweł Kołodziejski | |
svn-id: r4896 | |||
2002-08-31 | updated | Paweł Kołodziejski | |
svn-id: r4875 | |||
2002-08-31 | added class File | Paweł Kołodziejski | |
svn-id: r4873 |