Alex Shinn
99211de2b0
adding atomically to disable yielding in controlled situations
2012-05-06 23:56:06 +09:00
Alex Shinn
92801f22ce
plan9 build now uses static libs by default
2012-05-06 23:08:47 +09:00
Alex Shinn
ce80d45ff8
Adding custom port support for non-string-stream builds.
...
String-streams are now disabled by default.
2012-05-06 18:16:17 +09:00
Alex Shinn
14e1cd482f
fixing numeric inequalities on NaN
2012-05-06 14:08:55 +09:00
Alex Shinn
cef6bb6794
Various fixes for non-string-streams non-blocking i/o.
...
Moving open-input/output-file-descriptor to core.
2012-05-06 14:02:31 +09:00
Alex Shinn
7c8203ed0a
switching to first-class file descriptor type
2012-04-24 22:42:26 +09:00
Alex Shinn
04210ff14a
Initial trampoling support for CPS from C code.
2012-04-22 17:14:06 +09:00
Alex Shinn
f30e53265c
adding (library x) support to cond-expand
2012-04-17 00:06:11 +09:00
Alex Shinn
a1f43475ba
output-port? returns #t for input+output ports
2012-04-16 23:50:13 +09:00
Alex Shinn
d965a3d785
including unistd.h for green threads
2012-04-15 15:55:24 +09:00
Alex Shinn
8ee3699095
fixing non-threaded (and plan9) build
2012-04-15 15:52:51 +09:00
Alex Shinn
acbeeddfa0
Fixing EAGAIN handling in write_string opcode by using
...
write(2) directly (considering abandoning FILE* backed
ports for standard use-cases). Also fixing write_char
return type for native buffered ports.
2012-04-15 15:43:47 +09:00
Alex Shinn
31db161dcd
Disabling SEXP_USE_TAIL_JUMPS optimization by default.
2012-04-01 21:00:15 +09:00
Alex Shinn
7fd75dc439
adding strcasestr for plan9
2012-03-27 21:47:13 +09:00
Alex Shinn
990cc8293b
write-string works with bytevectors as well
2012-03-27 21:25:01 +09:00
Alex Shinn
68e9a10ea7
output ports now non-blocking by default as well
2012-03-25 18:19:16 +09:00
Alex Shinn
8f69961832
initial c++ ffi support
2012-03-24 20:42:49 +09:00
Alex Shinn
c8b93f2c05
Raising an error when attempting to get-ouput-string from a non-string output-port.
2012-03-19 21:10:18 +09:00
Alex Shinn
4cf1e72625
Adding R7RS extended char names.
2012-03-07 21:19:58 +09:00
Alex Shinn
e0151c2a51
Proper undefined identifier warnings for libraries.
...
Works with begin and include, order no longer matters.
2012-03-01 21:51:05 +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
3d1a230b8c
explicitly disabling flonums and leaving ratios and complex unspecified disables them as well
2012-01-25 21:38:10 +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
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
5ab7c1ccd9
adding print-stack-trace primitive
2012-01-22 10:54:24 +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
52a3f55721
Making exceptions properly thread-local.
2011-12-25 16:28:53 +09:00
Alex Shinn
ea1e22d2f0
Fixing complex parsing following ratios and bignums.
2011-12-18 15:35:34 +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
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
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
7d4a3ccde4
Temporarily disabling unboxed locals optimization which may be causing a GC bug.
2011-12-11 21:09:08 +09:00
Alex Shinn
be10dca2cc
Adding a brief option summary when usage is wrong (including just -h, or --anything).
2011-12-06 22:30:42 +09:00
Alex Shinn
e3d1414dcc
fix for (inexact->exact ratio)
2011-11-29 08:19:01 +09:00
Alex Shinn
d091792ba6
including the new definition from the last patch
2011-11-27 22:42:22 +09:00
Alex Shinn
7b7c2aed8e
inexact->exact can convert non-integers when exact ratios are supported
2011-11-27 21:50:49 +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
327be34719
don't try to make ports from NULL FILE*s
2011-11-23 10:47:36 +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
7dd811ad57
explicitly casting to unsigned char when using isalpha/digit/etc.
2011-11-14 15:27:02 +09: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
846b9a1e40
reducing default limit for sexp_equalp_bound
2011-11-11 22:52:39 +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