Commit Graph

47 Commits (dff051696eb3ecda883a12e3f056257cf50406e8)

Author SHA1 Message Date
John Benediktsson 05f6304087 io.streams.random: fix USE: again. 2013-05-07 06:18:50 -07:00
John Benediktsson 1216ae5cb1 io.streams.random: fix USE:. 2013-05-06 16:17:39 -07:00
John Benediktsson 92e8bdaf1a io.streams.random: slightly faster. 2013-05-06 08:35:03 -07:00
Doug Coleman 8c19602ae9 assocs: Add of and ?of. Change all the things at once! Fixes #701. 2013-03-23 14:59:07 -07:00
John Benediktsson df0c03eeb8 io.streams.peek: use namespaces. 2013-01-21 18:09:40 -08:00
Doug Coleman a4ac126d1f io.streams.peek: Implement peek and peek1. 2013-01-21 15:33:57 -08:00
John Benediktsson 8eb4d2723f io.streams.zeros: write only 'n' zeros. 2012-10-26 07:48:51 -07:00
John Benediktsson 8b87b0ab57 io.streams.zeros: adding authors.txt. 2012-10-25 22:00:35 -07:00
John Benediktsson bba382bd5c io.streams.random: stream-copy disposes, so we don't need to. 2012-10-25 22:00:02 -07:00
John Benediktsson cff606f474 io.streams.random: moving random-file here. 2012-10-25 21:47:42 -07:00
John Benediktsson 032458e5d7 io.streams.zeros: adding zero-file. 2012-10-25 21:46:11 -07:00
John Benediktsson 7847b55cea io.streams.zeros: adding @erg's zero-stream. 2012-10-25 21:43:52 -07:00
John Benediktsson 916d912492 io.streams.random: adding @erg's random-stream. 2012-10-25 21:37:58 -07:00
John Benediktsson 8810576465 io.streams.256color: adding support for bold and italic. 2012-08-23 15:20:44 -07:00
John Benediktsson fbd79553e0 io.streams.256color: use "\e" escape. 2012-07-26 19:15:27 -07:00
John Benediktsson fe457b5773 io.streams.256color: adding some tests. 2012-07-24 12:03:22 -07:00
John Benediktsson bc5139e8ff io.streams.256color: fixing grayscale, adding authors and summary files. 2012-07-24 09:47:55 -07:00
John Benediktsson 9ab4053e46 io.streams.256color: adding a "256color-terminal?" word and minor cleanup. 2012-07-23 17:46:27 -07:00
John Benediktsson a8fae26b82 io.streams.256color: adding a xterm-256color style stream. 2012-07-23 14:36:55 -07:00
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