Commit Graph

1320 Commits (64d3c0152366ef68988093e45bdd8fbcdb0ad288)

Author SHA1 Message Date
Björn Lindqvist 2f12413595 io.sockets.windows: WSASocket-flags not needed 2016-08-04 23:55:56 +02:00
John Benediktsson b864d49e8c io.sockets: adding docs and tests for port-protocol. 2016-08-01 10:22:16 -07:00
John Benediktsson ab66a73744 io.sockets: adding port-protocol to match protocol-port. 2016-07-30 11:12:40 -07:00
Björn Lindqvist ca2aef8e67 io.monitors.recursive: with-qualified-directory-files works here 2016-07-30 19:03:23 +02:00
Björn Lindqvist ba4bb45d4d io.directories.*: move of the qualified directory listing words to io.directories 2016-07-30 19:03:22 +02:00
Alexander Iljin ebfce1deea io.files.info-docs: fix links to file-info-tuple parameters 2016-07-30 09:25:30 -07: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 6b12e2e3bc use ?delete-file instead of [ delete-file ] ignore-errors. 2016-07-10 20:28:46 -07:00
John Benediktsson e146309a0c io.encodings.binary: move to core. 2016-06-30 12:30:58 -07:00
Alexander Iljin ef29e0947f io.directories.windows: remove synchronous copy-file implementation 2016-06-29 14:17:57 -07:00
Alexander Iljin b43c7b4fd7 io.files.info.windows: suppress ERROR_FILE_NOT_FOUND in volume>paths 2016-06-22 11:27:26 -07:00
Alexander Iljin b35294eade io.sockets.secure-docs: update and add some documentation 2016-06-22 11:27:26 -07:00
Alexander Iljin d243e00f54 io.files.windows: use open-file to implement maybe-create-file
This fixes error throwing in case of CreateFile failure, and calls
add-completion for the file handle on success.
2016-06-22 11:27:26 -07:00
Alexander Iljin f530692362 io.files.windows: replace open-existing with open-r/w
This fixes error throwing in case of CreateFile failure, and calls
add-completion for the file handle on success.
2016-06-22 11:27:26 -07:00
Alexander Iljin ae1c7b7a54 io.files.windows: use CreateFileW in open-file for consistency 2016-06-22 11:27:26 -07:00
Jon Harper e9454fc310 io.files.info docs, sync link-info and file-info docs 2016-06-22 11:22:43 -07:00
Björn Lindqvist 6a76bf9084 io.directories.unix: normalize-path doesn't need to be called
It is already called by the words copy-file delegates to.
2016-06-15 01:25:53 +02:00
Björn Lindqvist ea4333e490 io.directories: new utility word make-parent-directories, for making sure directories exists 2016-06-15 00:33:44 +02:00
Doug Coleman c7041fe96e io.sockets.secure.windows: Windows sockets are a bit confused. Make a word
to get the handle out of two different paths. Probably needs more
refactoring but this makes it work.
2016-06-02 11:07:19 -07:00
Doug Coleman 05083ba503 io.sockets.secure.windows: No need to call file>> because we have a
win32-socket on the stack already.
2016-06-02 10:56:50 -07:00
Doug Coleman b63aaff1c5 io.sockets.secure: (server) needs a method on secure for Windows too. Move the method to a vocab that both platforms load. 2016-06-02 10:25:11 -07:00
Björn Lindqvist a80aeea7f9 io.files.windows: make CreateFile-flags a normal word (fixes the recent test failures) 2016-05-31 17:04:34 +02:00
Alexander Iljin 8e2a65e5a2 io.files.info.windows: add a comment to open-read-handle 2016-05-30 12:35:26 -07:00
Alexander Iljin aa7a285390 io.files.info.windows: fix flags in open-read-handle
Add FILE_SHARE_WRITE and FILE_SHARE_DELETE flags and calls CreateFile-flags
hook. This fixes file-readable? so that it uses the same flags as open-read
(issue #1470).
2016-05-30 12:35:25 -07:00
Alexander Iljin ff26c3d39c io.files.windows: add FILE_FLAG_BACKUP_SEMANTICS to CreateFile-flags
This provides additional access rights if the process has SE_BACKUP_NAME
or SE_RESTORE_NAME privileges. Does nothing otherwise.
2016-05-30 12:35:25 -07:00
Alexander Iljin 043c6984b9 io.files.info.windows: fix file-readable?
This fixes issue #1470. Now the method tries to open the file handle for
reading and returns t on success. This approach makes Windows check the
current user's permissions.
2016-05-30 12:35:24 -07:00
Alexander Iljin 2264638a61 io.files.info.windows: add open-read-handle to reuse later 2016-05-30 12:35:23 -07:00
Alexander Iljin 2b68636207 io.files.info.windows: fix parameter name for get-file-information-stat 2016-05-30 12:35:23 -07:00
Doug Coleman 3494576ad8 io.files.windows: Add a unit test to make sure shared flags stay on. 2016-05-30 12:24:17 -07:00
Doug Coleman 3307876cc2 io.files.unique: clean up the files that are created if not all files can be created. 2016-05-26 14:05:58 -07:00
Doug Coleman a399439a5f io.files.unique: Make sure the files are the same except for the suffix. Add unit test. Fix paths typo. 2016-05-25 17:49:59 -07:00
Doug Coleman e19df707da io.servers: Fix a regression where we couldn't listen on several ports at once. 2016-05-23 15:28:51 -07:00
Doug Coleman 48d9b2b4eb io.files.unique: Add a way to create multiple unique files at the same time. If any of them fail, then the whole operation fails. 2016-05-23 13:17:29 -07:00
Alexander Iljin 1e0bf40b7f docs: minor fixes and amendments. 2016-05-22 07:53:21 -07:00
John Benediktsson 9439c5a684 io.encodings.iso2022: stop using sets:unique. 2016-04-18 21:10:17 -07:00
Doug Coleman 9427c78506 ui.debugger: quotation stack effect wants ( .. -- * ), throw causes infinite loop, but rethrow works. change previous patch to rethrow everywhere. 2016-04-06 17:35:13 -07:00
Doug Coleman 363e08b6a8 factor: fix whitespace at end of files. 2016-04-06 16:53:25 -07:00
John Benediktsson 5cfd5ff224 io.streams.byte-array.fast: don't need >c-ptr. 2016-04-06 12:39:50 -07:00
Doug Coleman 49be5b2c52 io.directories.search: Fix unit test using list. 2016-04-05 14:49:27 -07:00
John Benediktsson 2269b07d33 use with-temp-file and with-temp-directory in some tests. 2016-04-04 10:33:03 -07:00
John Benediktsson c09312d881 io.files.unix: more test cleanup. 2016-03-31 21:32:05 -07:00
John Benediktsson 68b0f7d0f0 io: fix some temp-file uses in tests. 2016-03-31 21:32:05 -07:00
John Benediktsson d2daa05790 io: fix some temp-files in the tests to use unique-files. 2016-03-31 00:23:13 -07:00
John Benediktsson 498285d7dd unicode: make this the API for all unicode things. 2016-03-30 23:29:48 -07:00
Doug Coleman 95dc2f89e5 io.mmap: Clean up mmap tests so they can run at the same time. 2016-03-30 16:29:06 -07:00
Doug Coleman 9b3e522869 io.monitors.linux: fix a set. 2016-03-29 18:27:47 -07:00
John Benediktsson 71ef8a22c2 disambiguate namespaces:set and sets:set. 2016-03-29 17:14:42 -07:00
John Benediktsson 3f18b71d07 cleanup some QUALIFIED: that are no longer needed. 2016-03-29 10:20:16 -07:00
John Benediktsson 7d0c596c92 Hopefully fix stack effects of error hooks to throw when required. 2016-03-28 22:27:35 -07:00
Doug Coleman d3bc2035a2 factor: remove rest of double paren words. 2016-03-25 03:13:27 -07:00