Nigel Tao
92a5bfd7ec
Have various structs implement base.io_transformer
2020-01-11 22:25:31 +11:00
Nigel Tao
5f8d2da74f
Rename decode_io_writer methods to transform_io
2020-01-11 10:19:25 +11:00
Nigel Tao
0fa32bd09f
Rename warnings to notes
2020-01-05 13:15:00 +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
e6db7f6a40
Make wuffs_base__status a struct
2020-01-05 10:48:20 +11:00
Nigel Tao
c50f16e58b
Separate status and status_msg local variables
2020-01-04 11:57:33 +11:00
Nigel Tao
18763813d5
Support zlib dictionaries
2019-09-28 10:38:30 +10:00
Nigel Tao
c36b4d79c4
Add a mimic test for zlib dictionaries
2019-08-11 20:06:29 +10:00
Nigel Tao
aa846d2dd7
Remove io_{reader,writer} C types
2019-07-06 17:23:34 +10:00
Nigel Tao
e5f535db4f
Remove set_{reader,writer}_limit in test/c code
2019-07-06 08:43:41 +10:00
Nigel Tao
881474be5a
Remove "0 means no I/O limit" in tests
2019-07-06 08:41:46 +10:00
Nigel Tao
ffeb2bff63
Split benchmarks for full / partial initialization
2019-02-24 16:54:19 +11:00
Nigel Tao
b41f121d20
Make "uninitialized internal buffers" explicit
2019-02-16 14:02:32 +11:00
Nigel Tao
37a5ead3b7
Have tests let the initializers memset to zero
2019-02-10 14:08:21 +11:00
Nigel Tao
c9830ceb9a
Add a workbuf argument to decode_io_writer
2019-02-02 15:35:05 +11:00
Nigel Tao
670b45be53
Add some "horizontal rule" comment lines
2019-02-02 08:10:08 +11:00
Nigel Tao
16e97281e2
Rename some decode methods to decode_io_writer
2019-01-12 10:29:41 +11:00
Nigel Tao
11d7629efd
Fix a "release/c/etc.c" comment typo
2018-12-29 15:20:38 +11:00
Nigel Tao
dd94ad3821
Rename z variable to status, in C code
2018-12-28 16:14:03 +11:00
Nigel Tao
04c91f1410
Generate .c files instead of .h files
...
The files' contents haven't changed (other than some relative #include's
that refer to other .c files).
Some build systems have difficulty recognizing .h files as things to be
compiled, instead of just things referred to by things to be compiled.
2018-12-22 15:29:00 +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
6fed251b40
Split an io_buffer's fields into data and meta
2018-09-15 08:45:50 +10:00
Nigel Tao
b840c80040
Make the status type a const char*, not a struct
2018-08-12 16:05:14 +10:00
Nigel Tao
2a32a86a6c
Make the status type a struct, not an int32_t
2018-08-11 13:27:29 +10:00
Nigel Tao
fd43e777bc
Have check_wuffs_version return a status code
2018-08-05 22:29:54 +10:00
Jimmy Casey
3c50ada2c6
Fixed Spelling.
2018-07-26 17:12:19 +00:00
Nigel Tao
bc82e51371
Rename wuffs-unsupported-snapshot.h
2018-07-21 09:20:10 +10:00
Nigel Tao
a0bafff465
Ship as a "single file C library"
2018-07-14 08:59:36 +10:00
Nigel Tao
6183aba9d7
Capitalize the $CC and $CXX environment variables
2018-06-30 10:43:26 +10:00
Nigel Tao
50a955317a
Remove the WUFFS_FOO__STATUS_ETC names
2018-06-10 22:05:06 +10:00
Nigel Tao
d770e879ab
Remove the wuffs_foo__status types
2018-06-10 21:40:43 +10:00
Nigel Tao
43bb14e886
Redo the encoding of error codes
2018-06-10 21:22:41 +10:00
Nigel Tao
48a55f5490
Reorganize basic tests to all be in the one file
2018-06-03 09:26:43 +10:00
Nigel Tao
3e1cdd1a83
Rename some error messages
2018-06-02 13:16:50 +10:00
Nigel Tao
5b08ad2ba6
Change the order of check_wuffs_version args
...
This puts the self_ptr, self_len args next to each other.
2018-05-29 21:59:50 +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
227f8610fc
Rename some testlib set_limit methods
2018-05-11 13:49:47 +10:00
Nigel Tao
a2044fdaa6
Drop the ".c" in "std/gif.c" test output
2018-05-05 11:38:31 +10:00
Nigel Tao
ba98b04307
Add an iterscale flag
2018-05-04 17:17:59 +10:00
Nigel Tao
b9b398dc9a
Remove obsolete limit implementation
2018-05-02 20:29:39 +10:00
Nigel Tao
4e55710afc
Call the set_limit method
2018-04-28 14:36:16 +10:00
Nigel Tao
8827e222b1
Add wuffs_base__io_buffer__{reader,writer} funcs
2018-04-27 20:54:44 +10:00
Nigel Tao
035b138cb1
Spin out a std/adler32 package
2018-04-27 17:20:10 +10:00
Nigel Tao
3ab749be0d
Test checksumming fragmented input
2018-04-26 13:11:05 +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
a8e40fedc9
Implement the gzip checksum
...
Also fix a bug in ast.Raw.SetPackage, discovered because type checking
failed to show that "[] u8" and "[] u8" are equivalent types.
2018-03-28 12:30:00 +11:00
Nigel Tao
9cc6964c30
Stub out a new std/gzip package
2018-03-28 10:22:46 +11:00