Alexander Iljin
d1782a23cc
io.pathnames-docs: fix a copy-paste error
2020-07-19 14:24:11 +00:00
John Benediktsson
77cd3aaede
classes: use check-instance in a few places, to remove duplication.
2020-01-15 10:34:47 -08:00
John Benediktsson
1eb7dbe6d2
io.files: quot effects in change-file-lines and change-file-contents.
2020-01-06 13:26:19 -08:00
Doug Coleman
16442c27ac
io: Fix word to find disk space if a file is missing.
...
Add canonicalize-drive because Windows likes C: instead of c:.
Add >windows-path for path string comparison.
Add canonicalize-path-full for fixing the path, drive, and / to \\ on
Windows.
2020-01-03 16:30:00 -06:00
Doug Coleman
16c153411d
io: Trim using lists.
2020-01-03 12:42:11 -06:00
John Benediktsson
77b13fbdc2
core/basis/extra: using while* in a few places.
2019-12-13 14:38:26 -08:00
John Benediktsson
41db42a571
Revert "io.encodings.utf16: add a utf16n word for native utf16 type."
...
This reverts commit ad24fa414f
.
2019-08-06 07:12:55 -07:00
John Benediktsson
04fab09c8f
Revert "io.encodings.utf16: update docs for utf16n."
...
This reverts commit e6fdc8fd51
.
2019-08-06 07:12:50 -07:00
John Benediktsson
6e161a2ccb
Revert "io.encodings.utf16: make utf16n foldable, maybe fixes windows bootstrap."
...
This reverts commit 17a3cf7590
.
2019-08-06 07:12:44 -07:00
John Benediktsson
17a3cf7590
io.encodings.utf16: make utf16n foldable, maybe fixes windows bootstrap.
2019-08-05 19:44:29 -07:00
John Benediktsson
e6fdc8fd51
io.encodings.utf16: update docs for utf16n.
2019-08-05 18:32:47 -07:00
John Benediktsson
ad24fa414f
io.encodings.utf16: add a utf16n word for native utf16 type.
...
remove io.encodings.utf16n vocabulary, which was kind of single purpose.
update a bunch of vocab usings.
2019-08-05 13:08:09 -07:00
Alexander Iljin
0007789795
continuations[-docs]: add the finally word
2019-04-22 21:57:51 -07:00
John Benediktsson
c228aaf836
io.backend: remove comment from years ago.
2019-03-22 20:36:45 -07:00
Doug Coleman
db9386d4c3
io.pathnames: Fix using list.
2018-07-07 12:09:02 -05:00
Doug Coleman
3ac520a8ec
io.pathnames: Add canonicalize-path.
...
The idea is to make a canonical representation of any path, taking into
account . and .. and unicode-prefix on Windows.
The use case is in a shell you have a current-directory and you can do
crazy commands like ``cd ../foo/bar/baz/../.././././`` and get the
canonical/shortened directory name. You can also use this word to
compare if two paths are the same.
2018-07-07 11:59:59 -05:00
Doug Coleman
147d13ed19
io.pathnames: Add a useful word 3append-path
2018-07-04 18:29:17 -05:00
Doug Coleman
9f213f96f6
core: Add the shuffler words but without primitives.
...
The nipd branch slowed bootstrap by a minute, this patch does not.
sorry about changing the fjsc line endings...
2018-06-19 22:52:58 -05:00
John Benediktsson
0ab7ed6979
io.encodings: use new latin1 instead of 8-bit encoding from file.
2018-02-28 08:56:01 -08:00
John Benediktsson
85b69b5b49
io.encodings.8-bit: more encodings, and reduce hierarchy.
2018-02-26 10:21:35 -08:00
John Benediktsson
6073e211ee
io.streams.byte-array: implement stream-tell for byte-vector.
2018-02-21 15:05:20 -08:00
John Benediktsson
ca03896d74
more test IN: cleanup.
2018-02-15 09:20:01 -08:00
Alexander Iljin
504c9959a1
Update some copyright headers to follow the current convention
...
Had to look through the history to find years for some headers. Added
authors to some files as well.
2017-09-11 15:43:03 -07:00
Björn Lindqvist
134a9fbcb4
VM: we can save the process by throwing a normal error here
2017-06-25 01:43:31 +02:00
Alexander Iljin
2ffa446f5b
*-docs: replace double spaces with single spaces
...
Code examples and other places where multiple spaces were used to align
text were left intact.
2017-06-05 13:16:07 -07:00
Doug Coleman
e189954ecc
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ;
2017-06-02 11:57:05 -05:00
Doug Coleman
7c7bb93c55
factor: Rename GENERIC# to GENERIC#:.
...
Fixes #1670 .
2017-06-01 13:58:58 -05:00
Doug Coleman
5aa89e6251
factor: Add newlines to every line.
2017-06-01 13:46:32 -05:00
John Benediktsson
09f11e293a
io: fix stream-copy docs.
2017-01-24 20:40:29 -08:00
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