Commit Graph
660 Commits
Author SHA1 Message Date
Nigel Tao 19967648ef Add std/json while.string_loop_outer loop name 2020-03-01 22:39:02 +11:00
Nigel Tao 02b2ecd29e Add std/json while.string_loop_inner loop name 2020-03-01 22:37:50 +11:00
Nigel Tao 4ee19eb807 Have std/json emit pending strings on bad UTF-8
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=20973
2020-03-01 22:24:19 +11:00
Nigel Tao 21682f403f Add fuzz/c/std/json_fuzzer.c 2020-03-01 12:01:42 +11:00
Nigel Tao 85fba7f82b Tweak wuffs_base__token bitmask assignments again 2020-02-29 16:28:06 +11:00
Nigel Tao d1c928a1ed Have tokens include explicit link bits 2020-02-29 10:46:44 +11:00
Nigel Tao 550ef90114 Have std/json reject invalid UTF-8 2020-02-26 16:26:16 +11:00
Nigel Tao 3b17d5b28a Have std/json reject some invalid UTF-8 2020-02-26 14:36:23 +11:00
Nigel Tao 9f0eb266e8 Rename std/json Look-Up Table consts 2020-02-26 11:43:50 +11:00
Nigel Tao 9d4eeb7b54 Tweak wuffs_base__token bitmask assignments again 2020-02-26 11:36:30 +11:00
Nigel Tao 014b935d95 Add base.token_decoder interface 2020-02-26 10:19:49 +11:00
Nigel Tao a9d1488674 Tweak wuffs_base__token bitmask assignments 2020-02-25 12:12:31 +11:00
Nigel Tao 16b0c4652a Have std/json decode Unicode surrogate pairs 2020-02-25 10:45:31 +11:00
Nigel Tao 2d2a880c18 Ban unlabeled break/continue for labeled loop 2020-02-24 14:20:05 +11:00
Nigel Tao c5b3a9e08e Have std/json look at args.src.is_closed() more 2020-02-24 11:55:31 +11:00
Nigel Tao 83ae50ce9b Raise std/json's max number length from 49 to 99 2020-02-24 11:27:34 +11:00
Nigel Tao 01bab82970 Have std/json pushes be (from, to) not just (to) 2020-02-23 09:20:56 +11:00
Nigel Tao b1e3a15c08 Add endwhile syntax 2020-02-22 13:11:02 +11:00
Nigel Tao d1a4abe321 Refactor std/json expected-character-class check 2020-02-22 09:03:07 +11:00
Nigel Tao f6843719b5 Re-order std/json if-else chain 2020-02-22 08:17:52 +11:00
Nigel Tao 48e7004636 Add std/json character classes 2020-02-22 08:07:26 +11:00
Nigel Tao 9263c80cfb Factor out std/json/common_consts.wuffs 2020-02-22 07:24:22 +11:00
Nigel Tao b5461bdd5e Have std/json decode string escapes 2020-02-21 14:13:37 +11:00
Nigel Tao 93b09674a9 Add a "while.goto_foo true { etc }" to std/json 2020-02-21 11:42:33 +11:00
Nigel Tao c92c0f50e4 Have std/json decode null, false and true 2020-02-21 11:16:27 +11:00
Nigel Tao 9a5b635778 Have std/json distinguish int/float numbers 2020-02-20 22:27:04 +11:00
Nigel Tao b194c7fbb9 Have std/json check numbers are expected 2020-02-20 11:47:44 +11:00
Nigel Tao 7acb35f05d Have std/json decode fractions and exponents 2020-02-20 11:41:39 +11:00
Nigel Tao 9d35cf00ac Tweak std/json's decode_tokens return values 2020-02-20 09:53:26 +11:00
Nigel Tao 6a7a4d08e3 Save derived vars for returns in non-coroutines 2020-02-19 14:31:42 +11:00
Nigel Tao 67306567f9 Have std/json look at args.src.is_closed() 2020-02-19 14:04:49 +11:00
Nigel Tao 8850d38403 Have std/json decode numbers 2020-02-19 12:25:00 +11:00
Nigel Tao 27036043ae Have std/json reject control characters in strings 2020-02-18 21:26:34 +11:00
Nigel Tao 0711f23fed Fix missing yield inside std/json string decoder 2020-02-17 13:17:06 +11:00
Nigel Tao af666564bb Fix std/json stack bit mask 2020-02-17 12:58:43 +11:00
Nigel Tao 58a4aba4d4 Have std/json pops show parent container type 2020-02-16 22:19:12 +11:00
Nigel Tao 293e9a8928 Have std/json decode ']' and '}' 2020-02-16 22:19:12 +11:00
Nigel Tao 40778f0665 Have std/json decode ',' and ':' 2020-02-16 22:19:12 +11:00
Nigel Tao 91454e911e Have std/json decode '"' 2020-02-16 22:19:12 +11:00
Nigel Tao ea91e5ab69 Have std/json decode '[' and '{' 2020-02-13 13:01:27 +11:00
Nigel Tao e9aba8924a Add token_writer.write_fast_token 2020-02-12 21:45:06 +11:00
Nigel Tao 2f2ccdb696 Add token_writer.write_token 2020-02-11 13:31:13 +11:00
Nigel Tao 737e31ff3a Add tokens 2020-02-11 12:02:58 +11:00
Nigel Tao 7a142168be Add std/json 2020-02-11 10:05:53 +11:00
Nigel Tao f6f2ac4206 Have std/bmp support 32 bits per pixel color 2020-02-09 16:11:54 +11:00
Nigel Tao 05b790d088 Refine pixel_format.bits_per_pixel return type 2020-02-08 18:27:38 +11:00
Nigel Tao b40671ec84 Have wuffsfmt put underscores in long numbers 2020-02-08 18:21:29 +11:00
Nigel Tao e6cc2fe8f0 Implement bmp.decoder.decode_frame 2020-02-07 16:27:04 +11:00
Nigel Tao 8378d9f3b4 Implement bmp.decoder.skip_frame 2020-02-06 13:45:41 +11:00
Nigel Tao f69f849f11 Implement bmp.decoder.decode_image_config 2020-02-06 13:11:23 +11:00