John Benediktsson
cdf0dbd038
io.standard-paths.unix: use $USER's configured shell.
...
Hope that '-l -c "echo $PATH"' works.
2017-03-21 16:05:23 -07:00
John Benediktsson
d60970c0a5
io.standard-paths.windows: fix find-in-program-files.
...
Remove stale bfs? flag.
2017-03-05 19:17:14 -08:00
John Benediktsson
2ede9f09be
io.standard-paths.windows: fix to use find-file-in-directories.
2017-03-05 15:58:59 -08:00
John Benediktsson
495d27a502
io.directories.search: fix linux tests.
...
Linux doesn't return alphabetic ordering like Windows and macOS, so
we just assert the paths are iterated in the correct order by depth.
2017-03-05 15:56:28 -08:00
John Benediktsson
368e1c8e47
io.directories.search: simplify interface.
...
Now we use a ``traversal-method`` variable that controls whether
we do a depth-first or breadth-first search rather than a stack
argument or a fixed default specified in each word.
This also fixes an issue where breadth-first traversal would
iterate across children in reverse order, now it does the normal
ordering which is typically alphabetical.
2017-03-05 09:16:00 -08:00
John Benediktsson
3a6eefcc8e
using ignore-errors instead of [ drop ] recover.
2017-02-09 15:50:33 -08:00
John Benediktsson
75ebd0eacd
io.servers: using ?adjoin and ?delete in add/remove-running-server.
...
Also fixed a small bug in add-running-server where the error was
mistakenly constructed with running-servers instead of threaded-server.
2017-02-07 13:31:57 -08:00
John Benediktsson
210209ead2
io.files.temp.macosx: use find instead of map-find.
2017-02-07 10:57:37 -08:00
John Benediktsson
f342fd04d9
simple-flat-file: rename flat-file>biassoc to load-codetable-file.
2017-02-03 11:47:28 -08:00
Björn Lindqvist
7874f5a547
io.servers: refactored words for adding & removing servers
2017-01-07 15:26:19 +01:00
Benjamin Pollack
7184771c31
io.directories: improve file moving words
...
move-file previously had inconsistent behavior on Windows and unixes.
This unifies the behavior to the common case (just get 'er done), while
also introducing an obviously named word, move-file-atomically, to
handle the case where you need an atomic file primitive.
Fixes #1772
2017-01-06 15:43:34 -08:00
John Benediktsson
48c69cb8ea
use reject instead of [ ... not ] filter.
2017-01-05 13:29:58 -08:00
Björn Lindqvist
a9ac763912
alien.libraries: word>dlsym was a stupid idea that didn't work
...
The def>> attribute is stripped when deploying. So return dlsym? and use
that.
2016-11-30 16:36:24 +01:00
Björn Lindqvist
2ba659dcb1
io.sockets.secure,alien.libraries: new word word>dlsym to replace the dlsym? word
2016-11-30 11:51:54 +01:00
John Benediktsson
7465bd0ed6
io.launcher: wait for new processes faster.
...
This starts at 5 milliseconds, then backs off 5 milliseconds at a time,
until 100 milliseconds. In case the processes are short-lived, they
will be detected sooner, and long-running processes will still be checked
at intervals of 100 millseconds like before.
2016-11-27 07:35:26 -08:00
Björn Lindqvist
0e7fd0340d
io.sockets.secure.openssl.tests: fix so you dont get an error when test times out
2016-11-19 23:40:12 +01:00
Björn Lindqvist
c6361436bf
io.sockets.secure.openssl: set connected to t after do-ssl-accept
...
This should prevent the SSL_shutdown:shutdown while in init error we've
been seeing
2016-11-19 19:05:53 +01:00
Björn Lindqvist
1b7b7e8260
io.sockets.secure.openssl: second |dispose seem to be redundant
2016-11-19 18:04:17 +01:00
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