Commit Graph
93 Commits
Author SHA1 Message Date
Nigel Tao 737e31ff3a Add tokens 2020-02-11 12:02:58 +11:00
Nigel Tao f50e161677 Add image_config_decoder interface test 2020-02-02 20:18:10 +11:00
Nigel Tao 557c2b7998 Add wuffs_base__pixel_buffer__color_u32_at 2020-01-24 21:39:19 +11:00
Nigel Tao 1a791217de Add wuffs_base__pixel_blend type 2020-01-14 09:27:04 +11:00
Nigel Tao c8e3a94200 Add base.image_decoder 2020-01-12 12:18:02 +11:00
Nigel Tao e77c5d7001 Have hasher_u32 test take a filename arg 2020-01-12 11:38:18 +11:00
Nigel Tao adf63e23b0 Add base.io_transformer.workbuf_len 2020-01-12 09:44:41 +11:00
Nigel Tao 92a5bfd7ec Have various structs implement base.io_transformer 2020-01-11 22:25:31 +11:00
Nigel Tao fd5c0143ab Fix testlib -Werror=pedantic failures 2020-01-10 14:14:23 +11:00
Nigel Tao 72fcc2d94f Add upcast methods 2020-01-10 14:04:07 +11:00
Nigel Tao eeae6098b6 Add "do ... while(0)" around CHECK_ETC test macros 2020-01-08 13:59:50 +11:00
Nigel Tao fabfff05d1 Have pixel_foo methods take pointer receivers 2020-01-05 13:33:52 +11:00
Nigel Tao 0319777cce Have tests print all of status.repr 2020-01-05 12:56:48 +11:00
Nigel Tao 7f1572ca16 Add CHECK_STATUS testlib macro 2020-01-05 12:50:56 +11:00
Nigel Tao 77a5311c4b Add CHECK_STRING testlib macro 2020-01-05 11:19:22 +11:00
Nigel Tao 948c6fb239 Avoid gcc's -Werror=format-truncation for snprintf 2019-10-14 09:31:15 +11:00
Nigel Tao c36b4d79c4 Add a mimic test for zlib dictionaries 2019-08-11 20:06:29 +10:00
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