Max Horn
|
a6c3257c5e
|
Rewrote class String to use an internal (stack based) storage for small strings, thus avoiding a couple ten thousand heap allocations
svn-id: r24043
|
2006-09-30 18:55:38 +00:00 |
|
Max Horn
|
bd49091afd
|
Added new equals(IgnoreCase) and compareTo(IgnoreCase) methods to class String
svn-id: r23633
|
2006-07-30 12:17:51 +00:00 |
|
Max Horn
|
6d0a06463a
|
Lazily allocate _refCount in class String
svn-id: r22935
|
2006-06-05 17:36:08 +00:00 |
|
Max Horn
|
cbe66f3360
|
Allocate and grow Common::String objects in multiples of 32, and leave at least 16 spare bytes at the end, in case the string grows a little bit.
svn-id: r22896
|
2006-06-03 16:33:42 +00:00 |
|
Eugene Sandulenko
|
8c7abdf024
|
Allocate minimum 16 bytes on String(str) call. Reduces 2.500 malloc() calls
on startup
svn-id: r22834
|
2006-06-02 13:00:27 +00:00 |
|
Max Horn
|
9f93e5bb81
|
Renamed various container isEmpty() methods to empty() to match STL conventions
svn-id: r21472
|
2006-03-28 09:42:54 +00:00 |
|
Max Horn
|
36934b611d
|
Change CVS keywords to SVN keywords
svn-id: r20510
|
2006-02-11 09:53:53 +00:00 |
|
Eugene Sandulenko
|
ea42bad781
|
Update copyright notice
svn-id: r20088
|
2006-01-18 17:39:49 +00:00 |
|
Eugene Sandulenko
|
edfae828f6
|
Patch #1341626: "New GP32 port"
svn-id: r19710
|
2005-11-27 02:35:57 +00:00 |
|
Eugene Sandulenko
|
b36677af71
|
Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
|
2005-10-18 01:30:26 +00:00 |
|
Chris Apers
|
12f40ae777
|
PalmOS: cannot use global objects in ARM
svn-id: r18962
|
2005-10-08 19:07:18 +00:00 |
|
Eugene Sandulenko
|
6b4484472b
|
Remove trailing whitespaces.
svn-id: r18604
|
2005-07-30 21:11:48 +00:00 |
|
Max Horn
|
343c5152c0
|
Added String::iterator
svn-id: r18105
|
2005-05-15 13:20:52 +00:00 |
|
Max Horn
|
4e66139a4e
|
Added String::hasSuffix and hasPrefix
svn-id: r16744
|
2005-02-06 19:00:59 +00:00 |
|
Max Horn
|
fcad363886
|
Get rid of the ConstString class
svn-id: r16564
|
2005-01-15 21:42:59 +00:00 |
|
Max Horn
|
47280d9433
|
Updated copyright
svn-id: r16398
|
2005-01-01 16:09:25 +00:00 |
|
Max Horn
|
0605918ab4
|
Small tweaks for the String class
svn-id: r14293
|
2004-07-21 14:20:37 +00:00 |
|
Max Horn
|
4744538752
|
Added operator + for strings
svn-id: r14093
|
2004-06-27 23:58:41 +00:00 |
|
Max Horn
|
8a69ffc46c
|
Renamed template class 'List' to 'Array', since that is really what it is (a resizable array, not a linked list)
svn-id: r13520
|
2004-04-09 15:10:23 +00:00 |
|
Max Horn
|
f59eb3b219
|
renamed (Const)Iterator to (const_)iterator; changed size() to return an uint
svn-id: r12722
|
2004-02-05 00:19:57 +00:00 |
|
Max Horn
|
033ff78ae9
|
updated copyright notice
svn-id: r12176
|
2004-01-06 12:45:34 +00:00 |
|
Paweł Kołodziejski
|
b5a7ef0822
|
cleanup whitespaces
svn-id: r11219
|
2003-11-08 22:43:46 +00:00 |
|
Max Horn
|
82aac86edf
|
change (Const)String::c_str to never return 0 (rather return empty string) -> can be used to simplify code. Also don't use stricmp in </<=/>/>= operators, it is inconsisten with == and != operators
svn-id: r11169
|
2003-11-07 00:02:03 +00:00 |
|
Max Horn
|
cf3ac50e3c
|
add String::lastChar() method
svn-id: r10684
|
2003-10-08 21:01:50 +00:00 |
|
Max Horn
|
e5c62af78e
|
added String::emptyString constant
svn-id: r10649
|
2003-10-06 23:19:01 +00:00 |
|
Max Horn
|
0e645f88ae
|
renamed namespace ScummVM to Common
svn-id: r10544
|
2003-10-02 17:43:02 +00:00 |
|
Jonathan Gray
|
ce42f4d3dd
|
patch #791738 g++ 3.4 compile fix, from Falk Hueffner and a few minor local bits in my tree
svn-id: r9807
|
2003-08-21 13:39:21 +00:00 |
|
Max Horn
|
0df319e952
|
#include cleanup (explicityl specify the location for headers from common/, 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 12:21:04 +00:00 |
|
Max Horn
|
24005adfd0
|
pedantic fixes
svn-id: r7789
|
2003-05-21 16:59:51 +00:00 |
|
Paweł Kołodziejski
|
aa3766018f
|
updated copyrights headers
svn-id: r6726
|
2003-03-06 21:46:56 +00:00 |
|
Paweł Kołodziejski
|
6ce098172f
|
next pedantic cleanup code
svn-id: r6714
|
2003-03-06 16:27:06 +00:00 |
|
Oliver Kiehl
|
ebdf89e418
|
Added some basic line editing to the EditText widget
svn-id: r6393
|
2003-01-10 21:33:42 +00:00 |
|
Max Horn
|
d95abae057
|
#include headers for strlen & assert
svn-id: r5536
|
2002-11-13 15:40:31 +00:00 |
|
Max Horn
|
8a7637cfc1
|
added methods to String class that convert a string to upper/lower case; changed config class to keep all domains as lower case (fixes bug #scummvm)
svn-id: r5104
|
2002-10-08 00:11:41 +00:00 |
|
Max Horn
|
09f56dc233
|
some fixes for the message dialog; added some comments
svn-id: r5021
|
2002-09-26 12:29:10 +00:00 |
|
Max Horn
|
58e5e0069f
|
added simple message dialog
svn-id: r5020
|
2002-09-26 11:44:02 +00:00 |
|
Max Horn
|
22e2df20c2
|
added String constructor which takes (and clones) a ConstString
svn-id: r4918
|
2002-09-09 11:42:24 +00:00 |
|
Max Horn
|
78f2f9e505
|
Added ConstString class; not yet used, but will allow us to reduce the overhead involved when passing in string constants as parameters taking a String ref right now
svn-id: r4904
|
2002-09-08 11:46:42 +00:00 |
|
Max Horn
|
523d8e64c0
|
rewrote config class; cleanup; code restructuring
svn-id: r4903
|
2002-09-08 01:08:12 +00:00 |
|