Commit graph

2550 commits

Author SHA1 Message Date
Alex Shinn
b93aa9cad9 when extracting optional parameter names, offset cadr by 1 2015-07-04 23:17:15 +09:00
Alex Shinn
2a203e9ff5 Replace use of malloc in string ports with a heap-allocated bytevector.
Without this, if SEXP_USE_FINALIZERS=0, constructing output string ports
without closing them would leak memory.  SEXP_USE_FINALIZERS=0 still
requires caution when working with file-backed ports.
2015-07-04 16:54:25 +09:00
Alex Shinn
841bf95509 supporting email stripping for multiple authors 2015-07-01 07:41:47 +09:00
Alex Shinn
0c856a1bba fixing debug_gc build 2015-06-28 16:37:30 +09:00
Alex Shinn
2ecbe98aaf fixing build for non-timed gc 2015-06-27 22:41:23 +09:00
Alex Shinn
f256fc219e optimizing type lookup in sexp_mark 2015-06-27 20:54:30 +09:00
Alex Shinn
49505b4849 adding count to gc timer 2015-06-27 20:43:43 +09:00
Alex Shinn
8b46509ab5 Merge pull request #272 from mnieper/emscripten
Integrate emscripten build process in Makefile
2015-06-24 07:53:49 +09:00
Marc Nieper-Wißkirchen
899a15b725 Integrate emscripten build process in Makefile
Move Emscripten dependencies into separate directory
2015-06-23 19:57:07 +02:00
Alex Shinn
2e4d0aed91 Handling non-pointer struct return types in the ffi. We do a flat memcopy
of the struct to heap.  Only the base case is supported - combining with
multiple values or returning fixed-size arrays of structs won't work.
Fixes issue #270.
2015-06-22 23:01:44 +09:00
Alex Shinn
64f3be9c99 use blocking io by default in snow 2015-06-22 20:51:20 +09:00
Alex Shinn
fdc2558a76 Don't load all of (scheme small) for scripts. 2015-06-21 23:39:18 +09:00
Alex Shinn
854f2f09ed Adding command-line option tests. 2015-06-21 23:14:38 +09:00
Alex Shinn
74cc4372be Fixing -x combined with -m. 2015-06-21 22:47:21 +09:00
Alex Shinn
ad2b9efcdc Allow normal module names for -m, -x, -R, -t. 2015-06-21 15:38:31 +09:00
Alex Shinn
3fe810c86a Fixing weak references. 2015-06-20 23:03:44 +09:00
Alex Shinn
0ceb3726c1 sexp_object_compare should sort different numeric types together.
Fixes issue #271.
2015-06-20 22:40:04 +09:00
Alex Shinn
4ab97dd9bd adding experimental --use-curl option 2015-06-19 00:02:05 +09:00
Alex Shinn
7e634f3b66 procedure-signature should strip synclos from parameters 2015-06-18 23:33:01 +09:00
Alex Shinn
8cf38672cf identifier->symbol should handle nested syntactic closures 2015-06-18 23:32:21 +09:00
Alex Shinn
402828c8e9 adding Steele's three-part test and including numeric tests in test-libs 2015-06-16 22:33:33 +09:00
Alex Shinn
c9a856b8f6 fix path adjustment of inline test files in snow-chibi package command 2015-06-15 23:39:38 +09:00
Alex Shinn
4fc7181c2c Fix in sexp_bignum_quot_rem when the numerator and divisor are equal.
Fixes issue #269.
2015-06-15 23:31:46 +09:00
Alex Shinn
dfc5ca6913 fixing free chunk calculation and counting more sizes 2015-06-15 21:53:34 +09:00
Alex Shinn
c33df79004 adding free-sizes complement to heap-sizes 2015-06-15 21:34:25 +09:00
Alex Shinn
f5326fafc3 adding heap-sizes to check distribution of chunk sizes in heap 2015-06-15 21:04:25 +09:00
Alex Shinn
bd42ffaecd with fixed sized chunk heaps, grow a new heap for the chunk size when applicable 2015-06-14 23:18:36 +09:00
Alex Shinn
950312f13b adding optional tracking of gc time 2015-06-14 23:03:19 +09:00
Alex Shinn
b4c7a7081d Don't bother resetting weak references if none have been allocated. 2015-06-14 16:58:48 +09:00
Alex Shinn
d1c71adb40 Reporting time spec in GC when SEXP_USE_DEBUG_GC > 0. 2015-06-14 16:35:54 +09:00
Alex Shinn
6db194171e Adding option to disable automatic running of finalizers altogether. 2015-06-14 16:19:55 +09:00
Alex Shinn
4527c772c5 (chibi weak) library is a noop when not compiling with weak references. 2015-06-14 15:27:21 +09:00
Alex Shinn
19df6e7578 strip leading parents in package test 2015-06-13 22:06:12 +09:00
Alex Shinn
eab76ce8c1 Fixing #; comments as the last element in a list for (scheme read). 2015-06-13 21:57:31 +09:00
Alex Shinn
a05b94f3c2 fixing bug in extract-program-dependencies 2015-06-13 20:59:01 +09:00
Alex Shinn
ef1ae88b7a Fixing bug in let-optionals option parsing. 2015-06-11 22:52:50 +09:00
Alex Shinn
aeb881412c Fixing regexp-replace substring index error on non-ascii inputs. 2015-06-09 23:19:58 +09:00
Alex Shinn
c52873e8b9 Prefer SRFI 33 over SRFI 60, preventing import cycles when a user has
a SRFI 60 installed which imports (scheme base).  This can still break
in theory if a user installs a third-party SRFI 33 in the search path
in front of the Chibi SRFI 33, but we can't always be safe against
such behavior.
Fixes issue #267.
2015-06-09 00:14:03 +09:00
Alex Shinn
4a19a5161a Removing plain text README since we have README.md. 2015-06-09 00:01:30 +09:00
Alex Shinn
35279b45c3 adding tests for first..tenth 2015-06-08 23:59:55 +09:00
Alex Shinn
a31da07a25 Merge pull request #265 from frerejerome/patch-1
Correction to the 8-10th selector aliases in SRFI-1
2015-06-08 23:55:29 +09:00
Frère Jérôme
749d58eeb4 Shortened logo URI & added Emscripten link 2015-06-07 12:06:33 +02:00
Frère Jérôme
27a4d68d8a Correction to the project logo
Hosted on GitHub
2015-06-07 09:50:43 +02:00
Frère Jérôme
7492964312 Remove warning for inexistant static library
Simple tweak using the *test* system command. Might not be portable enough?
2015-06-07 09:38:40 +02:00
Frère Jérôme
b748174072 Added the proposed project logo 2015-06-06 21:10:23 +02:00
Frère Jérôme
af52cd3690 Initial markdown README 2015-06-06 20:06:08 +02:00
Frère Jérôme
453c0f1a1d Correction to the 8-10th selector aliases 2015-06-06 17:19:45 +02:00
Alex Shinn
2b10080f64 fixing bug in interaction-environment binding for -q quick repl 2015-06-05 23:00:11 +09:00
Alex Shinn
a3f5b10d62 Allowing option parsing to fallback to top-level options from within subcommands. 2015-06-05 22:46:45 +09:00
Alex Shinn
a1c8862aba adding missing stack field_len_base adjustment from f0ee48fc4c 2015-06-04 07:48:16 +09:00