Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-05-03 | COMMON: Forbid use of getcwd&getwd; add macro to enable unistd.h compatibility | Max Horn | |
2011-05-03 | PSP: Fix more forbidden symbol clashes | Max Horn | |
2011-05-03 | BACKENDS: Avoid #including .cpp files | Max Horn | |
So far, the various *-fs-factory.cpp files were #including the corresponding *-fs.cpp files. This is surprising and hence could lead to all kinds of problems). To fix this, provide proper headers for the *-fs.cpp files. This also makes code reuse via subclassing possible. Since not all ports were tested, this will likely lead to a few easy to fix compile regressions. | |||
2010-11-19 | COMMON: Split common/stream.h into several headers | Max Horn | |
svn-id: r54385 | |||
2010-11-18 | COMMON: Change wrapBufferedWriteStream() to always disposes wrapped stream | Max Horn | |
This is the only we need right now, and it saves a few bytes per instance. The template approach I used before has the drawback that it increases the binary size, which negates the benefit. Thanks to LordHoto for pointing this out. svn-id: r54344 | |||
2010-11-18 | COMMON: Make implementation of Buffered*Stream classes internal | Max Horn | |
svn-id: r54326 | |||
2010-11-16 | COMMON: Simplify DECLARE_SINGLETON macro | Max Horn | |
This makes it possible to write DECLARE_SINGLETON(foo); instead of DECLARE_SINGLETON(foo) without causing a warning about an extra semicolon. The extra semicolon helps some editors at parsing the C++ code. svn-id: r54258 | |||
2010-10-12 | JANITORAL: Clean trailing whitespaces. | Jordi Vilalta Prat | |
svn-id: r53160 | |||
2010-09-14 | PSP: remove virtual inheritance of BufferedWriteStream and ↵ | Yotam Barnoy | |
BufferedSeekableReadStream As Max pointed out to me, one can't really use virtual functions called from constructors/destructors. svn-id: r52722 | |||
2010-08-25 | PSP: fixed flag to open() | Yotam Barnoy | |
I was missing a flag (PSP_O_TRUNC) causing the config file to be opened on top of the old file, causing file corruption. svn-id: r52387 | |||
2010-08-24 | PSP: switched to using BufferedSeekableReadStream and BufferedWriteStream | Yotam Barnoy | |
The last PSP optimization made reading much faster, but writing isn't buffered so saving the config file was VERY slow. I decided the cleanest way to do this would be to add BWS and use BSRS. svn-id: r52327 | |||
2010-08-22 | PSP: switched from stdio to psp functions -- dramatic speed improvement | Yotam Barnoy | |
Turns out that stdio is about 30x(!) slower than using the PSP's functions. Very significant optimization. svn-id: r52271 | |||
2010-06-15 | PSP: fixed up PowerManager and removed dependency on SDL | Yotam Barnoy | |
svn-id: r49852 | |||
2010-06-06 | PSP: faster way of getting file size | Yotam Barnoy | |
svn-id: r49457 | |||
2010-05-27 | PSP: fixed issue with handling of EOS. Caused crashes. | Yotam Barnoy | |
svn-id: r49257 | |||
2010-05-26 | PSP: implemented basic file cache. Turns out the PSP reads 1 byte as fast as ↵ | Yotam Barnoy | |
it reads 1 KB. svn-id: r49243 | |||
2010-04-25 | PSP:Implemented fingolfin's suggestion for cleaning up debugging code | Yotam Barnoy | |
svn-id: r48792 | |||
2010-04-12 | remove useless getObjectName() method | Joost Peters | |
svn-id: r48640 | |||
2010-04-12 | PSP: Fix code formatting using astyle | Max Horn | |
svn-id: r48634 | |||
2010-04-12 | PSP: refactoring/redesign of the backend | Yotam Barnoy | |
svn-id: r48632 | |||
2010-03-13 | Fix our DECLARE_SINGLETON macro to conform to the C++ specs. | Johannes Schickel | |
We need to use a namespace Common { } there to make strict C++ compilers like clang++ and comeau happy. I also added a slight comment about why that is needed to the macro definition and a note that you need to use it from the global namespace. svn-id: r48254 | |||
2010-01-25 | Strip trailing spaces/tabs. | Johannes Schickel | |
svn-id: r47541 | |||
2009-09-30 | Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵ | Max Horn | |
things) svn-id: r44495 | |||
2009-09-23 | PSP: improved suspend/resume support [patch from bluddy] | Joost Peters | |
svn-id: r44276 | |||
2009-09-13 | Removed unnecessary semi-colons. | Torbjörn Andersson | |
svn-id: r44048 | |||
2009-08-17 | Commit (slightly) modified version of patch #2831248: Allow suspend/resume ↵ | Joost Peters | |
for PSP svn-id: r43477 | |||
2009-08-15 | Properly implement PSPFilesystemFactory::makeCurrentDirectoryFileNode() | Joost Peters | |
svn-id: r43404 | |||
2009-03-25 | Allow building of psp backend via configure (Part 1 - Still need to add the ↵ | Joost Peters | |
fixup + EBOOT packing steps). Thanks dhewg and fingolfin for assistance. :) svn-id: r39693 | |||
2009-01-24 | don't append '/' to path in getChildren() | Joost Peters | |
svn-id: r36042 | |||
2009-01-23 | Renamed FSNode::openForReading / openForWriting to createReadStream / ↵ | Max Horn | |
createWriteStream, again to make ownership of the returned stream clear svn-id: r36014 | |||
2008-10-02 | Renamed FilesystemNode -> FSNode | Max Horn | |
svn-id: r34716 | |||
2008-09-03 | Pushed AbstractFilesystemNode::openForReading() / openForWriting() impls out ↵ | Max Horn | |
to backends svn-id: r34304 | |||
2008-09-03 | Moved FilesystemNode / FSList to namespace Common; also got rid of some ↵ | Max Horn | |
'typedef Common::String String;' name aliases svn-id: r34302 | |||
2008-08-27 | FSNode code: Merged most versions of lastPathComponent() into one new ↵ | Max Horn | |
AbstractFilesystemNode::lastPathComponent() method, with customizable path separator character svn-id: r34197 | |||
2008-02-24 | Don't #include the FS factory implementations in common/system.cpp; rather, ↵ | Max Horn | |
rely on the build system to include them svn-id: r30957 | |||
2008-02-23 | Renamed AbstractFilesystemFactory to FilesystemFactory | Max Horn | |
svn-id: r30935 | |||
2008-01-28 | Fixed the spaces before tabs. | Jordi Vilalta Prat | |
svn-id: r30667 | |||
2008-01-27 | Removed trailing spaces. | Jordi Vilalta Prat | |
svn-id: r30664 | |||
2008-01-17 | implement exists(), isReadable() and isWritable() stubs using access() | Joost Peters | |
svn-id: r30537 | |||
2007-10-17 | fix compile after recent fs code rename | Joost Peters | |
svn-id: r29229 | |||
2007-10-07 | Commit of patch #1804861. It implements a static lastPathComponent() ↵ | David Corrales | |
function in each backend, used to extract the last path component of a given path, returned by getName(). svn-id: r29159 | |||
2007-09-19 | rename psp_fs.cpp to psp-fs.cpp (as per the naming convention) | Joost Peters | |
svn-id: r28963 | |||
2007-09-19 | _displayName now contains the last path component, not the full path | Joost Peters | |
svn-id: r28962 | |||
2007-09-18 | Fix linker issues when doing a plugin build, and (hopefully) also on Windows | Max Horn | |
svn-id: r28950 | |||
2007-09-18 | Patch #1768757: Merge fsnode-gsoc into trunk (MAJOR change, will break ↵ | Max Horn | |
compilation on some ports) svn-id: r28944 | |||
2007-08-01 | Initial commit of the new BaseFile implementation. It provides a common ↵ | David Corrales | |
ground for file objects across platforms and divides responsibilities between the Common::File class and a base file implementation. Also rearranged the factories into a new directory for clarity. Note 1: The posix-file.h and cpp files are for testing only. Only the ds, ps2 and symbian architecture will use special BaseFile based objects. Note 2: The current code does not yet make use of this new structure, since the Common::File remains intact. svn-id: r28395 | |||
2007-07-09 | Update the interfaces for the getChildren method to include the hidden flag. | David Corrales | |
Also added some missing method stubs to the gamecard dc port. svn-id: r27984 | |||
2007-06-04 | Added stubs for the exists(), isReadable() and isWritable() methods for all ↵ | David Corrales | |
architectures. svn-id: r27087 | |||
2007-06-04 | Added a missing include in non-POSIX factories. | David Corrales | |
For the POSIX and Windows architectures, added exists(), isReadable() and isWritable() svn-id: r27073 |