aboutsummaryrefslogtreecommitdiff
path: root/backends/fs
AgeCommit message (Collapse)Author
2013-06-06ALL: Fix typo (succesful -> successful)Willem Jan Palenstijn
Thanks to 'onlyjob' on pull request #337 for pointing out an instance of this.
2013-01-26JANITORIAL: Enforce "} // End of namespace" with a single space after }.Johannes Schickel
2012-03-17ALL: Make use of defined() for the preprocessor consistent.Johannes Schickel
This does not change the use of defined for some NDS source files, since they seem to be (based on?) third party code.
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15JANITORIAL: Fix whitespace in pointer template argTarek Soliman
2011-11-27JANITORIAL: Remove extra semicolons.Christoph Mallon
2011-08-21BADA: Initial BADA port implementationChris Warren-Smith
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
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-28BACKENDS: Update WindowsFilesystemNode::getChildren() to honor the hidden ↵Littleboy
parameter (FR #1726611) Hidden folders (such as the recycle bin or temporary hidden folders) will no longer be visible in the file/folder browser (as is the case on the Posix and related backends)
2011-06-22PS3: Initial version of the PlayStation 3 backendBastien Bouclet
2011-06-06DS: Remove dead codeMax Horn
2011-06-06DS: Add custom logMessage() implementationMax Horn
2011-06-04IRIX: Fix compilationJoost Peters
2011-05-25BUILD: Rename UNIX #define to POSIXMax Horn
2011-05-23COMMON: Mark more symbols as forbiddenMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-03WII: Fix compilationdhewg
2011-05-03MACOSX: Try to fix compile errors triggered with certain Mac OS X SDK versionsMax Horn
2011-05-03N64: Fix FS code regressionMax Horn
2011-05-03COMMON: Forbid use of getcwd&getwd; add macro to enable unistd.h compatibilityMax Horn
2011-05-03PSP: Fix more forbidden symbol clashesMax Horn
2011-05-03WII: Fix fs code compile regressionsMax Horn
2011-05-03BACKENDS: Avoid #including .cpp filesMax 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.
2011-05-02ALL: Mark printf and various other symbols as forbiddenMax Horn
Right now, a few places in the frontend code still use printf and consorts. We mark the affected files with a FIXME for now, and add a dedicated exception for each. To be fixed! Also tweak FORBIDDEN_SYMBOL_REPLACEMENT to hopefully really always enforce a compiler error
2010-11-29SDL: Trying to cleanup the FORBIDDEN_SYMBOL situationMax Horn
svn-id: r54575
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-18COMMON: Make implementation of Buffered*Stream classes internalMax Horn
svn-id: r54326
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-11-09N64: correct wrong check in romfs stream codeFabio Battaglia
my implementation of romfs_seek is based on lseek, not on fseek, so it returns the offset on successful completion, not 0, corrected the check in RomfsStream::seek(). svn-id: r54151
2010-10-31PS2: Enable another use of forbidden symbolsMax Horn
svn-id: r53977
2010-10-31WINDOWS: Enable use of forbidden symbolsMax Horn
svn-id: r53972
2010-10-30ALL: Add code to help stop people from accidentally using "bad" APIsMax Horn
A new header file common/forbidden.h is included by scummsys.h and it re-#defines numerous symbols like fopen(), fread(), system(), etc. with garbage, in order to provoke compile errors in any code using them. If a .cpp file really *must* use any of these (e.g. because it is a backend file), then these redefinitions can be disabled by #defining FORBIDDEN_SYMBOL_ALLOW_ALL as the first thing in the .cpp file. Whenever this is done, an explanatory comment should be added. Note that this system cannot catch all "bad" usages (notably the Lua code in the sword25 engine), as it can only work if scummsys.h is included. svn-id: r53961
2010-10-12JANITORAL: Clean trailing whitespaces.Jordi Vilalta Prat
svn-id: r53160
2010-09-14PSP: 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-09-04DS: Enable stdout/err via nocash when DISABLE_COMMAND_LINE in not set.Andre Heider
svn-id: r52533
2010-08-25PSP: 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-24PSP: switched to using BufferedSeekableReadStream and BufferedWriteStreamYotam 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-22PSP: switched from stdio to psp functions -- dramatic speed improvementYotam Barnoy
Turns out that stdio is about 30x(!) slower than using the PSP's functions. Very significant optimization. svn-id: r52271
2010-08-14WII: Fix compilation of the GameCube port.Andre Heider
svn-id: r52089
2010-08-14WII: Update port for the current versions of the base libraries. Enable DVD ↵Andre Heider
access for the GameCube port. svn-id: r52074
2010-07-17Remove PalmOS portMax Horn
svn-id: r50964
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