Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-05-25 | COMMON: fix wrong size assignment in HashMap | whiterandrek | |
2018-05-10 | COMMON: Use nullptr instead of NULL or 0 where appropriate | Bastien Bouclet | |
2018-04-15 | JANITORIAL: Fix whitespace | Adrian Frühwirth | |
2014-02-18 | COMMON: Make GPL headers consistent in themselves. | Johannes Schickel | |
2013-01-26 | JANITORIAL: Enforce "} // End of namespace" with a single space after }. | Johannes Schickel | |
2012-02-22 | COMMON: Add a size_type to HashMap. | Johannes Schickel | |
2011-07-03 | COMMON: Fix compilation when USE_HASHMAP_MEMORY_POOL is not defined. | Johannes Schickel | |
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-04-28 | JANITORIAL: Reduce header dependencies in shared code | Ori Avtalion | |
Some backends may break as I only compiled SDL | |||
2011-04-04 | COMMON: Fix (harmless) int <-> uint mismatch | Max Horn | |
2011-01-30 | COMMON: Add an erase method which takes an iterator to HashMap. | Johannes Schickel | |
Currently there is no iterator returned from this method, to have some similarity to associative containers of the STL. I also "added" one unit test for this method, which is basically just a copy of the HashMap::erase(const Key &) test with the required adaptions. svn-id: r55661 | |||
2010-11-01 | COMMON: Disable DEBUG_HASH_COLLISIONS (oops) | Max Horn | |
svn-id: r54013 | |||
2010-11-01 | COMMON: Change some (f)printf to debug calls; clenaup hashmap.h | Max Horn | |
svn-id: r54003 | |||
2010-10-15 | COMMON: Extend workaround in HashMap code for sgi IRIX MIPSpro to also apply ↵ | Johannes Schickel | |
for Intel's C++ compiler. svn-id: r53507 | |||
2010-07-17 | Remove PalmOS port | Max Horn | |
svn-id: r50964 | |||
2010-05-17 | Restrict MIPSpro workaround to non-gcc compilers -- fixes compilation with ↵ | Joost Peters | |
gcc on irix. svn-id: r49060 | |||
2010-01-25 | Strip trailing spaces/tabs. | Johannes Schickel | |
svn-id: r47541 | |||
2009-09-22 | Remove superfluous checks | Willem Jan Palenstijn | |
svn-id: r44258 | |||
2009-09-22 | Fix regression in 44236, which caused iterators to see dummy node entries as ↵ | Johannes Schickel | |
valid entries. svn-id: r44256 | |||
2009-09-21 | Stop confusing doxygen :) | Max Horn | |
svn-id: r44237 | |||
2009-09-21 | COMMON: Remove Common::HashMap::_dummyNode, instead use HASHMAP_DUMMY_NODE ↵ | Max Horn | |
(this saves memory and should still be safe) svn-id: r44236 | |||
2009-09-06 | COMMON: HashMap::getVal now allows specifying a default value. | Max Horn | |
A new variant of HashMap::getVal with a second 'default value' parameter has been added. This helps avoid many contains() + getVal() combos (which incur double lookup penalty), and is much lighter than using find() (which has to create an iterator). svn-id: r43983 | |||
2009-08-14 | MIPSpro compilation fixes / workarounds (from a patch by Rainer Canavan) | Joost Peters | |
The hashmap.h change is ugly, but so far the only thing found to work. Suggestions for a better "fix" appreciated! svn-id: r43380 | |||
2009-07-03 | If NDEBUG is #defined, then assert does nothing, leading to warnings about ↵ | Max Horn | |
'old_size' not being used -> fix that svn-id: r42056 | |||
2009-06-13 | Fix erase() sometimes hiding other hash elements. | Willem Jan Palenstijn | |
Like CPython, we now use a dummy node to mark nodes as erased, so that lookup() can skip over it. All tests should now pass again. svn-id: r41496 | |||
2009-04-28 | fixed a typo | Max Horn | |
svn-id: r40171 | |||
2009-03-07 | Modified HashMap ctr to skip _defaultVal() on PS2 to avoid gcc 3.2.2 ICE | Max Lingua | |
svn-id: r39174 | |||
2009-02-16 | More paranoia checks | Max Horn | |
svn-id: r38339 | |||
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 |