Commit graph

41 commits

Author SHA1 Message Date
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
Alex Shinn
1b4cc2ad14 Removing uses of sexp_api_params and sexp_api_pass which were ugly and no longer supported anyway.
The definitions are still provided for backwards compatibility.
2011-11-07 01:30:55 +09:00
Alex Shinn
e65ed61b26 Disabling brace literal write syntax by default when not using srfi-38. 2011-11-07 01:04:31 +09:00
Alex Shinn
0a22de0e12 type printers are now stored as opcodes instead of generated on the fly 2011-11-07 01:00:26 +09:00
Alex Shinn
097ce7bfe0 Patch from John Cowan fixing cygwin warnings. 2011-11-06 21:19:48 +09:00
Alex Shinn
44ac1bcb89 abstracting to use sexp_ versions of isdigit, tolower, toupper consistently, and casting to avoid warnings in cygwin 2011-11-06 14:37:59 +09:00
Alex Shinn
d4f56f8a40 Adding preservatives. 2011-11-04 22:42:17 +09:00
Alex Shinn
6a6e5746c5 using unsigned char subscripts 2011-11-04 21:57:37 +09:00
Alex Shinn
8146be0250 Various fixes for alternate builds. 2011-11-04 18:39:26 +09:00
Alex Shinn
68a95bc366 removing static globals so multiple unrelated contexts can use threads 2011-11-04 15:19:28 +09:00
Alex Shinn
4ae5949d54 fixing header alignment in disasm 2011-11-01 22:51:09 +09:00