Commit graph

1211 commits

Author SHA1 Message Date
Alex Shinn
2ac6e8fe33 removing references to round when not compiling with math or flonums 2012-01-24 21:52:11 +09:00
Alex Shinn
902b38ab88 Documenting some utilities, notably sexp_symbol_to_string which is the only public interface to symbols. 2012-01-22 14:10:43 +09:00
Alex Shinn
5257e7f4d7 renaming symbol accessors to lsymbol, and clarifying the use of SEXP_USE_SAFE_ACCESSORS 2012-01-22 13:53:27 +09:00
Alex Shinn
fd87d5ecd0 adding sexp_symbol_to_string wrapper macro 2012-01-22 12:43:19 +09:00
Alex Shinn
ad46061a5b various srfi-1 fixes 2012-01-22 11:38:49 +09:00
Travis Cross
29b461bb44 Add tests from SRFI-1 examples. 2012-01-19 16:11:12 +00:00
Alex Shinn
5ab7c1ccd9 adding print-stack-trace primitive 2012-01-22 10:54:24 +09:00
Alex Shinn
12e18c9997 Need to set return type for zero-argument constructors. 2012-01-15 21:28:41 +09:00
Alex Shinn
6fa22a8cb0 Fixing procedure-code and procedure-vars definitions, which were incorrectly using slots. 2012-01-15 12:04:05 +00:00
Alex Shinn
087f2170f8 Adding call-with-process-io and other process utilities. 2012-01-11 00:06:36 +09:00
Alex Shinn
f77366f1ad Adding open(2) interface. 2012-01-11 00:03:57 +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
380a551f43 Refactoring __attribute__((unused)). 2012-01-05 14:19:30 +09:00
Alex Shinn
663f34000c Escaping "@" in documentation. 2012-01-04 16:02:51 +09:00
Alex Shinn
7479b9775b Removing warnings reported by Travis Cross. 2012-01-04 15:59:28 +09:00
Alex Shinn
944561b4da Reducing floating point errors in iota. 2012-01-04 15:11:12 +09:00
Alex Shinn
a81004672d Flonum/ratio comparison fix from pod. 2012-01-03 11:23:47 +09:00
Alex Shinn
34a85bf007 removing auto-generated file accidentally checked-in 2012-01-03 11:22:26 +09:00
Alex Shinn
2a8fe7738e Giving a more helpful error message when not all I/O ports are available in the repl. 2012-01-02 16:33:59 +09:00
Travis Cross
7b23858d86 Fix off-by-one error in command-line argument handling.
Previously (command-line) did not include the script name, but did
include the executable name if no script was given.  Now if a script
is given its name will be the first element of the list returned by
(command-line) and will be the first element of the list passed to
(main).

This brings us into compliance with SRFI-22.  Our man page was already
correct on this point.
2011-12-31 09:03:21 +00:00
Alex Shinn
904ae5743e Updating the front of the thread list when a signal is caught.
This fixes the delay caused when a signal is caught while only a
single other thread is running.
2011-12-25 17:14:01 +09:00
Alex Shinn
52a3f55721 Making exceptions properly thread-local. 2011-12-25 16:28:53 +09:00
Alex Shinn
87970984c7 Defining with-in/output-from/to-file in terms of dynamic-wind. 2011-12-20 00:58:27 +09:00
Alex Shinn
8eb74156f9 GC preserving in/out/err in REPL. 2011-12-20 00:51:12 +09:00
Alex Shinn
c2b6dfbf33 Added tag 0.5.3 for changeset f7d8a9e8bce7 2011-12-18 16:10:55 +09:00
Alex Shinn
ea57056875 Updating version. 2011-12-18 16:10:45 +09:00
Alex Shinn
ea1e22d2f0 Fixing complex parsing following ratios and bignums. 2011-12-18 15:35:34 +09:00
Alex Shinn
5e4158a390 Adding define-c-const documentation. 2011-12-18 13:14:22 +09:00
Alex Shinn
e2cae1558c Making custom port tests optional. 2011-12-17 15:57:32 +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
620eba1169 Per R7RS, cond-expand doesn't signal an error when there are no matching clauses.
You can still use syntax-error to explicitly signal an error.
2011-12-17 15:54:35 +09:00
Alex Shinn
348b176172 Syncing some feature names with R7RS draft. 2011-12-17 15:26:26 +09:00
Alex Shinn
9f25895e8c FFI needs to check for FILE* backed ports when wrapping a C function that expects a FILE* and string streams are not supported.
Also fixing bug in make-custom-output-port that didn't check for exceptions.
2011-12-17 14:51:58 +09:00
Alex Shinn
ad10e7d766 Removing cygin warning. 2011-12-17 14:31:50 +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
9a8395c69d Fixing order of prefix import spec. 2011-12-15 22:12:11 +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
6145922589 The non-string-stream variant of sexp_push_char shouldn't push EOF.
Probably this shouldn't actually write the char to the buffer, I need
to verify we never push a char that wasn't just read.
2011-12-11 21:52:12 +09:00
Alex Shinn
0c1ac4b7a1 Simplifying Plan9 CPPFLAGS. 2011-12-11 21:13:31 +09:00
Alex Shinn
f9b827245b Modifying chibi-genstatic to take a list of .sld files on stdin and an optional -x <excluded-mods> ... option. 2011-12-11 21:10:09 +09:00
Alex Shinn
7d4a3ccde4 Temporarily disabling unboxed locals optimization which may be causing a GC bug. 2011-12-11 21:09:08 +09:00
Alex Shinn
88c283a820 Including type tag in gc debug output for conservatively preserved objects. 2011-12-11 21:06:19 +09:00
Alex Shinn
422beccc7d GC preserving stripped synclos. 2011-12-11 21:03:35 +09:00
Alex Shinn
4c56ec04f9 Fixing equal?'s offset of trailing non-object bytes for non-gcc compilers.
Fixes the case that short strings of the same length were considered equal? on Plan9.
2011-12-11 14:35:30 +09:00
Alex Shinn
7039b32d51 removing string-set! from tests so immutable string config can pass 2011-12-11 14:26:44 +09:00
Alex Shinn
5b64ba5a9c heap size utility 'multiplier' not used with boehm 2011-12-11 14:24:45 +09:00
Alex Shinn
d29d7733fc adding basic string tests 2011-12-11 14:20:42 +09:00
Alex Shinn
72a2f237c7 removing a warning in accept.c and verifying non-thread lib tests all pass w/o threads. 2011-12-09 21:31:50 +09:00