Commit Graph

1468 Commits (89056025a7300c33f7c3b7c3564ce1f1c1659a1e)

Author SHA1 Message Date
John Benediktsson 2b2eb4be59
io.styles: change style-stream to inherit all styles by default. 2020-04-11 20:34:34 -05:00
John Benediktsson 773811b66d
help.markup: adding a $slots word to document slots, use it. 2020-04-11 20:34:27 -05:00
John Benediktsson cb35010374
io.styles: rename do-nested-style, make private. 2020-04-11 20:34:19 -05:00
John Benediktsson a688aff7af
io.styles: only allow character styles to inherit. 2020-04-11 20:34:16 -05:00
John Benediktsson 24cc6d88e7
io.styles: simplify style-stream by depending on style words. 2020-04-11 20:34:11 -05:00
John Benediktsson 33e6e7a02d
core/basis/extra: use flags{ } in places. 2020-04-11 20:33:52 -05:00
John Benediktsson 6c197330b8
io.directories.windows: don't need to wrap. 2020-04-11 20:33:51 -05:00
John Benediktsson 8a21ff40d3
io.files.windows: make win32-file-attributes a little faster. 2020-04-11 20:33:49 -05:00
John Benediktsson 4631eb5a7e
classes: use check-instance in a few places, to remove duplication. 2020-04-11 20:33:21 -05:00
John Benediktsson 6e7cd0f131
io: fix for win32-error not throwing on zero. 2020-04-11 20:33:12 -05:00
Alexander Iljin e2a6f037fe
Replace "win32-error-string throw" with windows-error instance throwing
Remove win32-error-string, because there was only one place it was used in.
2020-04-11 20:33:08 -05:00
Alexander Iljin e333278e47
Replace "n>win32-error-string throw" with windows-error instance throwing 2020-04-11 20:33:07 -05:00
Alexander Iljin 699f8a837d
Delete throw-win32-error, replace with win32-error calls 2020-04-11 20:33:06 -05:00
Alexander Iljin 77dfb95763
io.files.windows: replace "-1 <alien>" with INVALID_HANDLE_VALUE 2020-04-11 20:33:05 -05:00
Alexander Iljin d8e246389d
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-04-11 20:33:04 -05:00
Doug Coleman 10104b0d55
io.files.info: Fix linux file-system-info recursion 2020-04-11 20:32:59 -05:00
Doug Coleman 177e6e07e6
io.files.info: Fix find-mount-point. 2020-04-11 20:32:56 -05:00
Doug Coleman 9b39d75083
io.files.info: fix circularity regression in file-systems on linux 2020-04-11 20:32:54 -05:00
Doug Coleman 5e9016cde9
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-04-11 20:32:52 -05:00
Doug Coleman d48c4dfdde
Revert "Replace inline INVALID_HANDLE_VALUE checks with check-invalid-handle calls"
This reverts commit 1e61dbfd2a.
2020-04-11 20:32:49 -05:00
Doug Coleman 346ec16117
Revert "io.files.windows: replace "-1 <alien>" with INVALID_HANDLE_VALUE"
This reverts commit a6f0b74f03.
2020-04-11 20:32:48 -05:00
Doug Coleman 6d89b61e04
Revert "Delete throw-win32-error, replace with win32-error calls"
This reverts commit e1be081ec9.
2020-04-11 20:32:47 -05:00
Doug Coleman f54180aab1
Revert "Replace "n>win32-error-string throw" with windows-error instance throwing"
This reverts commit 70d08ce743.
2020-04-11 20:32:46 -05:00
Doug Coleman 93c97baaaa
Revert "Replace "win32-error-string throw" with windows-error instance throwing"
This reverts commit 2dfb3b3a73.
2020-04-11 20:32:45 -05:00
Doug Coleman cafb2b8089
io: Trim using lists. 2020-04-11 20:32:43 -05:00
Doug Coleman 3df4ea013e
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-04-11 20:32:42 -05: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