Commit Graph

620 Commits (4b64626e1041a3a5f0beb60a5b99076258b8c1d2)

Author SHA1 Message Date
John Benediktsson 7082246447 io: change stream-bl to use write1. 2014-06-04 09:13:21 -07:00
John Benediktsson 57f9d78892 improve help by linking to types directly. 2014-05-23 20:20:15 -07:00
John Benediktsson 8293425783 io.encodings.ascii: moving to core. 2014-05-20 11:47:38 -07:00
John Benediktsson 98935b7f15 docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``. 2014-05-18 20:09:10 -07:00
John Benediktsson ca6cf294fc io.streams.memory: use constructor syntax. 2014-04-29 13:20:03 -07:00
John Benediktsson bc655bc061 io: change with-output-stream* example to unchecked. 2014-04-15 13:35:35 -07:00
Björn Lindqvist b72fa3ba0a Docs: fixed doc example errors triggered by help-lint and added with-disposal where applicable 2014-04-14 08:42:10 -07:00
Björn Lindqvist 2cbea3cb31 Docs: a few more examples for words that were missing them 2014-04-14 08:42:09 -07:00
Björn Lindqvist 1c74268af7 io: with-output-stream* example 2014-04-14 08:42:08 -07:00
Björn Lindqvist eaca04de3b libc: several vocabs now need to depend on libc 2014-04-02 12:13:00 -05:00
Björn Lindqvist 753b2f0177 io.files: make wait-for-fd generic and dispatch depending on backend
do-ssl-accept need to call wait-for-fd so it needs to be generic. On
windows it's a noop but on unix it will wait for the fd.
2014-04-02 12:12:49 -05:00
Björn Lindqvist 5f38df7741 io.sockets.secure.windows: reading and writing from ssl sockets
Unified the drain and refill generics and put their definition in
io.files. They are now used by both the windows and unix ssl backend
for io. Windows ssl kind of works now, but the error cases are not
implemented correctly.
2014-04-02 12:12:14 -05:00
John Benediktsson 0fd53ac54c io.streams.byte-array: some cleanup. 2014-03-11 11:27:50 -07:00
John Benediktsson 9090aa2bd1 io.streams.byte-array: add test of empty byte array. 2014-03-11 11:26:05 -07:00
John Benediktsson 80f88318a6 io.streams.sequence: support slices (fix io.streams.peek test failure). 2014-03-10 19:56:42 -07:00
John Benediktsson ee040a242c io.streams: some more test cases for sequence-read-until. 2014-03-10 15:29:11 -07:00
John Benediktsson e966659105 io.streams.sequence: make sure not to return ``f``. 2014-03-10 15:10:29 -07:00
John Benediktsson e55be4e70f Revert "Revert "io.encodings: string>byte-array-fast can use (byte-array).""
This reverts commit af6975593756e353654b67b1bf1db7dd06f8c114.
2014-03-07 11:19:45 -08:00
John Benediktsson 72453cdc99 Revert "io.encodings: string>byte-array-fast can use (byte-array)."
This reverts commit f9881290cdb3238365f0bc5d126325236b4c2123.
2014-03-07 09:46:19 -08:00
John Benediktsson c4472362ea io.encodings: string>byte-array-fast can use (byte-array). 2014-02-27 21:10:05 -08:00
John Benediktsson d2cd57d68f io.streams.sequence: use member? to support bignum separators. 2014-02-25 10:13:05 -08:00
John Benediktsson b0195bb448 io: minor cleanups. 2014-02-25 10:04:08 -08:00
John Benediktsson bf1f4e9aa2 io.streams.sequence: cleanup by moving type checks. 2014-02-25 09:32:47 -08:00
John Benediktsson 1170df3e71 io.streams.byte-array: faster with-byte-writer. 2014-02-25 08:23:32 -08:00
John Benediktsson f243b31ddd io.streams.sequence: rename (stream-seek) to sequence-seek. 2014-02-25 07:56:28 -08:00
John Benediktsson ee9ead89f8 io.streams.sequence: bounds check sequence-read-until. 2014-02-25 07:52:07 -08:00
John Benediktsson dbfa18e8fc io.streams.byte-array: faster M\ byte-reader stream-read-unsafe. 2014-02-24 21:40:38 -08:00
John Benediktsson 1acf307e15 io.streams: make stream-element-type inline on string-reader and byte-reader. 2013-12-02 17:44:03 -08:00
John Benediktsson 30f450d21a io.encodings: slight performance improvement to byte-array>string-fast. 2013-11-24 20:04:15 -08:00
John Benediktsson 13ec450ac8 io.encodings.string: faster for ascii and utf8. 2013-11-24 16:08:26 -08:00
John Benediktsson 3c5ca8195e io.encodings.utf8: fix accidentally scratchpad. 2013-11-24 14:34:53 -08:00
John Benediktsson 0806a8ce15 io.encodings: string>byte-array-fast for when aux>> is f. 2013-11-24 13:43:00 -08:00
John Benediktsson eafc775bbb io.binary: speed up signed>. 2013-11-24 12:01:21 -08:00
John Benediktsson 77d2abc06c io.binary: faster le> and signed-be>. 2013-11-24 09:57:40 -08:00
John Benediktsson 6d09b34b94 io: default each-block-size is 65536, but add words that allow you to use a different size. 2013-09-19 13:46:39 -07:00
Doug Coleman d38fdb4433 io.encodings: Add a stream-tell method for decoder streams. 2013-06-04 17:53:15 -07:00
Doug Coleman a5781ff8cc io.encodings.utf16n: Rename utf16n. 2013-03-23 17:19:24 -07:00
John Benediktsson a2c241baea io.binary: faster >be. 2013-03-21 17:39:34 -07:00
John Benediktsson 67a2b9dc9a io.encodings: speed up ascii and utf8 stream-read-until. 2013-03-18 13:35:22 -07:00
John Benediktsson ee1eb8bf09 io.encodings: this appears to be faster and produce smaller code. 2013-03-15 12:15:52 -07:00
John Benediktsson 86b2dea8d5 io.encodings: remove duplication in decoder-readln. 2013-03-15 10:50:40 -07:00
John Benediktsson 7bf1173bc3 io: adding stream-bl. 2013-03-14 19:23:10 -07:00
John Benediktsson 5487480126 core: cleanup USING lists. 2013-03-05 10:34:47 -08:00
John Benediktsson 10bd89b439 io.files: fix testcase for renamed icon file. 2012-11-30 18:28:20 -08:00
John Benediktsson 5c810c2fa5 io.pathnames: remove file-directory (redundant to parent-directory). 2012-10-23 09:47:57 -07:00
John Benediktsson 65678aeeb2 io.pathnames: adding file-directory. 2012-10-22 18:09:58 -07:00
Doug Coleman 3582a6c624 kernel: Add 4dup, 4drop, and 4cleave. 2012-10-22 09:47:34 -07:00
John Benediktsson c1850f416a sequences: fix docs to use "dst" as a convention. 2012-09-19 16:45:28 -07:00
Doug Coleman 6c4043bb25 io: Make stream-contents call stream-contents* and do the disposal in the top-level. Fixes #645. 2012-08-25 17:03:51 -07:00
John Benediktsson 980f1236cf io: improve docs for stream-copy*. 2012-08-14 15:12:19 -07:00