Commit Graph
21 Commits
Author SHA1 Message Date
Steve Checkoway ea1e408b24 Simplify. 2006-09-19 04:47:09 +00:00
Steve Checkoway 32c209a322 Cleanup. 2006-09-19 04:44:59 +00:00
Glenn Maynard b77024f3bc include 2006-09-18 22:45:42 +00:00
Steve Checkoway 941dac27b3 Fix memory leak and possible buffer overflow. CFStringGetMaximumSizeForEncoding() doesn't mention anything about NULL terminators so add one to protect against that. 2006-09-17 05:14:20 +00:00
Steve Checkoway a5ecf51f8a Fix linux compile (not tested). 2006-09-17 03:56:28 +00:00
Steve Checkoway 6ea2a41b00 Cleanup RageException::Throw(). Do not use ssprintf() inside of Throw() and do not pass it bare error messages. Use RageException::Throw( "%s", sError.c_str() ); instead. Be consistent with quoting file names "%s" and theme metrics as "%s : %s". Try to make them complete English sentences when possible. 2006-09-17 01:19:19 +00:00
Glenn Maynard d7dc890adc cleanup 2006-09-15 05:38:43 +00:00
Steve Checkoway 003cb4baa6 OS X text converter. 2006-03-20 07:56:18 +00:00
Steve Checkoway b330d744fa Fix warning. 2006-03-20 07:27:46 +00:00
Steve Checkoway 4861bc0949 Handle broken iconv headers (BSD and derivatives). ICONV_CONST is defined in config.h by the autotools, if HAVE_ICONV is defined, define ICONV_CONST to either const or leave it empty for other OSes. 2006-03-20 06:11:47 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford d698a5f1ec CString -> RString in RageUtil
ThemeMetric<CString> -> LocalizedString to eliminate dependencies
2005-12-20 08:35:47 +00:00
Chris Danford 37f82b43f7 remove CStringArray #define 2005-12-09 21:36:22 +00:00
Glenn Maynard 5390cea922 fix txtin/txtout memleaks
iconv and CString are both 8-bit clean; maintain that
error checks
2004-11-04 23:24:16 +00:00
Glenn Maynard 24614c9bc4 error check 2004-11-04 23:00:20 +00:00
Glenn Maynard 9f06afa9a4 Err ... 2004-11-04 22:56:22 +00:00
Sean Burke eda14f3d13 Add iconv implementation of string conversion. Needs cleaning, but works. 2004-11-04 22:43:35 +00:00
Glenn Maynard b72d42361a add headers 2003-11-14 17:17:36 +00:00
Chris Danford 8158ca8770 compiles on Xbox (still a CRT linking error though) 2003-07-11 03:15:28 +00:00
Glenn Maynard 40abed2aca add iso-8859-1
separate utf-8
2003-06-30 08:39:18 +00:00
Glenn Maynard a8129c4543 Add a simple conversion interface. 2003-05-21 00:08:58 +00:00