aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2008-04-02Oops forgot to enable friend statement.Johannes Schickel
svn-id: r31358
2008-04-02Implemented transparent List::iterator to List::const_iterator conversion ↵Johannes Schickel
and updated our tests accordingly. svn-id: r31357
2008-04-02Committed patch #1929274 "HashMap: Iterator rework".Johannes Schickel
svn-id: r31356
2008-03-30Added fixme regarding header 'new'.Johannes Schickel
svn-id: r31339
2008-03-30Some minor whitespace changes, and the customary "end of namespace" comment.Torbjörn Andersson
svn-id: r31338
2008-03-30Removed char &operator [] from class String -- it had the potential to wreak ↵Max Horn
havoc when used on shared strings (thanks to tramboi for pointing this out) svn-id: r31334
2008-03-30Committed salty-horse's documentation patch.Johannes Schickel
svn-id: r31333
2008-03-30Whitespacing fixesBertrand Augereau
svn-id: r31330
2008-03-30Dropped superfluous 'virtual' keyword (saves us a few bytes for each String)Max Horn
svn-id: r31327
2008-03-30#include <cstring> => #include <string.h> (for size_t)Bertrand Augereau
svn-id: r31325
2008-03-30std::max => utils.h MAXBertrand Augereau
Added GPL headers svn-id: r31324
2008-03-30The "anchor" (root) of the linked list is now constructed inplace in the ↵Bertrand Augereau
List instead of being newed (it has the same lifetime as the List itself anyway) svn-id: r31323
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