Commit graph

1519 commits

Author SHA1 Message Date
Alex Shinn
4f554499f8 char-ready? shouldn't block, should return #t on EOF 2012-10-21 18:10:45 +09:00
Alex Shinn
cec55dfe41 Adding let-optionals* to core as recommended way of handling optional arguments.
This is much faster (in chibi) and more concise than case-lambda.  Also adding
(chibi optional) for the let-optionals and opt-lambda variants.
Still need to add let-keywords*.
2012-10-21 17:22:16 +09:00
Alex Shinn
9aa03c0a09 Updating eqv? definition (from pre-bignum days) to latest R7RS definition. 2012-10-17 20:53:56 +09:00
Alex Shinn
4a86e133a9 Fixing open-net-io to include socket in list of results. 2012-10-15 20:12:57 +09:00
Alex Shinn
c4edcc8d78 Adding emergency-exit. 2012-10-15 09:50:35 +09:00
Alex Shinn
6b467f4452 Splitting write into write (cycles only) and write-shared. 2012-10-15 09:44:30 +09:00
Alex Shinn
74d0980b82 Adding file-error? and read-error? predicates. 2012-10-14 23:27:16 +09:00
Alex Shinn
42f3b77b46 adding vector-append and bytevector-append 2012-10-14 23:15:31 +09:00
Alex Shinn
1ba4aeecaf More optional start/end parameters. 2012-10-14 23:07:07 +09:00
Alex Shinn
31278c016a string-copy now takes start/end arguments 2012-10-14 22:52:16 +09:00
Alex Shinn
4d10734110 string->list now takes optional start/end params 2012-10-14 22:47:45 +09:00
Alex Shinn
bc4d01eac0 Adding include and include-ci to (scheme base).
The cwd is undefined - these macros are useless.
2012-10-14 22:37:46 +09:00
Alex Shinn
993e690891 Removing -partial bytevector variants. 2012-10-14 22:26:27 +09:00
Alex Shinn
08a5a2e0e8 Renaming the (scheme) library to (chibi). Leaving (scheme) as an alias for backwards compatibility. 2012-10-14 22:11:47 +09:00
Alex Shinn
eb88a24049 Updating open-net-io to check for filenos instead of integers. 2012-10-14 20:46:10 +09:00
Alex Shinn
3d161d4d2f If we are re-awakened waiting on a thread-join! but without timing out,
try to join again to make sure it's really dead.
2012-10-13 23:51:55 +09:00
Alex Shinn
b5046925f7 Fixing read-bytevector to use read-u8 instead of the hacked definition in terms of read-string. 2012-10-13 22:37:24 +09:00
Alex Shinn
60c96d76a4 Checking for utf8 encoding exceptions in read/peek-char. 2012-10-13 21:59:38 +09:00
Alex Shinn
fc1a1bd393 Adding tests and bugfixes for read-string[!]. 2012-10-13 21:54:30 +09:00
Alex Shinn
23d3d6dce7 Fixing getpwnam stub, adding test cases from pod. 2012-10-09 21:52:16 +09:00
Alex Shinn
5b31263136 Linked values will be applied to the first result in a multi-result function.
Also adding support for value function conversions (e.g. string-length
-> sexp_string_length).
2012-10-09 21:50:56 +09:00
Alex Shinn
7b31ba7685 disabling bidir ports by default 2012-10-09 21:07:41 +09:00
Alex Shinn
47b88c850f Adding (features) procedure. 2012-10-09 00:27:56 +09:00
Alex Shinn
94ef945f8d fixing operator precedence bug in stack limit checks 2012-10-03 21:30:50 +09:00
Alex Shinn
2c5522dfff Don't unwrap syntatic closures in top-level defines by default. 2012-10-01 22:56:21 +09:00
Alex Shinn
7b1760ef82 Don't share stack on eval primitive, clean up load.
Fixes issue #148.
2012-09-29 15:38:05 +09:00
Alex Shinn
03518e5bab don't write zero bytes on flush (more efficient and avoids sigpipe) 2012-09-25 22:46:12 +09:00
Alex Shinn
1cfbcb232f s/delete-directory-hierarchy/delete-file-hierarchy/ 2012-09-24 23:07:03 +09:00
Alex Shinn
5675b19715 Adding directory traversing, deleting, and changing utilities. 2012-09-24 22:33:19 +09:00
Alex Shinn
1e8be72d21 re-exporting open-input-file-descriptor and open-output-file-descriptor from (chibi filesystem) 2012-09-23 23:44:47 +09:00
Alex Shinn
9da98bd68d Finalizing stream/fd backed ports will properly flush them.
However, don't try to flush string/custom ports which could result in alloc during gc.
2012-09-23 23:28:09 +09:00
Alex Shinn
90ff32e3bd removing a stray tab 2012-09-23 22:32:27 +09:00
Alex Shinn
dd508447f5 hiding error output in threads test 2012-09-17 18:02:41 +09:00
Alex Shinn
00f71d9bd5 Writing nicer type names. 2012-09-17 18:00:36 +09:00
Alex Shinn
5a7a0bed5f using parameterize for redirecting output in in prelude 2012-09-17 17:33:24 +09:00
Alex Shinn
ff74a8928f returning the result of the root thread when it terminates before the child 2012-09-17 16:54:17 +09:00
Alex Shinn
2154f78b13 also printing the root context when debugging threads 2012-09-17 15:26:51 +09:00
Alex Shinn
35bfe1702b thread-sleep! and other timeouts now accept ratios 2012-09-17 15:11:05 +09:00
Alex Shinn
d56d6fd8c6 Printing error messages when child threads terminate by default. 2012-09-17 15:03:48 +09:00
Alex Shinn
4a59cc5a68 Cleanup up echo server example. 2012-09-16 15:20:09 +09:00
Alex Shinn
470d562dd5 friendlier thread names for clients 2012-09-16 15:08:50 +09:00
Alex Shinn
21d4fc670c fixing bug in scheduler queueing paused threads 2012-09-16 15:08:19 +09:00
Alex Shinn
fcaa906954 Another patch from Lorenzo for non-fixnum thread timeouts. 2012-09-03 20:17:46 +09:00
Alex Shinn
4ad27c0179 Patch from Lorenzo for char-upcase/downcase on odd numbered chars next to a special case. 2012-09-02 15:06:04 +09:00
Alex Shinn
df71fe8ecf updating authors 2012-08-26 14:30:46 +09:00
Alex Shinn
eaf41d2ce8 typo in write-char opcode 2012-08-26 14:07:13 +09:00
Alex Shinn
f6c3d1d415 adding file necessary for non-threaded parameters 2012-08-26 13:56:10 +09:00
Alex Shinn
cf115ef033 ignoring generated file 2012-08-26 13:54:16 +09:00
Alex Shinn
c48915563b Adding gabriel benchmarks. 2012-08-26 12:23:56 +09:00
Alex Shinn
b31b52909e add a sleep to avoid busy work when the scheduler isn't loaded and we block on an output port 2012-08-25 13:37:30 +09:00