Commit Graph
854 Commits
Author SHA1 Message Date
Nigel Tao 5bf7c5c051 Add image_config.first_frame_io_position
Also fix a type typo for image_config.first_frame_is_opaque.
2018-09-08 08:40:45 +10:00
Nigel Tao 91451e8095 Add io_buffer.io_position_{read,writ}er methods 2018-09-08 08:27:19 +10:00
Nigel Tao 555a72d7a9 Add a decode_frame_options type 2018-09-02 15:08:00 +10:00
Nigel Tao 8b1e023e6a Add image_config.work_buffer_size 2018-09-02 14:56:53 +10:00
Nigel Tao a34cc5311e Place the frame_config's pos before it not after 2018-08-26 23:58:03 +10:00
Nigel Tao 9c04249bfe Add warnings as another status code category 2018-08-26 23:22:45 +10:00
Nigel Tao 814507e848 First sketch of reset_for_decode_frame 2018-08-26 21:18:08 +10:00
Nigel Tao 132b54378c Remove frame_config.palette_changed 2018-08-26 17:22:29 +10:00
Nigel Tao 7798beaa8c Add I/O positions 2018-08-26 16:31:19 +10:00
Nigel Tao d47bf4e4e5 Fix wuffs_base__frame_config__blend 2018-08-19 18:06:44 +10:00
Nigel Tao babd6e667d Have "wuffs genlib -skipgen" still build base libs 2018-08-19 17:36:27 +10:00
Nigel Tao f836d3b743 Rename "check_wuffs_version called twice" 2018-08-19 17:08:36 +10:00
Nigel Tao fbb8bd44b8 Make blend an enum, not just a bool 2018-08-19 17:00:00 +10:00
Nigel Tao 9367cd800b Remove the (pointer-typed) private_impl.status 2018-08-19 11:32:31 +10:00
Nigel Tao 5e8801d866 Promote pixcfg field out of private_impl 2018-08-18 12:29:28 +10:00
Nigel Tao c1af1e2c82 Rename $(etc) to [etc] 2018-08-18 10:11:43 +10:00
Nigel Tao 4e7ef5fb88 Rename I/O bounds fields to mark and limit 2018-08-18 09:38:02 +10:00
Nigel Tao 6236e7205f Remove packageid 2018-08-12 21:44:49 +10:00
Nigel Tao eec0fce647 Change error "?foo" to status "?foo" 2018-08-12 21:31:56 +10:00
Nigel Tao 203b45e869 Remove status values 2018-08-12 19:36:29 +10:00
Nigel Tao 44e99d79cf Add comment about comparing status strings 2018-08-12 19:11:45 +10:00
Nigel Tao c499f03bc7 Delete obsolete wuffs_foo__status__string funcs 2018-08-12 19:10:24 +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 e0311e3bb2 Don't generate header defs for private statuses 2018-08-12 14:08:04 +10:00
Nigel Tao b385c30b4f Add a "?" prefix to non-built-in status messages 2018-08-12 14:07:40 +10:00
Nigel Tao 0ed0ead057 Generate named strings for status messages 2018-08-12 11:28:13 +10:00
Nigel Tao 1462084531 Add a "?" or "$" prefix to status messages 2018-08-12 10:50:22 +10:00
Nigel Tao 1e8438f43b Have cgen code call wuffs_base__status methods 2018-08-12 09:44:58 +10:00
Nigel Tao 78c363719f Simplify writeExprBinaryOp 2018-08-11 16:01:00 +10:00
Nigel Tao ff85296c1c Add a status.msg field 2018-08-11 13:39:17 +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 9c0b2d2f5c Rename ioptr_etc cgen variables 2018-08-11 08:32:49 +10:00
Nigel Tao fd43e777bc Have check_wuffs_version return a status code 2018-08-05 22:29:54 +10:00
Nigel Tao 913adc8543 Remove cgen templates
They didn't turn out to be as useful as first thought.
2018-08-04 09:48:39 +10:00
Nigel Tao f2ee78aa2a Remove short_read_src cgen code path 2018-08-04 09:45:35 +10:00
Nigel Tao eca5565821 Removed closed-for-read/write status codes 2018-08-04 09:34:39 +10:00
Nigel Tao 98b2aa9837 Move some Go packages from lang/foo to lib/foo 2018-08-04 09:17:08 +10:00
Nigel Tao db04cf346f Rename Struct.Optional to Struct.Classy 2018-08-04 08:57:27 +10:00
Nigel Tao df19bcdb03 Require if and while conditions to be effect-free 2018-07-29 14:20:15 +10:00
Nigel Tao 5cca9471ec Have cgen look for !?? methods not ? methods 2018-07-29 14:01:57 +10:00
Nigel Tao 0a47966e72 Introduce finer-grained effects 2018-07-29 13:40:49 +10:00
Nigel Tao ca06083f8a Rename the implicit in variable to args 2018-07-29 10:26:22 +10:00
Nigel Tao 9919d78245 Change func out-type from struct to bare type 2018-07-29 10:02:06 +10:00
Nigel Tao bc82e51371 Rename wuffs-unsupported-snapshot.h 2018-07-21 09:20:10 +10:00
Nigel Tao 1c75f7b748 Redo {frame,image,pixel}_config and pixel_buffer 2018-07-21 09:15:33 +10:00
Nigel Tao 4e70498189 Spin out base/image-public.h 2018-07-21 08:02:58 +10:00
Nigel Tao 29eb64a0a4 Add a nptr T type 2018-07-15 17:10:03 +10:00
Nigel Tao 15f2f42b77 Add a nullptr literal 2018-07-15 16:41:23 +10:00
Nigel Tao 05c5b7ba2b Fold "wuffs genrelease" into "wuffs gen" 2018-07-14 12:04:38 +10:00
Nigel Tao 751eb693a5 Have "wuffs genlib" take a -skipgen flag 2018-07-14 11:51:33 +10:00