Nigel Tao
f8f07d8e13
Move premul/non-premul conversions to image-public
2020-05-14 21:22:52 +10:00
Nigel Tao
621ea5adf3
Have examples use overwrite_instead_of_blend
2020-05-14 21:20:31 +10:00
Nigel Tao
f602237490
Tweak NIA/NIA duration wire format
...
Durations now take 63 bits, not 62, which matches the bit depth of a
non-negative int64_t.
Frame durations now come before, not after, the frame pixels.
2020-05-14 21:11:08 +10:00
Nigel Tao
ad1cff3921
Add tell_me_more? mechanism
2020-05-12 11:12:39 +10:00
Nigel Tao
c510bc0c91
Roll forward 6a85e9a6
...
6a85e9a6a9 rolled back
a4527c359a "Update seed_corpora.txt".
The oss-fuzz build should be fixed by:
https://github.com/google/oss-fuzz/pull/3763
2020-05-06 14:22:51 +10:00
Nigel Tao
6a85e9a6a9
Roll back a4527c35
...
a4527c359a is "Update seed_corpora.txt".
This broke the oss-fuzz build:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=22035
2020-05-06 10:42:56 +10:00
Nigel Tao
b66cf775bf
Add Muhammad Aldo Firmansyah to A+C
2020-05-04 11:26:51 +10:00
Nigel Tao
db9459deb3
Fix /README.md update date
2020-05-04 11:22:05 +10:00
Nigel Tao
297a94d627
Merge pull request #28 from TheCrott/master
...
Update seed_corpora.txt
2020-05-04 11:19:44 +10:00
Muhammad Aldo Firmansyah
a4527c359a
Update seed_corpora.txt
...
Add more json corpus from simdjson_fuzz repo
2020-05-01 11:05:32 +07:00
Nigel Tao
1f424b2ea7
Propagate const-values to idents of consts
2020-04-16 09:37:05 +10:00
Nigel Tao
9f6c40246f
Simplify cgen of empty functions
2020-04-16 09:34:50 +10:00
Nigel Tao
e39f3cbf42
Redo Wuffs structs' quirk bool fields
2020-04-14 23:03:18 +10:00
Nigel Tao
532e18c4a5
Add colons to const syntax
2020-04-14 14:57:30 +10:00
Nigel Tao
80071730a3
Add std/json CLASS_XXX constants
2020-04-13 16:06:16 +10:00
Nigel Tao
74871344f0
Capitalize Wuffs const names
2020-04-13 15:52:36 +10:00
Nigel Tao
623811086f
Add example/README.md
2020-04-12 21:13:42 +10:00
Nigel Tao
4bc42db1d3
Add set_quirk_enabled interface methods
2020-04-12 20:53:54 +10:00
Nigel Tao
873c6b400a
Add alloc functions
2020-04-12 20:34:33 +10:00
Nigel Tao
f7ea462c00
Fix human-readable vmajor when out of base38 range
2020-04-10 22:44:13 +10:00
Nigel Tao
492ee61391
Add doc/note link from base38-etc.md to tokens.md
2020-04-10 22:00:04 +10:00
Nigel Tao
335819f90e
Fix some doc/note/tokens.md typos
2020-04-10 21:24:43 +10:00
Nigel Tao
6612d90ca2
Re-write bit ranges in the docs
2020-04-09 22:29:45 +10:00
Nigel Tao
496e88b6c5
Remove wuffs_base__token__link_prev
2020-04-09 22:11:08 +10:00
Nigel Tao
2ef3999d6d
Remove use of wuffs_base__token__link_prev
2020-04-09 17:24:39 +10:00
Nigel Tao
478d1b817c
Add doc/note/tokens.md
2020-04-08 23:31:18 +10:00
Nigel Tao
df3acfbb21
Clarify std/json quirk_allow_backslash_x semantics
2020-04-08 11:08:01 +10:00
Nigel Tao
d83bd8d036
Add std/json quirk_allow_ascii_control_codes
2020-04-07 17:50:47 +10:00
Nigel Tao
6f67bbc4b2
Add std/json quirk_allow_backslash_new_line
2020-04-07 17:24:31 +10:00
Nigel Tao
2db72dabe5
Re-assign JSON quirk numbers
2020-04-07 17:17:54 +10:00
Nigel Tao
b5d6f8d038
Have example/jsonfindptrs check unpaired keys
2020-04-06 20:57:40 +10:00
Nigel Tao
345f1aa060
Remove jsonfindptrs unnecessary curly braces
2020-04-05 22:10:37 +10:00
Nigel Tao
88a449e3d7
Add perf comment to json.decoder.decode_string
2020-04-04 11:41:09 +11:00
Nigel Tao
695a72a37c
Roll back 'factor out json.decoder.decode_string'
...
See the previous commit for the rationale.
2020-04-04 11:32:35 +11:00
Nigel Tao
86d3b89f9a
Factor out json.decoder.decode_string
...
This commit will soon be followed by a rollback, but it is committed
anyway so that we can refer to these numbers in the git log.
name old speed new speed delta
wuffs_json_decode_1k/clang5 607MB/s ± 0% 543MB/s ± 1% -10.68% (p=0.008 n=5+5)
wuffs_json_decode_21k_formatted/clang5 330MB/s ± 2% 320MB/s ± 3% ~ (p=0.056 n=5+5)
wuffs_json_decode_26k_compact/clang5 468MB/s ± 2% 434MB/s ± 1% -7.26% (p=0.008 n=5+5)
wuffs_json_decode_217k_stringy/clang5 391MB/s ± 1% 363MB/s ± 0% -7.03% (p=0.008 n=5+5)
wuffs_json_decode_1k/gcc7 715MB/s ± 0% 583MB/s ± 0% -18.38% (p=0.016 n=5+4)
wuffs_json_decode_21k_formatted/gcc7 403MB/s ± 0% 350MB/s ± 0% -12.94% (p=0.016 n=5+4)
wuffs_json_decode_26k_compact/gcc7 534MB/s ± 0% 420MB/s ± 1% -21.41% (p=0.008 n=5+5)
wuffs_json_decode_217k_stringy/gcc7 435MB/s ± 0% 359MB/s ± 0% -17.44% (p=0.008 n=5+5)
2020-04-04 11:32:35 +11:00
Nigel Tao
721190afff
Have example C++ program check for -std=c++11
2020-04-03 22:25:21 +11:00
Nigel Tao
2db88dd98e
Fix -Wshadow warnings
2020-04-03 22:13:56 +11:00
Nigel Tao
1a1f36ce13
Disable clang's -Wunreachable-code warning
2020-04-03 21:57:49 +11:00
Nigel Tao
ecd3285567
Simplify a std/json while as an if
2020-04-03 12:35:18 +11:00
Nigel Tao
161fa6ae4a
Ban continue in a double-curly while loop
2020-04-03 12:23:57 +11:00
Nigel Tao
b791b441ef
Improve error message for unreachable code
2020-04-03 10:58:04 +11:00
Nigel Tao
e5c86ec191
Let an unbroken "while true" terminate a block
2020-04-03 10:46:05 +11:00
Nigel Tao
4a89913a9b
Ban duplicate loop labels
2020-04-03 10:33:05 +11:00
Nigel Tao
ee23f8b3d9
Move loop/jump matching from check to parse
2020-04-03 10:26:35 +11:00
Nigel Tao
94440cf6ff
Rename example/json* -o flag
2020-04-02 22:28:24 +11:00
Nigel Tao
64dbd00b07
Rename wuffs_base__make_etc_buffer_{read,writ}er
2020-04-02 22:21:36 +11:00
Nigel Tao
3fe3f84106
Add double-curly blocks
2020-04-02 21:56:53 +11:00
Nigel Tao
4cfc367a9b
Factor out an ast.Terminates function
2020-04-02 17:32:37 +11:00
Nigel Tao
57fe5d95f6
Re-order some token.ID numbers
2020-04-02 17:18:43 +11:00
Nigel Tao
f2536b2be6
Re-format built-in method signatures' constants
2020-04-02 12:37:09 +11:00