Commit Graph

640 Commits (7e54cc28240d384ca71529dab464ea9cddbabf07)

Author SHA1 Message Date
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
Doug Coleman e3cb325040 factor: clean up whitespace in -docs files 2015-07-02 10:31:22 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
Doug Coleman 44e8e7b344 primitives: Change PRIMITIVE: to check that the word is in that vocabulary and the stack effect is correct.
Use PRIMITIVE: in core/ and basis/
2015-06-25 18:02:03 -07:00
John Benediktsson 1dab2ae6ca io.streams.sequence: use stream-exempler here. 2015-06-09 20:24:42 -07:00
John Benediktsson e04dc6db29 io.binary: adding some tests for signed>. 2015-05-31 08:44:39 -07:00
John Benediktsson 2c3492a916 minor cleanup to some docs. 2015-05-13 16:09:14 -07:00
John Benediktsson b366a06c41 use reject instead of [ ... not ] filter. 2015-05-12 18:50:34 -07:00
John Benediktsson 6fd908da40 use suffix! and append!. 2014-12-03 11:37:34 -08:00
Doug Coleman d23ab51ce8 io.files: Move with-cd to the tests file so that nobody uses it. My bad. Basically nobody should ever use cd or cwd for anything. Fixes #1214. 2014-11-23 01:39:36 -08:00
Doug Coleman aff0150a8c io.files: add with-cd. Related to #1214. 2014-11-22 22:21:35 -08:00
John Benediktsson 7a35da738f io: aesthetics matter. 2014-11-22 20:33:53 -08:00
John Benediktsson 3f362dfc99 destructors: change check-disposed not to drop the disposable. 2014-11-21 08:19:05 -08:00
John Benediktsson c36a9193ae io.streams.c: use binary-object. 2014-11-20 18:40:48 -08:00
John Benediktsson 86cff7b921 io.streams.c: faster M\ c-reader stream-read-until. 2014-11-16 07:07:41 -08:00
Benjamin Pollack 2c3dd8c3c8 Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
John Benediktsson 5961cfb7b9 io.encodings: fix for read-until seps not containing \n. 2014-10-31 09:33:59 -07:00
Doug Coleman 632ee276e1 core: Remove trailing whitespace. 2014-10-31 01:14:31 -07:00
Doug Coleman 5e16e54b98 io.encodings: For decoders, try to gobble up the next newline if cr>> is true in stream-read-until. Add unit test. Fixes #1177. 2014-10-31 00:58:53 -07:00
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