Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-02-13 | made 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-12-17 | replace ensureCapacity(_len-1) by ensureCapacity(_len) (fixes bug #1617410) | Willem Jan Palenstijn | |
svn-id: r24865 | |||
2006-11-27 | Changed the way String::_storage is initialised, to help GCC 2.95 (see ↵ | Gregory Montoir | |
tracker item #1602879) svn-id: r24793 | |||
2006-09-30 | Rewrote 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-30 | Added explicit string equals/hash functors to a new header ↵ | Max Horn | |
common/hash-str.h; removed Hash functor specialization for String and char pointers; changed all code using hashmaps with string keys to explicitly specify whether they honor or ignore case svn-id: r23634 | |||
2006-07-30 | Added new equals(IgnoreCase) and compareTo(IgnoreCase) methods to class String | Max Horn | |
svn-id: r23633 | |||
2006-06-10 | Patch #1503718: "Strange results from Common::computeCapacity" | Eugene Sandulenko | |
svn-id: r22998 | |||
2006-06-05 | Lazily allocate _refCount in class String | Max Horn | |
svn-id: r22935 | |||
2006-06-04 | When ensureCapacity() does not have an old string to copy, make sure the newly | Torbjörn Andersson | |
allocated one is terminated. Hopefully this will keep the SCUMM save dialog from randomly adding garbage to my savegame names. svn-id: r22908 | |||
2006-06-03 | Allocate 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-02 | Fix mingw compile | Travis Howell | |
svn-id: r22835 | |||
2006-06-02 | Allocate minimum 16 bytes on String(str) call. Reduces 2.500 malloc() calls | Eugene Sandulenko | |
on startup svn-id: r22834 | |||
2006-04-16 | Fixed evil longstanding bug in String::toLowercase & toUppercase: Before ↵ | Max Horn | |
modifying the string content, make sure we do not share it with any other string). This should help (hopefully fix) bug #1470892 svn-id: r21931 | |||
2006-04-14 | Tiny optimization for empty strings, which avoids allocating a single byte ↵ | Max Horn | |
just to store an empty string (we pass around empty strings in lots of places) svn-id: r21892 | |||
2006-02-11 | Change CVS keywords to SVN keywords | Max Horn | |
svn-id: r20510 | |||
2006-01-18 | Update copyright notice | Eugene Sandulenko | |
svn-id: r20088 | |||
2005-11-27 | Patch #1341626: "New GP32 port" | Eugene Sandulenko | |
svn-id: r19710 | |||
2005-10-18 | Update FSF address. Eek. Actually that took place on May 1, 2005 | Eugene Sandulenko | |
svn-id: r19142 | |||
2005-10-08 | PalmOS: cannot use global objects in ARM | Chris Apers | |
svn-id: r18962 | |||
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 | Added String::hasSuffix and hasPrefix | Max Horn | |
svn-id: r16744 | |||
2005-01-15 | Get rid of the ConstString class | Max Horn | |
svn-id: r16564 | |||
2005-01-01 | Updated copyright | Max Horn | |
svn-id: r16398 | |||
2004-07-21 | Small tweaks for the String class | Max Horn | |
svn-id: r14293 | |||
2004-06-27 | Added operator + for strings | Max Horn | |
svn-id: r14093 | |||
2004-03-25 | free(0) is guaranteed to be a no-op | Max Horn | |
svn-id: r13380 | |||
2004-02-14 | Fix for bug #896506 (GUI: Invalid read) | Max Horn | |
svn-id: r12864 | |||
2004-01-06 | updated copyright notice | Max Horn | |
svn-id: r12176 | |||
2003-11-08 | cleanup whitespaces | Paweł Kołodziejski | |
svn-id: r11219 | |||
2003-11-07 | change (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-08 | humpf | Max Horn | |
svn-id: r10685 | |||
2003-10-08 | add String::lastChar() method | Max Horn | |
svn-id: r10684 | |||
2003-10-06 | added String::emptyString constant | Max Horn | |
svn-id: r10649 | |||
2003-10-02 | renamed namespace ScummVM to Common | Max Horn | |
svn-id: r10544 | |||
2003-08-21 | patch #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-08-01 | This should be Microsoft Visual C++ only | Travis Howell | |
svn-id: r9355 | |||
2003-07-31 | Disabled unknown pragma warning in MSVC-6. | Jamieson Christian | |
svn-id: r9320 | |||
2003-07-30 | the VC warning for unknown pragmas is now gloabally disabled, no need to ↵ | Max Horn | |
work around it locally svn-id: r9300 | |||
2003-05-21 | pedantic fixes | Max Horn | |
svn-id: r7789 | |||
2003-03-06 | updated copyrights headers | Paweł Kołodziejski | |
svn-id: r6726 | |||
2003-03-06 | next pedantic cleanup code | Paweł Kołodziejski | |
svn-id: r6714 | |||
2003-01-10 | Added some basic line editing to the EditText widget | Oliver Kiehl | |
svn-id: r6393 | |||
2002-11-21 | now this was an *EVIL* typo | Max Horn | |
svn-id: r5668 | |||
2002-11-21 | operator < and > for String now ignore case | Max Horn | |
svn-id: r5649 | |||
2002-11-15 | fix operator == and != | Max Horn | |
svn-id: r5570 | |||
2002-10-08 | added 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-28 | patch #612722: MI2 NewGui title fix | Max Horn | |
svn-id: r5030 | |||
2002-09-26 | some fixes for the message dialog; added some comments | Max Horn | |
svn-id: r5021 |