Commit Graph

1340 Commits (317a832a8699716f1edeccb6d0e2066a17b621ab)

Author SHA1 Message Date
Björn Lindqvist a1c503c6e4 io.files.info.unix.linux: handles the possible permission denied error in M: linux file-systems 2016-11-19 02:07:49 +01:00
Björn Lindqvist 00d4572e6c basis,extra: refactorings to use the ignore-error and ignore-error/f words 2016-11-18 23:41:36 +01:00
John Benediktsson 3641defa66 io.files.temp.unix: make default-cache-directory absolute-path. 2016-11-10 09:08:29 -08:00
John Benediktsson edfcc879fe io.files.temp.unix: fix cache to be ~/.cache/factor. 2016-11-09 16:28:49 -08:00
John Benediktsson 1abe794205 io.buffers: refactor buffer-read-until to use buffer-find. 2016-11-09 10:43:47 -08:00
John Benediktsson 4bebe98fa1 io.buffers: adding another test of buffer-read-until. 2016-11-09 10:11:51 -08:00
John Benediktsson 816d1e31d5 io.pipes: allow "|" separated strings in run-pipeline. 2016-11-09 09:56:34 -08:00
John Benediktsson 3cc16ccd9e io.files.temp.unix: allowing TMPDIR to override /tmp. 2016-11-08 21:37:51 -08:00
John Benediktsson deac792fc7 io.files.temp.unix: changing cache directory to use XDG spec.
Typically this means ~/.cache/factor.
2016-11-08 21:24:34 -08:00
John Benediktsson fd13a94150 io.launcher: fix timeouts for process streams. 2016-11-08 20:57:47 -08:00
Björn Lindqvist 93661e9ea6 io.launcher.unix: better to use current-directory variable 2016-10-31 07:27:14 +01:00
Alexander Iljin 560caf8e4d io.directories.search-docs: fix indentation 2016-10-30 14:18:53 -07:00
Alexander Iljin 924880cb50 Add cp437 8-bit encoding, AKA IBM437 2016-10-27 08:44:15 -07:00
John Benediktsson 2628dbc5c9 io.directories.search.windows: merging with io.standard-paths.windows. 2016-10-06 14:57:40 -07:00
John Benediktsson 303367c57a io.launcher.windows: need to USE: io.launcher.private. 2016-10-06 13:50:04 -07:00
Alexander Iljin 65a2281188 io.launcher-docs: add notes on the hidden slot usage 2016-09-20 22:51:31 +03:00
Alexander Iljin c822395597 io.launcher: hide processes created by (process-stream) 2016-09-20 06:59:43 -07:00
Alexander Iljin 85710ced87 io.launcher: add the hidden slot to the process tuple
Implemented on Windows only.
2016-09-20 06:59:43 -07:00
Björn Lindqvist b0495b5fe3 io.backend.unix.tests: missed this none reference 2016-09-16 19:38:02 +02:00
Björn Lindqvist 20711a0fd3 Adding escaping to CHAR: " -> CHAR: \"
It is not necessary to escape the " character, but it doesn't hurt and
is necessary for syntax-highlighting (FUEL) to work correctly.
2016-09-04 06:40:43 +02:00
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