aboutsummaryrefslogtreecommitdiff
path: root/common/str.cpp
AgeCommit message (Expand)Author
2010-05-05Add a custom implementation of OpenBSD's strlcat and strlcpy.Johannes Schickel
2010-03-18COMMON: Move tag2str from util.h to str.hMax Horn
2010-01-31Slight formatting fixes to comply to our coding guidelines.Johannes Schickel
2009-12-30Get rid of Common::String::emptyString, and also of some port specific hacker...Max Horn
2009-10-12Fix broken size in Common::String::printf output in MSVCWillem Jan Palenstijn
2009-10-03Use buffer in Common::String::printf slightly more efficientlyWillem Jan Palenstijn
2009-10-01Fix Common::String::printf in MSVCWillem Jan Palenstijn
2009-09-23COMMON: Add "ignoreCase" parameter to matchString.Johannes Schickel
2009-07-25FormattingEugene Sandulenko
2009-07-25Add Common::String::printf to format a stringWillem Jan Palenstijn
2009-06-07Fixed appending a (substring of a) string to itselfMax Horn
2009-06-07Added some new method variants to Common::StringMax Horn
2009-05-04Fixed new[] / delete mismatch in Common::StringMax Horn
2009-05-03COMMON: Check for failed memory allocations; changed Common::String to use ne...Max Horn
2009-02-15Merged internal 'matchPath' method of class Archive into global matchString f...Max Horn
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
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