Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-08-06 | BACKENDS: Improve AbstractFSNode::createDirectory() stubs | Cameron Cawley | |
2019-08-06 | BACKENDS: Rename and simplify AbstractFSNode::create() | Cameron Cawley | |
2018-08-18 | PSP: Fix strict aliasing violation | Colin Snover | |
Casting through pointer to void just to truncate a value to uint32 is incorrect. | |||
2018-08-18 | PSP: Fix invalid return type of PspIoStream | Colin Snover | |
The underlying API returns a SceUID, which is not valid to be casted to a pointer. | |||
2017-07-10 | Revert "COMMON: Change way the Singleton instances are instantiated" | Eugene Sandulenko | |
This reverts commit eefa72afa1978a9dea10f5b1833fcc8f58a3468e. With this patch ConfigManager is broken. | |||
2017-07-10 | COMMON: Change way the Singleton instances are instantiated | Thierry Crozat | |
This fixes tons of warnings with clang from a recent xcode version on macOS (and possibly other systems) complaining that an instantiation of _singleton is required but no definition is available. | |||
2017-01-12 | BACKENDS: Fix Shadowing Compiler Warning for isDirectory symbol. | D G Turner | |
This should ensure that any future cut-and-paste for new backends do not repeat this same warning issue. | |||
2016-08-24 | CLOUD: Add AbstractFSNode::create() backends stubs | Alexander Tkachev | |
2014-02-18 | PSP: Make GPL headers consistent in themselves. | Johannes Schickel | |
2011-11-27 | JANITORIAL: Remove extra semicolons. | Christoph Mallon | |
2011-06-30 | ALL: Require DECLARE_SINGLETON to be used in the Common namepsace | Ori Avtalion | |
Silences the clang warning: static data member specialization of '_singleton' must originally be declared in namespace 'Common'; accepted as a C++0x extension [-Wc++0x-extensions] Wrapping "namespace Common {}" around the macro assignment causes clang to complain about a spurious semicolon, and removing the semicolon at the end of the macro causes some editors to misbehave. Changing the requirement of using the macro in one namespace (the global) to another (Common) seems a small price to pay to silence a warning. | |||
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 |