Commit graph

26 commits

Author SHA1 Message Date
Alex Shinn
1d1d1cb64d (scheme-report-environment n) throws an error for unknown n 2012-02-02 23:48:34 +09:00
Alex Shinn
066d24c2d1 Not warning about undefs on an error is bad - modifying to warn for everything
except the irritants of the error, to avoid the duplicate warn+error undefined.
2012-02-02 23:44:15 +09:00
Alex Shinn
af60e10c4f Now that bugs are fixed, re-using same stack for eval. Restores stack traces. 2012-02-02 23:16:16 +09:00
Alex Shinn
2ac6e8fe33 removing references to round when not compiling with math or flonums 2012-01-24 21:52:11 +09:00
Alex Shinn
8e6927001c Apply checks for stack overflow. 2012-01-09 17:19:51 +09:00
Alex Shinn
1dd61a26f3 Adding support for bi-directional ports, and making (chibi net) use them for sockets.
Also modifying FFI to automatically make input ports non-blocking,
and fixing R7RS incompatibility where closing an already closed
port signalled an error.
2012-01-05 23:39:00 +09:00
Alex Shinn
52a3f55721 Making exceptions properly thread-local. 2011-12-25 16:28:53 +09:00
Alex Shinn
24b43e367b Providing scheme versions of some I/O functions when string streams aren't used. 2011-12-17 15:55:10 +09:00
Alex Shinn
348b176172 Syncing some feature names with R7RS draft. 2011-12-17 15:26:26 +09:00
Alex Shinn
32763cd214 Removing warnings and fixing some build configurations from the last fd gc change. 2011-12-17 14:29:20 +09:00
Alex Shinn
3a511302c4 Calling gc when open returns EMFILE (out of open file descriptors).
This still needs to be done for fd's created as sockets and other sources.
2011-12-17 00:05:55 +09:00
Alex Shinn
cc5d5d573c string-ref and string-set! will raise an error on the trailing null byte. 2011-12-12 09:37:58 +09:00
Alex Shinn
422beccc7d GC preserving stripped synclos. 2011-12-11 21:03:35 +09:00
Alex Shinn
b22b0bc7a4 Fix for letrec* - trailing non-procedure definitions cause earlier procedures to be treated as set!s.
Technically this is only needed if the non-proc defs reference the
earlier procedures, which leaves room for optimization later.
2011-11-29 08:33:30 +09:00
Alex Shinn
e608bec866 using result length from fread; string-count optimized and safe for invalid strings. 2011-11-26 13:04:51 +09:00
Alex Shinn
e1731fabf3 FFI struct types no longer use global variables (with improved type-inference as a bonus) 2011-11-24 01:20:47 +09:00
Alex Shinn
ebe2af486e utf8 encoding chars on (display ch) for non-ASCI ch (issue #88) 2011-11-15 23:08:59 -08:00
Alex Shinn
1b23c0add0 Rounding functions now support rational arguments exactly.
Fixing the division operators.
2011-11-15 22:23:39 -08:00
Alex Shinn
a7d6998a96 Fixing static libs and immutable strings builds. 2011-11-14 09:17:53 +09:00
Alex Shinn
2caa285a63 Making the dynamic-wind state thread-specific. 2011-11-12 11:03:30 +09:00
Alex Shinn
fb6f53f8bd Removing mingw cast warnings. 2011-11-07 23:42:32 +09:00
Alex Shinn
7a5dd6351c Shared libraries are now versioned and annotated with the ABI compile-time options. 2011-11-07 23:39:38 +09:00
Alex Shinn
1b4cc2ad14 Removing uses of sexp_api_params and sexp_api_pass which were ugly and no longer supported anyway.
The definitions are still provided for backwards compatibility.
2011-11-07 01:30:55 +09:00
Alex Shinn
b7fd7ab7f5 Removing old *meta-env* hack - `import' is now copied from (meta) and runs directly without eval.
Syntax may now also be bound with (define-syntax macro1 macro2), and likewise with let-syntax.
2011-11-06 21:09:03 +09:00
Alex Shinn
8146be0250 Various fixes for alternate builds. 2011-11-04 18:39:26 +09:00
Alex Shinn
4ae5949d54 fixing header alignment in disasm 2011-11-01 22:51:09 +09:00