Commit graph

244 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
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
47b88c850f Adding (features) procedure. 2012-10-09 00:27:56 +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
90ff32e3bd removing a stray tab 2012-09-23 22:32:27 +09:00
Alex Shinn
35bfe1702b thread-sleep! and other timeouts now accept ratios 2012-09-17 15:11:05 +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
f6c3d1d415 adding file necessary for non-threaded parameters 2012-08-26 13:56:10 +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
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
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
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
Alex Shinn
51c12f6115 If the only available thread is paused and we need to schedule it, remove it from the paused list.
Fixes issue #138 - otherwise the thread can be revived in the repl after we sleep.
2012-08-13 13:49:48 +00:00
Alex Shinn
736ff434e6 Updating srfi-38 to support writing labels only for values which cause cycles.
Also switching to srfi-69 for efficiency.
2012-08-12 21:28:36 +09:00
Alex Shinn
10b1110439 Fixing mutex-unlock! with paused thread waiting on mutex-lock! 2012-08-08 00:21:00 +09:00
Alex Shinn
f60617815d Resetting history ring on empty input in repl. 2012-07-26 22:47:43 +09:00
Alex Shinn
f0dd9c9ddb patch for clean NetBSD and OpenBSD builds from v krishnakumar 2012-07-26 09:55:00 +09:00
Alex Shinn
cc1821a61e (scheme char) now supports full unicode char properties and case mappings 2012-07-23 23:23:39 +09:00
Alex Shinn
287d1a992f Adding string-size and substring-cursor to the ASCII version. 2012-07-23 23:18:48 +09:00
Alex Shinn
b682d77971 fixing string-trim resulting in empty string 2012-07-23 05:54:33 +09:00
Alex Shinn
3ee50bd0d7 length now requires a proper list.
It still accepts cyclic lists and returns #f, like SRFI-1 length+.
It's convenient to be able to accept improper lists (e.g. for
parameter lists), so the old behavior is available as length*.
Fixes issue #97.
2012-07-21 19:22:56 +09:00
Alex Shinn
cb4d0c77f6 Fixing handling of multiple exports in a library. export-all now supported. 2012-07-21 19:01:10 +09:00
Alex Shinn
a3daf9f728 don't check for a timeout on thread-join! unless one was specified 2012-07-21 18:46:56 +09:00
Alex Shinn
dccc398621 adding an extra newline when interrupting from the repl 2012-07-21 17:32:03 +09:00
Alex Shinn
73e02601e4 changing sexp_call_sigaction to avoid casts 2012-07-21 17:27:09 +09:00
Alex Shinn
cdb8760fcc Need to unpause a paused thread if we want to terminate it. 2012-07-21 17:05:05 +09:00
Alex Shinn
680e2fe169 friendlier error message for self-referential modules 2012-07-19 22:27:15 +09:00
Alex Shinn
a9784b56f8 raising an error on non-numeric input to number->string 2012-07-19 21:37:15 +09:00
Alex Shinn
57b2bc281d apply opcode is now tail-recursive - calling it in a non-tail position is an error 2012-07-18 21:34:53 +09:00
Alex Shinn
0c9297d0d6 forgot to add the cxr library 2012-07-17 00:15:32 +09:00
Alex Shinn
71afd5d56a Acknowledging that I may never be free of the \r evil... 2012-07-16 23:40:58 +09:00
Alex Shinn
0553dd41b9 Need to rename field parameter names in record constructors. 2012-07-16 22:49:48 +09:00
Alex Shinn
89dfe9ab35 Patch from Alan Watson for nicer handling of multiple value results
in the repl, and also evaling multiple sexps on the same input line.
2012-07-16 17:46:13 +09:00
Alex Shinn
582a3295d4 returning #<eof> for end of input on read-u8 2012-07-16 17:37:47 +09:00