aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
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
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