Commit Graph
1217 Commits
Author SHA1 Message Date
Nigel Tao fbec79df76 wuffs gen -version=0.2.0-alpha.6 2018-07-14 12:06:01 +10:00
Nigel Tao 05c5b7ba2b Fold "wuffs genrelease" into "wuffs gen" 2018-07-14 12:04:38 +10:00
Nigel Tao 751eb693a5 Have "wuffs genlib" take a -skipgen flag 2018-07-14 11:51:33 +10:00
Nigel Tao caa55fe101 Place base func names at line start 2018-07-14 11:35:00 +10:00
Nigel Tao fa95380a23 Have WUFFS_INCLUDE_GUARD cover the IMPLEMENTATION 2018-07-14 11:17:54 +10:00
Nigel Tao 71e604a71a Remove unused loop_count field 2018-07-14 10:38:05 +10:00
Nigel Tao d73353024c Make clang-format place func names at line start 2018-07-14 10:33:06 +10:00
Nigel Tao 8a6e177701 Add WUFFS_CONFIG__STATIC_FUNCTIONS 2018-07-14 10:16:10 +10:00
Nigel Tao b82a1992de Don't genrelease a timestamp for version 0.0.0 2018-07-14 09:54:31 +10:00
Nigel Tao b70bb379d8 Have "wuffs gen" and "wuffs test" do genrelease 2018-07-14 09:54:02 +10:00
Nigel Tao f2e683ab69 Have gen's "single file C library" be .h not .c 2018-07-14 09:26:10 +10:00
Nigel Tao eac9ac13d2 Put all of /gen into .gitignore 2018-07-14 09:01:23 +10:00
Nigel Tao 73d78b8e59 Prepare to add gen/c to .gitignore 2018-07-14 09:00:39 +10:00
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 65e2e7196a Fix example/library for .h directory change 2018-07-01 22:41:00 +10:00
Nigel Tao 122c32cdad Rename gen/h/std/*.h to gen/c/std/*.h 2018-07-01 20:55:46 +10:00
Nigel Tao ccb78f5db7 Rename ast.Node methods from Foo to AsFoo 2018-07-01 20:41:21 +10:00
Nigel Tao 12773ce74a wuffs genrelease -version=0.2.0-alpha.5 2018-07-01 11:16:48 +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 3896c1940f Rename intersection / union as intersect / unite
We can't use "union" as a method name, as it is a C/C++ keyword.
2018-06-30 21:12:26 +10:00
Nigel Tao 5929220df0 Have build-all check a release compiles cleanly 2018-06-30 21:07:21 +10:00
Nigel Tao 2b40bb446b Add some more C++ convenience methods 2018-06-30 20:53:37 +10:00
Nigel Tao 5e905492b3 Make rectangle method receivers pointers 2018-06-30 17:13:13 +10:00
Nigel Tao 39c1a3d179 Remove the unused wuffs_base__image_buffer__loop 2018-06-30 16:53:35 +10:00