summaryrefslogtreecommitdiff
path: root/source/fitz/buffer.c
AgeCommit message (Collapse)Author
2014-03-25Add va_copy/va_copy_end macros to support both C89 and C99.Tor Andersson
2014-03-19Implement our own vsnprintf variant.Tor Andersson
The primary motivator for this is so that we can print floating point values and get the full accuracy out, without having to print 1.5 as 1.5000000, and without getting 23e24 etc. We only support %c, %f, %d, %o, %x and %s currently. We only support the zero padding qualifier, for integers. We do support some extensions: %C turns values >=128 into UTF-8. %M prints a fz_matrix. %R prints a fz_rect. %P prints a fz_point. We also implement a fprintf variant on top of this to allow for consistent results when using fz_output. a
2013-09-13Fix various compile warnings spotted by the cluster.Robin Watts
2013-07-22Bug 694431: Fix potential infinite loop.Robin Watts
Thanks to "willus" for pointing out this problem.
2013-06-20Rearrange source files.Tor Andersson