Commit Graph
561 Commits
Author SHA1 Message Date
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
Nigel Tao caa55fe101 Place base func names at line start 2018-07-14 11:35:00 +10:00
Nigel Tao fa95380a23 Have WUFFS_INCLUDE_GUARD cover the IMPLEMENTATION 2018-07-14 11:17:54 +10:00
Nigel Tao 71e604a71a Remove unused loop_count field 2018-07-14 10:38:05 +10:00
Nigel Tao d73353024c Make clang-format place func names at line start 2018-07-14 10:33:06 +10:00
Nigel Tao 8a6e177701 Add WUFFS_CONFIG__STATIC_FUNCTIONS 2018-07-14 10:16:10 +10:00
Nigel Tao b82a1992de Don't genrelease a timestamp for version 0.0.0 2018-07-14 09:54:31 +10:00
Nigel Tao b70bb379d8 Have "wuffs gen" and "wuffs test" do genrelease 2018-07-14 09:54:02 +10:00
Nigel Tao f2e683ab69 Have gen's "single file C library" be .h not .c 2018-07-14 09:26:10 +10:00
Nigel Tao a0bafff465 Ship as a "single file C library" 2018-07-14 08:59:36 +10:00
Nigel Tao 85c4de47b9 Remove ProvenNotToSuspend and BoundsCheckOptimized 2018-07-08 21:48:50 +10:00
Nigel Tao e49d464432 Make _fast explicit in copy_n_from_history_fast 2018-07-08 21:39:18 +10:00
Nigel Tao 8a449fa92e Rename __bco to _fast 2018-07-08 21:10:40 +10:00
Nigel Tao 9e300fc4f8 Rename unread_u8? to undo_byte!; add can_undo_byte 2018-07-08 21:02:29 +10:00
Nigel Tao ce3d99a6d5 Remove no longer used optimizeSuspendible code 2018-07-08 17:10:34 +10:00
Nigel Tao a32683e5ea Drop the 32 in the skip32 and skip32_fast names 2018-07-08 14:02:32 +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 122c32cdad Rename gen/h/std/*.h to gen/c/std/*.h 2018-07-01 20:55:46 +10:00
Nigel Tao ccb78f5db7 Rename ast.Node methods from Foo to AsFoo 2018-07-01 20:41:21 +10:00
Nigel Tao 2599476d2c Add skip32_fast method 2018-07-01 11:14:25 +10:00
Nigel Tao bb4477d91f Add peek_uxx methods 2018-07-01 10:26:17 +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 008b83e4b4 Fix some more C++ (not C) compile errors 2018-06-30 13:41:19 +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 33e99792eb Qualify cgen'ed "func foo.bar" with the pkgName 2018-06-30 09:01:03 +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 ad9931ff2e Generate the release .h the same as gen/etc/*.h 2018-06-23 07:11:45 +10:00
Nigel Tao 43a5349348 Fix a C++ (not C) compile error 2018-06-17 13:35:06 +10:00
Nigel Tao dccf0c60d7 Add a "wuffs genrelease" command 2018-06-16 11:47:35 +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