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
ca315e7996
io.random: adding "random-file".
2012-10-25 21:40:43 -07:00
John Benediktsson
916d912492
io.streams.random: adding @erg's random-stream.
2012-10-25 21:37:58 -07:00
John Benediktsson
6e572cfff1
io.files.acls.macosx: finish separation of ffi vocab.
2012-10-24 20:28:54 -07:00
John Benediktsson
d1920b50a9
io.files.acls.macosx.lib: removing redundant vocab.
2012-10-24 20:23:54 -07:00
John Benediktsson
bf8628bc78
io.files.acls.macosx: works!
2012-10-24 17:04:47 -07:00
John Benediktsson
98e37c52f1
io.files.acls: cleanup.
2012-10-24 16:51:07 -07:00
Doug Coleman
3399ddccd2
io.files.acls: Add what I have for acl support on macosx.
2012-10-24 16:44:57 -07:00
John Benediktsson
f835bb01f4
io.random: bit faster using set-nth-unsafe.
2012-10-23 19:30:20 -07:00
John Benediktsson
a0d1c036ea
io.random: much faster version of random-lines for large n.
2012-10-23 19:03:34 -07:00
Doug Coleman
633e4531a2
io.random: Fix off-by-one error.
2012-10-23 16:55:17 -07:00
John Benediktsson
f36ee26f82
io.random: cleanup using "each-numbered-line", implement "random-lines".
2012-10-23 16:11:07 -07:00
John Benediktsson
896d75e305
io.random: rename to "random-readln".
2012-10-23 15:25:08 -07:00
John Benediktsson
50016099a5
io.random: adding a "random-line" word.
2012-10-23 15:24:03 -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
John Benediktsson
4e72d80256
Using "same?" in more places.
2012-07-21 10:22:44 -07:00
John Benediktsson
2f325e4fee
using if-zero in even more places.
2012-07-16 19:38:49 -07:00
Doug Coleman
eccf5a82ae
io.files.info.windows: Fix file-systems word in two ways. First, don't
...
allocate 32k on the local alloc stack (which causes a 'double fault.')
Second, if the volume doesnt look up to a real path, don't make a dummy
object for that. volume
Use alien>native-string and native-string>alien wherever possible instead of
utf16n for Windows.
2012-06-21 08:32:53 -07:00
Joe Groff
943596575a
use radix literals
2011-11-23 19:03:40 -08:00
Doug Coleman
cb14adb1c2
Fix bootstrap. Add missing using on io.serial.linux. Fixes #351 .
2011-11-04 06:08:02 -07:00
Doug Coleman
e1c123e157
Move io.serial.unix to io.serial.linux, add platforms files. Move termios into io.serial.linux.ffi vocab.
2011-11-03 16:26:34 -07:00
Joe Groff
8cf18d1a82
remove BSD,solaris,etc. misc platform support code
2011-11-02 17:13:51 -07:00
Doug Coleman
94db86a6db
Make "foo.private" require load foo instead.
...
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201 .
2011-11-02 11:50:03 -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
1df7a40984
Add 2/4/8le>, 2/4/8be> -- 30% faster on the 8-byte versions, slightly less faster on the others.
2011-10-12 09:48:23 -07:00
Doug Coleman
97fa79d7fa
Update serial library so it's usable.
2011-10-08 11:38:43 -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