Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-22 | Fixed indentation and removed whitespaces at the end of line | Jordi Vilalta Prat | |
svn-id: r35481 | |||
2008-10-12 | COMMON: Added a new ObjectPool class, with matching operator new/delete ↵ | Max Horn | |
overloads svn-id: r34785 | |||
2008-09-02 | Revised HashMap implementation | Max Horn | |
svn-id: r34273 | |||
2008-08-20 | Unified member names in container/storage classes Array, HashMap and String: ↵ | Max Horn | |
_storage, _size, _capacity svn-id: r34052 | |||
2008-08-20 | Extended HashMap debug output | Max Horn | |
svn-id: r34051 | |||
2008-08-04 | List the correct engines in about, | Lars Persson | |
updated actions with Lure (from WinCE). Increased min heap size to 5MB svn-id: r33618 | |||
2008-07-22 | Disable hashmemory pool for Symbian OS | Lars Persson | |
svn-id: r33212 | |||
2008-05-28 | Decrement _nele when erasing an element from hashmap, and add a test-case ↵ | Willem Jan Palenstijn | |
for this bug. svn-id: r32343 | |||
2008-05-03 | Formatting. | Johannes Schickel | |
svn-id: r31852 | |||
2008-04-02 | Committed patch #1929274 "HashMap: Iterator rework". | Johannes Schickel | |
svn-id: r31356 | |||
2008-03-30 | Added fixme regarding header 'new'. | Johannes Schickel | |
svn-id: r31339 | |||
2008-03-30 | Whitespacing fixes | Bertrand Augereau | |
svn-id: r31330 | |||
2008-03-30 | The hashmap uses the memorypool for allocating/deallocating its Nodes | Bertrand Augereau | |
(It is faster and it saves approximately 70kB the DS or other small devices will appreciate having) svn-id: r31321 | |||
2008-03-30 | Cleanup. | Johannes Schickel | |
svn-id: r31316 | |||
2008-03-30 | Fixed 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 | Formatting. | Johannes Schickel | |
svn-id: r31308 | |||
2008-03-29 | Centralized 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-02-07 | Fix bug preventing compilation in iterator code. | Johannes Schickel | |
svn-id: r30818 | |||
2008-01-31 | Second part of patch #1880781: "BeOS port for scummvm" | Eugene Sandulenko | |
svn-id: r30720 | |||
2008-01-28 | Forward declare HashMap::ConstIterator (this might fix compile errors with ↵ | Max Horn | |
some old GCC versions) svn-id: r30670 | |||
2008-01-27 | Removed trailing spaces. | Jordi Vilalta Prat | |
svn-id: r30664 | |||
2008-01-23 | assert if hashmap iterator is out of bounds (e.g. happens when derefing end() | Max Horn | |
svn-id: r30623 | |||
2008-01-13 | Fix warnings HashMap causes on some compilers (notably, GCC 3.x used for ↵ | Max Horn | |
various cross compilers) svn-id: r30472 | |||
2007-12-28 | Fix hashmap.h properly (this is not a bug in GCC 4.0 etc., rather it's a bug ↵ | Max Horn | |
in newer GCC versions that they *accepted* the old code...) svn-id: r30022 | |||
2007-12-27 | same bug on arm-wince-gcc 4.1.0 | Kostas Nakos | |
svn-id: r30014 | |||
2007-12-27 | Fix for bug #1858824 "AMIGAOS4: Build Process breaks due to regression". | Johannes Schickel | |
svn-id: r30013 | |||
2007-12-26 | Patch #1837119 (COMMON: Common::HashMap iterator rework) with workaroud for ↵ | Max Horn | |
Mac OS X compiler bug svn-id: r30004 | |||
2007-09-19 | Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵ | Nicola Mettifogo | |
been updated. svn-id: r28966 | |||
2007-05-30 | Updated legal headers in source files, based on what Pidgin (the IM client ↵ | Max Horn | |
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024 | |||
2007-03-12 | Protect Array<> and HashMap<> instances against self assignments | Max Horn | |
svn-id: r26115 | |||
2007-03-09 | Avoid double frees in HashMap::erase | Max Horn | |
svn-id: r26040 | |||
2007-03-04 | Some HashMap cleanup: | Max Horn | |
* Removed the odd return value of method erase() * Stopped erase() from leaking (oops!) * Added a (paranoia) consistency check to assign() svn-id: r25967 | |||
2007-03-04 | Paranoia: a hashmap node must never ever change its key after its creation | Max Horn | |
svn-id: r25965 | |||
2007-01-28 | Return a default value in the const-variant of HashMap::getVal, instead of ↵ | Max Horn | |
asserting out -- this way, we get less unexpected asserts, and both getVal variants behave comparably diff. The drawback is that now all HashMap instances carry one extra Value object around with them. svn-id: r25245 | |||
2007-01-21 | Added non-const variant of HashMap::getVal | Max Horn | |
svn-id: r25136 | |||
2007-01-21 | Added some new HashMap methods: lookupAndCreateIfMissing (internal only), ↵ | Max Horn | |
setVal and getVal (which actually is just the old queryVal renamed for consistency) svn-id: r25135 | |||
2007-01-19 | Added copy constructor and assignment operator to class HashMap | Max Horn | |
svn-id: r25125 | |||
2007-01-14 | Still doesn't work with PalmOS compiler | Chris Apers | |
svn-id: r25079 | |||
2006-11-26 | Replaced #ifdef hack in the HashMap code by a much nicer and cleaner 'friend ↵ | Max Horn | |
class' statement (a similar change might be possible in class List) svn-id: r24791 | |||
2006-10-03 | typo | Max Horn | |
svn-id: r24093 | |||
2006-10-02 | Remove BaseNodeType (it is not used anymore, we can readd it, should we ever ↵ | Max Horn | |
have need for it again) svn-id: r24079 | |||
2006-07-30 | Added explicit string equals/hash functors to a new header ↵ | Max Horn | |
common/hash-str.h; removed Hash functor specialization for String and char pointers; changed all code using hashmaps with string keys to explicitly specify whether they honor or ignore case svn-id: r23634 | |||
2006-07-30 | Rename BaseNodeFunc to BaseNodeType | Max Horn | |
svn-id: r23627 | |||
2006-07-22 | Part of the FreeMiNT patch | Max Horn | |
svn-id: r23566 | |||
2006-06-03 | Removed unnecessary typedef | Max Horn | |
svn-id: r22875 | |||
2006-06-03 | Really remove HashMap::find(char *) | Max Horn | |
svn-id: r22874 | |||
2006-06-03 | Replaced the bogus find(const String &key) method with the proper find(const ↵ | Max Horn | |
Key &key) one. Also removed the bogus find(const char *key) (which not only doesn't work correctly for non-string keys, but also usually will be *less* efficient) svn-id: r22871 | |||
2006-06-02 | Plug memory leak | Eugene Sandulenko | |
svn-id: r22842 | |||
2006-06-02 | Remove slipped in debug output. | Eugene Sandulenko | |
svn-id: r22840 | |||
2006-06-02 | Added possibility to use (char *) as ashMap keys. For some reason it does not | Eugene Sandulenko | |
work as expected. When I try to switch _aliasmap in eval.h to it, I get crash in String constructor on dereferencing. svn-id: r22838 |