Nigel Tao
73f0f28815
Elaborate doc/note/initialization.md
2019-11-22 20:56:35 +11:00
Nigel Tao
b45b28daf8
Rename doc/note/zero-initialization.md
2019-11-22 08:41:14 +11:00
Nigel Tao
a96756bd09
Add doc/std/hashers.md
2019-11-22 08:39:11 +11:00
Nigel Tao
8ff9cdb9a6
Rename hasher update_u32 method
2019-11-20 21:07:22 +11:00
Nigel Tao
9e375309a4
Add doc/wuffs-the-library.md
2019-11-20 10:40:41 +11:00
Nigel Tao
cb718b4463
Add glossary entry for facts
2019-11-18 20:58:11 +11:00
Nigel Tao
191c6bc6f2
Add glossary entry for operator precedence
2019-11-17 09:37:15 +11:00
Nigel Tao
f888089e9b
Factor out doc/note/bounds-checking.md
2019-11-16 20:43:28 +11:00
Nigel Tao
a781e038bb
Update zero-initialization example
2019-11-15 20:34:26 +11:00
Nigel Tao
afb76b9b50
Add glossary entry for dependent,refinement types
2019-11-14 20:48:35 +11:00
Nigel Tao
f10849d20b
Add doc/note/zero-initialization.md
2019-11-14 20:45:48 +11:00
Nigel Tao
cb7e9e0ce9
Add a ~mod* operator
2019-11-12 21:30:45 +11:00
Nigel Tao
e1091ec182
Re-order some token.ID numbers
2019-11-12 21:19:31 +11:00
Nigel Tao
53cb271c4b
Spin out a NIE Related Work document
2019-11-10 22:10:49 +11:00
Nigel Tao
1609be052f
Add doc/note/signed-unsigned-integers.md
2019-11-09 19:08:58 +11:00
Nigel Tao
760277a58c
Add doc/note/fuzzing.md
2019-11-08 21:01:54 +11:00
Nigel Tao
9557d89c56
Add example/gifplayer/README.md
2019-11-07 15:33:50 +11:00
Nigel Tao
04e8d14d40
Add doc/glossary.md
2019-11-06 16:51:12 +11:00
Nigel Tao
a0ace850d1
Add doc/interval-arithmetic.md
2019-11-06 13:06:52 +11:00
Nigel Tao
4ce5130896
Update doc/roadmap.md
2019-11-04 20:10:53 +11:00
Nigel Tao
7ce58b6179
Add IntRange.TryFoo methods
2019-11-03 09:06:08 +11:00
Nigel Tao
7ec2528765
wuffs gen -version=0.2.0-rc.3
2019-11-02 14:46:10 +11:00
Nigel Tao
e7d30aa3bd
Remove unnecessary "#ifdef WUFFS_IMPLEMENTATION"s
2019-11-02 14:45:37 +11:00
Nigel Tao
80cb158dde
wuffs gen -version=0.2.0-rc.2
2019-11-02 12:18:21 +11:00
Nigel Tao
498b7138f3
Remove "static const uint32_t etc" from cgen
...
They trigger compiler warnings (-Wunused-const-variable) precisely
because they're unused.
2019-11-02 12:15:01 +11:00
Nigel Tao
8ce3d657ee
Add IntRange.ContainsNonNegative
2019-11-02 11:59:22 +11:00
Nigel Tao
29c7b67874
Rename lib/interval's split2Ways variables
2019-11-02 11:55:45 +11:00
Nigel Tao
d90ad9d282
Tweak lib/interval's split3Ways' return values
2019-11-02 11:52:44 +11:00
Nigel Tao
960a3b76d7
Have lib/interval's split2Ways return emptiness
2019-11-02 11:42:37 +11:00
Nigel Tao
648932e0fb
Add a lib/interval sharedEmptyRange global
2019-11-02 11:32:54 +11:00
Nigel Tao
3b56ace877
Rename lib/interval's makeEmptyRange
2019-11-02 11:28:46 +11:00
Nigel Tao
194aaa0a7b
Remove a few IntRange.{And,Or} allocations
2019-11-01 23:02:02 +11:00
Nigel Tao
2ab322ee44
Cache lib/interval's small bit-masks
2019-11-01 22:38:00 +11:00
Nigel Tao
f3c9c4005e
Optimize lib/interval tests' opKey look-up
2019-11-01 22:32:17 +11:00
Nigel Tao
6a9a3abd24
Let IntRange's And and Or handle negative values
2019-11-01 22:20:21 +11:00
Nigel Tao
607bd735b4
Have IntRange methods return distinct *big.Int's
2019-11-01 14:04:23 +11:00
Nigel Tao
70ac26a2c5
Tweak lib/interval/radial_test.go if-else ordering
2019-10-31 16:25:23 +11:00
Nigel Tao
5672e7f0a6
Add IntRange.Unite and IntRange.Intersect
2019-10-31 09:30:20 +11:00
Nigel Tao
de807374d2
Have lib/interval use [m ..= n] syntax
2019-10-30 16:43:52 +11:00
Nigel Tao
645d17fb20
Add doc/slices-arrays-and-tables.md link; fix typo
2019-10-29 07:44:43 +11:00
Nigel Tao
c8087550ec
Add doc/note/ranges-and-rects.md
2019-10-28 21:55:47 +11:00
Nigel Tao
8d86f3dace
Update doc/note/* for sub-slice syntax
2019-10-27 21:15:48 +11:00
Nigel Tao
de60610741
Add script/print-byte-frequencies.go
2019-10-26 08:09:18 +11:00
Nigel Tao
bd96dad333
Update ractool's numbers for zstd-with-dictionary
2019-10-25 11:18:48 +11:00
Nigel Tao
e756160433
Add axioms.md note to run go generate
2019-10-25 11:06:12 +11:00
Nigel Tao
3cf06d4585
Have cgozstd optionally use zstd 1.4's stable API
2019-10-24 15:32:21 +11:00
Nigel Tao
8ac2af0122
Change raczlib's dictionary wire format
...
This makes raczlib and raczstd use the same format: RAC's "common
dictionary format".
This is a breaking change to any existing RAC+Zlib files that use shared
dictionaries. RAC+Zlib is still an experimental (unstable) file format.
2019-10-24 10:47:48 +11:00
Nigel Tao
cdb60a950d
Tweak LEAVE_INTERNAL_BUFFERS_UNINITIALIZED comment
2019-10-23 20:18:17 +11:00
Nigel Tao
2d8648ae35
Implement raczstd dictionaries
2019-10-23 20:10:07 +11:00
Nigel Tao
3b466277dc
Fix "wuffs gen" null pointer dereference
2019-10-22 08:31:53 +11:00
Nigel Tao
7136dcdfd4
Move cgozstd dictionary init earlier, into Reset
2019-10-22 08:29:48 +11:00
Nigel Tao
2fd8649866
Support cgozstd dictionaries
...
Updates #23
2019-10-22 07:59:30 +11:00
Nigel Tao
7b0391f4a2
Update doc/benchmarks.md for other Deflate impls
2019-10-20 21:55:10 +11:00
Nigel Tao
b92ea03889
Fix mimiclib/deflate-gzip-zlib.c build with miniz
2019-10-20 20:47:18 +11:00
Nigel Tao
e384a0b387
Have script/bench-go-gif load files less often
2019-10-20 14:26:25 +11:00
Nigel Tao
a9576964fd
Add script/bench-go-deflate
2019-10-20 14:21:09 +11:00
Nigel Tao
4fc6d2af7b
Avoid script/bench-go-gif variable shadowing
2019-10-20 14:20:06 +11:00
Nigel Tao
b56d7c393a
Fix script/bench-rust-deflate typo
2019-10-20 14:06:04 +11:00
Nigel Tao
e442d4593c
Add num_want_bytes to script/bench-rust-gif
2019-10-20 12:10:09 +11:00
Nigel Tao
29c23cd505
Add a warm-up rep to script/bench-rust-gif
2019-10-20 12:03:14 +11:00
Nigel Tao
135f706b3e
Add script/bench-rust-deflate
2019-10-20 11:35:29 +11:00
Nigel Tao
d2b0e1c203
Refine script/bench-rust-gif crates.io URL
2019-10-20 10:35:51 +11:00
Nigel Tao
078d8a6b9c
Have script/bench-rust-gif print the rustc version
2019-10-20 10:30:29 +11:00
Nigel Tao
903088b537
Update doc/binary-size.md
2019-10-19 16:46:04 +11:00
Nigel Tao
7d76140429
Have "wuffs genlib" take a -ccompilers arg
2019-10-19 16:32:07 +11:00
Nigel Tao
b44c823fdf
Factor out lang/check/axioms.md
2019-10-18 22:41:42 +11:00
Nigel Tao
c843513640
Fix doc/benchmarks.md typos
2019-10-18 08:48:05 +11:00
Nigel Tao
66348290e3
Update doc/benchmarks.md
2019-10-17 23:19:23 +11:00
Nigel Tao
ffdce5ef18
Have bench-rust-gif process animated / RGBA images
2019-10-16 16:42:51 +11:00
Nigel Tao
df66093473
Have bench-rust-gif process multiple images
2019-10-16 15:56:11 +11:00
Nigel Tao
a24a1d427e
Avoid gcc's -Werror=array-bounds for memset
2019-10-14 09:37:15 +11:00
Nigel Tao
948c6fb239
Avoid gcc's -Werror=format-truncation for snprintf
2019-10-14 09:31:15 +11:00
Nigel Tao
dc1218fec0
Spell std/deflate's "literal/length" consistently
2019-10-14 09:28:28 +11:00
Nigel Tao
098cad9c95
Add links to more wire format examples
2019-10-14 09:24:04 +11:00
Nigel Tao
ff7bffcffc
Calculate deflate Huffman table worst case size
2019-10-14 09:21:29 +11:00
Nigel Tao
358ad7f918
Add an explicit deflate-etc.deflate.decompressed
2019-10-12 22:05:11 +11:00
Nigel Tao
a21ad25bb8
Rename x T to x: T for vars
2019-10-12 21:55:13 +11:00
Nigel Tao
1520a1f345
Rename x T to x: T for fields and func args
2019-10-12 21:49:04 +11:00
Nigel Tao
5b4e3647c0
Reformat x:y as x: y
2019-10-12 21:21:39 +11:00
Nigel Tao
a9ea63ff06
Rename [i:j] to [i .. j], the same as Rust
2019-10-12 21:14:18 +11:00
Nigel Tao
7872a8893b
Rename while:label to while.label
2019-10-12 19:04:32 +11:00
Nigel Tao
5d29c7df61
Remove unused token.IDDollar
2019-10-12 18:45:07 +11:00
Nigel Tao
d501daddc3
Rename [i..j] to [i ..= j], the same as Rust
2019-10-12 18:40:53 +11:00
Nigel Tao
18c6e5716a
Fix deflate-etc.deflate.commentary.txt typo
2019-10-12 08:26:43 +11:00
Nigel Tao
69e9428c1b
Fix pdst_mark for hand-written decode_huffman_fast
2019-10-06 16:58:49 +11:00
Nigel Tao
df839b183f
Build fix for hand-written decode_huffman_fast
2019-10-05 16:56:40 +10:00
Nigel Tao
4080840928
wuffs gen -version=0.2.0-rc.1
2019-10-05 16:46:18 +10:00
Nigel Tao
b0f18dacbd
Remove deprecated wuffs_base__null_etc functions
2019-10-05 16:27:53 +10:00
Nigel Tao
1c1ce9b19f
Drop the unused ref and deref operators
2019-10-05 12:41:09 +10:00
Nigel Tao
97bcdded0d
Remove obsolete TODO
2019-10-05 12:36:37 +10:00
Nigel Tao
745b5c41e0
Give test/c/std/gif error messages more context
2019-10-05 11:57:55 +10:00
Nigel Tao
9089d37578
Clip std/gif replicated rows to the frame rect
...
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=17802
2019-10-05 11:54:03 +10:00
Nigel Tao
aaebb17a01
Tweak how std/gif does interlace row replication
2019-10-05 11:45:14 +10:00
Nigel Tao
efb18036cb
Add gif-small-frame-interlaced.gif test
2019-10-05 11:40:24 +10:00
Nigel Tao
51fadc4db7
Add script/bench-history.sh
2019-09-29 17:20:14 +10:00
Nigel Tao
293a633e8a
Clip std/gif output to the image rect
2019-09-28 21:47:56 +10:00
Nigel Tao
59b2ddf37f
Clamp std/gif dirty rect to the image height
2019-09-28 20:27:27 +10:00
Nigel Tao
2819fb8e3f
Rename some built-in func's arg from x to a
2019-09-28 14:22:48 +10:00
Nigel Tao
851b7561d9
Fix dirty rect for interlaced GIFs
2019-09-28 14:17:42 +10:00
Nigel Tao
15670546bb
Let std/deflate decode a degenerate H-D table
2019-09-28 13:23:49 +10:00