Commit Graph
540 Commits
Author SHA1 Message Date
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
Nigel Tao bc702b4c2b Add a ~mod<< operator 2018-06-11 10:27:35 +10:00
Nigel Tao e05b564656 Add WUFFS_CONFIG__MODULES macro 2018-06-11 10:00:02 +10:00
Nigel Tao c5b7b7097e Rename inclusive and exclusive to incl and excl 2018-06-11 09:04:12 +10:00
Nigel Tao 156cea5a70 Add a std/gif work_buffer_size method 2018-06-11 08:52:53 +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 d770e879ab Remove the wuffs_foo__status types 2018-06-10 21:40:43 +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 35af4c4841 Implement INSERT wuffs_base__status names 2018-06-10 20:12:04 +10:00
Nigel Tao 9c5d068f22 Generalize the "!! INSERT" mechanism 2018-06-10 19:50:39 +10:00
Nigel Tao 634789722d Assign values, not just messages, to status codes 2018-06-10 15:48:29 +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
Nigel Tao c1dbfdb4aa Have gifplayer compose onto an ARGB buffer 2018-06-09 09:32:16 +10:00