Commit Graph

3557 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 0f17caae6c cleanup 2016-07-11 01:12:36 +09:00
Yuichi Nishiwaki 896ff3abd1 Merge branch 'port-file-migration' 2016-07-11 00:45:36 +09:00
Yuichi Nishiwaki 2d90c1fb90 reimplement read-bytevector in scheme using read-bytevector! 2016-07-11 00:43:15 +09:00
Yuichi Nishiwaki 8f4e07d185 automatically close ports on gc 2016-07-11 00:40:58 +09:00
Yuichi Nishiwaki 9d30573bc6 remove unused guards 2016-07-11 00:09:58 +09:00
Yuichi Nishiwaki eff3475cde remove pic->files 2016-07-10 23:50:41 +09:00
Yuichi Nishiwaki 05cb5aec22 move u8-ready? to contrib 2016-07-10 23:36:32 +09:00
Yuichi Nishiwaki cede377e11 fflush during gc 2016-07-10 23:20:21 +09:00
Yuichi Nishiwaki e792d9ffd1 remove unnecessary port flush 2016-07-09 11:27:00 +09:00
Yuichi Nishiwaki f368eb390d cleanup 2016-06-21 19:20:07 +09:00
Yuichi Nishiwaki 9515060b00 rename I/O functions 2016-06-20 04:49:01 +09:00
Yuichi Nishiwaki a1116d39eb s/PIC_USE_BITMAPGC/PIC_BITMAP_GC/g 2016-06-20 02:38:28 +09:00
Yuichi Nishiwaki cec69a96d8 unify gc files 2016-06-20 02:36:41 +09:00
Yuichi Nishiwaki af6a53a5b4 remove page->index 2016-06-20 00:42:43 +09:00
Yuichi Nishiwaki 026150a712 header->s.size should include the header itself 2016-06-19 23:44:18 +09:00
Yuichi Nishiwaki 86daac482a align union headers in a page 2016-06-19 23:28:31 +09:00
Yuichi Nishiwaki c8893930ae remove more duplicate functions 2016-06-19 21:54:42 +09:00
Yuichi Nishiwaki 93c5d8782c remove page->endp field 2016-06-19 21:16:22 +09:00
Yuichi Nishiwaki 563e1ee95a s/HEADER_SIZE/PAGE_UNITS/g 2016-06-19 21:16:11 +09:00
Yuichi Nishiwaki 6345cf2b8b s/#ifdef/#if/g 2016-06-19 21:15:26 +09:00
Yuichi Nishiwaki 5d7138e7d3 remove duplicate definitions 2016-06-19 20:55:16 +09:00
Yuichi Nishiwaki 9e0dd2cff9 enable bitmap gc only if available 2016-06-19 18:37:47 +09:00
Yuichi Nishiwaki c124a17a15 refine comments 2016-06-19 18:27:24 +09:00
Yuichi Nishiwaki 831057d881 s/read_safe/read_value/g 2016-06-19 18:20:40 +09:00
Yuichi Nishiwaki d49a0cdd16 Merge pull request #342 from picrin-scheme/faster-bitmap-marking
Faster bitmap marking
2016-06-19 18:12:42 +09:00
Sunrin SHIMURA (keen) f3845b7a0c remove unused variable 2016-06-19 10:44:12 +09:00
Sunrin SHIMURA (keen) 4d31df6f14 remove needless INLINE 2016-06-19 10:43:36 +09:00
Sunrin SHIMURA (keen) 7fad8a3db1 tiny style fix 2016-06-19 10:41:24 +09:00
Sunrin SHIMURA (keen) f9a7abdd9c treat cases where size > UNIT_SIZE in is_`marked_at`, `mark_at` 2016-06-19 10:39:58 +09:00
Sunrin SHIMURA (keen) 0cf5f83a57 fix assertion expression 2016-06-19 09:37:55 +09:00
Sunrin SHIMURA (keen) 009bf9e010 cleaner config and silent warnings 2016-06-19 09:20:36 +09:00
Sunrin SHIMURA (keen) 4d6667b0e0 run finalizers 2016-06-19 02:25:19 +09:00
Sunrin SHIMURA (keen) 9da556e9a8 faster allocation/sweep 2016-06-19 01:20:08 +09:00
Sunrin SHIMURA (keen) d4b9e38fd6 use aligned allocating so that finding objct's heap_page is O(1) 2016-06-18 19:25:07 +09:00
Sunrin SHIMURA (keen) 17c223a08c Merge branch 'master' into bitmap-marking 2016-06-18 17:51:29 +09:00
Yuichi Nishiwaki dfc72fd011 Merge branch 'stibear-lazy' 2016-06-03 14:35:13 +09:00
Yuichi Nishiwaki f1b6109b2f make a small optimization 2016-06-03 02:42:48 +09:00
Yuichi Nishiwaki 365ccc7a51 fix #339 2016-06-03 01:44:03 +09:00
stibear d9f4380ae8 fix promise bug
fix the second one in https://github.com/picrin-scheme/picrin/issues/339
2016-06-03 00:41:02 +09:00
Yuichi Nishiwaki 15f048d0da Merge pull request #341 from stibear/lazy2
fix promise bugs on corner cases (second one)
2016-06-02 22:34:24 +09:00
stibear 3d2dd7cefc fix promise bug
fix the second one in https://github.com/picrin-scheme/picrin/issues/339
2016-06-02 22:28:49 +09:00
stibear 842a0290f3 fix promise bug
fix the first one in https://github.com/picrin-scheme/picrin/issues/339
2016-06-02 22:09:51 +09:00
Yuichi Nishiwaki dd75267f8e Merge pull request #337 from omasanori/char-ascii
Restrict char in the range of ASCII.
2016-04-01 15:36:29 -07:00
Masanori Ogino 993d1813a1 Restrict char in the range of ASCII.
picrin accepts the code `(char->integer (integer->char 128))` but the
result is machine-dependent, since the C `char` type can be either
signed or unsigned as permitted by the spec. Unfortunately, the result
of signed one is incompatible with Unicode-aware implementations. For
interoperability, we should deny the range beyond ASCII for now.

Ref: #211

Signed-off-by: Masanori Ogino <masanori.ogino@gmail.com>
2016-03-28 17:37:26 +09:00
Yuichi Nishiwaki 917704e9a4 add normalizer 2016-03-14 12:03:59 +09:00
Yuichi Nishiwaki 574c8ce884 fix #335 2016-03-14 10:55:22 +09:00
Yuichi Nishiwaki 5af735d796 don't chain ireps whose npool is zero 2016-03-14 10:48:18 +09:00
Yuichi Nishiwaki 52b5e6e521 Merge pull request #336 from picrin-scheme/test-with-all
run `make` before run `make test` to test the binary built for usual use
2016-03-10 18:31:45 +09:00
Sunrin SHIMURA (keen) d80e6cc455 run `make` before run `make test` to test the binary built for usual use 2016-03-10 10:26:41 +09:00
Yuichi Nishiwaki a0edca8d8d keep continuation object from being optimized out 2016-03-04 00:32:01 +09:00