Joe Groff
13b17fb84a
io: input-stream and output-stream mixins
2011-10-18 16:25:09 -07:00
Joe Groff
4d224b552f
io: stream-read-into and stream-read-partial-into
...
Safe user-facing wrappers for stream-read-unsafe.
2011-10-17 21:23:08 -07:00
Joe Groff
09f55f82fa
clean up forwarding stream-read-partial-unsafe
...
Now that "io" provides a method on object for stream-read-partial-unsafe that forwards to stream-read-unsafe, individual stream class that don't implement partial reads don't need to provide such a method themselves.
2011-10-17 21:23:06 -07:00
Joe Groff
8322ff9452
io.streams.peek: test with memory-stream
...
Some binary stream types use memcpy to implement read-unsafe, while element-agnostic wrapper streams have to use copy. Make sure peek-stream works with both when it has to divide a read between the peek buffer and the underlying buffer (it does).
2011-10-17 21:23:06 -07:00
Joe Groff
6f12322bda
kill noncopying-reader mixin, stream-read generic
...
Now that all streams have been updated to implement the stream-read-unsafe protocol, take out the noncopying-reader shim. Turn stream-read and stream-read-partial into plain functions over the -unsafe generics.
2011-10-17 21:23:05 -07:00
Joe Groff
6828eeb27e
io.streams.peek: read-unsafe protocol
2011-10-17 21:23:04 -07:00
Joe Groff
d54824cb40
io: nab io.streams.peek's stream-exemplar-growable
...
Rename stream-element-examplar to stream-exemplar to match.
2011-10-17 21:23:01 -07:00
Doug Coleman
eead1f0487
Fix the using for peek streams tests.
2011-09-25 22:54:53 -07:00
Doug Coleman
c5f1651567
Peekable streams wrapper
2011-09-25 19:32:34 -07:00
Slava Pestov
d66f887736
Create basis vocab root
2008-07-28 22:03:13 -05:00
Slava Pestov
537269447c
Move mirrors out of the boot image
2008-07-02 00:20:01 -05:00
Slava Pestov
dc7b414f57
More flexible io.streams.limited, works with encoded streams
2008-06-17 00:10:09 -05:00
Slava Pestov
75ac2528ae
Remove obsolete comment
2008-06-12 19:00:41 -05:00
Slava Pestov
d4d81da0a0
Fix unit tests
2008-06-12 03:58:33 -05:00
Slava Pestov
b01d1f8a56
Request size limit and encoding support for HTTP server
2008-06-12 03:50:20 -05:00
Slava Pestov
e69755ce72
Fix duplex streams
2008-05-20 07:55:42 -05:00
Slava Pestov
2cbfa9c2d7
Move destructors to core
2008-05-14 23:23:12 -05:00
Daniel Ehrenberg
8b6e234709
Encodings use singletons; descriptive error updates
2008-05-10 20:17:24 -05:00
Slava Pestov
0cd8e61f24
Streams fixes
2008-05-09 16:38:27 -05:00
Slava Pestov
9b9b2747a3
Fixes and cleanups
2008-05-05 03:51:41 -05:00
Slava Pestov
75fb15ee4c
Split stdio up into input-stream/output-stream, pipes work in progress
2008-05-05 02:19:25 -05:00
Slava Pestov
3eda26ca0b
Fix unit tests
2008-02-10 03:12:44 -06:00
Slava Pestov
c8f042aef4
Redo timeouts
2008-02-09 21:34:42 -06:00
Eduardo Cavazos
d7c1349c8d
Fix a bunch of load-everything hiccups
2008-01-31 23:21:06 -06:00
Slava Pestov
926e09a46a
New dispose word and with-dispose combinator, docs for io.monitor, working on O(1) stream timeouts
2008-01-31 00:52:06 -06:00
Slava Pestov
1c91a286e5
Updating summary and authors
2008-01-27 01:02:31 -04:00
Slava Pestov
a26d912bd7
Updating extra/ modules
2007-09-25 20:54:05 -04:00
Slava Pestov
a96457cecc
Initial import
2007-09-20 18:09:08 -04:00