Commit graph

1409 commits

Author SHA1 Message Date
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
Alex Shinn
4bd428da9e Unblock the current thread if it was waiting on an fd with activity.
Prevents useless extra polling slowing down the process as noted in issue #144.
2012-08-25 12:49:34 +09:00
Alex Shinn
512c9032d3 Including new (scheme time *) files in installation.
Patch from Lorenzo Campedelli, fixes issue #146.
2012-08-19 23:22:48 +09:00
Alex Shinn
46b7d943a5 Fixing read/write-u8 to block properly when srfi-18 hasn't been loaded. 2012-08-19 23:19:37 +09:00
Alex Shinn
ca0244f58e Resetting debug fp on normal return from apply.
Fixes #145.  "Returned" exceptions in the default
repl still print as if they were raised.
2012-08-19 22:58:05 +09:00
Alex Shinn
e562cc0be3 Incorporating Alan Watson's TAI time library. 2012-08-17 10:04:37 +09:00
Alex Shinn
748ccc06ea Fixing full unicode versions of char- predicates.
Thanks to Barry Fishman.
2012-08-16 20:48:07 +09:00
Alex Shinn
93ba0926a7 Build fixes for plan9. Moving individual object files out of opt/ since plan9 mkfiles have issues with these. 2012-08-16 16:04:02 +09:00
Alex Shinn
2c6bc7af42 adding friendly error message when using renamed (chibi strings) 2012-08-15 21:34:41 +09:00
Alex Shinn
4554b1f860 moving (chibi strings) to (chibi string) in conjunction with R7RS vote to prefer singular form of module names 2012-08-15 21:33:19 +09:00
Alex Shinn
b40370be52 thread-join! now returns the result or raises the exception of the joined thread 2012-08-15 21:23:39 +09:00