aboutsummaryrefslogtreecommitdiff
path: root/common/str.h
AgeCommit message (Collapse)Author
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2007-06-02Enhanced Common::String by adding char constructor and operator+ for charsMax Horn
svn-id: r27051
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-04-15Added Common::String::contains() methodMax Horn
svn-id: r26514
2007-03-09Removing some unnecessary #includesMax Horn
svn-id: r26044
2007-02-13made rtrim() and ltrim() global functions, to reduce code duplication (it ↵Gregory Montoir
seems parallaction/parser.cpp code re-use them too svn-id: r25564
2006-11-27Changed the way String::_storage is initialised, to help GCC 2.95 (see ↵Gregory Montoir
tracker item #1602879) svn-id: r24793
2006-09-30Rewrote class String to use an internal (stack based) storage for small ↵Max Horn
strings, thus avoiding a couple ten thousand heap allocations svn-id: r24043
2006-07-30Added new equals(IgnoreCase) and compareTo(IgnoreCase) methods to class StringMax Horn
svn-id: r23633
2006-06-05Lazily allocate _refCount in class StringMax Horn
svn-id: r22935
2006-06-03Allocate and grow Common::String objects in multiples of 32, and leave at ↵Max Horn
least 16 spare bytes at the end, in case the string grows a little bit. svn-id: r22896
2006-06-02Allocate minimum 16 bytes on String(str) call. Reduces 2.500 malloc() callsEugene Sandulenko
on startup svn-id: r22834
2006-03-28Renamed various container isEmpty() methods to empty() to match STL conventionsMax Horn
svn-id: r21472
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20510
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-11-27Patch #1341626: "New GP32 port"Eugene Sandulenko
svn-id: r19710
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-08PalmOS: cannot use global objects in ARMChris Apers
svn-id: r18962
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-05-15Added String::iteratorMax Horn
svn-id: r18105
2005-02-06Added String::hasSuffix and hasPrefixMax Horn
svn-id: r16744
2005-01-15Get rid of the ConstString classMax Horn
svn-id: r16564
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-07-21Small tweaks for the String classMax Horn
svn-id: r14293
2004-06-27Added operator + for stringsMax Horn
svn-id: r14093
2004-04-09Renamed template class 'List' to 'Array', since that is really what it is (a ↵Max Horn
resizable array, not a linked list) svn-id: r13520
2004-02-05renamed (Const)Iterator to (const_)iterator; changed size() to return an uintMax Horn
svn-id: r12722
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-11-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11219
2003-11-07change (Const)String::c_str to never return 0 (rather return empty string) ↵Max Horn
-> can be used to simplify code. Also don't use stricmp in </<=/>/>= operators, it is inconsisten with == and != operators svn-id: r11169
2003-10-08add String::lastChar() methodMax Horn
svn-id: r10684
2003-10-06added String::emptyString constantMax Horn
svn-id: r10649
2003-10-02renamed namespace ScummVM to CommonMax Horn
svn-id: r10544
2003-08-21patch #791738 g++ 3.4 compile fix, from Falk Hueffner and a few minor local ↵Jonathan Gray
bits in my tree svn-id: r9807
2003-08-01#include cleanup (explicityl specify the location for headers from common/, ↵Max Horn
so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level) svn-id: r9359
2003-05-21pedantic fixesMax Horn
svn-id: r7789
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06next pedantic cleanup codePaweł Kołodziejski
svn-id: r6714
2003-01-10Added some basic line editing to the EditText widgetOliver Kiehl
svn-id: r6393
2002-11-13#include headers for strlen & assertMax Horn
svn-id: r5536
2002-10-08added methods to String class that convert a string to upper/lower case; ↵Max Horn
changed config class to keep all domains as lower case (fixes bug #scummvm) svn-id: r5104
2002-09-26some fixes for the message dialog; added some commentsMax Horn
svn-id: r5021
2002-09-26added simple message dialogMax Horn
svn-id: r5020
2002-09-09added String constructor which takes (and clones) a ConstStringMax Horn
svn-id: r4918
2002-09-08Added ConstString class; not yet used, but will allow us to reduce the ↵Max Horn
overhead involved when passing in string constants as parameters taking a String ref right now svn-id: r4904
2002-09-08rewrote config class; cleanup; code restructuringMax Horn
svn-id: r4903