Commit Graph
119 Commits
Author SHA1 Message Date
Nigel Tao 4e7ef5fb88 Rename I/O bounds fields to mark and limit 2018-08-18 09:38:02 +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 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 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 eca5565821 Removed closed-for-read/write status codes 2018-08-04 09:34:39 +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 caa55fe101 Place base func names at line start 2018-07-14 11:35:00 +10:00
Nigel Tao 71e604a71a Remove unused loop_count field 2018-07-14 10:38:05 +10:00
Nigel Tao 8a6e177701 Add WUFFS_CONFIG__STATIC_FUNCTIONS 2018-07-14 10:16:10 +10:00
Nigel Tao a0bafff465 Ship as a "single file C library" 2018-07-14 08:59:36 +10:00
Nigel Tao 8a449fa92e Rename __bco to _fast 2018-07-08 21:10:40 +10:00
Nigel Tao 26eba56f57 Rename some copy_from_xxx methods 2018-07-08 13:56:49 +10:00
Nigel Tao 732365b80d Add write_fast_uxx methods 2018-07-08 13:26:28 +10:00
Nigel Tao 3896c1940f Rename intersection / union as intersect / unite
We can't use "union" as a method name, as it is a C/C++ keyword.
2018-06-30 21:12:26 +10:00
Nigel Tao 2b40bb446b Add some more C++ convenience methods 2018-06-30 20:53:37 +10:00
Nigel Tao 5e905492b3 Make rectangle method receivers pointers 2018-06-30 17:13:13 +10:00
Nigel Tao 39c1a3d179 Remove the unused wuffs_base__image_buffer__loop 2018-06-30 16:53:35 +10:00
Nigel Tao 30cfaa5db7 Add C++ convenience methods 2018-06-30 13:02:16 +10:00
Nigel Tao 60a7b48745 Compile C++ example with -Wall -Werror 2018-06-30 10:56:04 +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 6670445122 Avoid empty C structs 2018-06-23 07:19:26 +10:00
Nigel Tao a07aa0a683 Don't assume that C compilers define __WORDSIZE 2018-06-23 07:13:08 +10:00
Nigel Tao 43a5349348 Fix a C++ (not C) compile error 2018-06-17 13:35:06 +10:00
Nigel Tao beed8a1c52 Look for WUFFS_CONFIG__MODULE__BASE 2018-06-16 09:07:29 +10:00
Nigel Tao fdb7d7f174 Add !! to the magic "C HEADER ENDS HERE" string 2018-06-16 09:04:34 +10:00
Nigel Tao c82e41c249 Generate some extern "C" lines 2018-06-16 08:22:26 +10:00
Nigel Tao 56491b384e Add base-private.h. to base-impl.c 2018-06-16 08:17:20 +10:00
Nigel Tao 25a106903f Have include guards start with WUFFS_INCLUDE_GUARD 2018-06-16 08:10:22 +10:00
Nigel Tao 1ee2152785 Add a image_config.first_frame_is_opaque method 2018-06-11 11:07:14 +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 0702faf836 Remove obsolete set_min_inclusive_x etc methods 2018-06-11 08:32:23 +10:00
Nigel Tao 52feb10ad3 Add a utility.make_rect_ie_u32 method 2018-06-11 08:28:29 +10:00
Nigel Tao 92a8bc4641 Add a base.utility type 2018-06-11 08:05:12 +10:00
Nigel Tao 50a955317a Remove the WUFFS_FOO__STATUS_ETC names 2018-06-10 22:05:06 +10:00
Nigel Tao 699bae15d2 Redo WUFFS_BASE_PRIVATE_H define guard generation 2018-06-10 21:25:37 +10:00
Nigel Tao 43bb14e886 Redo the encoding of error codes 2018-06-10 21:22:41 +10:00
Nigel Tao 2ac2424e77 Implement INSERT wuffs_base__status__string data 2018-06-10 20:34:34 +10:00
Nigel Tao 9c5d068f22 Generalize the "!! INSERT" mechanism 2018-06-10 19:50:39 +10:00
Nigel Tao 86010a17e2 Add a wuffs_base__status type 2018-06-10 15:01:22 +10:00
Nigel Tao df96e48341 Rename some #ifndef WUFFS_BASE_HEADER_H guards 2018-06-10 09:37:30 +10:00
Nigel Tao a1ed77cc35 Generate gen/c/base.c 2018-06-10 09:17:27 +10:00
Nigel Tao a177e798f4 Delete some obsolete base-private comments 2018-06-10 08:11:38 +10:00
Nigel Tao caa398441f Rename some cgen/base-* files 2018-06-10 08:08:36 +10:00