Nigel Tao
|
295cbbccae
|
Check that expr's don't have placeholder type
|
2018-07-07 21:36:26 +10:00 |
|
Nigel Tao
|
6ede44e474
|
Set placeholder MBounds, not just MType
|
2018-07-07 19:28:51 +10:00 |
|
Nigel Tao
|
d796fc75b2
|
Have Iterate bounds checking call bcheckBlock
|
2018-07-07 19:21:01 +10:00 |
|
Nigel Tao
|
dc446b91de
|
Call SetMBounds on non-expr statements
|
2018-07-07 19:20:02 +10:00 |
|
Nigel Tao
|
b056c3e6a6
|
Rename bcheckAssignment2
|
2018-07-07 18:19:35 +10:00 |
|
Nigel Tao
|
dcaa2bb085
|
Inline bcheckAssignment1
|
2018-07-07 18:18:15 +10:00 |
|
Nigel Tao
|
e0cbd2a69e
|
Remove obsolete assignment bcheck special case
|
2018-07-07 18:17:10 +10:00 |
|
Nigel Tao
|
ba3b97ec69
|
Call SetMBounds when bounds-checking expressions
|
2018-07-07 18:15:28 +10:00 |
|
Nigel Tao
|
a506657c53
|
Make every expression have non-nil bounds
|
2018-07-07 17:36:05 +10:00 |
|
Nigel Tao
|
971e173721
|
Remove redundant const-value bounds check
|
2018-07-07 16:44:41 +10:00 |
|
Nigel Tao
|
8ce26e4025
|
Limit constants to within ±(1 << 1000)
|
2018-07-07 09:01:39 +10:00 |
|
Nigel Tao
|
ae41c7ceb5
|
Add an ast.Bounds type
|
2018-07-07 08:43:23 +10:00 |
|
Nigel Tao
|
65e2e7196a
|
Fix example/library for .h directory change
|
2018-07-01 22:41:00 +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
|
12773ce74a
|
wuffs genrelease -version=0.2.0-alpha.5
|
2018-07-01 11:16:48 +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
|
5929220df0
|
Have build-all check a release compiles cleanly
|
2018-06-30 21:07:21 +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
|
13d2814519
|
Raise example/crc32's buffer size from 16K to 32K
This matches the 32K buffer size used by
https://github.com/redhotpenguin/perl-Archive-Zip/blob/master/script/crc32
as shipped as /usr/bin/crc32 on Debian
|
2018-06-30 16:49:13 +10:00 |
|
Nigel Tao
|
8cfb2cc6eb
|
wuffs genrelease -version=0.2.0-alpha.4
|
2018-06-30 13:49:47 +10:00 |
|
Nigel Tao
|
7f65cd04d0
|
Print progress messages when compiling releases
|
2018-06-30 13:46:22 +10:00 |
|
Nigel Tao
|
4dd90b22ba
|
Update doc/changelog.md
|
2018-06-30 13:43:16 +10:00 |
|
Nigel Tao
|
008b83e4b4
|
Fix some more C++ (not C) compile errors
|
2018-06-30 13:41:19 +10:00 |
|
Nigel Tao
|
e43aa62d1c
|
Fix some C++ (not C) compile errors
|
2018-06-30 13:31:52 +10:00 |
|
Nigel Tao
|
52e7fe0709
|
Mark std/gif's decode_up_to_id_part1 as private
|
2018-06-30 13:03:20 +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
|
6183aba9d7
|
Capitalize the $CC and $CXX environment variables
|
2018-06-30 10:43:26 +10:00 |
|
Nigel Tao
|
f3538d9117
|
Add example/crc32
|
2018-06-30 10:41:04 +10:00 |
|
Nigel Tao
|
b09748c485
|
Build examples with -Wall -Werror
|
2018-06-30 09:10:10 +10:00 |
|
Nigel Tao
|
33e99792eb
|
Qualify cgen'ed "func foo.bar" with the pkgName
|
2018-06-30 09:01:03 +10:00 |
|
Nigel Tao
|
92b566367d
|
Optimize some more more std/gif if blocks
name old speed new speed delta
wuffs_lzw_decode_20k/clang 136MB/s ± 0% 134MB/s ± 1% -1.27% (p=0.000 n=9+9)
wuffs_lzw_decode_100k/clang 175MB/s ± 0% 175MB/s ± 0% ~ (p=0.863 n=9+9)
wuffs_lzw_decode_20k/gcc 168MB/s ± 0% 177MB/s ± 1% +5.79% (p=0.000 n=9+8)
wuffs_lzw_decode_100k/gcc 242MB/s ± 0% 262MB/s ± 3% +8.27% (p=0.000 n=10+10)
wuffs_gif_decode_1k_bw/clang 280MB/s ± 1% 294MB/s ± 1% +4.88% (p=0.000 n=9+9)
wuffs_gif_decode_1k_color/clang 158MB/s ± 0% 158MB/s ± 0% ~ (p=0.724 n=8+9)
wuffs_gif_decode_10k/clang 146MB/s ± 0% 146MB/s ± 0% ~ (p=0.387 n=9+9)
wuffs_gif_decode_100k/clang 125MB/s ± 0% 125MB/s ± 1% +0.18% (p=0.040 n=9+9)
wuffs_gif_decode_1000k/clang 128MB/s ± 0% 128MB/s ± 1% +0.38% (p=0.008 n=8+9)
wuffs_gif_decode_1k_bw/gcc 323MB/s ± 1% 306MB/s ± 2% -5.20% (p=0.000 n=10+10)
wuffs_gif_decode_1k_color/gcc 167MB/s ± 2% 164MB/s ± 1% -1.71% (p=0.002 n=10+10)
wuffs_gif_decode_10k/gcc 151MB/s ± 0% 152MB/s ± 0% +0.67% (p=0.000 n=9+10)
wuffs_gif_decode_100k/gcc 134MB/s ± 0% 136MB/s ± 1% +1.16% (p=0.001 n=9+9)
wuffs_gif_decode_1000k/gcc 138MB/s ± 0% 140MB/s ± 1% +1.18% (p=0.000 n=9+9)
|
2018-06-30 08:49:23 +10:00 |
|
Nigel Tao
|
9cd37adfe8
|
Optimize some more std/gif if blocks
name old speed new speed delta
wuffs_lzw_decode_20k/clang 124MB/s ± 0% 136MB/s ± 0% +9.77% (p=0.000 n=9+9)
wuffs_lzw_decode_100k/clang 164MB/s ± 1% 175MB/s ± 0% +6.66% (p=0.000 n=10+9)
wuffs_lzw_decode_20k/gcc 167MB/s ± 0% 168MB/s ± 0% +0.38% (p=0.000 n=8+9)
wuffs_lzw_decode_100k/gcc 247MB/s ± 0% 242MB/s ± 0% -2.16% (p=0.000 n=9+10)
wuffs_gif_decode_1k_bw/clang 266MB/s ± 1% 280MB/s ± 1% +5.36% (p=0.000 n=10+9)
wuffs_gif_decode_1k_color/clang 122MB/s ± 0% 158MB/s ± 0% +29.46% (p=0.000 n=10+8)
wuffs_gif_decode_10k/clang 115MB/s ± 1% 146MB/s ± 0% +27.00% (p=0.000 n=10+9)
wuffs_gif_decode_100k/clang 113MB/s ± 0% 125MB/s ± 0% +10.46% (p=0.000 n=9+9)
wuffs_gif_decode_1000k/clang 115MB/s ± 1% 128MB/s ± 0% +11.24% (p=0.000 n=9+8)
wuffs_gif_decode_1k_bw/gcc 298MB/s ± 1% 323MB/s ± 1% +8.23% (p=0.000 n=9+10)
wuffs_gif_decode_1k_color/gcc 163MB/s ± 1% 167MB/s ± 2% +2.10% (p=0.000 n=10+10)
wuffs_gif_decode_10k/gcc 152MB/s ± 0% 151MB/s ± 0% -0.55% (p=0.000 n=9+9)
wuffs_gif_decode_100k/gcc 134MB/s ± 0% 134MB/s ± 0% ~ (p=0.606 n=8+9)
wuffs_gif_decode_1000k/gcc 138MB/s ± 1% 138MB/s ± 0% ~ (p=0.422 n=9+9)
|
2018-06-30 08:40:24 +10:00 |
|
Nigel Tao
|
91bf555431
|
Optimize some std/gif if blocks
name old speed new speed delta
wuffs_lzw_decode_20k/clang 123MB/s ± 1% 124MB/s ± 0% +0.91% (p=0.000 n=46+9)
wuffs_lzw_decode_100k/clang 156MB/s ± 1% 164MB/s ± 1% +5.07% (p=0.000 n=46+10)
wuffs_lzw_decode_20k/gcc 167MB/s ± 2% 167MB/s ± 0% ~ (p=0.933 n=46+8)
wuffs_lzw_decode_100k/gcc 243MB/s ± 3% 247MB/s ± 0% +1.56% (p=0.000 n=47+9)
wuffs_gif_decode_1k_bw/clang 263MB/s ± 1% 266MB/s ± 1% +1.02% (p=0.000 n=46+10)
wuffs_gif_decode_1k_color/clang 147MB/s ± 1% 122MB/s ± 0% -16.63% (p=0.000 n=46+10)
wuffs_gif_decode_10k/clang 134MB/s ± 2% 115MB/s ± 1% -14.02% (p=0.000 n=49+10)
wuffs_gif_decode_100k/clang 115MB/s ± 1% 113MB/s ± 0% -1.73% (p=0.000 n=44+9)
wuffs_gif_decode_1000k/clang 117MB/s ± 1% 115MB/s ± 1% -2.10% (p=0.000 n=46+9)
wuffs_gif_decode_1k_bw/gcc 291MB/s ± 1% 298MB/s ± 1% +2.46% (p=0.000 n=44+9)
wuffs_gif_decode_1k_color/gcc 138MB/s ± 1% 163MB/s ± 1% +18.50% (p=0.000 n=45+10)
wuffs_gif_decode_10k/gcc 134MB/s ± 2% 152MB/s ± 0% +13.37% (p=0.000 n=47+9)
wuffs_gif_decode_100k/gcc 121MB/s ± 1% 134MB/s ± 0% +11.18% (p=0.000 n=46+8)
wuffs_gif_decode_1000k/gcc 124MB/s ± 2% 138MB/s ± 1% +11.07% (p=0.000 n=47+9)
|
2018-06-30 08:33:23 +10:00 |
|
Nigel Tao
|
9f76cb71fd
|
wuffs genrelease -version=0.2.0-alpha.3
|
2018-06-23 08:08:40 +10:00 |
|
Nigel Tao
|
0a1ce533fd
|
Add a wuffs_base__image_buffer__bounds function
|
2018-06-23 08:01:25 +10:00 |
|
Nigel Tao
|
d68fa10be5
|
Fix broken link in README.md
Fixes #15
|
2018-06-23 07:53:30 +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
|
9d024ad22e
|
Have example/gifplayer honor animation disposal
|
2018-06-23 07:05:15 +10:00 |
|
Nigel Tao
|
10d1470a10
|
wuffs genrelease -version=0.2.0-alpha.2
|
2018-06-17 13:36:10 +10:00 |
|
Nigel Tao
|
43a5349348
|
Fix a C++ (not C) compile error
|
2018-06-17 13:35:06 +10:00 |
|
Nigel Tao
|
97e9b8aa8d
|
Have example/zcat use the release edition
|
2018-06-17 09:53:03 +10:00 |
|
Nigel Tao
|
e7ff28ed6b
|
wuffs genrelease -version=0.2.0-alpha.1
|
2018-06-17 09:39:12 +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
|
23a462d31d
|
Move build-all.sh to the top dir; add comments
|
2018-06-16 08:38:29 +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
|
11858b9799
|
Fix std/gif benchmark for filename change
|
2018-06-16 08:03:43 +10:00 |
|
Nigel Tao
|
bdd335e7d9
|
Delete unused background_color_index field
|
2018-06-11 11:14:34 +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
|
9260f66dd3
|
Reassign some token ID values
|
2018-06-11 10:13:45 +10:00 |
|
Nigel Tao
|
e05b564656
|
Add WUFFS_CONFIG__MODULES macro
|
2018-06-11 10:00:02 +10:00 |
|
Nigel Tao
|
a09e63320d
|
Add a std/gif decoder.frame_count method
|
2018-06-11 09:11:45 +10:00 |
|
Nigel Tao
|
c5b7b7097e
|
Rename inclusive and exclusive to incl and excl
|
2018-06-11 09:04:12 +10:00 |
|
Nigel Tao
|
3d035df908
|
Add a std/gif decode_frame work_buffer arg
|
2018-06-11 08:55:28 +10:00 |
|
Nigel Tao
|
156cea5a70
|
Add a std/gif work_buffer_size method
|
2018-06-11 08:52:53 +10:00 |
|
Nigel Tao
|
6401399dea
|
Rename some std/gif frame rect fields
|
2018-06-11 08:35:48 +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
|
3ece6e0f1d
|
Re-order built-in status codes
|
2018-06-10 22:08:44 +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 |
|
Nigel Tao
|
27e0139500
|
Have WUFFS_VERSION encode major.minor.patch
|
2018-06-09 08:08:18 +10:00 |
|
Nigel Tao
|
2d838db184
|
Add a wuffs_base__image_config__bounds function
|
2018-06-09 07:52:40 +10:00 |
|
Nigel Tao
|
b2b3593537
|
Decode interlaced GIFs
|
2018-06-09 07:46:07 +10:00 |
|
Nigel Tao
|
2e14f0fc6d
|
Decode a GIF's transparent index
|
2018-06-09 07:39:11 +10:00 |
|
Nigel Tao
|
49cb260774
|
Fix typo in maximum possible i64 value
|
2018-06-03 23:27:18 +10:00 |
|
Nigel Tao
|
bb59b0f8f5
|
Decode GIF's disposal method
|
2018-06-03 19:46:51 +10:00 |
|
Nigel Tao
|
0413c52e19
|
Make wuffs_base__flicks a *signed* integer type
|
2018-06-03 19:34:11 +10:00 |
|
Nigel Tao
|
6df342c60c
|
Add animation blend and disposal concepts
|
2018-06-03 19:27:57 +10:00 |
|
Nigel Tao
|
ba05d5beed
|
Fix check_test.go for recent changes
|
2018-06-03 11:13:14 +10:00 |
|
Nigel Tao
|
40c5328d94
|
Remove redundant builtInFuncs field
|
2018-06-03 11:03:07 +10:00 |
|
Nigel Tao
|
8dbfad9509
|
Type check used-package structs and funcs
|
2018-06-03 10:49:24 +10:00 |
|
Nigel Tao
|
6b640bea86
|
Rename some std/lzw error messages
|
2018-06-03 09:28:57 +10:00 |
|