Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-07-20 | Added a remove() function to the Common::File class. Also changed the ↵ | David Corrales | |
exists() function to account for new capabilities in the FSNode layer. svn-id: r28150 | |||
2007-06-16 | Small bugfix. Wrong logical operator. | David Corrales | |
svn-id: r27474 | |||
2007-06-16 | Removed the isValid operation from the FilesystemNode class in favor of the ↵ | David Corrales | |
much richer combinations possible with the new operations (exists, isReadable and isWritable). The work on the Common::File class is far from complete. Only the necessary was updated. svn-id: r27473 | |||
2007-06-05 | Renamed methods in the FilesystemNode class to match the AbstractFSNode ↵ | David Corrales | |
implementations. Also exposed the new methods (exists, isReadable and isWritable) in FilesystemNode. svn-id: r27113 | |||
2007-05-30 | Updated legal headers in source files, based on what Pidgin (the IM client ↵ | Max Horn | |
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024 | |||
2007-04-06 | Updating DS port for changes in main codebase. Code changes for DevkitArm ↵ | Neil Millstone | |
r20 and latest libnds. svn-id: r26394 | |||
2007-03-11 | Added shared filed support using native file APIs. | Lars Persson | |
svn-id: r26087 | |||
2007-03-08 | Moved the printf #define for the NDS into scummsys.h (not sure if that suits ↵ | Max Horn | |
your needs Neil, feel free to change it again if necessary) svn-id: r26024 | |||
2007-03-08 | common/util.cpp needs fprintf; various std I/O functions are not used by ↵ | Max Horn | |
anything in our code, so there is no need to emulate them -- mark these; my previous commits likely broke compilation of the DS backend, try to reduce the brokeness a bit svn-id: r26023 | |||
2007-03-08 | Moving Nintendo DS std C I/O emulation wrappers to common/file.cpp; also add ↵ | Max Horn | |
a FIXME comment (why is assert redefined in ds-fs.h ?) svn-id: r26020 | |||
2007-03-08 | Changed File::_handle to be of type void* instead of FILE* (to ease ↵ | Max Horn | |
porting); moved PS2 std C I/O defines to file.cpp (no code other than the file & savegame code should use fopen etc. directly) svn-id: r26017 | |||
2007-03-01 | Removed File::incRef and decRef | Max Horn | |
svn-id: r25920 | |||
2006-10-14 | Revert | Travis Howell | |
svn-id: r24303 | |||
2006-10-14 | Fix introduction of WW | Travis Howell | |
svn-id: r24302 | |||
2006-07-30 | Added explicit string equals/hash functors to a new header ↵ | Max Horn | |
common/hash-str.h; removed Hash functor specialization for String and char pointers; changed all code using hashmaps with string keys to explicitly specify whether they honor or ignore case svn-id: r23634 | |||
2006-07-22 | Added isValid to FilesystemNode and AbstractFilesystemNode. See my mail to ↵ | Johannes Schickel | |
-devel for more information. svn-id: r23567 | |||
2006-07-22 | Using FilesystemNode::name instead of FilesystemNode::displayName in the ↵ | Johannes Schickel | |
fileclass too, then again this doesn't *have* to work. (check FilesystemNode documentation) svn-id: r23562 | |||
2006-06-24 | Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cpp | Max Horn | |
Rationale: backend implementations belong to backends/, but portable APIs meant to be used by high level code is for common / sound / graphics / ... (compare also with backends/midi vs. sound/mididrv.h) svn-id: r23274 | |||
2006-06-16 | Remove _name.clear(); from Close since same File instance is re-opened by ↵ | Lars Persson | |
Symbian using that filename. svn-id: r23152 | |||
2006-06-11 | Applied the patch included in bug rep [ 1503716 ] Leak in File::Open (on OS ↵ | Oystein Eftevaag | |
X) and unzOpen (on all) svn-id: r23019 | |||
2006-05-13 | Fix for bug #1483213 | Max Horn | |
svn-id: r22461 | |||
2006-05-03 | Removed FilesystemNode::isValid (leaving it up to the porters to decide ↵ | Max Horn | |
whether to remove their isValid code or not) svn-id: r22317 | |||
2006-05-03 | Changed FilesystemNode::listDir to return a bool indicating its success (or ↵ | Max Horn | |
failure) svn-id: r22315 | |||
2006-05-01 | Add a variant of File::addDefaultDirectory(Recursive) which takes a ↵ | Max Horn | |
FilesystemNode instead of a string object svn-id: r22265 | |||
2006-04-30 | Add a File::open variant that takes a FilesystemNode as parameter | Max Horn | |
svn-id: r22251 | |||
2006-04-27 | Revert kListAllNoRoot addition to listdir(), the uninitialized _isPseudoRoot ↵ | Travis Howell | |
in windows filesys backend was real cause of problem. svn-id: r22194 | |||
2006-04-26 | Removed 'directory' parameter of File::open | Max Horn | |
svn-id: r22183 | |||
2006-04-26 | Yet another revision of File::exists. I now believe the function really is ↵ | Max Horn | |
'wrong' right now (it has to fulfill too many roles right now). Need to correctly fix this later svn-id: r22171 | |||
2006-04-26 | Commited *correct* File::exists reimplementation (compared to my incomplete ↵ | Max Horn | |
previous commit. Aargh) svn-id: r22170 | |||
2006-04-26 | Properly re-implemented File::exists to FilesystemNode (this should fix bug ↵ | Max Horn | |
#1476651, at least partially) svn-id: r22169 | |||
2006-04-23 | Remove superfluous exclamation mark | Max Horn | |
svn-id: r22108 | |||
2006-04-16 | Removed the directory parameter from md5_file | Max Horn | |
svn-id: r21937 | |||
2006-04-14 | Changed File::open to take a Common::String as file name parameter | Max Horn | |
svn-id: r21867 | |||
2006-04-14 | Fix crash in fopenNoCase triggered by filenames/paths that exceeded ~ 512 ↵ | Max Horn | |
bytes (see bug #1109687) svn-id: r21858 | |||
2006-04-12 | Fixing the workaround for bug #1458388 (should have added trailing dot, but ↵ | Max Horn | |
didn't) svn-id: r21822 | |||
2006-04-11 | Removed the PalmOS specific hack in file.cpp in favor for code that should ↵ | Max Horn | |
work everywhere (and hopefully will help the GP32 port, too). svn-id: r21811 | |||
2006-04-11 | Bad hack to make the file class work agaain with PalmOS ARM version - read ↵ | Chris Apers | |
the comment for more details svn-id: r21806 | |||
2006-04-04 | Added const qualifier | Max Horn | |
svn-id: r21603 | |||
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 | Fixing bug #1458388: "SIMON1: Game Detection fails". | Eugene Sandulenko | |
Sometimes instead of "GAMEPC" we get "GAMEPC." (note trailing dot) svn-id: r21455 | |||
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 | Add kListAllNoRoot type to listDir() to handle recent file class changes, on ↵ | Travis Howell | |
file system backends which use _isPseudoRoot svn-id: r21449 | |||
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-03-15 | Moving the MacOS bundle file checking to another function, it was getting ↵ | Oystein Eftevaag | |
called redundantly. svn-id: r21309 | |||
2006-03-15 | * 'make bundle' now copies the default theme files into the bundle. | Oystein Eftevaag | |
* Common::File will now look inside the application bundle on MacOS X for a file if it can't find it anywhere else (so it'll find default-theme.ini and .zip) * Cleaned up some #ifs. svn-id: r21308 | |||
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-09-03 | Change PalmOS ident | Chris Apers | |
svn-id: r18746 |