aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/ds
AgeCommit message (Collapse)Author
2011-06-30ALL: Require DECLARE_SINGLETON to be used in the Common namepsaceOri 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-06-06DS: Remove dead codeMax Horn
2011-06-06DS: Add custom logMessage() implementationMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2010-11-28DS: Remove redundant codeMax Horn
svn-id: r54556
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-18COMMON: Change wrapBufferedWriteStream() to always disposes wrapped streamMax 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-18DS: cleanupMax Horn
svn-id: r54334
2010-11-18DS: Remove write buffering in DSFileStream, use wrapBufferedWriteStream insteadMax Horn
svn-id: r54331
2010-11-18DS: Avoid needlessly allocating temporary Common::String instancesMax Horn
svn-id: r54329
2010-11-18DS: Two more 'FILE' related fixes/workaroundsMax Horn
svn-id: r54321
2010-11-18DS: Add some FIXME/TODO comments on changes that need to be applied to the ↵Max Horn
DS backend svn-id: r54318
2010-11-16COMMON: Simplify DECLARE_SINGLETON macroMax 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-09-04DS: Enable stdout/err via nocash when DISABLE_COMMAND_LINE in not set.Andre Heider
svn-id: r52533
2010-07-07DS: Fix some quirks in the NDS build system, remove some dead codeMax Horn
* remove (S)RAM save code (it has not been in use for quite some time) * remove the lz compressor (was only used by ram save code) * OPT_SPEED was set incorrectly * dsmain.cpp was misspelled as ds_main.cpp * remove unsed arm9 libcartreset (the copy in the arm7 directory still is around, though) svn-id: r50741
2010-07-05DS: Fix warnings, make some vars static, cleanupMax Horn
svn-id: r50701
2010-07-05DS: Fix various warnings and errors in the DS FS codeMax Horn
* Do not modify the strings passed to std_fopen anymore * Correct signature of std_fread * Do not cast away constness, nor perform unnecessary casts svn-id: r50693
2010-07-05DS: Fix error in std_fopen (warnings are great :)Max Horn
svn-id: r50692
2010-07-05NDS: Update GPL/copyright headers; add namespace DS closing commentsMax Horn
svn-id: r50689
2010-07-05DS: Code formatting: "char* foo" -> "char *foo"Max Horn
svn-id: r50688
2010-07-05DS: Fix warnings, cleanupMax Horn
svn-id: r50687
2009-11-23PS2 & NDS: Remove ps2_fprintf and some useless typedefs and #defines; use ↵Max Horn
fputs instead of fprintf svn-id: r46107
2009-09-27Backported NDS changes from 1.0.0 branch to trunkMax Horn
svn-id: r44426
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-03-19Merged Neil's NDS changes into trunkMax Horn
svn-id: r39526
2009-01-23Renamed FSNode::openForReading / openForWriting to createReadStream / ↵Max Horn
createWriteStream, again to make ownership of the returned stream clear svn-id: r36014
2009-01-23DS: Apply an old cleanup patch of mine from last AugustMax Horn
svn-id: r36011
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-11-29Remove warnings from NDS build.Robin Watts
svn-id: r35172
2008-11-23Eliminate some warnings from NDS specific code.Robin Watts
svn-id: r35157
2008-11-07DS: Fixing feof behaviour and path prefix stuff.Neil Millstone
svn-id: r34934
2008-10-02Renamed FilesystemNode -> FSNodeMax Horn
svn-id: r34716
2008-09-17DS: Removing some dead code; merged (parts of) std_cwd into ↵Max Horn
GBAMPSaveFileManager::listSavefiles svn-id: r34587
2008-09-15DS: Backported 0.12 changes to trunkMax Horn
svn-id: r34568
2008-09-14DS: Some more compile fixes (prope solution would of course be to overload ↵Max Horn
::openForReading & ::openForWriting) svn-id: r34550
2008-09-14Compilation fix for NDSMax Horn
svn-id: r34542
2008-09-03Pushed AbstractFilesystemNode::openForReading() / openForWriting() impls out ↵Max Horn
to backends svn-id: r34304
2008-09-03Moved FilesystemNode / FSList to namespace Common; also got rid of some ↵Max Horn
'typedef Common::String String;' name aliases svn-id: r34302
2008-08-27FSNode code: Merged most versions of lastPathComponent() into one new ↵Max Horn
AbstractFilesystemNode::lastPathComponent() method, with customizable path separator character svn-id: r34197
2008-06-03DS: Forgot to commit #include changes in the ds-fs.* files; this allows to ↵Max Horn
get rid of -Isource/fat svn-id: r32520
2008-03-29Removing dead codeMax Horn
svn-id: r31304
2008-02-24Don'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-23Renamed AbstractFilesystemFactory to FilesystemFactoryMax Horn
svn-id: r30935
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-18Use explicit path in #include statement (DS port specific)Max Horn
svn-id: r30552
2007-12-21Remove a commentNeil Millstone
svn-id: r29943
2007-12-21Implement exists() in DS file systemNeil Millstone
svn-id: r29942
2007-10-13Fixed a load of compile errors, reverted additions to lastPathComponent() ↵Neil Millstone
which were clearly in error. svn-id: r29204
2007-10-07Commit 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