John Benediktsson
4a144e5ea7
more test IN: cleanup.
2018-02-15 08:45:08 -08:00
Doug Coleman
77492bb4b3
factor: fix tests that depended on LICENSE.txt never changing.
2017-12-17 21:45:10 -06:00
Doug Coleman
e189954ecc
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ;
2017-06-02 11:57:05 -05:00
John Benediktsson
497f8cb514
Update tests for LICENSE.txt rename.
2016-03-16 10:13:56 -07:00
Doug Coleman
892c62e1dc
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
2015-07-03 09:39:59 -07:00
Doug Coleman
59f3b1ea57
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
...
Needs a bit more work.
This reverts commit 7e54cc2824
.
2015-07-02 13:47:06 -07:00
Doug Coleman
7e54cc2824
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
2015-07-02 11:36:08 -07:00
John Benediktsson
4af2c7ea1f
io.streams.peek: fix test using.
2015-05-13 06:29:05 -07:00
Doug Coleman
aeb03fff38
io.streams.peek: Peek streams can break on file input. Fixes #1317 .
2015-05-12 21:50:01 -07:00
John Benediktsson
d2043d67d9
io.streams.peek: fix stack effect for [stream-]peek1.
2015-04-21 11:55:16 -07:00
Doug Coleman
5091780740
io.streams.peek: Add file position indicator api calls.
2014-10-10 11:55:14 -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
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