Commit Graph
147 Commits
Author SHA1 Message Date
Nigel Tao c5b3a9e08e Have std/json look at args.src.is_closed() more 2020-02-24 11:55:31 +11:00
Nigel Tao 6b161af654 Have example/jsonptr consume trailing whitespace 2020-02-24 11:01:48 +11:00
Nigel Tao 569a294fc2 Add script/run-json-test-suite.sh 2020-02-24 09:45:05 +11:00
Nigel Tao 9cc2c25f3d Have different exit codes for errors vs exceptions 2020-02-23 17:05:49 +11:00
Nigel Tao 9f7a250cf2 Define WUFFS_BASE__TOKEN__VBC__ETC macros 2020-02-23 09:42:02 +11:00
Nigel Tao 01bab82970 Have std/json pushes be (from, to) not just (to) 2020-02-23 09:20:56 +11:00
Nigel Tao b5461bdd5e Have std/json decode string escapes 2020-02-21 14:13:37 +11:00
Nigel Tao 67306567f9 Have std/json look at args.src.is_closed() 2020-02-19 14:04:49 +11:00
Nigel Tao 8850d38403 Have std/json decode numbers 2020-02-19 12:25:00 +11:00
Nigel Tao a8406927ef Add io_reader.is_closed 2020-02-19 12:22:00 +11:00
Nigel Tao 0711f23fed Fix missing yield inside std/json string decoder 2020-02-17 13:17:06 +11:00
Nigel Tao 1b07349144 Add example/jsonptr 2020-02-16 22:19:12 +11:00
Nigel Tao e6cc2fe8f0 Implement bmp.decoder.decode_frame 2020-02-07 16:27:04 +11:00
Nigel Tao 3fd6aca365 Change gif workbuf_len worst case from 1 to 0 2020-02-05 17:30:51 +11:00
Nigel Tao 9373749b07 Have example/gifplayer use calloc 2020-01-26 11:54:42 +11:00
Nigel Tao b781617159 Re-organize example/gifplayer global variables 2020-01-26 11:43:58 +11:00
Nigel Tao a2d6483b3b Remove example/gifplayer intermediate pixel buffer 2020-01-26 11:20:55 +11:00
Nigel Tao 071c97769a Have gifplayer work with uint8_t* buffers 2020-01-26 10:56:01 +11:00
Nigel Tao d595980f75 Let imageviewer toggle background color 2020-01-24 12:00:20 +11:00
Nigel Tao 731350f8f9 Optimize imageviewer's XCB_EXPOSE handling 2020-01-24 11:36:44 +11:00
Nigel Tao 4a83eba3f9 Add WUFFS_BASE__PIXEL_BLEND__SRC_OVER 2020-01-24 11:32:13 +11:00
Nigel Tao 4feb641841 Implement wbmp.decoder.decode_frame 2020-01-16 15:02:32 +11:00
Nigel Tao 8f1fe43abf Add example/imageviewer 2020-01-16 11:42:52 +11:00
Nigel Tao 1a791217de Add wuffs_base__pixel_blend type 2020-01-14 09:27:04 +11:00
Nigel Tao 5f8d2da74f Rename decode_io_writer methods to transform_io 2020-01-11 10:19:25 +11:00
Nigel Tao 9e802a5f84 Have wuffs_base__pixel_config__set take repr args 2020-01-05 15:34:05 +11:00
Nigel Tao b666ab06f7 Make wuffs_base__pixel_subsampling a struct 2020-01-05 15:27:11 +11:00
Nigel Tao 4f53f3101f Make wuffs_base__pixel_format a struct 2020-01-05 14:18:48 +11:00
Nigel Tao 0fa32bd09f Rename warnings to notes 2020-01-05 13:15:00 +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 355a95eeea Add wuffs_base__status__message 2019-12-15 13:31:17 +11:00
Nigel Tao 8ff9cdb9a6 Rename hasher update_u32 method 2019-11-20 21:07:22 +11:00
Nigel Tao 9557d89c56 Add example/gifplayer/README.md 2019-11-07 15:33:50 +11:00
Nigel Tao 498b7138f3 Remove "static const uint32_t etc" from cgen
They trigger compiler warnings (-Wunused-const-variable) precisely
because they're unused.
2019-11-02 12:15:01 +11:00
Nigel Tao 050bca9120 Have example/gifplayer show partial results 2019-09-14 08:33:07 +10:00
Nigel Tao aa846d2dd7 Remove io_{reader,writer} C types 2019-07-06 17:23:34 +10:00
Nigel Tao 1e4f86cfa0 Have example/gifplayer use frame background colors 2019-06-01 09:01:44 +10:00
Nigel Tao 929d36d877 Update example/gifplayer for quirk rename 2019-05-26 17:46:45 +10:00
Nigel Tao 31a2bc918e Let GIF decode an opaque but non-black background 2019-05-21 08:53:35 +10:00
Nigel Tao 19086f1c11 Have example/library check !WUFFS_IMPLEMENTATION 2019-03-09 11:08:35 +11:00
Nigel Tao 7e384e079e Take some unistd.h dependencies out of examples 2019-03-09 11:06:26 +11:00
Nigel Tao c4b8a6a4cc Don't use designated initializers
Some C/C++ compilers, such as MSVC, don't always support them. They're
also not supported by GCC's "g++ -std=c++11 -Wpedantic".
2019-03-09 10:08:00 +11:00
Nigel Tao c5538078e4 Add comment to example/library's compressed input 2019-02-16 14:47:29 +11:00
Nigel Tao 04ca24973a Have example/zcat handle WORK_BUFFER_SIZE == 0 2019-02-16 14:46:42 +11:00
Nigel Tao 53760ce0fd Call initialize instead of check_wuffs_version 2019-02-16 14:18:25 +11:00
Nigel Tao fc4abafbe7 Rename decoder_max_incl_workbuf_len constants 2019-02-03 15:44:25 +11:00
Nigel Tao de5b64a846 Rename max_incl_workbuf_len constants 2019-02-02 16:29:54 +11:00
Nigel Tao 5f7c807729 Generate macros for public scalar consts 2019-02-02 16:17:10 +11:00
Nigel Tao e45baffd51 Trim example/library's buffer size 2019-02-02 15:56:39 +11:00