Commit Graph

3541 Commits

Author SHA1 Message Date
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
Yuichi Nishiwaki 86c68b1769 prohibit overriding vm procs 2016-03-03 21:41:29 +09:00
Yuichi Nishiwaki e4bf1a14ab optimize vm procs 2016-03-03 21:38:50 +09:00
Yuichi Nishiwaki 6244c9c550 check if library name is legal 2016-03-03 21:21:49 +09:00
Yuichi Nishiwaki 3102125a0b turn off -flto by default 2016-03-03 19:59:37 +09:00
Yuichi Nishiwaki 69c13fdcce fix buffer overrun 2016-03-03 19:55:27 +09:00
Yuichi Nishiwaki 5ce271e9fe simplify number reader 2016-03-03 19:42:18 +09:00
Yuichi Nishiwaki 85b58bd43e add pic_boot function 2016-03-03 18:59:07 +09:00
Yuichi Nishiwaki c27ce690a6 remove declare_vm_procedure macro 2016-03-03 18:43:57 +09:00
Yuichi Nishiwaki ce6dd55ea5 segv if an error is raised when no exception handler is registered 2016-03-02 04:34:43 +09:00
Yuichi Nishiwaki 3feee82d8b default library is picrin.user 2016-03-02 04:34:33 +09:00
Yuichi Nishiwaki ca4fb058d1 remove pic->iseq 2016-03-01 03:14:18 +09:00
Yuichi Nishiwaki b0f05f54a6 Merge branch 'rope-cleanup' 2016-03-01 01:54:14 +09:00
Yuichi Nishiwaki ae88bed481 remove struct chunk 2016-02-29 16:48:38 +09:00
Yuichi Nishiwaki d2167a87f9 optimize rope 2016-02-27 02:44:02 +09:00
Yuichi Nishiwaki 8810d94259 decrease sizeof struct rope 2016-02-27 01:38:07 +09:00
Yuichi Nishiwaki a14d3a62c4 don't use size_t for index 2016-02-27 00:45:02 +09:00