Commit Graph

652 Commits (f7b7b5afbf419cc8ea06e1c55e21b9bb5a32cecd)

Author SHA1 Message Date
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
Björn Lindqvist a2e8af2581 io.files: command line params is in the system's native encoding 2015-08-24 07:23:40 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman 02008979d9 factor: Change ERROR: foo ; to define ``throw-foo`` instead of having ``foo`` throw implicitly. The old ``foo`` still throws implicitly because this is a big change to get right in one patch, but it should be removed soon. 2015-08-12 15:26:18 -05:00
Doug Coleman 20fda0e371 io.files: fix docs 2015-08-04 15:07:01 -07:00
Doug Coleman 73d45cf6db io.files: Add change-file-lines and change-file-contents words. 2015-08-04 15:03:37 -07:00
Doug Coleman 1fcf96cada factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon. 2015-07-25 22:59:56 -07:00
Doug Coleman fbbd09f3c5 factor: system:image -> image-path, like vm-path. image is all over the place png, jpg etc 2015-07-20 00:17:09 -07:00
Doug Coleman 618330b31e factor: rename system:vm -> vm-path to differentiate it from vm:vm (which is a STRUCT:) 2015-07-20 00:10:29 -07:00
John Benediktsson 86639b9df0 io.encodings.ascii: make sure encode-string gets a string. 2015-07-14 22:18:12 -07:00
Doug Coleman 43d6f1d3e2 factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:. 2015-07-02 17:28:17 -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
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