summaryrefslogtreecommitdiff
path: root/string.c
AgeCommit message (Collapse)Author
2006-11-17(svn r7199) -Codechange: [utf8] Make strtolower and str_strip_colours UTF8 ↵Darkvater
aware.
2006-11-16(svn r7182) -Feature: Merge utf8 branch. This brings us support for ↵peter1138
Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come.
2006-11-16(svn r7172) -Fix [r6931]: The console showed '?' characters instead of ↵Darkvater
colours. Now strip all colours for the console. It's a bit magicky (magic numbers) but UTF8 fixes that soon.
2006-10-21(svn r6886) -Be anal for the time being about string-wannabe-buffer-overflowsDarkvater
2006-10-21(svn r6884) -Codechange: Add strict bounds checking in string formatting system.Darkvater
The last parameter should point to the end of the buffer (eg lastof(buf)) Courtesy of Tron.
2006-08-24(svn r6089) -Backport r6088: added -s (source) and -d (destination) to ↵truelight
strgen (Darkvater)
2006-08-19(svn r5946) -Add: merged the TGP branch to mainline. TGP adds:truelight
- New optional landscape generator (TerraGenesis Perlin) - Load heightmaps (either BMP or PNG) - Progress dialog while generating worlds (no longer a 'hanging' screen) - New dialogs for NewGame, Create Scenario and Play Heightmap - Easier to configure your landscape - More things to configure (tree-placer, ..) - Speedup of world generation - New console command 'restart': restart the map EXACTLY as it was when you first started it (needs a game made after or with this commit) - New console command 'getseed': get the seed of your map and share it with others (of course only works with generated maps) - Many new, world generation related, things - Many internal cleanups and rewrites Many tnx to those people who helped making this: Belugas, DaleStan, glx, KUDr, RichK67, Rubidium, and TrueLight (alfabetic) Many tnx to those who helped testing: Arnau, Bjarni, and tokai (alfabetic) And to all other people who helped testing and sending comments / bugs Stats: 673 lines changed, 3534 new lines, 79 new strings
2006-08-19(svn r5944) -Merge TGP (r5578, r5579, r5724, r5726): -Feature: filter for ↵truelight
textboxes to only allow certain patterns (like numbers only)
2006-08-01(svn r5697) -Fix [r5684]: tolower() was undefined for certain architectures, ↵Darkvater
strangly VS2003 didn't complain, VS2005 did. Thanks glx
2006-07-31(svn r5684) - Codechange: create an strtolower() function that uses ↵Darkvater
tolower() on a whole string and apply it in the places this was used.
2005-12-20(svn r3322) - Fix: Network window crash when it receives invalid information ↵Darkvater
for example from the integrated nightly, so validate the network-input when it is received - CodeChange: added str_validate(char *str) function that checks if a string contains only printable characters and if not, replaces those characters by question marks. Also move IsValidAsciiChar() to string.h
2005-07-29(svn r2754) Move str_fmt into string.[ch]tron
2005-07-24(svn r2701) Insert Id tags into all source filestron
2005-02-06(svn r1821) Move generic string handling functions to string.[ch] and ↵tron
introduce stre{cpy,cat}, see string.h for their semantics