Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-06-20 | COMMON: Add erase method to String class | richiesams | |
2011-06-03 | COMMON: Let Common::normalizePath normalize '..' in paths | Max Horn | |
There are some unit tests to verify that this works correctly. There is a small chance that this causes regressions in weird setups. | |||
2011-05-23 | COMMON: Provide our own implementations for scumm_str(n)icmp | Max Horn | |
This takes up a tiny little bit of extra binary size, but gets rid of some awful #ifdef hackery. | |||
2010-11-01 | COMMON: Rename String::printf() to String::format() | Max Horn | |
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004 | |||
2010-10-10 | TEST: Use TS_ASSERT_EQUALS instead of TS_ASSERT + operator== | Max Horn | |
svn-id: r53121 | |||
2010-09-07 | COMMON: Fix edge case for wildcard in matchString | Willem Jan Palenstijn | |
svn-id: r52618 | |||
2010-08-16 | Common: Fix bug in lastPathComponent. | Johannes Schickel | |
Prior to this change lastPathComponent would not create a correct result, when the input of lastPathComponent did not contain a single separator. I also added a test case for this in our unit tests. svn-id: r52123 | |||
2010-05-30 | Split test cases for internal and external storage. | Johannes Schickel | |
svn-id: r49325 | |||
2010-05-30 | Add a (currently) failing test for reference logic in Common::String. (Taken ↵ | Johannes Schickel | |
from an example by fuzzie) svn-id: r49322 | |||
2010-05-05 | Typo. | Johannes Schickel | |
svn-id: r48956 | |||
2010-05-05 | Add a custom implementation of OpenBSD's strlcat and strlcpy. | Johannes Schickel | |
This includes both an implementation and some basic unit tests for the above mentioned functions. svn-id: r48953 | |||
2009-10-12 | Add unit test for bug fixed by r44979 | Willem Jan Palenstijn | |
svn-id: r44980 | |||
2009-07-25 | Add Common::String::printf to format a string | Willem Jan Palenstijn | |
svn-id: r42743 | |||
2009-06-07 | Added some new method variants to Common::String | Max Horn | |
svn-id: r41333 | |||
2009-05-31 | Extend self asignment test a bit more (both using internal and allocated ↵ | Johannes Schickel | |
storage). svn-id: r41083 | |||
2009-05-31 | Add unit tests for Common::String operators. These test cases will for ↵ | Johannes Schickel | |
example cover tests on String instances, which will be added to itself (foo += foo). NOTE: Those fail currently. svn-id: r41082 | |||
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-04-20 | TESTS: Code formatting; also changed some TS_ASSERT to TS_ASSERT_EQUALS | Max Horn | |
svn-id: r40026 | |||
2008-09-05 | additional Common::String tests | Willem Jan Palenstijn | |
svn-id: r34369 | |||
2008-09-05 | Optimized matchString for the common case where there is a trailing * (if ↵ | Max Horn | |
that is the case, abort immediately instead of scanning the rest of the string) svn-id: r34367 | |||
2008-09-05 | Moved matchString from util.* to str.*; added new String::matchString ↵ | Max Horn | |
method; fixed matchString doxygen comment (it confused pattern & string); added unit tests for matchString svn-id: r34364 | |||
2008-09-02 | Added two new global funcs which ease proper handling of 'path' strings: ↵ | Max Horn | |
Common::lastPathComponent() and Common::normalizePath() svn-id: r34272 | |||
2008-07-23 | Added convenience method String::makeUnique(); simplified ↵ | Max Horn | |
String::operator=(char c); extended String unit tests svn-id: r33246 | |||
2008-07-23 | Fix String::trim to work right for shared strings; augemented test cases to ↵ | Max Horn | |
cover this svn-id: r33234 | |||
2008-07-22 | Added String::trim() method | Max Horn | |
svn-id: r33203 | |||
2008-07-20 | Fixed potential issue in Common::String when asserting a substring of a ↵ | Max Horn | |
string X back to X (memcpy -> memmove); also added some other sanity checks, and merged some duplicate code into a new method String::initWithCStr svn-id: r33137 | |||
2007-09-19 | Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵ | Nicola Mettifogo | |
been updated. svn-id: r28966 | |||
2007-04-15 | Added Common::String::contains() method | Max Horn | |
svn-id: r26514 | |||
2006-09-30 | Added some String tests, to verify copy-on-write works correctly | Max Horn | |
svn-id: r24045 | |||
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 | |||
2005-02-06 | Add testcases for String::hasSuffix and hasPrefix | Max Horn | |
svn-id: r16745 | |||
2003-12-24 | simple unit tests for List/Map/String classes | Max Horn | |
svn-id: r11886 |