John Benediktsson
8d4f0be202
io.files.trash: use normalize-path.
2020-04-18 09:58:40 -07:00
John Benediktsson
4cb4308a11
io.files.trash: add tags.txt for now.
2020-04-18 09:48:22 -07:00
Alexander Iljin
a06e9cc3b2
io.files.trash.windows: convert input path to absolute in send-to-trash
...
The input path must be absolute, but normalize-path can't be used, because
that returns UNC path, and SHFileOperation fails on any path prefixed with
"\\?", see https://docs.microsoft.com/en-us/windows/win32/api/shellapi/ns-shellapi-shfileopstructa
Use absolute-path instead. The mixture of slashes and backslashes in the
path is tolerated, at least on Windows 10.
Add a simple unit-test.
2020-04-17 02:55:24 +00:00
Alexander Iljin
595cf81eb8
io.files.trash.windows: fix SHFILEOPSTRUCTW struct
...
Fix the incorrect field alignment. SHFileOperationW crashed with a memory
protection error while trying to dereference only part of the string
pointer.
2020-04-17 02:55:24 +00:00
John Benediktsson
c8e4d9fa69
Revert "io.streams.ansi: use call-next-method."
...
This reverts commit dbb83b7100
.
2020-02-17 07:09:12 -08:00
John Benediktsson
abbfedc53d
Revert "io.streams.256color: use call-next-method."
...
This reverts commit 4af73340d2
.
2020-02-17 07:08:56 -08:00
John Benediktsson
dbb83b7100
io.streams.ansi: use call-next-method.
2020-02-15 09:36:06 -08:00
John Benediktsson
4af73340d2
io.streams.256color: use call-next-method.
2020-02-15 09:35:57 -08:00
John Benediktsson
1e8b405307
io.streams.256color: use filter-writer.
2020-02-15 08:57:18 -08:00
John Benediktsson
e822e78afd
io.streams.ansi: use filter-writer.
2020-02-15 08:57:09 -08:00
John Benediktsson
ec0326fee9
io.files.trash.windows: using flags{ }.
2020-02-12 14:33:30 -08:00
John Benediktsson
cad867a3e9
io.files.trash.windows: cleanup using.
2019-08-05 13:07:25 -07:00
Doug Coleman
cc540c3165
io.serial: Fix using list.
2019-01-12 10:43:34 -06:00
John Benediktsson
15fff4a1fd
io.serial: use io.streams.duplex:with-stream.
2019-01-10 20:34:58 -08: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
ac5980d55b
io.encodings.detect: fix tests.
2018-02-28 15:10:43 -08: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
d32d06577d
io.files.trash.unix: use xdg vocab.
2018-02-26 17:16:43 -08:00
John Benediktsson
85b69b5b49
io.encodings.8-bit: more encodings, and reduce hierarchy.
2018-02-26 10:21:35 -08:00
John Benediktsson
4a144e5ea7
more test IN: cleanup.
2018-02-15 08:45:08 -08:00
John Benediktsson
b40ba26bac
basis/extra: removing '[ @ ] in favor of _ for fried quotations.
2018-01-19 23:40:23 -08:00
Doug Coleman
77492bb4b3
factor: fix tests that depended on LICENSE.txt never changing.
2017-12-17 21:45:10 -06: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
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
c5b563ed09
factor: Rename start -> subseq-start, start* -> subseq-start-from.
...
I also removed aliases for start/end from interval-maps and interval-sets and added a comment. I don't think it's any less clear what's going on.
2017-06-01 14:45:54 -05:00
John Benediktsson
baaa06278c
Revert "sequences: swap stack arguments for start/start*/subseq?."
...
This reverts commit 63b0593824
.
2017-01-21 07:20:14 -08:00
John Benediktsson
63b0593824
sequences: swap stack arguments for start/start*/subseq?.
...
It is more natural to be ( seq subseq -- ? ).
2017-01-20 22:49:53 -08:00
John Benediktsson
19447e44a4
byte-arrays.hex: removing HEX{ ab cd ef } in favor of B{ 0xab 0xcd 0xef }.
2016-11-08 21:10:58 -08:00
Alexander Iljin
2fd5654473
Add EOL at EOF for all authors.txt files for consistency
...
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
John Benediktsson
2a5e0e7f4f
replace some 1 head* with but-last.
2016-04-16 15:54:23 -07:00
John Benediktsson
497f8cb514
Update tests for LICENSE.txt rename.
2016-03-16 10:13:56 -07:00
Björn Lindqvist
8762d1c593
io.serial.linux: some useful extra termios constants
2015-10-06 14:00:19 +02:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
66147f27b4
extra: use throw-foo for ERROR: change
2015-08-13 01:56:32 -07:00
John Benediktsson
2a3427bdff
io.files.info: use directory?, symbolic-link?, and regular-file?.
2015-08-05 18:33:35 -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
5f8426cfbe
factor: rename files that are not loadable on mac, too
2015-07-19 16:55:36 -07:00
Doug Coleman
0176591527
factor: actual patch to remove ; from all c/fortran functions
2015-07-19 16:25:30 -07:00
Doug Coleman
4ec2311406
factor: Trim whitespace after ! comments and a few USING: lines that got skipped before.
2015-07-18 20:14:22 -07:00
Doug Coleman
892c62e1dc
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
2015-07-03 09:39:59 -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
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
John Benediktsson
69a6fa72bc
io.binary.fast: adding fast version of signed> words.
2015-05-31 08:44:55 -07:00
John Benediktsson
ddb636c4c0
io.binary.fast: easier to read using stdint types.
2015-05-31 08:09:05 -07:00
John Benediktsson
b1ac83c908
io.binary.fast: speed up when used by byte-arrays.
2015-05-31 07:08:07 -07:00
John Benediktsson
4af2c7ea1f
io.streams.peek: fix test using.
2015-05-13 06:29:05 -07:00
Doug Coleman
aeb03fff38
io.streams.peek: Peek streams can break on file input. Fixes #1317 .
2015-05-12 21:50:01 -07:00
John Benediktsson
d2043d67d9
io.streams.peek: fix stack effect for [stream-]peek1.
2015-04-21 11:55:16 -07:00