Commit Graph

30 Commits

Author SHA1 Message Date
Max Horn
cb8ca939c2 free(0) is guaranteed to be a no-op
svn-id: r13380
2004-03-25 11:25:50 +00:00
Max Horn
1e18364e5c Fix for bug #896506 (GUI: Invalid read)
svn-id: r12864
2004-02-14 01:12:35 +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
9e5c5e292a humpf
svn-id: r10685
2003-10-08 21:09:21 +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
Travis Howell
a15dab5fb8 This should be Microsoft Visual C++ only
svn-id: r9355
2003-08-01 05:41:07 +00:00
Jamieson Christian
c5de745580 Disabled unknown pragma warning in MSVC-6.
svn-id: r9320
2003-07-31 06:47:05 +00:00
Max Horn
26d05c0190 the VC warning for unknown pragmas is now gloabally disabled, no need to work around it locally
svn-id: r9300
2003-07-30 18:40:28 +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
716c505416 now this was an *EVIL* typo
svn-id: r5668
2002-11-21 16:51:33 +00:00
Max Horn
013cc42e8d operator < and > for String now ignore case
svn-id: r5649
2002-11-21 02:53:49 +00:00
Max Horn
d2156bd26f fix operator == and !=
svn-id: r5570
2002-11-15 17:45:23 +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
94b55db821 patch #612722: MI2 NewGui title fix
svn-id: r5030
2002-09-28 19:25:09 +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
Matt Hargett
8390b0cc53 2002-09-21 Matt Hargett <matt@use.net>
* scumm.dsp, scummvm.dsp, simon.dsp: Turn on warning as errors. Generate
    PDBs on all builds.

  * gameDetector.cpp, newgui.cpp, widget.cpp, actor.cpp,
    dialogs.cpp, resource.cpp, saveload.cpp, scumm_renderer.cpp:
    Fix warnings where possible. One pragma added to eliminate
    warning of unknown pragmas.

  * string.cpp: If unknown escape sequence, print warning.

svn-id: r4998
2002-09-22 03:53:53 +00:00
Jonathan Gray
9ce78dd66e apply patch #609508 real fix for MI2 Dialog Box crash, by CCCP at Endy's request
svn-id: r4943
2002-09-15 09:06:58 +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