Commit graph

  • ec3faa25e0 Correct YAML. Dag-Erling Smørgrav 2016-09-18 21:37:52 +0200
  • ffe1d02acd Clean up and re-add gcc. Dag-Erling Smørgrav 2016-09-18 21:24:39 +0200
  • 09ce719dd8 Clean up and re-add gcc. Dag-Erling Smørgrav 2016-09-18 21:24:39 +0200
  • 3e50b04edd Bump version. Dag-Erling Smørgrav 2016-09-18 21:22:58 +0200
  • d1b4e20404 Bump version. Dag-Erling Smørgrav 2016-09-18 21:22:58 +0200
  • 21cd8118fa Don't call string_expand() unless we know that we need to. Dag-Erling Smørgrav 2016-09-17 23:42:09 +0200
  • 048ea34cea Don't call string_expand() unless we know that we need to. Dag-Erling Smørgrav 2016-09-17 23:42:09 +0200
  • d0236914f7 Add test cases for the new string functions. Dag-Erling Smørgrav 2016-09-17 23:32:11 +0200
  • 1864453f4d Add test cases for the new string functions. Dag-Erling Smørgrav 2016-09-17 23:32:11 +0200
  • dc43296a47 Centralize most of .gitignore. Dag-Erling Smørgrav 2016-09-17 21:38:54 +0200
  • c29ef6e2c5 Centralize most of .gitignore. Dag-Erling Smørgrav 2016-09-17 21:38:54 +0200
  • 8396c4193b Add string_buf(), string_compare_cs(), string_equal_cs(). Dag-Erling Smørgrav 2016-09-17 21:37:18 +0200
  • 1dea8111a7 Add string_buf(), string_compare_cs(), string_equal_cs(). Dag-Erling Smørgrav 2016-09-17 21:37:18 +0200
  • cb6743bace Add wide-character versions of strlcat(), strlcmp(), strlcpy(). Dag-Erling Smørgrav 2016-09-17 21:08:07 +0200
  • 4241e6ce04 Add wide-character versions of strlcat(), strlcmp(), strlcpy(). Dag-Erling Smørgrav 2016-09-17 21:08:07 +0200
  • 66c3bf8c32 Document all the hash and checksum functions. Dag-Erling Smørgrav 2016-09-17 17:30:13 +0200
  • c8be5ec837 Document all the hash and checksum functions. Dag-Erling Smørgrav 2016-09-17 17:30:13 +0200
  • 29f404d52c The Adler-32 checksum is described in RFC 1950, not RFC 1905. Dag-Erling Smørgrav 2016-09-17 17:21:55 +0200
  • 859ef07fa0 The Adler-32 checksum is described in RFC 1950, not RFC 1905. Dag-Erling Smørgrav 2016-09-17 17:21:55 +0200
  • aafc7e1ab0 Clean up the cryb_strl*(3) man pages. Dag-Erling Smørgrav 2016-09-17 16:50:37 +0200
  • 0471eb2d33 Clean up the cryb_strl*(3) man pages. Dag-Erling Smørgrav 2016-09-17 16:50:37 +0200
  • 09cb4bacf6 Clean up the cryb_sha1(3) man page and add man pages for the SHA-2 functions. Dag-Erling Smørgrav 2016-09-17 16:48:50 +0200
  • 615c273ae2 Clean up the cryb_sha1(3) man page and add man pages for the SHA-2 functions. Dag-Erling Smørgrav 2016-09-17 16:48:50 +0200
  • 9c1988fa17 Add missing third clause to new files. Dag-Erling Smørgrav 2016-09-17 16:22:19 +0200
  • 36a0135a73 Add missing third clause to new files. Dag-Erling Smørgrav 2016-09-17 16:22:19 +0200
  • a36c6ba31c Add tests for each library's cryb_foo_version() function. Dag-Erling Smørgrav 2016-09-17 16:14:00 +0200
  • 2d526210c3 Add tests for each library's cryb_foo_version() function. Dag-Erling Smørgrav 2016-09-17 16:14:00 +0200
  • e78c0f811b Remove unneeded #includes. Dag-Erling Smørgrav 2016-09-17 16:05:31 +0200
  • 43587fe51a Remove unneeded #includes. Dag-Erling Smørgrav 2016-09-17 16:05:31 +0200
  • d9b6740247 Implement the full range of BSD endianness conversion functions. Dag-Erling Smørgrav 2016-09-15 11:18:01 +0200
  • b9cf4fb835 Implement the full range of BSD endianness conversion functions. Dag-Erling Smørgrav 2016-09-15 11:18:01 +0200
  • 1ce9c07b8b Add support for __builtin_bswap16. Dag-Erling Smørgrav 2016-09-15 11:09:34 +0200
  • 94a942caf0 Add support for __builtin_bswap16. Dag-Erling Smørgrav 2016-09-15 11:09:34 +0200
  • acb4f9f1bc Import AX_GCC_BUILTIN from the GNU Autoconf Archive. Dag-Erling Smørgrav 2016-09-15 11:09:16 +0200
  • 54cbd9c65b Import AX_GCC_BUILTIN from the GNU Autoconf Archive. Dag-Erling Smørgrav 2016-09-15 11:09:16 +0200
  • e276f2b407 Ensure that we always have off_t and ssize_t in scope. Dag-Erling Smørgrav 2016-09-15 10:15:00 +0200
  • fa68f15c34 Ensure that we always have off_t and ssize_t in scope. Dag-Erling Smørgrav 2016-09-15 10:15:00 +0200
  • 8d7b6439ae Fix signed / unsigned mismatch. Dag-Erling Smørgrav 2016-09-05 15:46:29 +0200
  • c55a3c4e09 Fix signed / unsigned mismatch. Dag-Erling Smørgrav 2016-09-05 15:46:29 +0200
  • 44c8132d28 New alpha release 0.20160904 0.20160904 Dag-Erling Smørgrav 2016-09-04 16:45:30 +0200
  • 85f75bba42 Rename a few more files. Dag-Erling Smørgrav 2016-09-04 16:34:30 +0200
  • f7a2f301ef Rename a few more files. Dag-Erling Smørgrav 2016-09-04 16:34:30 +0200
  • f76b9958f7 Only run Coverity Scan on the "scan" branch. Dag-Erling Smørgrav 2016-09-04 16:32:17 +0200
  • 8ceb5a646c Only run Coverity Scan on the "scan" branch. Dag-Erling Smørgrav 2016-09-04 16:32:17 +0200
  • 04d737a258 Include <unistd.h> for ssize_t, which is used by the string library. Dag-Erling Smørgrav 2016-09-04 16:20:24 +0200
  • df0b4f11d6 Include <unistd.h> for ssize_t, which is used by the string library. Dag-Erling Smørgrav 2016-09-04 16:20:24 +0200
  • a6eb5d4f68 Respect user's CC Dag-Erling Smørgrav 2016-09-04 16:18:13 +0200
  • 66715646d1 Respect user's CC Dag-Erling Smørgrav 2016-09-04 16:18:13 +0200
  • d9fbbe245f Bump version Dag-Erling Smørgrav 2016-09-04 15:04:26 +0200
  • 087aeca634 Bump version Dag-Erling Smørgrav 2016-09-04 15:04:26 +0200
  • 06a757e878 Big reorganization and cleanup Dag-Erling Smørgrav 2016-09-04 14:56:39 +0200
  • 68f20a9213 Big reorganization and cleanup Dag-Erling Smørgrav 2016-09-04 14:56:39 +0200
  • b4ce71269c New alpha release 0.20160321 0.20160321 Dag-Erling Smørgrav 2016-03-21 12:36:46 +0100
  • c030e63ef2 Bump version Dag-Erling Smørgrav 2016-03-21 12:35:42 +0100
  • 401465d8ea Move main() from libcryb-test to the test program. Dag-Erling Smørgrav 2016-03-15 14:29:44 +0100
  • c68fd1098d We need <cryb/attributes.h> here for the CRYB_PRINTF() macro. Dag-Erling Smørgrav 2016-03-15 14:28:47 +0100
  • 34fe861a36 <cryb/coverage.h> needs to be installed along with libcryb-test. Dag-Erling Smørgrav 2016-03-15 14:27:02 +0100
  • 61a83a1fae Cosmetic: use angle brackets instead of double quotes Dag-Erling Smørgrav 2016-03-15 14:26:32 +0100
  • 4d1703c77a Don't try to memset NULL if allocation fails. Always emit UTRACE records, even for failed allocations. When allocating more than was requested, fill the slop with garbage. Dag-Erling Smørgrav 2016-02-19 12:23:17 +0100
  • 1d0f2a4ff3 Reserve room in the label buffer for the terminating NUL. Dag-Erling Smørgrav 2016-02-19 12:20:25 +0100
  • 3fbaf4e647 Enable Coverity Scan addon. Dag-Erling Smørgrav 2016-02-19 11:18:38 +0100
  • 0917eee32e Move configure to before_script. Dag-Erling Smørgrav 2016-02-19 11:15:13 +0100
  • c044f2580b Fix buffer over-read in percent_decode(). Dag-Erling Smørgrav 2016-01-10 23:29:03 +0100
  • 476374323d Vastly improve unit tests for percent-encoding API. Dag-Erling Smørgrav 2016-01-10 23:28:04 +0100
  • e40f2f7d4b Improve and document percent-encoding API. Dag-Erling Smørgrav 2016-01-10 23:25:28 +0100
  • 6eaaac308f Add a t_compare_strn() function which is to t_compare_str() what strncmp() is to strcmp(). Dag-Erling Smørgrav 2016-01-10 18:49:19 +0100
  • 2f014e359c First alpha release 0.20160109 0.20160109 Dag-Erling Smørgrav 2016-01-09 20:27:30 +0100
  • d2a98cd870 Generate .xz tarball by default, not .gz Dag-Erling Smørgrav 2016-01-09 20:26:40 +0100
  • e370978433 Run BullseyeCoverage tools quietly Dag-Erling Smørgrav 2016-01-09 20:23:33 +0100
  • 9905f08c80 Change tarname to cryb-to to match github project name etc. Dag-Erling Smørgrav 2016-01-09 20:16:04 +0100
  • afe99d57dd Bump internal version number. Dag-Erling Smørgrav 2016-01-09 20:12:01 +0100
  • 2237a13d5b Hide the no-op default case when not instrumenting for coverage analysis. Dag-Erling Smørgrav 2016-01-09 18:37:36 +0100
  • e5b9a12a35 Add -Wshadow. Dag-Erling Smørgrav 2016-01-09 18:37:05 +0100
  • da40b1fad8 Add man pages for a few functions. Dag-Erling Smørgrav 2016-01-08 17:27:27 +0100
  • 6fd1a01fd2 Activate Travis CI Dag-Erling Smørgrav 2015-12-15 21:55:35 +0100
  • f9c8ce7c65 Build system overhaul Dag-Erling Smørgrav 2015-12-14 18:08:22 +0100
  • 278ff6d113 GC empty directory Dag-Erling Smørgrav 2015-12-14 17:51:01 +0100
  • 0995671d43 Don't rely on side effects between sequence points Dag-Erling Smørgrav 2015-12-14 17:49:49 +0100
  • f04b77e2a5 typo Dag-Erling Smørgrav 2015-12-14 16:05:18 +0100
  • 4d7893004c Prepare for moving to Github Dag-Erling Smørgrav 2015-12-14 15:55:38 +0100
  • d69c5dcdf8 Correct copyright ranges Dag-Erling Smørgrav 2015-12-14 15:55:04 +0100
  • 5584b68908 Fix t_malloc_snapshot(): stash the difference between nalloc and nfree, not the numbers themselves. Dag-Erling Smørgrav 2015-11-02 19:45:12 +0000
  • 7b48030ada Revert accidental commit Dag-Erling Smørgrav 2015-11-02 19:34:54 +0000
  • 955cbc3013 Add t_malloc_snapshot() which writes a snapshot of the allocator state to a caller-provided buffer. Use it to warn about leaks in each individual test case. Note that we can't fail a test case for leaking, because individual test cases in a unit may modify shared state which is cleaned up at the end of the series. Dag-Erling Smørgrav 2015-11-02 19:34:03 +0000
  • 3e88a08c10 Clean up a bit and add more test cases, including comprehensive tests for string_append_{cs,string}(). Dag-Erling Smørgrav 2015-10-13 21:44:37 +0000
  • fd515ccd79 Clear up confusion between lengths and sizes. Fix a harmless bug in string_shrink(). Dag-Erling Smørgrav 2015-10-13 21:42:57 +0000
  • 0a9f2c21fe When running a test, make sure it didn't leave allocation failure enabled. Add predicates for null and non-null pointers. Staticize some internal allocator state. Dag-Erling Smørgrav 2015-10-13 21:39:47 +0000
  • 4fa82f7c7b Simplify existing tests: - Set t_malloc_fatal so we don't have to check for allocation failures (the driver will catch the SIGABRT). - Use string_dup_cs() instead of string_new() + string_append_cs(). Dag-Erling Smørgrav 2015-10-13 20:22:07 +0000
  • 454603d4f1 Add <unistd.h> to more files. FreeBSD's namespace pollution hides these errors. Dag-Erling Smørgrav 2015-10-12 11:45:26 +0000
  • 2acf532339 libtest is not just for internal use. Dag-Erling Smørgrav 2015-10-12 11:41:47 +0000
  • e6049c1d6a Add string_len() (return length of string) and string_dup_cs() (create a string from a null-terminated string). Add test for string_trunc(). Dag-Erling Smørgrav 2015-10-12 10:23:24 +0000
  • eb61dac230 <unistd.h> required for t_compare_ssz() Dag-Erling Smørgrav 2015-10-12 10:20:14 +0000
  • f67b3cf5da Add missing prototype for t_compare_ssz() Dag-Erling Smørgrav 2015-10-12 10:19:53 +0000
  • b5d5f111ca Add missing Makefile Dag-Erling Smørgrav 2015-10-04 07:51:08 +0000
  • f8ebdbc14d Move the test framework into its own subdirectory Dag-Erling Smørgrav 2015-10-04 07:49:48 +0000
  • ab8f712584 Correctly register AES192 and AES256 Dag-Erling Smørgrav 2015-10-04 07:19:52 +0000
  • aa4a92bac9 Fix cipher macros Dag-Erling Smørgrav 2015-10-04 07:19:28 +0000
  • cf02f33af7 Implement the full range of test vectors from RFC 6229. Dag-Erling Smørgrav 2015-10-04 07:08:36 +0000
  • 476c9f27f7 Use our own endianness conversion macros. Dag-Erling Smørgrav 2015-10-04 07:07:53 +0000
  • 03bd9ea902 Code cleanup Dag-Erling Smørgrav 2015-10-03 15:33:47 +0000