Commit Graph
59 Commits
Author SHA1 Message Date
Nigel Tao 13d2814519 Raise example/crc32's buffer size from 16K to 32K
This matches the 32K buffer size used by
https://github.com/redhotpenguin/perl-Archive-Zip/blob/master/script/crc32
as shipped as /usr/bin/crc32 on Debian
2018-06-30 16:49:13 +10:00
Nigel Tao 30cfaa5db7 Add C++ convenience methods 2018-06-30 13:02:16 +10:00
Nigel Tao 6183aba9d7 Capitalize the $CC and $CXX environment variables 2018-06-30 10:43:26 +10:00
Nigel Tao f3538d9117 Add example/crc32 2018-06-30 10:41:04 +10:00
Nigel Tao b09748c485 Build examples with -Wall -Werror 2018-06-30 09:10:10 +10:00
Nigel Tao 0a1ce533fd Add a wuffs_base__image_buffer__bounds function 2018-06-23 08:01:25 +10:00
Nigel Tao 1bdfc4cda2 Add a wuffs_base__io_buffer__compact function 2018-06-23 07:50:21 +10:00
Nigel Tao 9d024ad22e Have example/gifplayer honor animation disposal 2018-06-23 07:05:15 +10:00
Nigel Tao 97e9b8aa8d Have example/zcat use the release edition 2018-06-17 09:53:03 +10:00
Nigel Tao 26ce04ab64 have image_buffer.set_from_slice return an error 2018-06-11 10:42:29 +10:00
Nigel Tao c5b7b7097e Rename inclusive and exclusive to incl and excl 2018-06-11 09:04:12 +10:00
Nigel Tao 3d035df908 Add a std/gif decode_frame work_buffer arg 2018-06-11 08:55:28 +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 c1dbfdb4aa Have gifplayer compose onto an ARGB buffer 2018-06-09 09:32:16 +10:00
Nigel Tao d238ab6d02 Have gifplayer sleep right before the stdout write 2018-06-02 14:21:52 +10:00
Nigel Tao 6d510bcfcb Spin out a std/lzw package 2018-06-02 14:15:09 +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 d59eec7936 Fix private_impl access for GIF num_loops 2018-05-29 13:49:17 +10:00
Nigel Tao 5badfef313 Remove unused base.io_writer arg 2018-05-29 08:41:42 +10:00
Nigel Tao 4926e98956 Have examples compile warning-free at -O3 2018-05-25 11:40:05 +10:00
Nigel Tao 97e73c10c8 Add a -color flag to example/gifplayer 2018-05-25 11:34:40 +10:00
Nigel Tao 6a494e4c4f Add access from image_buffer to its image_config 2018-05-25 10:09:54 +10:00
Nigel Tao 90452011df Expand example/gifplayer's ASCII art repertoire 2018-05-25 09:57:22 +10:00
Nigel Tao 9267907dcb Have example/gifplayer check for palette change 2018-05-25 09:54:16 +10:00
Nigel Tao 749ce44b1b Refactor example/gifplayer 2018-05-25 09:52:36 +10:00
Nigel Tao ffbbc591fe Account for decoding time in example/gifplayer 2018-05-25 09:38:44 +10:00
Nigel Tao 1948d1d0b6 Decode the std/gif graphic control extension 2018-05-24 17:48:00 +10:00
Nigel Tao 30e1db733b Have image_buffer__palette return slice not ptr 2018-05-24 13:35:33 +10:00
Nigel Tao 2301c763c3 Add a base.image_buffer arg to decode_frame 2018-05-18 09:42:24 +10:00
Nigel Tao ca66d68527 Call wuffs_base__image_buffer__set_from_slice 2018-05-17 20:49:23 +10:00
Nigel Tao 8827e222b1 Add wuffs_base__io_buffer__{reader,writer} funcs 2018-04-27 20:54:44 +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 62ad97745f Delete obsolete example/peterface 2018-03-28 13:52:27 +11:00
Nigel Tao 707965488c Add example/zcat 2018-03-28 13:51:01 +11:00
Nigel Tao d1399fac19 Rename test/testdata to test/data 2018-03-16 10:48:33 +11:00
Nigel Tao 830e82a1f6 Add example/gifplayer 2018-02-18 11:47:06 +11:00
Nigel Tao 7e90967717 Fill in a GIF image_config 2018-02-09 16:05:04 +11:00
Nigel Tao d750ea7653 Add an image_config concept 2018-02-09 14:46:37 +11:00
Nigel Tao de9000cc70 Add a call sequence concept 2018-02-08 09:06:19 +11:00
Nigel Tao 4f802d1b59 Update an example for the std/flate rename 2017-12-04 10:59:11 +11:00
Nigel Tao 849db0faa2 Make C hex constants' capitalization consistent 2017-12-01 15:35:41 +11:00
Nigel Tao 56a2a926c5 Add comment about inlining C relative includes 2017-12-01 11:36:12 +11:00
Nigel Tao 8e3b5cce5e Rename PUFFS to WUFFS, part 9 of N 2017-11-30 18:10:51 +11:00
Nigel Tao 79a94558be Rename PUFFS to WUFFS, part 5 of N 2017-11-30 16:37:20 +11:00
Nigel Tao f29c4e278f Follow the pkg__type__method convention for base. 2017-10-21 15:59:08 +11:00
Nigel Tao 6815375de5 Generate double '_'s for pkg__type__method names. 2017-10-21 15:10:25 +11:00
Nigel Tao 2639f8f46a Rename std/flate's decoder to flate_decoder. 2017-10-21 13:05:19 +11:00