Commit Graph

  • b571a40e68 remove compiler warnings Felix von Leitner 2014-03-14 00:24:25 +0000
  • 826abd7560 do proper early abort in the other scan_* routines if the numeric value is too large Felix von Leitner 2014-03-14 00:24:02 +0000
  • 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 Felix von Leitner 2014-03-13 22:25:20 +0000
  • f03d88a4c7 add some unit tests for the formatting routines Felix von Leitner 2014-02-25 18:59:20 +0000
  • 4381f7c6a2 get rid of some compiler warnings Felix von Leitner 2014-02-25 18:39:59 +0000
  • e1d937c67b if called with srclen > maxlen, return maxlen not srclen Felix von Leitner 2014-02-25 18:36:36 +0000
  • 31ce8647fe if srclen>maxlen, truncate at maxlen Felix von Leitner 2014-02-25 18:28:06 +0000
  • 29b9860a37 fmt_strn aborted one byte too late Felix von Leitner 2014-02-25 18:27:30 +0000
  • 041e6c5a92 | not + Felix von Leitner 2014-02-25 17:51:29 +0000
  • 0482a9ec04 add json encoding routines to textcode Felix von Leitner 2014-01-28 16:12:39 +0000
  • 0abea6af07 fix dependencies Felix von Leitner 2013-10-12 13:50:08 +0000
  • 212f499313 hopefully this fixes the looping gatling processes Felix von Leitner 2013-10-01 23:15:51 +0000
  • 91b2116a38 add scan_netstring Felix von Leitner 2013-09-09 22:09:07 +0000
  • 825f9ee219 add scan_ulongn, scan_8longn, scan_xlongn and scan_longn Felix von Leitner 2013-09-09 20:57:58 +0000
  • a5dc55208a add man pages for buffer_from* Felix von Leitner 2013-09-09 19:19:52 +0000
  • ba62b9d96f add buffer_fromarray, buffer_frombuf Felix von Leitner 2013-09-09 19:03:52 +0000
  • addc8cd318 add haveuint128.h byte.h now defines UNALIGNED_ACCESS_OK on x86 Felix von Leitner 2013-09-09 18:52:29 +0000
  • b12538cc97 fix compile error Felix von Leitner 2013-09-09 18:51:24 +0000
  • fd46d3afc1 add tryuing128.c and ignore haveuint128.h Felix von Leitner 2013-08-22 23:45:52 +0000
  • 395dd4c416 make first argument to mmap_unmap const Felix von Leitner 2013-08-22 23:42:46 +0000
  • b2eb079c02 add better comments add fmt_copybytes Felix von Leitner 2013-08-22 23:41:37 +0000
  • ba201f6105 define UNALIGNED_ACCESS_OK on x86 Felix von Leitner 2013-08-22 23:38:08 +0000
  • 20448ccdd8 add haveuint128.h Felix von Leitner 2013-08-22 23:37:09 +0000
  • 28180795a9 add more examples Felix von Leitner 2013-08-22 23:35:34 +0000
  • 830241e86d add compiletimeassert.h Felix von Leitner 2013-02-22 11:00:32 +0000
  • 74a13126d5 add cast so the file compiles in c++ mode too Felix von Leitner 2012-09-27 01:46:12 +0000
  • babeb35b1f catch more bad encoding Felix von Leitner 2012-09-12 20:20:42 +0000
  • fe4e8dab35 minor update Felix von Leitner 2012-08-18 01:31:21 +0000
  • c5a5c2d6bf add byte_equal_notimingattack Felix von Leitner 2012-05-16 18:02:30 +0000
  • 9b249f6fa7 add awesome hack in isset.h (comex, Linus Torvalds) Felix von Leitner 2012-04-17 21:26:31 +0000
  • 3743706899 add io_fd_canwrite (like io_fd but assume the fd is writable) save a few syscalls here and there Felix von Leitner 2012-04-10 21:15:51 +0000
  • bc5fa9c946 fix endless loop bug on freebsd Felix von Leitner 2012-03-19 02:38:52 +0000
  • d3b996c7ce add trivial compare-and-swap test Felix von Leitner 2012-02-24 02:26:29 +0000
  • e7a4283ec6 fix return value Felix von Leitner 2012-02-24 02:26:11 +0000
  • 33e2bbfd34 win32 cross compile fix for iarray Felix von Leitner 2012-02-24 02:01:27 +0000
  • f3bbb827d2 document the return value expected from the callback given to iob_write remove unused #include in iob_reset if iob_addfile_close fails, it now closes the fd if iob_addbuf_munmap fails, it now munmaps the buf if iob_addbuf_free fails, it now frees the buf some win32 cross-compile fixes for iarray Felix von Leitner 2012-02-24 02:00:52 +0000
  • cf46170dc7 make headers work in C++ add two more variable length integer encoding functions Felix von Leitner 2012-02-07 17:02:40 +0000
  • 24c6e42b3c add functions to encode and decode integers in variable length binary formats Felix von Leitner 2012-02-06 07:59:56 +0000
  • 7a942eb82a add functions to encode and decode variable length integers in binary Felix von Leitner 2012-02-06 07:55:48 +0000
  • 3506fbf4de accept -3 as error return from the callback, too Felix von Leitner 2012-01-20 19:19:49 +0000
  • 1a12d26ebc mingw compile fix Felix von Leitner 2012-01-13 03:20:32 +0000
  • cab6090eb7 the iob calls return int, not void Felix von Leitner 2012-01-13 02:25:31 +0000
  • cf3c05d704 socket_remote4 does not need havescope.h Felix von Leitner 2011-09-16 03:11:43 +0000
  • 77b72218f4 change macros to inline functions to get rid of gcc warning Felix von Leitner 2011-04-28 14:31:55 +0000
  • ea5ded0681 change macros to inline functions to get rid of strict aliasing gcc warnings in code using them Felix von Leitner 2011-04-28 14:28:53 +0000
  • 4f4e6cd650 new makefile Felix von Leitner 2011-02-24 18:10:36 +0000
  • 13bc4b6987 add __likely branch prediction hints make inlining work in the face of gcc in non-gnu c99 mode Felix von Leitner 2010-11-05 03:07:47 +0000
  • 100ac91c79 fix io_receivefd so the incoming buffer is only 1 byte; io_passfd sends only one byte, so we might receive (and discard) other data if we try to read more (Stefan Bühler, from the lightttpd project) Felix von Leitner 2010-10-06 17:34:52 +0000
  • 0305cf80fb only try to receive one byte to avoid discarding data Felix von Leitner 2010-10-06 17:33:25 +0000
  • d702d06774 for installed header files, add comment saying where they came from Felix von Leitner 2010-06-03 22:46:59 +0000
  • efbb246c4d #include <errno.h> Felix von Leitner 2010-01-28 21:40:03 +0000
  • a96b23073c get rid of warning Felix von Leitner 2010-01-19 02:44:06 +0000
  • a16a09c0eb update Makefile for bsd Felix von Leitner 2010-01-19 02:41:34 +0000
  • 3e6d1953be split make install Felix von Leitner 2010-01-19 02:40:40 +0000
  • 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) Felix von Leitner 2010-01-18 19:51:00 +0000
  • 71b6e8fa00 support SCTP in addition to TCP Felix von Leitner 2010-01-18 19:49:03 +0000
  • 9d7094e084 make it compile again Felix von Leitner 2009-11-12 10:52:43 +0000
  • 6305370c69 remove warning Felix von Leitner 2009-10-27 23:20:21 +0000
  • bb6b70074b clang support Felix von Leitner 2009-10-27 16:33:00 +0000
  • 387be9fe4f remove iarray cruft until I ship it Felix von Leitner 2009-09-12 23:03:02 +0000
  • 205eb7b051 windows fix Felix von Leitner 2009-06-02 15:07:05 +0000
  • a54c2bfa9f add CAS.h Felix von Leitner 2009-05-28 00:46:54 +0000
  • ee8fd72f43 hups Felix von Leitner 2009-05-24 18:12:14 +0000
  • 4311b12786 oops Felix von Leitner 2009-04-30 18:11:08 +0000
  • a22dbda5f7 the #define extern hack in io_fd.c also included time.h, fix that catch case in timeout loop where we have something to report on an fd; in that case do not report a timeout but let the other event get through first. Felix von Leitner 2009-04-25 19:09:27 +0000
  • 72394e8193 add #warning Felix von Leitner 2009-04-09 18:03:38 +0000
  • 963a3377c2 test fr erdgeist Felix von Leitner 2009-04-08 21:27:37 +0000
  • 52176c3e50 iopause.o dependency Felix von Leitner 2009-03-25 14:34:30 +0000
  • 725dc465ed remove buffer_copy prototype Felix von Leitner 2009-03-18 11:58:00 +0000
  • 57a3737450 Makefile dependency update Felix von Leitner 2009-03-13 21:48:57 +0000
  • 233649d680 add iarray Felix von Leitner 2009-03-12 21:32:43 +0000
  • d8094b6c7a Makefileupdate Felix von Leitner 2009-03-12 00:30:57 +0000
  • 1114f8eb8e stralloc* not const char* Felix von Leitner 2009-02-28 01:23:31 +0000
  • d94fec77d0 add man page Felix von Leitner 2009-02-28 00:12:49 +0000
  • 97161ed0df add buffer_tosa (buffer writing to auto-growing stralloc) Felix von Leitner 2009-02-28 00:07:55 +0000
  • 4243bd22ec save 8 bytes in taia.h for 64-bit systems Felix von Leitner 2009-02-15 01:02:15 +0000
  • ff813679e3 typo Felix von Leitner 2009-01-13 19:26:09 +0000
  • 4fb7bf6209 make gcc -ansi compatible Felix von Leitner 2009-01-04 03:11:57 +0000
  • 88f31eb398 fix for 32-bit archs Felix von Leitner 2008-12-26 01:56:42 +0000
  • 35ba145b01 add non-asm version for gcc Felix von Leitner 2008-12-26 01:51:35 +0000
  • bb518ee596 one more test Felix von Leitner 2008-12-26 01:47:24 +0000
  • 2e0344f7e4 only define asm shortcut if the optimizer is on Felix von Leitner 2008-12-26 01:25:55 +0000
  • 5075183086 remove four warnings Felix von Leitner 2008-12-08 22:55:02 +0000
  • 30dd022a6e work around broken sqlite download httpd Felix von Leitner 2008-11-27 14:32:29 +0000
  • a4a7ba2f11 version bump Felix von Leitner 2008-11-15 16:14:19 +0000
  • 6dda2ae244 byte_zero is also miscompiled by gcc 4.3.2 Felix von Leitner 2008-10-25 21:21:46 +0000
  • 526de6543a gcc 4.3.2 miscompiles byte_diff :-( Felix von Leitner 2008-10-13 16:08:52 +0000
  • 06c144aa71 use SO_REUSEPORT Felix von Leitner 2008-09-17 00:06:23 +0000
  • de665a0387 clarify comment Felix von Leitner 2008-09-16 23:00:11 +0000
  • 2d0f20fe7a check for socket() returning -1 before trying to set the socket non-blocking so we don't hide the "too many open files" error code Felix von Leitner 2008-09-10 09:51:26 +0000
  • e4010479e5 gcc 4.3.1 generates bad code for byte_copy, so I'm switching to a simpler version Felix von Leitner 2008-08-25 22:15:29 +0000
  • 00e0c6c594 fix man page for openreadclose Felix von Leitner 2008-06-24 14:19:17 +0000
  • 5f59bedba9 add fmt_strm_alloca Felix von Leitner 2008-06-23 07:24:22 +0000
  • 090f9ae243 forgot to add message in httperror Felix von Leitner 2008-06-23 07:04:09 +0000
  • 7833a683cf make stralloc_copym work Felix von Leitner 2008-06-20 14:12:37 +0000
  • 6d98b442ab some valgrind de-noising fix subtle typo in sub_of (David Sirovsky) Felix von Leitner 2008-02-27 12:10:05 +0000
  • 50c85059d9 new way to do it Felix von Leitner 2008-01-20 01:06:50 +0000
  • b8a94d5b7b add uint64 pack and unpack routines Felix von Leitner 2008-01-13 21:40:24 +0000
  • 7dd128e089 0.28 Felix von Leitner 2007-12-18 14:32:55 +0000
  • 5e8d303443 catch one more case in umult64 (Tomi Jylhä-Ollila) Felix von Leitner 2007-12-15 19:45:48 +0000