Commit Graph

61 Commits

Author SHA1 Message Date
David Anderson
ccaa4434ad committed new language code 2006-03-19 19:26:29 +00:00
David Anderson
555ac1c7f3 fixed corrupt file loads smashing the stack
added compile of support code
2006-03-18 22:10:05 +00:00
David Anderson
01b58a4635 Fixed dictionary parsing not obeying the carat backtick
Fixed failed translations crashing
Added formatex()
Fixed buffer copyback problems in old usages
2006-02-23 00:02:33 +00:00
David Anderson
2ba0b079ab initial import of new format zomg 2006-02-22 00:33:19 +00:00
David Anderson
1923d42c5f fixed old fmt bug 2006-02-14 20:28:52 +00:00
David Anderson
bf0c1990dd committed new format() code 2006-02-14 12:01:22 +00:00
David Anderson
2c8808aaff fixed formatter bug on bad control code 2006-02-11 22:48:29 +00:00
David Anderson
53c029471f removed usage of CVAR_GET_STRING 2006-02-06 13:10:23 +00:00
Borja Ferrer
cc32f33815 lang debugger uses now make_string for THash 2006-02-06 12:57:14 +00:00
David Anderson
e2c1b8c178 Fixed bug where invalid keys were saved as blank translations
Fixed bug where dictionary caches were invalidated before being used
Loads with MM 5:11 now
2006-02-06 11:13:27 +00:00
Borja Ferrer
7c7422a553 added language debug 2006-01-24 18:47:08 +00:00
David Anderson
0c745590ec Added functions for smashing the stack and memory :) 2006-01-06 14:22:12 +00:00
David Anderson
cbcc91cc09 BETA optimizations 2005-11-22 04:14:07 +00:00
David Anderson
c6fc34a64d Rewrote format() parser to be re-entrant and easier to read
Added various optimizations
Fixed memory leak in sh_tinyhash
2005-11-21 10:04:43 +00:00
David Anderson
f13599177f Rewrote language backend for integrity checking and optimization
Replaced CRC32 system with real hash-map
2005-11-21 01:35:37 +00:00
Borja Ferrer
4040410c97 first attempt on lang error logging 2005-11-20 03:47:47 +00:00
Borja Ferrer
ebd4974c75 final cleaned revision (I hope) 2005-09-16 23:48:51 +00:00
Borja Ferrer
f58c0f4508 added request for EKS at18961 2005-09-15 00:51:27 +00:00
Borja Ferrer
76760b221d more cleaned-up code 2005-09-10 20:09:14 +00:00
Borja Ferrer
52b1d67ca2 latest cleaned files for today (i cant read more :o ) 2005-09-10 03:39:23 +00:00
Pavol Marko
462916d00f Got rid of many annoying warnings MSVC7.1 was reporting 2005-08-27 09:55:32 +00:00
David Anderson
b312da8c63 Fixed bugs GCC caught 2005-07-15 16:28:41 +00:00
David Anderson
611ad2be94 Malformat bug fixes, RC version bump 2005-07-06 03:20:00 +00:00
Pavol Marko
cc4bbadfa2 Added special cases for %% and % at end of phrase for formatting of phrases defined in language definition files. 2004-10-29 13:11:12 +00:00
David Anderson
db4041114f Fixed a bug in amx_client_languages
Added lang_phrase
2004-10-08 19:26:26 +00:00
David Anderson
264dd7a10d Fixed error outputs for CLang 2004-10-05 19:29:35 +00:00
Pavol Marko
87ff81a499 Added important comment 2004-10-03 17:03:14 +00:00
David Anderson
26349730e5 Fixed locking issue with lang files 2004-09-17 01:59:27 +00:00
Pavol Marko
c7f8b3f965 Added the Format function for C style strings 2004-09-10 21:00:42 +00:00
Pavol Marko
8df987cf95 minor changes 2004-09-04 18:31:59 +00:00
Pavol Marko
de30d647d4 added the %c formatting sequence (untested) 2004-09-04 17:50:03 +00:00
David Anderson
5c6b34b1d8 Fixed some bugs in CLang 2004-09-02 00:22:56 +00:00
David Anderson
7a627f75cf Removed references to _snprintf() - math wrong but compatibility of snprintf() unknown 2004-09-01 22:03:44 +00:00
Pavol Marko
ec5f9ec5ca Added buffer overflow (stack corruption) checking. To be tested! 2004-09-01 17:02:24 +00:00
Pavol Marko
b33a53d258 fixed bug where expressions like %02d would not be evaluated correctly 2004-08-30 15:14:50 +00:00
Pavol Marko
ac25c5fc60 %% in a format input string now produces one % in the output string correctly 2004-08-30 14:35:16 +00:00
David Anderson
38e89f11f4 Fixed possible bug for %% 2004-08-30 01:39:15 +00:00
David Anderson
f4960433bc Fixed possible formatting bug 2004-08-30 01:37:25 +00:00
Pavol Marko
727c798892 fixed crash bug 2004-08-29 19:49:08 +00:00
Pavol Marko
a1d36ff75d possible fix for the : issue 2004-08-29 18:00:16 +00:00
David Anderson
53f8d12237 Switched tasks to forward system 2004-08-29 17:11:08 +00:00
David Anderson
9d3ea5513b Fixed a crash bug in FormatAmxString()
Added amx_FindNative to module API
Changed LZO->GZ in .amxx format
2004-08-24 04:30:13 +00:00
David Anderson
293486ff12 new cvar 2004-08-22 14:50:35 +00:00
Steve Dudenhoeffer
51caf26399 Fixed a couple issues with gcc 2004-08-22 02:52:27 +00:00
David Anderson
d4ad09619e Prevented keys from overwriting each other 2004-08-21 21:39:21 +00:00
Pavol Marko
b63ae4eed8 added GetLangR, which doesn't construct a CLang object when not found;
GetDef now uses GetLangR, so when users set their language to an invalid value, no such language is created.
2004-08-21 21:08:30 +00:00
Pavol Marko
b6d142f481 Lang strings can now contain ^n (newline), ^t (tabulator) and ^^ (^). 2004-08-19 19:34:49 +00:00
Pavol Marko
16c406fe1a Fixed bugs 2004-08-19 18:35:18 +00:00
Pavol Marko
3af9ae8927 Fixed bugs 2004-08-19 16:37:55 +00:00
David Anderson
c622e1b6c7 More error reporting 2004-08-18 15:30:06 +00:00