Johannes Schickel
|
854e22b38b
|
COMMON: Make GPL headers consistent in themselves.
|
2014-02-18 02:39:33 +01:00 |
|
Johannes Schickel
|
b4d0a8ba66
|
JANITORIAL: Enforce "} // End of namespace" with a single space after }.
|
2013-01-26 19:38:02 +01:00 |
|
Christoph Mallon
|
84220d2ca0
|
COMMON: Remove superfluous Common:: qualifiers.
|
2011-08-07 15:19:07 +02:00 |
|
strangerke
|
69b1485a22
|
GIT: Clean up: Suppress SVN tags, now useless
|
2011-05-12 01:16:22 +02:00 |
|
Ori Avtalion
|
9414d7a6e2
|
JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
|
2011-04-28 15:08:58 +03:00 |
|
Eugene Sandulenko
|
9224a0bd6e
|
Hid hashed fileopening to debuglevel 8.
svn-id: r49705
|
2010-06-15 10:19:06 +00:00 |
|
Johannes Schickel
|
c50940bbf4
|
Got rid of Common::File::addDefaultDirectory, instead implemented the solution proposed in "Case agnostic handling for directories (and files)" on -devel.
svn-id: r44266
|
2009-09-23 00:15:00 +00:00 |
|
Max Horn
|
eedce48aa3
|
Removed redundant File::ioFailed() implementation; also turned ReadStream::ioFailed from a virtual into an inline method
svn-id: r42911
|
2009-07-29 21:39:16 +00:00 |
|
Max Horn
|
6df25f47c3
|
Removed last traces of clearIOFailed. Yay :)
svn-id: r42910
|
2009-07-29 21:39:00 +00:00 |
|
Max Horn
|
65b5d31814
|
COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
svn-id: r40725
|
2009-05-19 11:42:14 +00:00 |
|
Max Horn
|
f6de07921e
|
Changed Common::File and FSDirectory to invoke FSNode::exists a few times less, reducing overhead
svn-id: r38780
|
2009-02-22 04:40:10 +00:00 |
|
Max Horn
|
341bc64aaf
|
do not include common/debug.h from common/util.h
svn-id: r36143
|
2009-01-30 05:25:17 +00:00 |
|
Max Horn
|
14c5bbbccf
|
Renamed Archive::openFile to createReadStreamForMember
svn-id: r36021
|
2009-01-23 04:45:44 +00:00 |
|
Max Horn
|
8f16458e9b
|
Renamed FSNode::openForReading / openForWriting to createReadStream / createWriteStream, again to make ownership of the returned stream clear
svn-id: r36014
|
2009-01-23 03:41:36 +00:00 |
|
Jordi Vilalta Prat
|
b1999a2a16
|
Fixed indentation and removed whitespaces at the end of line
svn-id: r35481
|
2008-12-22 11:22:15 +00:00 |
|
Johannes Schickel
|
fb9bd9f442
|
Fix for bug #2198456 "FS: Cannot add a subfolder to a non-existing folder".
svn-id: r34857
|
2008-10-27 02:30:29 +00:00 |
|
Max Horn
|
f881b95ddd
|
Removed File::addDefaultDirectoryRecursive, tweaked SearchMan API slightly
svn-id: r34836
|
2008-10-22 17:08:17 +00:00 |
|
Max Horn
|
c7fde102e3
|
Renamed FilesystemNode -> FSNode
svn-id: r34716
|
2008-10-02 16:58:59 +00:00 |
|
Max Horn
|
7c0b2cfd27
|
Added multiple new open() methods to Common::File, which make it possible to use this class as a generic convenience wrapper around all kinds of SeekableReadStream; also renamed the name() method to the less confusing getName()
svn-id: r34696
|
2008-09-30 09:12:02 +00:00 |
|
Max Horn
|
a4292055f7
|
File::open no longer falls back to searching the current dir (if this causes any regressions, please report them; don't work around them, don't revert this change, without discussing it first)
svn-id: r34680
|
2008-09-29 10:32:06 +00:00 |
|
Max Horn
|
c549a0e708
|
Changed Common::File to use SearchMan
svn-id: r34663
|
2008-09-27 23:00:46 +00:00 |
|
Max Horn
|
5f2ceea1df
|
Corrected and shortened some file opening related warnings
svn-id: r34556
|
2008-09-15 12:37:18 +00:00 |
|
Willem Jan Palenstijn
|
c8eeae8d4d
|
Big patch changing semantics of ReadStream::eos():
eos() now only returns true _after_ trying to read past the end of the stream.
This has a large potential for regressions. Please test!
svn-id: r34549
|
2008-09-14 22:28:53 +00:00 |
|
Max Horn
|
655ce26b3f
|
Big patch changing the signature of various Stream methods (some ports may need to be slightly tweaked to fix overloading errors/warnings)
svn-id: r34514
|
2008-09-13 16:51:46 +00:00 |
|
Max Horn
|
ff058e062d
|
Switched File::open, File::addDefaultDirectory to use a SearchSet internally. Code is a lot shorter & simpler now, far less failing fopen calls (good for NDS and other ports); drawback: regressions :). Good bug hunting to everybody
svn-id: r34444
|
2008-09-08 11:11:32 +00:00 |
|
Max Horn
|
10e342e37a
|
Made File::addDefaultDirectory(Recursive) ignore FSNodes which are not dirs / are invalid, instead of erroring out
svn-id: r34430
|
2008-09-07 21:47:46 +00:00 |
|
Max Horn
|
4fd19a3378
|
Removed last traces of fopen / FILE from common/file.cpp
svn-id: r34393
|
2008-09-06 21:04:42 +00:00 |
|
Max Horn
|
1cecbebc49
|
Switched class File & DumpFile to use StdioStream internally
svn-id: r34391
|
2008-09-06 20:49:48 +00:00 |
|
Lars Persson
|
80dd18a820
|
Updated filehandling for Symbian OS
svn-id: r34346
|
2008-09-05 12:02:15 +00:00 |
|
Max Horn
|
5308f12c75
|
Ported AMIGA specific file buffering 'hack' from class File to StdioStream
svn-id: r34345
|
2008-09-05 11:59:33 +00:00 |
|
Lars Persson
|
5c0b91397d
|
Updated Symbian OS file actions with ferror and fflush.
svn-id: r34340
|
2008-09-05 11:31:51 +00:00 |
|
Max Horn
|
320a5dc99f
|
Moved StdioStream to its own files inside backends
svn-id: r34303
|
2008-09-03 11:49:02 +00:00 |
|
Max Horn
|
8246582f5e
|
Added new StdioStream class, a thin wrapper around FILE
svn-id: r34300
|
2008-09-03 10:11:36 +00:00 |
|
Max Horn
|
05968b18c9
|
Modified DumpFile::open to accept non-existing nodes, and to actually open files in write mode -- d'oh
svn-id: r33609
|
2008-08-04 13:25:30 +00:00 |
|
Max Horn
|
99f546caad
|
Moved the OutSaveFile::finalize method to WriteStream; implemented DumpFile::flush()
svn-id: r33604
|
2008-08-04 11:30:47 +00:00 |
|
Max Horn
|
fe9323ae57
|
Implemented DumpFile::open(FSNode)
svn-id: r33586
|
2008-08-03 18:11:27 +00:00 |
|
Max Horn
|
0be985ce83
|
Changed class File (and derived classes) to only support read-only access; added a new class DumpFile for writing
svn-id: r33412
|
2008-07-29 16:09:10 +00:00 |
|
Max Horn
|
113352bbde
|
Two new TODO/FIXME comments for class File
svn-id: r33138
|
2008-07-20 16:47:34 +00:00 |
|
Max Horn
|
fefad79249
|
No need to specify CaseSensitiveString_Hash explicitly anymore
svn-id: r32663
|
2008-06-11 06:00:56 +00:00 |
|
Eugene Sandulenko
|
04ff7cb1c1
|
Fix a recent regression reported in bug #1937042: "FEEBLE: Capitalization
variations when searching for files"
svn-id: r31445
|
2008-04-07 20:38:52 +00:00 |
|
Max Horn
|
57ad73faee
|
Removed char &operator [] from class String -- it had the potential to wreak havoc when used on shared strings (thanks to tramboi for pointing this out)
svn-id: r31334
|
2008-03-30 18:37:09 +00:00 |
|
Jordi Vilalta Prat
|
d6c34bdc4b
|
Fixed the spaces before tabs.
svn-id: r30667
|
2008-01-28 00:14:17 +00:00 |
|
Jordi Vilalta Prat
|
66e9d4f5e8
|
Removed trailing spaces.
svn-id: r30664
|
2008-01-27 19:47:41 +00:00 |
|
Max Horn
|
4ba2df8792
|
Use explicit path in #include statement (DS port specific)
svn-id: r30552
|
2008-01-18 17:24:34 +00:00 |
|
Oystein Eftevaag
|
05b5a493f8
|
Initial commit of the iPhone/iPod Touch backend
svn-id: r29488
|
2007-11-13 08:06:15 +00:00 |
|
Johannes Schickel
|
2387a642e5
|
Committed patch #1829748 "Fix for memory leaks in File::exists".
svn-id: r29474
|
2007-11-11 08:08:40 +00:00 |
|
Max Horn
|
41a8cb934c
|
Removed now obsolete workarounds
svn-id: r29375
|
2007-11-02 13:00:21 +00:00 |
|
David Corrales
|
2ac075e569
|
Removed the Common::File::removeFile() methods, and moved their implementation to the Common::DefaultSaveFileManager::removeSavefile() method, as per Marcus' appraisal and Max's approval.
svn-id: r29337
|
2007-10-31 13:59:59 +00:00 |
|
Kostas Nakos
|
b93f68405b
|
work around ce's lack of posix errno
svn-id: r29298
|
2007-10-28 17:50:08 +00:00 |
|
David Corrales
|
6bf925cb6e
|
Make the exists() method take into account default directories. This makes the method more robust, since previously it checked absolute paths only.
svn-id: r29227
|
2007-10-16 20:03:23 +00:00 |
|