Commit Graph

681 Commits (42ef8adec6107cba1d36de41f9567771264d8e44)

Author SHA1 Message Date
Björn Lindqvist 3bbf421043 io.files: the paths are absolute so cwd prepend-path isn't needed 2016-09-14 14:02:11 +02:00
John Benediktsson acb4dec55d Revert "io.pathnames: fix separator when appending paths in Windows"
This reverts commit b477c43293.
2016-08-23 09:54:16 -07:00
masweeney b477c43293 io.pathnames: fix separator when appending paths in Windows 2016-08-23 08:53:38 -07:00
John Benediktsson 8d077a96ad using [ ... ] [ drop ] if* instead of dup [ ... ] [ 2drop ] if. 2016-07-11 21:01:03 -07:00
John Benediktsson 5abccb1391 io.backend: remove unused normalize-directory word. 2016-06-30 14:11:24 -07:00
John Benediktsson e146309a0c io.encodings.binary: move to core. 2016-06-30 12:30:58 -07:00
Alexander Iljin b8476d7081 io.streams-docs: fix some copy-paste errors 2016-05-25 11:38:28 +03:00
John Benediktsson 20224d6aaa io.files: fix cd test on windows (needs normalize-path instead of absolute-path). 2016-04-09 10:25:10 -07:00
Doug Coleman 2ada639a62 io.files: Make sure ascii can't write higher than char 127 to file. Allow writes to ascii from { } and B{ } if they don't violate the encoding. 2016-04-07 12:51:30 -07:00
Doug Coleman 2f4f0da10d io.files: Ensure that slices can be written to utf8/utf16/ascii streams. 2016-04-07 12:42:52 -07:00
John Benediktsson 6d417f4f71 io.encodings: a bit faster and make ascii support slices. 2016-04-07 12:32:05 -07:00
John Benediktsson 0988df1e5a io.encodings: allow encode-string to be called with non-strings. 2016-04-07 12:17:00 -07:00
John Benediktsson 2269b07d33 use with-temp-file and with-temp-directory in some tests. 2016-04-04 10:33:03 -07:00
Doug Coleman 180a0be647 io.encodings.utf16n: Fix using. 2016-03-30 21:25:44 -07:00
Doug Coleman c133c16377 core: Trim using lists from -tests and clean up a few irregularities. 2016-03-30 18:43:41 -07:00
Doug Coleman 80d0baaa7d io.files: make tests not use temp-file 2016-03-30 17:31:32 -07:00
Doug Coleman 9e9b7fe367 io.streams.c: use unique-file 2016-03-30 17:31:32 -07:00
Doug Coleman fe7d6ea76e io.pathnames: don't use temp-file 2016-03-30 17:31:32 -07:00
John Benediktsson 267706c4d6 io.encodings: add a test that tell doesn't work anymore. 2016-03-30 15:19:04 -07:00
John Benediktsson 48b3ec47f7 Revert "io.encodings: Add a stream-tell method for decoder streams."
This reverts commit 417b8abbeac013e20b2b360aa215c38604bd18fc.
2016-03-30 15:16:19 -07:00
Doug Coleman 9db94d33d6 io.streams.sequence: make some errors into ERROR:. rename double paren word. 2016-03-25 03:13:27 -07:00
John Benediktsson baae677276 io.files.unique: change to create unique files and directories relative to the current-directory. 2016-03-18 10:57:54 -07:00
John Benediktsson 35ca557ce7 core: use $sequence help-markup in a few places. 2016-03-16 10:13:56 -07:00
John Benediktsson 497f8cb514 Update tests for LICENSE.txt rename. 2016-03-16 10:13:56 -07:00
John Benediktsson b75def3bfb hashtables: remove 2hashtable (not really used). 2016-03-03 14:38:16 -08:00
Doug Coleman 9c4ed3ddae core: Don't use with-scope. H{ } clone [ ] with-variables is the same thing and is more explicit. 2016-03-02 17:18:42 -08:00
John Benediktsson 3affad7681 docs: using $maybe. 2015-12-11 17:05:45 -08:00
Björn Lindqvist 9d95602591 io.encodings: doc fix 2015-12-08 04:21:32 +01:00
Björn Lindqvist 74cb1acd17 Docs: more docs for vocabs in core/ 2015-12-05 16:34:46 +01:00
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