Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-10-09 | TEST: Extend Common::Array copy-constructor test a bit. | Johannes Schickel | |
2011-05-16 | COMMON: Fix inserting an array into itself under certain conditions | Max Horn | |
2010-10-03 | SCI: Allow multiple word groups in parser | Willem Jan Palenstijn | |
In SCI01 and up, each typed word may be interpreted as multiple class,group pairs. This patch adds support to the vocabulary and parser. It uses the matcher support added in r52985. This fixes parser issues in German LSL3, but needs testing. svn-id: r52989 | |||
2010-03-18 | COMMON: Move typedef StringList from str.h to new header str-array.h | Max Horn | |
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282 | |||
2009-10-19 | Added operator== and != to Common::Array | Max Horn | |
svn-id: r45247 | |||
2009-05-26 | Fixed a bug in Common::Array (including a unit test for it), and changed the ↵ | Max Horn | |
way the internal storage growth over time. The bug could result in incorrect results when using push_back (or insert_at) to insert data from an array into itself if this insertions would cause the internal array storage to grow. Also added a unit test for this bug. Furthermore, if the internal storage needs to grow, it will now be resized to the next power of two, instead of being increased by 32. svn-id: r40907 | |||
2009-05-19 | Converted unit tests to use TS_ASSERT_EQUALS / TS_ASSERT_DIFFERS where ↵ | Max Horn | |
possible; also made them comply a bit more to our code formatting guideline svn-id: r40722 | |||
2009-05-03 | Added unit test for Common::Array::resize() | Max Horn | |
svn-id: r40261 | |||
2009-04-27 | COMMON: Made sure Common::List and Common::array each have all ↵ | Max Horn | |
front/back/push_back/push_front, as have their STL counterparts svn-id: r40163 | |||
2009-04-22 | COMMON: changed class StringList to a simple typedef; enhanced the ↵ | Max Horn | |
Common::Array constructor which converts regular arrays to Array objects to be more flexible in its type (allows e.g. to assign an array of char* to a StringList svn-id: r40077 | |||
2009-04-21 | Fix warnings (patch for array.h was supplied via salty-horse on IRC). | Johannes Schickel | |
svn-id: r40054 | |||
2009-04-20 | COMMON & TESTS: Added new constructor to Array<T>, namely Array(const T* ↵ | Max Horn | |
data, int n), which makes it possible to clone a regular array into a Common::Array; added a unit test for that and slightly extended existing Common::Array unit tests svn-id: r40027 | |||
2009-04-20 | TESTS: Code formatting; also changed some TS_ASSERT to TS_ASSERT_EQUALS | Max Horn | |
svn-id: r40026 | |||
2007-09-19 | Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵ | Nicola Mettifogo | |
been updated. svn-id: r28966 | |||
2007-05-23 | Commit of patch #1715313 ("CORE: STL like algorithm implementation"). | Johannes Schickel | |
svn-id: r26929 | |||
2006-03-28 | Renamed various container isEmpty() methods to empty() to match STL conventions | Max Horn | |
svn-id: r21472 | |||
2005-07-30 | Remove trailing whitespaces. | Eugene Sandulenko | |
svn-id: r18604 | |||
2005-06-24 | When including files from common/, explicitly use the common/ prefix | Max Horn | |
svn-id: r18444 | |||
2004-05-21 | Updated unit tests | Max Horn | |
svn-id: r13847 | |||
2004-04-12 | Skeleton unit test for array class | Max Horn | |
svn-id: r13556 |