aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2008-03-30Fixed signed/unsigned warning.Torbjörn Andersson
svn-id: r31322
2008-03-30The hashmap uses the memorypool for allocating/deallocating its NodesBertrand Augereau
(It is faster and it saves approximately 70kB the DS or other small devices will appreciate having) svn-id: r31321
2008-03-30Introduction of a fixed size memory pool with a typical free list implementationBertrand Augereau
+ : amortized O(1) allocation, O(1) deallocation, less overhead per allocation - : unused memory is not reclaimed until death or manual invocation of a function svn-id: r31320
2008-03-30Cleanup.Johannes Schickel
svn-id: r31316
2008-03-30Fixed hashmap code. (please make a better check next time when changing code ↵Johannes Schickel
in common/, this was a really bad one :-/) svn-id: r31314
2008-03-30- Added support for custom deletion operator (aka deleter) support for ↵Johannes Schickel
SharedPtr. - Removed two failing comparison tests of SharedPtr in our test suite (those were not supported according to our documentation anyway) svn-id: r31312
2008-03-30Readded friend statement required by standard conform compilers. Disabled ↵Johannes Schickel
for gcc 2.95 though. svn-id: r31311
2008-03-30Formatting.Johannes Schickel
svn-id: r31308
2008-03-29Centralized the way the hashmaps allocate and free nodes (in order to ↵Bertrand Augereau
instrument and maybe use a pool allocator later) svn-id: r31305
2008-03-29Changed FilesystemNode to use a SharedPtr instead of implementing its own ↵Max Horn
ref counting svn-id: r31303
2008-03-29- allow SharedPtr objects with incomplete typeJohannes Schickel
- updated documentation accordingly - clarified documentation about comparison operators of SharedPtr svn-id: r31301
2008-03-29Document SharedPtr bool conversion operator; added test cases for it; also ↵Max Horn
added two test cases for the comparision operators, which currently fail svn-id: r31299
2008-03-29Removed unused friends statement (causes internal compiler error with GCC ↵Max Horn
2.95 on BeOS) svn-id: r31298
2008-03-28Committed shared pointer implementation of patch #1895703 "COMMON: Managed ↵Johannes Schickel
List". Unlike the patch on the tracker this commit includes documentation for SharedPtr. svn-id: r31287
2008-03-27Implemented SeekableSubReadStreamEndian moddeled after MemoryReadStreamEndian.Johannes Schickel
svn-id: r31270
2008-03-26Added some inlines to MemoryReadStreamEndian.Johannes Schickel
svn-id: r31248
2008-03-26Modified Patch #1925352: Memory leak fixesMax Horn
svn-id: r31244
2008-03-22removed dead codeMax Horn
svn-id: r31222
2008-03-19Implement OSystem_PSP::getFilesystemFactory() and OSystemPSP::getTimeAndDate()Joost Peters
svn-id: r31195
2008-03-15Got rid of EncapsulatedADGameDescMax Horn
svn-id: r31130
2008-03-14Started to get rid of Common::EncapsulatedADGameDesc (using plain ↵Max Horn
Common::ADGameDescription instead) svn-id: r31121
2008-03-14cleanupMax Horn
svn-id: r31120
2008-03-14Advanced Detector: Changed fallback detector from a callback function ↵Max Horn
pointer to an overrideable method of AdvancedMetaEngine svn-id: r31119
2008-03-12Removed remaining traces of the dead MorphOS backend, which itself was ↵Max Horn
removed about one year ago svn-id: r31114
2008-03-11Added OSystem_SDL::getFilesystemFactory()Max Horn
svn-id: r31107
2008-03-03the ps2 changes from the 0.11.1 release, plus some bugfixes and cleanup.Robert Göffringmann
svn-id: r31034
2008-03-01Moved Dreamcast filesystem factory to platform directory.Marcus Comstedt
svn-id: r31021
2008-02-27Added Array::resize() methodMax Horn
svn-id: r30983
2008-02-27Added Array::resize() method, matching vector::resize() from the std C++ libMax Horn
svn-id: r30982
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-24Fixed warning.Torbjörn Andersson
svn-id: r30948
2008-02-23Replaced FilesystemFactory::makeFSFactory with a new method ↵Max Horn
OSystem::getFilesystemFactory() svn-id: r30947
2008-02-23Renamed AbstractFilesystemFactory to FilesystemFactoryMax Horn
svn-id: r30935
2008-02-22Some corrections to the SaveFileManager Doxygen commentsMax Horn
svn-id: r30913
2008-02-20Fix code formatting and simplify code a little bitMax Horn
svn-id: r30912
2008-02-17Tweaks to fmopl; same net effect overall, just faster.Robin Watts
Eliminate divisions, floating point, and mod operation from inner synth loop. svn-id: r30896
2008-02-08Added a simple non-optimized StringTokenizer-class for tokenizing strings. ↵Kari Salminen
Also added a contains(char)-function to the String-class because it was handy in implementing the StringTokenizer. svn-id: r30828
2008-02-07Fix bug preventing compilation in iterator code.Johannes Schickel
svn-id: r30818
2008-02-03Made some advanced detector stuff internal (for now), as it is only used by ↵Max Horn
AdvancedMetaEngine. Also removed obsolete ADVANCED_DETECTOR_DEFINE_PLUGIN macro svn-id: r30779
2008-02-03Migration code for users updating to the 1.1.3 iPhone firmware, which has a ↵Oystein Eftevaag
different directory structure and permission setup svn-id: r30761
2008-02-02Moved AdvancedMetaEngine to namespace CommonMax Horn
svn-id: r30736
2008-02-02Converted the remaining engines to use MetaEngineJordi Vilalta Prat
svn-id: r30728
2008-02-02New MetaEngine class (work in progress to replace the current Engine plugin ↵Max Horn
API with a more object oriented approach) svn-id: r30726
2008-02-01Moved enum PluginError from base/plugins.h to common/error.hMax Horn
svn-id: r30723
2008-01-31Second part of patch #1880781: "BeOS port for scummvm"Eugene Sandulenko
svn-id: r30720
2008-01-28- make Common::sort supporting a function object to compare two entries ↵Johannes Schickel
instead of operator < - adapt parallaction to use the new Common::sort function svn-id: r30692
2008-01-28Removed unneeded copy constructor & assignment operator (the compiler will ↵Max Horn
auto-generate them for us) svn-id: r30678
2008-01-28Forward declare HashMap::ConstIterator (this might fix compile errors with ↵Max Horn
some old GCC versions) svn-id: r30670
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664