Abdulaziz Ghuloum
a6e1ce0658
given myself a few extra bits in the port attrs for future extensions
2007-12-12 19:47:03 -05:00
Abdulaziz Ghuloum
cef06e3121
removed "closed?" field from port struct.
2007-12-12 19:34:28 -05:00
Abdulaziz Ghuloum
c659cd3ed6
split io into two libraries by splitting the prims outside.
2007-12-12 19:18:57 -05:00
Abdulaziz Ghuloum
eac9829a03
cleanup of tags in ikarus.io.ss
2007-12-12 18:59:19 -05:00
Abdulaziz Ghuloum
3512b4d112
file-based ports are now guarded and their file handles are closed
...
if the port is dropped and collected.
2007-12-12 01:32:55 -05:00
Abdulaziz Ghuloum
54f683f0e0
Ported match.ss to ikarus.
2007-12-11 17:41:48 -05:00
Abdulaziz Ghuloum
09a02059c6
custom textual ports now return #t for textual-port? (fixes bug 175517)
2007-12-11 06:04:08 -05:00
Abdulaziz Ghuloum
29eb0d1ce0
The size of output ports is now set to be the buffer size (bug 175485)
2007-12-11 03:25:51 -05:00
Abdulaziz Ghuloum
7d7ceb6480
Weeded out gcc warnings and added -Wall as a configure flag.
2007-12-10 15:02:25 -05:00
Abdulaziz Ghuloum
0d79bcd42c
removed some unused procedures from ikarus-runtime.c
2007-12-10 12:03:25 -05:00
Abdulaziz Ghuloum
b6299fbec2
Added make-custom-textual-input-port and make-custom-textual-output-port
2007-12-10 11:11:59 -05:00
Abdulaziz Ghuloum
85a54dbbbf
custom-binary-input-files now have their attrs set properly.
2007-12-10 10:56:10 -05:00
Abdulaziz Ghuloum
4a3f9a334a
Added tests for custom-binary-output-ports (and fixed it too)
2007-12-10 10:53:17 -05:00
Abdulaziz Ghuloum
8a375a3cf7
Added make-custom-binary-output-port
2007-12-10 10:36:10 -05:00
Abdulaziz Ghuloum
91b8f90715
removed obsolete (ikarus system $io) library.
2007-12-10 10:24:10 -05:00
Abdulaziz Ghuloum
2ac39cfad0
reimplemented open-output-file.
2007-12-10 10:18:52 -05:00
Abdulaziz Ghuloum
921999a3a2
minor fix to string-input-ports
2007-12-10 09:28:48 -05:00
Abdulaziz Ghuloum
dfd66a6cbf
Added some of the new IO primitives to the (ikarus) library.
2007-12-10 08:05:31 -05:00
Abdulaziz Ghuloum
7fdeade412
Added console-error-port procedure and redirected all error output
...
to it.
2007-12-10 07:40:34 -05:00
Abdulaziz Ghuloum
0e38534d2e
New IO layer is installed. Still buggy in some area but can be used
...
for bootstrapping at least.
2007-12-10 07:28:03 -05:00
Abdulaziz Ghuloum
ea96ab85db
stage 1 of new input IO is almost complete.
2007-12-09 17:13:09 -05:00
Abdulaziz Ghuloum
3562a736c5
Fixes bug 175117: Named let violates scoping rules
2007-12-09 12:20:13 -05:00
Abdulaziz Ghuloum
1d5c069273
Fixes bug 175057: Added time-gmt-offset procedure that takes a time
...
object and returns the offset from gmt in seconds.
2007-12-09 07:20:49 -05:00
Abdulaziz Ghuloum
efd233ad0e
Fixes bugs 175025 and 175026: let-values and let*-values are fixed/added
2007-12-09 02:53:12 -05:00
Abdulaziz Ghuloum
0e93ac2db9
Code of fasl-write is changed to use only binary output prims.
2007-12-08 14:52:35 -05:00
Abdulaziz Ghuloum
39e5c98476
time-second was off my 30 years. fixed.
2007-12-07 06:34:56 -05:00
Abdulaziz Ghuloum
cf82981383
Fixes bug 174497: syntax-error should not be in (rnrs) and
...
syntax-violation not completed
2007-12-07 03:00:25 -05:00
Abdulaziz Ghuloum
c0191a8283
Fixes bug 174594: Record read/write now terminate on cycles.
2007-12-07 01:41:21 -05:00
Abdulaziz Ghuloum
1f352825f5
Transcoding to latin-1 now works in the new IO layer.
2007-12-06 08:14:05 -05:00
Abdulaziz Ghuloum
1469932f3d
Exported the transcoder? primitive.
2007-12-06 05:05:26 -05:00
Abdulaziz Ghuloum
0b693a7103
The unread-char primitive is deleted, all code that referenced
...
unread-char was rewritten as peek-char and read-char.
2007-12-05 05:01:56 -05:00
Abdulaziz Ghuloum
e874d2d0a0
Added "include-into" macro.
...
(include-into ctxt "filename") included the contents of the file
as if they were present in the context ctxt (which must be an
identifier).
(include-into here "filename") would do the same thing as
(include "filename")
2007-12-05 03:26:56 -05:00
Abdulaziz Ghuloum
4318a7cea7
* fixed name of time-second (was time-seconds before).
2007-12-05 03:11:47 -05:00
Abdulaziz Ghuloum
553c986253
Added current-time, time?, and time-seconds.
2007-12-05 02:35:14 -05:00
Abdulaziz Ghuloum
171604d7fc
values and call-with-values now have proper names when printed.
...
e.g. #<procedure values> and #<procedure call-with-values>
2007-12-05 01:33:47 -05:00
Abdulaziz Ghuloum
00ffe4fdfd
Minor bugs in utf32->string and utf8->string.
2007-12-03 11:06:29 -05:00
Abdulaziz Ghuloum
b5ab25c1cf
Fixed some potential bugs in utf8->string.
2007-12-03 05:43:53 -05:00
Abdulaziz Ghuloum
d878bd3934
utf16->string, utf32->string, string->utf16, string->utf32 are all
...
working now.
2007-12-03 04:28:41 -05:00
Abdulaziz Ghuloum
4efdebb3ac
string<->utf in progress
2007-12-03 03:00:01 -05:00
Abdulaziz Ghuloum
bdb73c70a8
Added string->utf16 and string->utf32.
2007-12-03 01:35:29 -05:00
Abdulaziz Ghuloum
307fb64f84
Fixes bug 173467. Ikarus now probes the cpuid for SSE2 support.
2007-12-03 00:29:36 -05:00
Abdulaziz Ghuloum
54ace976b5
Fixes bug 173465: suppress warning about missing .bzr/branch/last-revision
2007-12-02 23:43:22 -05:00
Abdulaziz Ghuloum
9d3647f4f5
renamed: scheme/ikarus.transcoders.ss => scheme/ikarus.unicode-conversion.ss
2007-12-02 23:35:23 -05:00
Abdulaziz Ghuloum
8073aa0e1e
Partially fixes bug 173173: call-with-bytevector-output-port: primitive not supported yet
2007-12-02 23:13:19 -05:00
Abdulaziz Ghuloum
58fd9cbed8
Added open-bytevector-output-port
2007-12-02 22:59:08 -05:00
Abdulaziz Ghuloum
5073b26fe9
Fixes bug 173201: More reader bugs from read0
2007-12-02 20:06:00 -05:00
Abdulaziz Ghuloum
9d9735ce2a
Cases in bug 173201 are closed. Still failing read0 though.
2007-12-02 06:58:33 -05:00
Abdulaziz Ghuloum
bc2e88e4e7
Added special case for (div x [positive-fixnum-power-of-2])
2007-12-02 04:30:59 -05:00
Abdulaziz Ghuloum
ebb1f7c055
Partial fix to bug 173042: Wrong error message for (mod 3.0 3)
2007-12-02 02:59:18 -05:00
Abdulaziz Ghuloum
67ecd7124d
Fixes bug 173382: Contents of opaque records should not be printed
2007-12-02 01:51:28 -05:00