Commit Graph
2253 Commits
Author SHA1 Message Date
Nigel Tao 1da8110462 Rename test/c test_cases loop variable 2020-02-26 10:25:30 +11:00
Nigel Tao 2278a47cc6 Fix wuffs_base__parse_number_i64 goto-crosses-init 2020-02-26 10:22:24 +11:00
Nigel Tao f31819bed4 Remove testlib's "#ifdef WUFFS_INCLUDE_GUARD" 2020-02-26 10:20:45 +11:00
Nigel Tao 014b935d95 Add base.token_decoder interface 2020-02-26 10:19:49 +11:00
Nigel Tao b319639bad Add doc/note/auto-formatting.md 2020-02-26 10:18:08 +11:00
Nigel Tao 31e5365a26 Rename testlib's BUFFER_SIZE constant 2020-02-26 09:45:05 +11:00
Nigel Tao 2914bae3b2 Re-format C function signatures 2020-02-26 09:40:30 +11:00
Nigel Tao 51b1258b61 Rename test/c throughput_counter enums 2020-02-25 22:46:49 +11:00
Nigel Tao 7d31462e63 Add std/json benches 2020-02-25 22:42:18 +11:00
Nigel Tao a540fbce4e Add test/data/file-sizes.json 2020-02-25 16:05:38 +11:00
Nigel Tao 29aadc6ff5 Add more test/data/*.json files
Original URLs:

australian-abc-local-stations.json

http://data.gov.au/geoserver/abc-local-stations/wfs?request=GetFeature&typeName=ckan_d534c0e9_a9bf_487b_ac8f_b7877a09d162&outputFormat=json

nobel-prizes.json

http://api.nobelprize.org/v1/prize.json
2020-02-25 13:19:39 +11:00
Nigel Tao 6d698a3a47 Add wuffs_base__parse_number_i64 2020-02-25 13:07:22 +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 7b199116b0 Rename s/got/have/ in test/c 2020-02-24 21:23:58 +11:00
Nigel Tao ce50a39f85 Rename s/bad/fail/ in test/c 2020-02-24 14:30:43 +11:00
Nigel Tao e6f34fe8a9 Rename cgen's break/continue labels 2020-02-24 14:26:52 +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 6b161af654 Have example/jsonptr consume trailing whitespace 2020-02-24 11:01:48 +11:00
Nigel Tao 569a294fc2 Add script/run-json-test-suite.sh 2020-02-24 09:45:05 +11:00
Nigel Tao ea2cd1c5c9 Fix lang/check test for endwhile syntax 2020-02-23 17:11:27 +11:00
Nigel Tao 9cc2c25f3d Have different exit codes for errors vs exceptions 2020-02-23 17:05:49 +11:00
Nigel Tao b1af7b9b41 Add base/strconv-impl.c table column comments 2020-02-23 09:45:48 +11:00
Nigel Tao 9f7a250cf2 Define WUFFS_BASE__TOKEN__VBC__ETC macros 2020-02-23 09:42:02 +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 b2dd7d952c Have io_reader.match7 check io_reader.is_closed 2020-02-22 22:58:48 +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 4503f2de63 Add test/data/json-things.*.json 2020-02-21 21:33:46 +11:00
Nigel Tao df62fe5846 Fix hexadecimal_digits typo 2020-02-21 14:14:57 +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 70db96ac6d Add wuffs_base__parse_number_u64 2020-02-20 22:10:15 +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 ae7062065b Ban returning an impure expression 2020-02-19 21:16:06 +11:00
Nigel Tao 21c87ce6b3 Skip writeSaveDerivedVar if func ends with return 2020-02-19 21:10:19 +11:00
Nigel Tao 6a7a4d08e3 Save derived vars for returns in non-coroutines 2020-02-19 14:31:42 +11:00
Nigel Tao 0aacdfd6e3 Allow r.skip32_fast!(actual: x, worst_case: x) 2020-02-19 14:09:43 +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 a8406927ef Add io_reader.is_closed 2020-02-19 12:22:00 +11:00