aboutsummaryrefslogtreecommitdiff
path: root/common/str.cpp
AgeCommit message (Expand)Author
2008-10-12COMMON: Added a new ObjectPool class, with matching operator new/delete overl...Max Horn
2008-10-02Ignore String::deleteLastChar when called on an empty stringMax Horn
2008-09-24Changed Common::String to use a MemoryPool for its refcountsMax Horn
2008-09-20Little readability tweakMax Horn
2008-09-05Optimized matchString for the common case where there is a trailing * (if tha...Max Horn
2008-09-05Moved matchString from util.* to str.*; added new String::matchString method;...Max Horn
2008-09-03Fix nasty off-by-one errorsMax Horn
2008-09-03Modified Common::Str to use exponential growth for its storage; also changed ...Max Horn
2008-09-02Added two new global funcs which ease proper handling of 'path' strings: Comm...Max Horn
2008-08-20Unified member names in container/storage classes Array, HashMap and String: ...Max Horn
2008-07-23Reorder stuff a little bit, moving private String methods together: cleanupMax Horn
2008-07-23Added convenience method String::makeUnique(); simplified String::operator=(c...Max Horn
2008-07-23Fix String::trim to work right for shared strings; augemented test cases to c...Max Horn
2008-07-22Added String::trim() methodMax Horn
2008-07-20Fixed potential issue in Common::String when asserting a substring of a strin...Max Horn
2008-03-30Removed char &operator [] from class String -- it had the potential to wreak ...Max Horn
2008-02-08Added a simple non-optimized StringTokenizer-class for tokenizing strings. Al...Kari Salminen
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have bee...Nicola Mettifogo
2007-06-02Enhanced Common::String by adding char constructor and operator+ for charsMax Horn
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client fo...Max Horn
2007-04-15Added Common::String::contains() methodMax Horn
2007-03-09Removing some unnecessary #includesMax Horn
2007-02-13made rtrim() and ltrim() global functions, to reduce code duplication (it see...Gregory Montoir
2006-12-17replace ensureCapacity(_len-1) by ensureCapacity(_len) (fixes bug #1617410)Willem Jan Palenstijn
2006-11-27Changed the way String::_storage is initialised, to help GCC 2.95 (see tracke...Gregory Montoir
2006-09-30Rewrote class String to use an internal (stack based) storage for small strin...Max Horn
2006-07-30Added explicit string equals/hash functors to a new header common/hash-str.h;...Max Horn
2006-07-30Added new equals(IgnoreCase) and compareTo(IgnoreCase) methods to class StringMax Horn
2006-06-10Patch #1503718: "Strange results from Common::computeCapacity"Eugene Sandulenko
2006-06-05Lazily allocate _refCount in class StringMax Horn
2006-06-04When ensureCapacity() does not have an old string to copy, make sure the newlyTorbjörn Andersson
2006-06-03Allocate and grow Common::String objects in multiples of 32, and leave at lea...Max Horn
2006-06-02Fix mingw compileTravis Howell
2006-06-02Allocate minimum 16 bytes on String(str) call. Reduces 2.500 malloc() callsEugene Sandulenko
2006-04-16Fixed evil longstanding bug in String::toLowercase & toUppercase: Before modi...Max Horn
2006-04-14Tiny optimization for empty strings, which avoids allocating a single byte ju...Max Horn
2006-02-11Change CVS keywords to SVN keywordsMax Horn
2006-01-18Update copyright noticeEugene Sandulenko
2005-11-27Patch #1341626: "New GP32 port"Eugene Sandulenko
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
2005-10-08PalmOS: cannot use global objects in ARMChris Apers
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
2005-02-06Added String::hasSuffix and hasPrefixMax Horn
2005-01-15Get rid of the ConstString classMax Horn
2005-01-01Updated copyrightMax Horn
2004-07-21Small tweaks for the String classMax Horn
2004-06-27Added operator + for stringsMax Horn
2004-03-25free(0) is guaranteed to be a no-opMax Horn
2004-02-14Fix for bug #896506 (GUI: Invalid read)Max Horn