Felix von Leitner
21ca7d8264
remove compiler warnings
2014-03-14 00:25:33 +00:00
Felix von Leitner
de26fa9ec3
remove compiler warnings
2014-03-14 00:25:09 +00:00
Felix von Leitner
6a1c199a99
$ make WERROR=-Werror now builds with -Werror
...
add some single char escaping routines to fmt.h
pull in html5 entities from w3c and use those to do a proper scan_html decoding
fix an off-by-one in fmt_to_array
add a ton of unit tests for the fmt routines
2014-03-13 22:25:20 +00:00
Felix von Leitner
4381f7c6a2
get rid of some compiler warnings
2014-02-25 18:39:59 +00:00
Felix von Leitner
e1d937c67b
if called with srclen > maxlen, return maxlen not srclen
2014-02-25 18:36:36 +00:00
Felix von Leitner
31ce8647fe
if srclen>maxlen, truncate at maxlen
2014-02-25 18:28:06 +00:00
Felix von Leitner
29b9860a37
fmt_strn aborted one byte too late
2014-02-25 18:27:30 +00:00
Felix von Leitner
0482a9ec04
add json encoding routines to textcode
2014-01-28 16:12:39 +00:00
Felix von Leitner
cf46170dc7
make headers work in C++
...
add two more variable length integer encoding functions
2012-02-07 17:02:40 +00:00
Felix von Leitner
24c6e42b3c
add functions to encode and decode integers in variable length binary
...
formats
2012-02-06 07:59:56 +00:00
Felix von Leitner
dfced9889c
add/fix man pages
...
zero a buffer in io_passfd so valgrind does not complain when we pass it
to a syscall (which did not use the uninitialized parts anyway)
2010-01-18 19:51:00 +00:00
Felix von Leitner
36a09cdbbe
fix gcc warning
...
update Makefile for BSD users
2007-10-17 13:35:28 +00:00
Felix von Leitner
1c8ffa9021
add fmt_strm
2007-10-09 13:49:26 +00:00
Felix von Leitner
dc6ea1902b
fmt_xlonglong was utterly broken (Johannes Vetter)
2007-08-01 00:10:37 +00:00
Felix von Leitner
0698149baf
switch to size_t and ssize_t
2006-11-07 17:56:05 +00:00
Felix von Leitner
e5c56dc6b0
remove even more warnings
...
64-bit cleanliness issue with auto-NULL-appending macros
2005-05-12 06:52:29 +00:00
Felix von Leitner
cc8b30ba1d
add a few man pages
2004-02-04 23:02:35 +00:00
Olaf Dreesen
748f7857e4
remove strict alias warning...
2003-11-14 15:25:41 +00:00
Felix von Leitner
640edc1651
remove special case stralloc textcode functions
...
write generic stralloc and array textcode wrapper functions
change textcode API to use long instead of int
add cescape fmt and scan functions to textcode
add fmt_foldwhitespace to textcode
2003-09-19 19:08:13 +00:00
Felix von Leitner
c4b0574495
change length or size specifiers in APIs from int to long
...
add array API (http://cr.yp.to/lib/array.html )
2003-08-26 17:58:14 +00:00
Felix von Leitner
0a989950f6
add long long fmt routines
2003-05-01 20:40:41 +00:00
Felix von Leitner
7751ba7082
add fmt_human, fmt_humank and fmt_httpdate
2003-04-27 16:11:47 +00:00
Felix von Leitner
e47b02cdf7
add fmt_human and fmt_humank
2003-04-25 19:06:19 +00:00
Felix von Leitner
10f26fd5bc
add some man pages
2002-09-16 21:56:49 +00:00
Felix von Leitner
d9ce04f950
Lots of good clean-ups from Jukka Zitting!
2002-06-02 00:40:43 +00:00
Felix von Leitner
e518d7e0f0
fmt_long did not count the '-'
2002-03-25 22:57:47 +00:00
Felix von Leitner
5d07297e8c
fmt_str was broken. It did not check for out==NULL
2001-11-25 15:51:44 +00:00
Felix von Leitner
28f2b90b1c
this time for real ;)
2001-11-24 20:11:41 +00:00
Olaf Dreesen
88192569ba
removed div with a shift
2001-08-23 19:01:52 +00:00
Felix von Leitner
818e782ce0
change semantic of fmt_fill and add man pages.
2001-05-15 19:04:58 +00:00
Felix von Leitner
e29be9e016
add fmt_pad and fmt_fill.
2001-05-15 18:46:17 +00:00
Felix von Leitner
f3ce612e36
fix outputting 0.
2001-04-23 13:42:47 +00:00
Felix von Leitner
4f44f5a482
fix outputting 0.
2001-04-23 13:41:17 +00:00
Felix von Leitner
c4914f530b
hex conversion bug fix.
2001-04-23 13:08:25 +00:00
Felix von Leitner
047ed33b8f
fmt_double looped inifinitely when trying to format 0.
2001-02-13 01:06:33 +00:00
Felix von Leitner
0112bac580
fmt_ulong did not output '0' properly.
2001-02-03 21:19:02 +00:00
Felix von Leitner
28486b8367
Initial revision
2001-02-02 17:54:47 +00:00