Alexander Iljin
135390968b
Delete throw-win32-error, replace with win32-error calls
2020-01-06 13:18:33 -08:00
Alexander Iljin
407c7bc216
io.files.windows: replace "-1 <alien>" with INVALID_HANDLE_VALUE
2020-01-06 13:18:33 -08:00
Alexander Iljin
294be2cca3
Replace inline INVALID_HANDLE_VALUE checks with check-invalid-handle calls
...
On error find-first-file will now throw a windows-error instance instead of
a string.
2020-01-06 13:18:33 -08:00
Doug Coleman
f9c90583d0
io.files.info: Fix linux file-system-info recursion
2020-01-05 13:27:22 -06:00
Doug Coleman
9beeedfe18
io.files.info: Fix find-mount-point.
2020-01-04 13:33:45 -06:00
Doug Coleman
4da6f51c91
io.files.info: fix circularity regression in file-systems on linux
2020-01-04 09:07:32 -06: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
75e98b4bc3
Revert "Replace inline INVALID_HANDLE_VALUE checks with check-invalid-handle calls"
...
This reverts commit 1e61dbfd2a .
2020-01-03 13:04:29 -06:00
Doug Coleman
8a3b7cbd18
Revert "io.files.windows: replace "-1 <alien>" with INVALID_HANDLE_VALUE"
...
This reverts commit a6f0b74f03 .
2020-01-03 13:04:11 -06:00
Doug Coleman
d9f1093cf8
Revert "Delete throw-win32-error, replace with win32-error calls"
...
This reverts commit e1be081ec9 .
2020-01-03 13:04:01 -06:00
Doug Coleman
c308d794db
Revert "Replace "n>win32-error-string throw" with windows-error instance throwing"
...
This reverts commit 70d08ce743 .
2020-01-03 13:03:52 -06:00
Doug Coleman
7f395ba7f0
Revert "Replace "win32-error-string throw" with windows-error instance throwing"
...
This reverts commit 2dfb3b3a73 .
2020-01-03 13:03:10 -06:00
Doug Coleman
16c153411d
io: Trim using lists.
2020-01-03 12:42:11 -06:00
Doug Coleman
3419d34cbf
mason.disk: Better handling of free disk space.
...
- Works if the build directory does not exist, assuming it would be created on the root disk containing the path of the first existing parent directory
- Space calculation is wrong, we should be using the available space
- MB is GB, comment was wrong
- Call find-mount-point-info to get the real disk mount point even if the dir does not exist
2020-01-03 11:10:53 -06:00
John Benediktsson
77b13fbdc2
core/basis/extra: using while* in a few places.
2019-12-13 14:38:26 -08:00
Alexander Iljin
2dfb3b3a73
Replace "win32-error-string throw" with windows-error instance throwing
...
Remove win32-error-string, because there was only one place it was used in.
2019-11-25 07:06:59 -08:00
Alexander Iljin
70d08ce743
Replace "n>win32-error-string throw" with windows-error instance throwing
2019-11-25 07:06:59 -08:00
Alexander Iljin
e1be081ec9
Delete throw-win32-error, replace with win32-error calls
2019-11-25 07:06:59 -08:00
Alexander Iljin
a6f0b74f03
io.files.windows: replace "-1 <alien>" with INVALID_HANDLE_VALUE
2019-11-25 07:06:59 -08:00
Alexander Iljin
1e61dbfd2a
Replace inline INVALID_HANDLE_VALUE checks with check-invalid-handle calls
...
On error find-first-file will now throw a windows-error instance instead of
a string.
2019-11-25 07:06:59 -08:00
Doug Coleman
6f6bc00cb1
io.launcher.unix: Fix test.
2019-09-27 23:13:51 -05:00
Doug Coleman
4faab8a00f
basis: Fix bootstrap to display unix signals instead of "Error in print-error!"
2019-09-27 17:17:56 -05: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
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
John Benediktsson
d150e5cfe2
io.streams.byte-array.fast: push-all is faster for byte-array.
2019-05-19 18:47:34 -07:00
Alexander Iljin
0007789795
continuations[-docs]: add the finally word
2019-04-22 21:57:51 -07:00
John Benediktsson
a8b6d7bd4f
io.crlf: adding read-ignoring-crlf and read1-ignoring-crlf.
2019-04-05 11:34:34 -07:00
John Benediktsson
25b29e084d
io.directories.search: a better fix for the linux entry ordering issue.
2019-03-21 19:36:05 -07:00
John Benediktsson
1c44494b32
Revert "io.directories.search: Fix the order of the depth/breadth traversals."
...
This reverts commit c3cfc177cd .
2019-03-21 19:23:13 -07:00
Doug Coleman
c3cfc177cd
io.directories.search: Fix the order of the depth/breadth traversals.
...
This unit test kind of sucks.
2019-03-21 19:41:26 -05:00
Doug Coleman
d59292faf6
io.sockets: fix for inet6 too.
...
"::1" 0 <inet4> utf8 <server>
"::1" f <inet4> utf8 <server>
Fixes #2109
2019-03-17 12:23:34 -05:00
Doug Coleman
f4d17d3ba3
io.sockets: Allow f in the port of an inet4.
...
Fixes #2019 .
2019-03-17 12:14:56 -05:00
Doug Coleman
4df7773a58
io.files.windows: Reloading io.pathnames overwrites these two object
...
methods.
Make them windows methods instead.
2019-03-17 10:56:57 -05:00
John Benediktsson
b942caf3d7
io.directories.search: fix traversal test case cross-platform issues.
...
on Linux and macOS mojave they entries might traverse (a,c,b)
instead of (a,b.c) so we preserve the traversal method order
but sort for cross-platform testing.
2019-03-16 20:29:19 -07:00
Jack Lucas
c6c2377072
Fix typo in monitor file
2019-02-09 18:43:51 -05:00
Jack Lucas
b259a2725c
Fix monitor errors on startup
2019-02-09 18:38:20 -05:00
Jack Lucas
e3c189fa56
Fix merge error
2019-02-08 20:19:10 -05:00
Jack Lucas
3154242a3a
Re-add Freebsd Support
2019-02-08 19:17:30 -05:00
Doug Coleman
c3569f02fa
io.sockets: When we throw an error upon failing to resolve a host, report the host name.
2019-01-12 16:31:13 -06:00
John Benediktsson
88617a9e65
io.monitors: cleanup using.
2019-01-11 08:19:59 -08:00
John Benediktsson
c2684d5875
io.streams.duplex: use >duplex-stream<.
2019-01-10 20:35:32 -08:00
Doug Coleman
9572c87646
io.standard-paths: Add yet another path for Windows.
...
My vscode is in ``C:\Users\erg\AppData\Local\Programs\Microsoft VS
Code`` for some reason and vscode stopped working. This fixes it.
2018-12-24 13:08:28 -06:00
Doug Coleman
17ed798178
*.txt: Add newlines, fix some spacing
2018-12-16 12:04:35 -06:00
John Benediktsson
1b95fba178
Revert "io.files.temp: When using temp-file, it's possible that it fails since"
...
This reverts commit a274f99437 .
2018-08-21 10:44:10 -07:00
Doug Coleman
a274f99437
io.files.temp: When using temp-file, it's possible that it fails since
...
the temporary-directory does not exist yet.
Always check if the directory exists and create it if not.
2018-08-12 21:16:21 -05:00
Doug Coleman
279acbc53e
io.launcher: Add process-lines word.
2018-07-16 21:02:11 -05:00
Doug Coleman
4b614cc15b
factor: Make source files/resources 644 instead of 755.
2018-07-13 20:36:50 -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
4e9d383fe5
docs: Fix help-lint-all mistakes.
2018-07-07 01:13:19 -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