Commit Graph
76 Commits
Author SHA1 Message Date
Nigel Tao e5f535db4f Remove set_{reader,writer}_limit in test/c code 2019-07-06 08:43:41 +10:00
Nigel Tao ffeb2bff63 Split benchmarks for full / partial initialization 2019-02-24 16:54:19 +11:00
Nigel Tao 031783f9c8 Add C compiler version to test and bench output 2019-01-12 14:52:30 +11:00
Nigel Tao dd3d9f6766 Add wuffs_base__pixel_format__bits_per_pixel 2019-01-12 11:52:02 +11:00
Nigel Tao dd94ad3821 Rename z variable to status, in C code 2018-12-28 16:14:03 +11:00
Nigel Tao 529ebb0a61 Introduce binary alpha 2018-12-22 08:48:49 +11:00
Nigel Tao 45ab79b451 Allow GIF decoding to non-indexed pixel formats 2018-12-08 16:08:02 +11:00
Nigel Tao 3854ce3e89 Let test binaries run from any dir in the repo
Also spin out generate.WuffsRoot into its own package.
2018-11-03 08:46:31 +11:00
Nigel Tao 6cc954d7e1 Have tests return a "const char*" status 2018-09-22 08:43:56 +10:00
Nigel Tao b6da2f4fb4 Clean up iters vs iters_unscaled 2018-09-15 19:42:27 +10:00
Nigel Tao 058d435759 Don't repeat tests iterscale times 2018-09-15 17:33:39 +10:00
Nigel Tao 6fed251b40 Split an io_buffer's fields into data and meta 2018-09-15 08:45:50 +10:00
Nigel Tao 2e804c8f20 Remove the testlib's global_palette_buffer 2018-09-09 21:50:28 +10:00
Nigel Tao 8b1e023e6a Add image_config.work_buffer_size 2018-09-02 14:56:53 +10:00
Nigel Tao 7798beaa8c Add I/O positions 2018-08-26 16:31:19 +10:00
Nigel Tao 4e7ef5fb88 Rename I/O bounds fields to mark and limit 2018-08-18 09:38:02 +10:00
Nigel Tao 1c75f7b748 Redo {frame,image,pixel}_config and pixel_buffer 2018-07-21 09:15:33 +10:00
Nigel Tao a0bafff465 Ship as a "single file C library" 2018-07-14 08:59:36 +10:00
Nigel Tao 25a106903f Have include guards start with WUFFS_INCLUDE_GUARD 2018-06-16 08:10:22 +10:00
Nigel Tao c5b7b7097e Rename inclusive and exclusive to incl and excl 2018-06-11 09:04:12 +10:00
Nigel Tao df96e48341 Rename some #ifndef WUFFS_BASE_HEADER_H guards 2018-06-10 09:37:30 +10:00
Nigel Tao 87ab36f8c4 Have check_wuffs_version take the sizeof receiver
Also rename foo__initialize to foo__check_wuffs_version.
2018-05-29 14:20:27 +10:00
Nigel Tao e1293c2522 Fix decoding GIFs to an image (not IO) buffer 2018-05-28 14:06:58 +10:00
Nigel Tao 5e856540bd Have std/gif update an image_buffer's dirty_rect 2018-05-24 11:29:16 +10:00
Nigel Tao 34cfc3f863 Have std/gif's palettes be BGRA, not RGB 2018-05-24 10:33:02 +10:00
Nigel Tao 227f8610fc Rename some testlib set_limit methods 2018-05-11 13:49:47 +10:00
Nigel Tao 23fff7f841 Simplify some testlib set_limit methods 2018-05-11 13:45:26 +10:00
Nigel Tao bf4aa38a84 Relocate some for-test-only set_limit methods 2018-05-11 13:42:06 +10:00
Nigel Tao a2044fdaa6 Drop the ".c" in "std/gif.c" test output 2018-05-05 11:38:31 +10:00
Nigel Tao 5e9cca7e82 Tweak "wuffs bench" output format 2018-05-04 17:32:35 +10:00
Nigel Tao ba98b04307 Add an iterscale flag 2018-05-04 17:17:59 +10:00
Nigel Tao bd71c2d9fd Rename proc_reps to reps 2018-05-04 16:55:14 +10:00
Nigel Tao f36234a724 Rename reps to iters 2018-05-04 16:53:42 +10:00
Nigel Tao 97aab37462 Rename buf1, reader1, etc to io_buffer, io_reader
Also remove the unused Buf1, Buf2 and Usize tokens.
2018-04-05 20:49:48 +10:00
Nigel Tao 3c708dfe59 Rename PUFFS to WUFFS, part 7 of N 2017-11-30 18:02:59 +11:00
Nigel Tao 79a94558be Rename PUFFS to WUFFS, part 5 of N 2017-11-30 16:37:20 +11:00
Nigel Tao 66047db6d8 Be more paranoid about calling strncmp. 2017-11-04 10:49:23 +11:00
Nigel Tao 6602dea7be Make focus's "/gcc" suffix optional. 2017-11-04 10:40:43 +11:00
Nigel Tao 4729170678 Make focus's "Benchmark" prefix optional. 2017-11-04 10:25:24 +11:00
Nigel Tao 0230a65c7b Let focus have a trailing comma. 2017-11-04 10:21:32 +11:00
Nigel Tao c62aa518a5 Make focus's "test_" or "bench_" prefix optional. 2017-11-04 10:05:37 +11:00
Nigel Tao 1487da7af8 Add a -focus flag. 2017-11-03 17:54:29 +11:00
Nigel Tao aec5715f12 Declare proc_filename exactly once. 2017-11-03 15:09:22 +11:00
Nigel Tao d7c910fd1b Avoid "array decl needs an explicit size". 2017-11-03 12:11:21 +11:00
Nigel Tao 0e136f59af Use an explicitly typed tc_neither. 2017-11-03 11:18:38 +11:00
Nigel Tao b7f347d406 Fix a "return false as char*" typo. 2017-11-03 11:15:38 +11:00
Nigel Tao f29c4e278f Follow the pkg__type__method convention for base. 2017-10-21 15:59:08 +11:00
Nigel Tao fca0cab724 Add write and read limits to some tests. 2017-10-14 14:52:54 +11:00
Nigel Tao d4372cb5b8 Change license to Apache 2.
Also remove explicit PATENTS file. The new LICENSE file already
discusses patents.

Note that the Puffs project has not yet been publicly released.
2017-10-12 11:17:41 +11:00
Nigel Tao ac405d485b Rename some internal test functions. 2017-10-07 15:57:18 +11:00