aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2008-05-28Decrement _nele when erasing an element from hashmap, and add a test-case ↵Willem Jan Palenstijn
for this bug. svn-id: r32343
2008-05-27Made some methods virtual to allow File subclassesJordi Vilalta Prat
svn-id: r32311
2008-05-26Made fallbackDetect to allow subclasses to override itJordi Vilalta Prat
svn-id: r32295
2008-05-24Removing DS ifdef from getFileSystemFactory().Neil Millstone
svn-id: r32248
2008-05-20Cleaned up engine debug level code.Johannes Schickel
svn-id: r32195
2008-05-19Typo.Johannes Schickel
svn-id: r32191
2008-05-19Removed some more obsolete GP32 codeMax Horn
svn-id: r32179
2008-05-19Removed some dead codeMax Horn
svn-id: r32178
2008-05-15Removed the default OSystem::getTimeAndDate() implementationMax Horn
svn-id: r32138
2008-05-07Proper delete[] formatting (this time all occurences should've been changed...)Johannes Schickel
svn-id: r31929
2008-05-03Formatting.Johannes Schickel
svn-id: r31852
2008-05-03Changed spaces to tab, thus annoying everyone who now have to do a largeTorbjörn Andersson
recompile. svn-id: r31848
2008-04-26Fixed segfault when trying to start invalid gameid from command line.Johannes Schickel
svn-id: r31731
2008-04-21Removed some dead codeMax Horn
svn-id: r31645
2008-04-20- moved kyra functor code to common/func.hJohannes Schickel
- adapted debugger code to use functor code from common/func.h - adapted kyra engine to use functor code from common/func.h svn-id: r31614
2008-04-14Reverted commit #31499Filippos Karapetis
svn-id: r31502
2008-04-14Removed Common::Array::contains()Max Horn
svn-id: r31501
2008-04-14Added contains() method to Common::List, same as in Common::ArrayFilippos Karapetis
svn-id: r31499
2008-04-13Added eriktorbjorn's MemoryWriteStreamDynamic class - a stream that grows as ↵Filippos Karapetis
it's written to svn-id: r31498
2008-04-11Correct documentationJordi Vilalta Prat
svn-id: r31486
2008-04-10Add way to denote CD versions of games and drop language in augmentedEugene Sandulenko
names per LordHoto's request. svn-id: r31475
2008-04-07Fixed compilation on gcc 2.95.Johannes Schickel
svn-id: r31447
2008-04-07Advanced detector: Let the user define a language/platform override for ↵Max Horn
games which do not specify a fixed one (like multilingual versions) svn-id: r31446
2008-04-07Fix a recent regression reported in bug #1937042: "FEEBLE: Capitalization Eugene Sandulenko
variations when searching for files" svn-id: r31445
2008-04-05Advanced detector: replaced kADFlagAugmentPreferredTarget by its inverse, ↵Max Horn
kADFlagDontAugmentPreferredTarget (since all AdvDetector engines except Kyra used kADFlagAugmentPreferredTarget, it seems reasonable to assume that as default) svn-id: r31413
2008-04-05- cleanupJohannes Schickel
- sort savefiles in kyra from newest -> oldest svn-id: r31397
2008-04-04cleanupMax Horn
svn-id: r31391
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