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
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
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
d32d06577d
io.files.trash.unix: use xdg vocab.
2018-02-26 17:16:43 -08:00
John Benediktsson
2a3427bdff
io.files.info: use directory?, symbolic-link?, and regular-file?.
2015-08-05 18:33:35 -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
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
b7ed0a431c
basis/extra: cleanup some platform requires.
2014-11-15 14:25:12 -08:00
John Benediktsson
4e72d80256
Using "same?" in more places.
2012-07-21 10:22:44 -07:00
Doug Coleman
eccf5a82ae
io.files.info.windows: Fix file-systems word in two ways. First, don't
...
allocate 32k on the local alloc stack (which causes a 'double fault.')
Second, if the volume doesnt look up to a real path, don't make a dummy
object for that. volume
Use alien>native-string and native-string>alien wherever possible instead of
utf16n for Windows.
2012-06-21 08:32:53 -07:00
Joe Groff
943596575a
use radix literals
2011-11-23 19:03:40 -08:00
Doug Coleman
94db86a6db
Make "foo.private" require load foo instead.
...
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201 .
2011-11-02 11:50:03 -07:00
Doug Coleman
bf2a96e9e0
Remove Windows CE from core/ basis/ and build-support/
...
Rename the winnt singleton to windows in core/ basis/ extra/
Rename boot images winnt -> windows
Fixes #84 .
2011-09-18 23:19:06 -05:00
Slava Pestov
01eeabbcbd
Merge classes.struct.packed into classes.struct and remove duplication
2011-08-25 21:02:25 -07:00
John Benediktsson
94812c1f49
Moving io.trash to io.files.trash.
2011-08-19 14:31:19 -07:00