Commit Graph
519 Commits
Author SHA1 Message Date
Nigel Tao a0bafff465 Ship as a "single file C library" 2018-07-14 08:59:36 +10:00
Nigel Tao 85c4de47b9 Remove ProvenNotToSuspend and BoundsCheckOptimized 2018-07-08 21:48:50 +10:00
Nigel Tao e49d464432 Make _fast explicit in copy_n_from_history_fast 2018-07-08 21:39:18 +10:00
Nigel Tao 8a449fa92e Rename __bco to _fast 2018-07-08 21:10:40 +10:00
Nigel Tao 13284015cb Remove unused error "invalid I/O operation" 2018-07-08 21:04:15 +10:00
Nigel Tao 9e300fc4f8 Rename unread_u8? to undo_byte!; add can_undo_byte 2018-07-08 21:02:29 +10:00
Nigel Tao ce3d99a6d5 Remove no longer used optimizeSuspendible code 2018-07-08 17:10:34 +10:00
Nigel Tao 5aa16ef671 Use the peek, skip_fast and write_fast methods
No change in the benchmark numbers.
2018-07-08 14:17:16 +10:00
Nigel Tao a32683e5ea Drop the 32 in the skip32 and skip32_fast names 2018-07-08 14:02:32 +10:00
Nigel Tao 26eba56f57 Rename some copy_from_xxx methods 2018-07-08 13:56:49 +10:00
Nigel Tao 732365b80d Add write_fast_uxx methods 2018-07-08 13:26:28 +10:00
Nigel Tao 57c4196934 Remove the unused token.IDUnderscore 2018-07-08 11:46:16 +10:00
Nigel Tao ee95b548ab Ensure that all AST nodes are bounds checked 2018-07-08 10:42:44 +10:00
Nigel Tao 731ca8841b Add a TypeExpr type expression 2018-07-07 21:57:15 +10:00
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 ccb78f5db7 Rename ast.Node methods from Foo to AsFoo 2018-07-01 20:41:21 +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 25a106903f Have include guards start with WUFFS_INCLUDE_GUARD 2018-06-16 08:10:22 +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 c5b7b7097e Rename inclusive and exclusive to incl and excl 2018-06-11 09:04:12 +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 35af4c4841 Implement INSERT wuffs_base__status names 2018-06-10 20:12:04 +10:00
Nigel Tao 634789722d Assign values, not just messages, to status codes 2018-06-10 15:48:29 +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 49cb260774 Fix typo in maximum possible i64 value 2018-06-03 23:27:18 +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 6d510bcfcb Spin out a std/lzw package 2018-06-02 14:15:09 +10:00