Subversion Repositories SvarDOS

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
2122 27 d 14 h mateusz.viste /svarlang.lib/trunk/ MVUCOMP_ASM is controlled through the makefile instead of being hardcoded in the C file  
2121 27 d 14 h mateusz.viste /svarlang.lib/trunk/ use dx as a counter instead of dl because dec dx has a 1 byte shorter encoding than dec dl  
2120 27 d 15 h mateusz.viste /svarlang.lib/trunk/ fixed bad comment that disabled one asm line as a nasty side effect (thx Bernd for spotting it)  
2119 28 d 4 h mateusz.viste /svarlang.lib/trunk/ experimental version with mvucomp() as a pragma aux  
2118 28 d 8 h mateusz.viste /svarlang.lib/trunk/ initial version of mvucomp() in x86 assembly  
2116 33 d 8 h mateusz.viste /svarlang.lib/trunk/ cleaned up variables usage, slightly faster now  
2115 33 d 8 h mateusz.viste /svarlang.lib/trunk/ experimental: MVCOMP-packed data is loaded to RAM before unpacking (60x faster on an 8086)  
2102 35 d 13 h mateusz.viste /svarlang.lib/trunk/ improved MVCOMP, support for uncompressed strings  
2084 36 d 15 h mateusz.viste /svarlang.lib/trunk/ offset and matchlen are stored with -1 to allow for 16 bytes of matching and back references up to -4096  
2083 37 d 2 h mateusz.viste /svarlang.lib/trunk/ LNG strings may be optionally compressed  
2007 50 d 7 h mateusz.viste /svarlang.lib/trunk/ slightly reformatted Bernd's contribution  
2006 50 d 7 h bernd.boeckmann /svarlang.lib/trunk/ fix last commit (worked by accident)  
2005 50 d 8 h bernd.boeckmann /svarlang.lib/trunk/ svarlang.lib: harden svarlang_strid against underflow / overflow

fixes https://github.com/SvarDOS/bugz/issues/119
 
1783 251 d 10 h mateusz.viste /svarlang.lib/trunk/ bumped copyr date + set the new version string  
1782 252 d 0 h mateusz.viste /svarlang.lib/trunk/ replaced FREAD() by a pragma aux  
1781 252 d 1 h mateusz.viste /svarlang.lib/trunk/ replaced FSEEK() by a pragma aux + fixed FOPEN  
1780 252 d 1 h mateusz.viste /svarlang.lib/trunk/ replaced FCLOSE() by a pragma aux  
1779 252 d 1 h mateusz.viste /svarlang.lib/trunk/ replaced FOPEN() by a pragma aux  
1377 463 d 4 h mateusz.viste /svarlang.lib/trunk/ removed unnecessary register push/pop pairs around asm-only functions  
1376 463 d 4 h mateusz.viste /svarlang.lib/trunk/ remove multiple FCLOSE() calls by a single place where code jumps for cleanup (saves 6 bytes of footprint)  
1375 463 d 4 h mateusz.viste /svarlang.lib/trunk/ merged two conditions into one check - saves 11 bytes of footprint  
1374 463 d 5 h mateusz.viste /svarlang.lib/trunk/ shortened lang-reading loop for better readability  
1373 463 d 5 h mateusz.viste /svarlang.lib/trunk/ reading header and string count in one fread call, saves 36 bytes of footprint  
1300 477 d 1 h mateusz.viste /svarlang.lib/trunk/ code formatting  
1299 477 d 1 h mateusz.viste /svarlang.lib/trunk/ removed useless string.h  
1298 477 d 1 h mateusz.viste /svarlang.lib/trunk/ removed useless stdlib.h + code formatting fixes  
1293 477 d 3 h mateusz.viste /svarlang.lib/trunk/ changed file format signature to SvL\x1a to bring it to 4 bytes, allowing for faster check and avoiding a memcmp() call  
1290 480 d 5 h bernd.boeckmann /svarlang.lib/trunk/ svarlang file format refinement

use sorted dictionary to speed up searches
breaking change!
 
1281 483 d 2 h mateusz.viste /svarlang.lib/trunk/ file access relies on fopen() when svarlang is compiled with -DWITHSTDIO  
1277 484 d 1 h mateusz.viste /svarlang.lib/trunk/ nlspath parsing moved out from svarlang_load() to svarlang_autoload_nls() so the basic svarlang_load() is as lean as possible  
1251 495 d 0 h mateusz.viste /svarlang.lib/trunk/ deflang.c has each message on a different line so it is nicer to VCSes  
971 983 d 0 h mateusz.viste /svarlang.lib/trunk/ replaced fopen() and friends by direct DOS calls  
969 983 d 0 h mateusz.viste /svarlang.lib/ moved SvarLANG head to a trunk directory  
816 991 d 2 h mateusz.viste /svarlang.lib/ trailing backslash is added only to non-empty paths (because an empty path is supposed to mean "current working directory"  
814 991 d 2 h mateusz.viste /svarlang.lib/ path can be NULL or it can contain several paths separated by a semi colon + documentation improved  
623 1004 d 2 h mateuszviste /svarlang.lib/ support for very long messages (longer than 256 bytes)  
599 1005 d 14 h mateuszviste /svarlang.lib/ svarlang is an actual library now  
597 1006 d 0 h mateuszviste /svarlang.lib/ svarlang - a C library for loading NLS strings in SvarDOS programs