Commit Graph

20 Commits

Author SHA1 Message Date
git@daemon.de
cbc45f5fa1 added is_utf8() check to _buffer_is_binary() so that utf8 comments inside z85 encoded data doesn't count as binary 2014-02-25 11:08:59 +01:00
git@daemon.de
51858aeda2 changed z85 header and comment syntax and parser 2014-02-24 16:59:04 +01:00
git@daemon.de
1afb5cc3d7 fixed annoying error in _buffer_is_binary() which returned false sometimes even when the input were in fact binary. This fixes those 2 annoying unittests which failed from time to time. 2014-02-17 17:03:55 +01:00
git@daemon.de
823fc8bbe0 added check if input is not binary 2014-02-13 15:30:23 +01:00
TLINDEN
75cdbbe835 continue to implement 4880 exports and stuff... 2014-02-13 00:06:55 +01:00
TLINDEN
f96cae9aa1 fixed bug with previously removed var definition 2014-02-10 11:39:12 +01:00
TLINDEN
ab03a10340 sanitized pcp_unpadfour(), just return the number of zero padding, leave the input pointer untouched; fixed header 2014-02-10 08:46:52 +01:00
TLINDEN
91f94a532e removed redundant code and fixed an invalid read of size 1 in ...unpadfour() 2014-02-09 17:50:00 +01:00
TLINDEN
6829ea6fbc fixed catching of header string 2014-02-09 15:49:52 +01:00
TLINDEN
83a4d0bb88 rewrote z85 decoder, uses Buffer* class now 2014-02-09 13:50:48 +01:00
TLINDEN
da8f40b596 changed padding, dont use a pad counter anymore, just add zeroes and remove them afterwards 2014-02-08 20:36:05 +01:00
TLINDEN
8f24fc88f8 changed invalid // c++ comments to valid /* .. */ C comments 2014-02-05 20:41:16 +01:00
TLINDEN
69e1d2ee47 added error checking 2013-12-19 16:54:16 +01:00
TLINDEN
4d34a9135e splitted pcp_readz85file() and added pcp_readz85string() which makes a better interface 2013-12-02 22:50:45 +01:00
TLINDEN
04dbf19381 fixed yet another endian issue (I used the wrong define for it) 2013-11-19 21:02:59 +01:00
TLINDEN
80ec5014a8 fixed z85 encoding overflow bug, fixed signature code on big-endian systems. 2013-11-19 17:17:30 +01:00
TLINDEN
da55e17ff7 fixed invalid malloc if char *z85 2013-11-16 15:13:03 +01:00
TLINDEN
0e3835bf97 added GPLv3 disclaimer to everything. 2013-11-04 17:43:22 +01:00
TLINDEN
58a3bca8d7 replaces old bzero() with memset(). 2013-10-29 23:08:43 +01:00
TLINDEN
2d7babae35 initial commit 2013-10-28 22:50:05 +01:00