Commit Graph
1204 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 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
Nigel Tao 13d2814519 Raise example/crc32's buffer size from 16K to 32K
This matches the 32K buffer size used by
https://github.com/redhotpenguin/perl-Archive-Zip/blob/master/script/crc32
as shipped as /usr/bin/crc32 on Debian
2018-06-30 16:49:13 +10:00
Nigel Tao 8cfb2cc6eb wuffs genrelease -version=0.2.0-alpha.4 2018-06-30 13:49:47 +10:00
Nigel Tao 7f65cd04d0 Print progress messages when compiling releases 2018-06-30 13:46:22 +10:00
Nigel Tao 4dd90b22ba Update doc/changelog.md 2018-06-30 13:43:16 +10:00
Nigel Tao 008b83e4b4 Fix some more C++ (not C) compile errors 2018-06-30 13:41:19 +10:00
Nigel Tao e43aa62d1c Fix some C++ (not C) compile errors 2018-06-30 13:31:52 +10:00
Nigel Tao 52e7fe0709 Mark std/gif's decode_up_to_id_part1 as private 2018-06-30 13:03:20 +10:00
Nigel Tao 30cfaa5db7 Add C++ convenience methods 2018-06-30 13:02:16 +10:00
Nigel Tao 60a7b48745 Compile C++ example with -Wall -Werror 2018-06-30 10:56:04 +10:00
Nigel Tao 6183aba9d7 Capitalize the $CC and $CXX environment variables 2018-06-30 10:43:26 +10:00
Nigel Tao f3538d9117 Add example/crc32 2018-06-30 10:41:04 +10:00
Nigel Tao b09748c485 Build examples with -Wall -Werror 2018-06-30 09:10:10 +10:00
Nigel Tao 33e99792eb Qualify cgen'ed "func foo.bar" with the pkgName 2018-06-30 09:01:03 +10:00