aboutsummaryrefslogtreecommitdiff
path: root/common/str.cpp
AgeCommit message (Expand)Author
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
2004-01-06updated copyright noticeMax Horn
2003-11-08cleanup whitespacesPaweł Kołodziejski
2003-11-07change (Const)String::c_str to never return 0 (rather return empty string) ->...Max Horn
2003-10-08humpfMax Horn
2003-10-08add String::lastChar() methodMax Horn
2003-10-06added String::emptyString constantMax Horn
2003-10-02renamed namespace ScummVM to CommonMax Horn
2003-08-21patch #791738 g++ 3.4 compile fix, from Falk Hueffner and a few minor local b...Jonathan Gray
2003-08-01#include cleanup (explicityl specify the location for headers from common/, s...Max Horn
2003-08-01This should be Microsoft Visual C++ onlyTravis Howell