Commit Graph

  • 00aa2aba32 Amend version notes. kristapsdz 2020-03-22 11:00:33 +00:00
  • eeff938eb2 Revert void-casting. We're locked into the existing API of all other writes. kristapsdz 2020-03-22 11:00:14 +00:00
  • 399165f0a2 Bump oconfigure. kristapsdz 2020-03-22 10:37:01 +00:00
  • eab940ecef Fix date. kristapsdz 2020-03-22 10:32:41 +00:00
  • 1d7675eda6 Version, have "-static" compile on www include "--static" for pkg-config (unnecessary but good to do). kristapsdz 2020-03-22 10:32:20 +00:00
  • 8e4c566819 Add minci dependency file. kristapsdz 2020-03-22 10:29:03 +00:00
  • e68d6e657f Split manpage for buffers into several manpages. kristapsdz 2020-03-22 10:26:53 +00:00
  • 4d889b9745 Use "const void *" instead of "const char *" to reflect that this is binary data. kristapsdz 2020-03-22 10:15:01 +00:00
  • 0d08f55654 Add kcgi_buf_printf, use XREALLOC instead of realloc in kcgi_buf_write, add regression tests for kcgi_buf_printf, sync write regression and buffer regression, test for NUL terminator in buffer. kristapsdz 2020-03-22 09:49:44 +00:00
  • e86dd54272 Split khttp_write manpage into putc and puts, add more regression tests, behave more like putc when it comes to casting. kristapsdz 2020-03-21 15:34:04 +00:00
  • 3cd11fb441 Add khttp_printf plus manpage and regression test. kristapsdz 2020-03-21 14:56:01 +00:00
  • f575d8b1e0 Don't re-run curl-config for each regression test. kristapsdz 2020-03-21 14:42:41 +00:00
  • f4098a0f69 Use compiler attributes for some functions. kristapsdz 2020-03-21 14:31:34 +00:00
  • 021e19bbae Add regression test for all built-in request headers. kristapsdz 2020-03-21 14:12:32 +00:00
  • 3643e72832 Newest oconfigure fixing Linux portability. kristapsdz 2020-03-21 09:50:51 +00:00
  • 70363bccc2 Add some version notes (pending). kristapsdz 2020-03-17 13:45:01 +00:00
  • 702869142f Remove javascript and css just for pretty. kristapsdz 2020-03-17 13:44:22 +00:00
  • 87ec62b412 Get in omnios bits. kristapsdz 2020-03-16 17:06:50 +00:00
  • b061937d74 Update for illumos bits. Not yet tested. kristapsdz 2020-03-16 16:30:56 +00:00
  • 94c3b18899 Use correct idioms for not running w/o zlib. kristapsdz 2020-03-16 00:01:06 +00:00
  • 5cfabb3593 ifdef -> if kristapsdz 2020-03-16 00:00:45 +00:00
  • 38e4bdc579 Newest oconfigure. kristapsdz 2020-03-15 23:24:25 +00:00
  • a395446859 Rename sun -> un so as not to trample SunOS macro. Don't use LOG_PERROR if it doesn't exist. Don't use sun_len if it doesn't exist. kristapsdz 2020-03-15 14:46:33 +00:00
  • d45a63c9c1 Use portable idioms. kristapsdz 2020-03-15 14:45:49 +00:00
  • 402044f722 Bring up to date with latest oconfigure. kristapsdz 2020-03-15 14:45:10 +00:00
  • 555dace6bb Don't assume that unaligned memory access is ok. Found when running regress on a sparc64 provided by Stefan Sperling---thank you so much! kristapsdz 2020-03-14 23:11:39 +00:00
  • 6a6cb898c7 Newest oconfigure. kristapsdz 2020-03-11 09:40:48 +00:00
  • 4cba67d617 Version. kristapsdz 2020-03-11 09:40:33 +00:00
  • b8e322558a Add build status link. kristapsdz 2020-03-11 09:40:09 +00:00
  • c001ecf28f Put the doctype in the sample. kristapsdz 2020-03-05 12:38:02 +00:00
  • 3c4aa195cb Add example. kristapsdz 2020-03-05 10:28:01 +00:00
  • fc200660ad Add kutil_urlpartx tests (same as kutil_urlpart). Add additional tests for URL encoding and decoding parts. Add example usages for these functions to the manpage. kristapsdz 2020-03-04 22:55:12 +00:00
  • 545c372d9a bmake, for Linux, needs to propogate into MAKE. kristapsdz 2020-03-03 15:26:47 +00:00
  • 171798f68d Portability. kristapsdz 2020-03-03 15:25:04 +00:00
  • c98019cc91 Portable check. kristapsdz 2020-03-03 14:52:07 +00:00
  • 160f4971b1 Use -Werror instead of -Wwarning for mandoc. (Causes non-OpenBSD systems to fail looking for Lbs.) kristapsdz 2020-03-03 14:39:50 +00:00
  • 18e0afa4b8 Portability. kristapsdz 2020-03-03 14:14:45 +00:00
  • 0822e1c2da Try to remove even more unnecessary libraries. kristapsdz 2020-03-03 14:12:49 +00:00
  • c2b6e57c97 Install pkg-config files. kristapsdz 2020-02-27 22:00:07 +00:00
  • 94b7a3909f Simplify compile/link instructions by using pkg-config. kristapsdz 2020-02-27 21:56:21 +00:00
  • 728c02688d Version notes. kristapsdz 2020-02-27 21:46:08 +00:00
  • 2c7da2eff5 Use style(9) and pkg-config. kristapsdz 2020-02-27 21:43:01 +00:00
  • 820775d86c style(9) and pkg-config. kristapsdz 2020-02-27 21:37:58 +00:00
  • 4ca2293c3a Use style(9). kristapsdz 2020-02-27 21:31:31 +00:00
  • 0098fb5400 Apply style(9) and use pkg-config. kristapsdz 2020-02-27 21:29:33 +00:00
  • 83d1be6736 Fix pkg-config scripts. kristapsdz 2020-02-27 21:26:40 +00:00
  • 7cd1e2200f Continue to simplify. kristapsdz 2020-02-27 20:35:03 +00:00
  • 8d507bd82a Add some pkg-config wisdom and reorder. kristapsdz 2020-02-27 20:25:31 +00:00
  • 56df62e211 Create pkgconfig directory. kristapsdz 2020-02-27 20:20:30 +00:00
  • fef78f1257 Trim down to avoid duplicate information and keep to the theme of describing only info germane to running the bleeding edge. kristapsdz 2020-02-27 20:06:08 +00:00
  • 7fb1f686c9 Add remaining PCs. kristapsdz 2020-02-27 14:44:54 +00:00
  • 65c631b366 We don't need LDADD, just -lm. Require it unconditionally for kcgijson because it's not worth quibbling on which <math.h> require it (Linux) and which don't (all others?). kristapsdz 2020-02-27 14:39:44 +00:00
  • 2b6dfc6bc1 Add pkg-config scripts to make using the library easier. This updates to the newest oconfigure which tells us whether we need -lmd etc. Also require -lm by default for kcgijson. (For now.) kristapsdz 2020-02-27 14:19:21 +00:00
  • 4eb756acef Version notes. kristapsdz 2020-02-17 22:40:56 +00:00
  • 8fcfcf6e04 Add some regression tests for logging. kristapsdz 2020-02-17 22:39:01 +00:00
  • 72459723d3 Don't puke if "fmt" is NULL on any logging functions. kristapsdz 2020-02-17 21:32:11 +00:00
  • 3a0925cb28 Use dynamic memory allocation for internal logger and emit on one fputs, so unbuffered output won't spam multiple lines. Written by https://github.com/xwhatsit and lightly adapted for style(9), comments, and white-space. While here, adapt file to style(9). kristapsdz 2020-02-11 10:11:13 +00:00
  • b56aeac2ab Document kvasprintf and note that kstrdup(NULL) is bad. kristapsdz 2020-02-11 09:56:54 +00:00
  • c598d03ad8 Note e-mail validation caveat. kristapsdz 2020-02-10 13:42:42 +00:00
  • 4a00ee2727 Add a regression for e-mail testing, which has a whole slew of weird email addresses that should check as ok. kristapsdz 2020-02-10 13:38:35 +00:00
  • 42f9c8627d Both relax and tighten the email parser. Relax in not checking the accepted characters and in allowing min. 3 bytes (e.g., a@b) instead of 5. Relax in not checking characters beyond existence of a non-border at sign. Tighten in check for border at-sign. kristapsdz 2020-02-10 13:37:48 +00:00
  • cc9783e1a3 Make sure to call va_end() for every va_start(). kristapsdz 2020-02-10 12:28:18 +00:00
  • 5fa96b21dd Extensive style(9). kristapsdz 2020-02-10 12:24:24 +00:00
  • d1af0800e5 According to gcc docs (and clang), we can use a first-to-check argument to the format attribute as 0 for va_list. kristapsdz 2020-02-10 09:20:56 +00:00
  • ec7ecfd8e7 Add kvasprintf(). kristapsdz 2020-02-10 09:15:48 +00:00
  • c552fbec32 Update to newest oconfigure. kristapsdz 2020-02-10 09:06:02 +00:00
  • b3932fdbae Remove mandoc.css (use BSD.lv's). kristapsdz 2020-01-15 11:16:31 +00:00
  • 2e8db70f59 Add a distcheck and use sha512 instead of openssl binary. kristapsdz 2020-01-12 21:15:10 +00:00
  • 3796398dbc Fix mandoc -Tlint -Wwarning. kristapsdz 2020-01-12 20:55:52 +00:00
  • e314ffe732 Version notes. kristapsdz 2020-01-12 20:08:45 +00:00
  • 24cfbc7748 Style updates. kristapsdz 2020-01-12 20:08:25 +00:00
  • 21b4f30a84 Use top-level css and ksql -> sqlbox. kristapsdz 2020-01-08 16:11:40 +00:00
  • ae7d5ed77f Use new format. kristapsdz 2020-01-08 15:14:59 +00:00
  • fc2c14e341 Use style(9). kristapsdz 2020-01-08 15:12:49 +00:00
  • f23f217e18 Use style(9) and don't use EXIT_XXXX. kristapsdz 2020-01-08 15:11:28 +00:00
  • 74784622b1 Add RFC decode/encode specification. kristapsdz 2020-01-08 14:57:54 +00:00
  • 5f0cf3f319 style(9). Merge a GitHub pull with many improvements---thank you! First, has url encoder emit uppercase as suggested by rfc 3986. Brings in optimisations that speed up URL decoder. Makes some invocations disallowed. Adds disallowed invocations to regression suite. kristapsdz 2020-01-08 14:54:55 +00:00
  • 966183c27d Contributed patch for seccomp on Linux aarch64, thank you! kristapsdz 2020-01-08 13:18:41 +00:00
  • d217d3a2c7 Bring in latest oconfigure. kristapsdz 2020-01-08 13:17:56 +00:00
  • 8c160ec795 Don't use deprecated sys/capabilities header. kristapsdz 2020-01-08 12:52:17 +00:00
  • f4c1a292a5 Have FastCGI regression handler pass through HTTP version. kristapsdz 2020-01-08 12:48:12 +00:00
  • 35fe76402c Update with style(9) for easier continued development. kristapsdz 2020-01-08 10:02:46 +00:00
  • 2745d26ba7 Version. kristapsdz 2019-08-10 08:17:34 +00:00
  • d8e3828c0c Typos. kristapsdz 2019-08-10 08:11:21 +00:00
  • 76e217547c Improve www to look like other bsd.lv projects, remove function list. kristapsdz 2019-07-05 13:38:34 +00:00
  • d514565fb5 Allow getrandom() on compliant Linux systems. Thanks for this patch! kristapsdz 2019-07-05 12:30:59 +00:00
  • 1651accb0c The __attribute__((noreturn)) is known to collide with C11's stdnoreturn, which converts the "noreturn" into "_Noreturn" which is not a valid attribute. Use gcc and clang's extension that allows underscores around the attribute name. Thank you for this bug report! kristapsdz 2019-07-05 12:25:08 +00:00
  • 552b207b61 Bring up to date with latest oconfigure. kristapsdz 2019-07-05 12:22:40 +00:00
  • 53004a82cb gmake -> bmake. kristapsdz 2018-12-27 21:01:46 +00:00
  • ca6087d580 Hot fix. kristapsdz 2018-12-27 21:00:53 +00:00
  • 0b7d155c05 Update documentation. kristapsdz 2018-12-27 21:00:33 +00:00
  • 4d63b2e250 Fix LIBADD -> LDADD. kristapsdz 2018-12-27 20:33:45 +00:00
  • 4f034fac42 Version notes. kristapsdz 2018-12-27 20:32:41 +00:00
  • e789eddb80 Pass CFLAGS to build of regressions. kristapsdz 2018-12-27 17:13:23 +00:00
  • 1de37e9917 Add additional tests for urldecode and have good documentation. kristapsdz 2018-12-27 17:11:31 +00:00
  • 60c529ce28 Handle NULL values properly. kristapsdz 2018-12-27 17:03:41 +00:00
  • 1f516a13d8 Add regression for url decoder. kristapsdz 2018-12-27 16:08:07 +00:00
  • 6ac434b701 Clarify and clean up mdoc(7). kristapsdz 2018-12-26 18:02:29 +00:00
  • 4d478fe2db Apply style(9), use XSTRDUP instead of strdup, remove documentation that's been pushed to manpage (external function). kristapsdz 2018-12-26 17:57:46 +00:00
  • 29b9654826 Merge https://github.com/kristapsdz/kcgi/pull/54 kristapsdz 2018-12-26 17:53:44 +00:00