Joe Groff
|
7754ab2c06
|
io.directories.unix: make copy-file copy perms
Like the docs claim it does
|
2011-11-27 12:37:54 -08:00 |
Joe Groff
|
72de75b881
|
let's pretend BIN: HEX: OCT: never happened
|
2011-11-23 19:22:37 -08:00 |
Joe Groff
|
943596575a
|
use radix literals
|
2011-11-23 19:03:40 -08:00 |
Doug Coleman
|
067f9830ef
|
classes.union: Define a maybe: word that makes a tuple that acts as an anonymous union for a type and f. Updated all the places we define UNION: ?foo foo POSTPONE: f ;. Fixes #416 and lots of headaches.
|
2011-11-22 01:56:13 -08:00 |
Joe Groff
|
9b73ecdf70
|
io.monitors: kill outdated doc about kqueue on BSD
|
2011-11-17 16:56:34 -08:00 |
Doug Coleman
|
62f652a5a1
|
io.directories: fix delete-file on windows, add unit test
|
2011-11-12 18:28:07 -08:00 |
Joe Groff
|
1c99568492
|
io.sockets.windows: plug receive-from memory leak
Should fix #387.
|
2011-11-11 17:56:04 -08:00 |
Slava Pestov
|
98d98ab04a
|
io.ports: clean up
|
2011-11-10 00:40:31 -05:00 |
Joe Groff
|
d685cb6502
|
io.ports: make read-step inline
|
2011-11-09 19:59:46 -08:00 |
Joe Groff
|
a67931b7c5
|
io.ports: fix bootstrap
Apparently can't use TYPED: or have HINTS: in the wrong place.
|
2011-11-09 16:32:47 -08:00 |
Joe Groff
|
9443f30b7d
|
io.backend.unix: hints on M\ fd refill
Trims some low-order dispatch overhead for #376.
|
2011-11-09 16:32:47 -08:00 |
Joe Groff
|
5a3537b90a
|
io.files: add file-reader, file-writer mixins
This lets us do some trickery so that the stream-element-type propagates from <file-reader>/<file-writer>. For #376.
|
2011-11-09 14:43:39 -08:00 |
Joe Groff
|
bab801b321
|
io.ports: make read-step TYPED:
Eliminates more dispatch. For #376.
|
2011-11-09 14:13:41 -08:00 |
Joe Groff
|
63c48aa952
|
io.buffers, io.ports: trim some dispatch
For #376. Still some work to do.
|
2011-11-09 13:31:02 -08:00 |
Joe Groff
|
feb8c6149a
|
io.backend: start signal thread after io-backend
The c-io-backend can't handle input-ports and raises an error during bootstrap.
|
2011-11-08 11:54:54 -08:00 |
Joe Groff
|
fc7c175c9f
|
new module unix.signals: app-level signal handlers
example:
IN: scratchpad USING: unix.ffi unix.signals ;
Loading resource:basis/unix/signals/signals.factor
IN: scratchpad [ V{ "Me not that kind of orc!" "Me busy, leave me alone!" "Work work" "Zug zug" } pop print flush ] SIGINFO add-signal-handler
IN: scratchpad load: 0.60 cmd: factor 41541 running 0.28u 0.16s
Zug zug
load: 0.71 cmd: factor 41541 running 0.28u 0.16s
Work work
load: 0.71 cmd: factor 41541 running 0.28u 0.16s
Me busy, leave me alone!
load: 0.73 cmd: factor 41541 running 0.28u 0.16s
Me not that kind of orc!
|
2011-11-08 10:21:49 -08:00 |
Joe Groff
|
8337b08d0d
|
io.backend.unix: startup hook for signal-pipe
|
2011-11-08 08:42:48 -08:00 |
Joe Groff
|
ed24890dce
|
io.backend.unix: init-signal-pipe function
Currently just reads off signal numbers and drops them.
|
2011-11-08 08:42:48 -08:00 |
Joe Groff
|
55a316248e
|
io.launcher.windows: update tests for prompt
|
2011-11-08 00:09:25 -08:00 |
Doug Coleman
|
69ffe6377a
|
io.backend.unix.macosx: Remove duplicate USE:
|
2011-11-02 17:47:15 -07:00 |
Joe Groff
|
8cf18d1a82
|
remove BSD,solaris,etc. misc platform support code
|
2011-11-02 17:13:51 -07: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
|
c44a998ef4
|
Fix typo in tests
|
2011-11-02 09:15:32 -07:00 |
Doug Coleman
|
a647df58f6
|
Make editors use the new path-finding vocabulary and protocol.
Implement io.standard-paths on Windows.
|
2011-10-31 13:16:37 -07:00 |
Joe Groff
|
bf0c7eaa22
|
io.encodings.string: make binary decode/encode nop
Fixes #319.
|
2011-10-31 11:07:44 -07:00 |
Doug Coleman
|
ada631c202
|
Add core-foundation.launch-services for finding the path of a bundle. Add a new standard-paths vocabulary for finding files.
|
2011-10-30 16:11:18 -07:00 |
Doug Coleman
|
ff27f2c3f7
|
Change order or articles in io.launcher.
|
2011-10-29 15:13:45 -07:00 |
Doug Coleman
|
eb7fd4a69b
|
Add options to set the child process group id or session for Unix. This fixes part of #307.
|
2011-10-29 02:47:10 -07:00 |
Slava Pestov
|
5b69026f59
|
io.launcher: change kill-process to also close the pipe, if there is one, so that try-output-process can timeout even if the process spawns a subprocess which inherits the pipe. This fixes part of #307
|
2011-10-28 21:53:25 -07:00 |
Doug Coleman
|
4ebe5218c7
|
Update Windows for word renames, fix lint errors
|
2011-10-24 21:50:02 -07:00 |
Doug Coleman
|
51c033a1f6
|
Fix all failures in the linux64 build email
|
2011-10-24 19:33:09 -07:00 |
Doug Coleman
|
f9257959fd
|
Rename class to class-of
|
2011-10-24 06:47:42 -05:00 |
John Benediktsson
|
5a943b32c4
|
Remove stack effects from HELP: declarations.
|
2011-10-20 19:36:11 -07:00 |
John Benediktsson
|
fb2aab3545
|
Remove unused words. Fixes #132.
|
2011-10-19 11:01:16 -07:00 |
Doug Coleman
|
3507a0cc4b
|
Don't use exception handling for handle>file-size
|
2011-10-19 10:15:09 -07:00 |
Doug Coleman
|
55bb863704
|
Create attributes>> accessor in io.files.windows
|
2011-10-19 03:14:19 -07:00 |
Doug Coleman
|
b58688f87d
|
Add throw-win32-error, use it in (delete-file)
|
2011-10-19 02:51:36 -07:00 |
Doug Coleman
|
5608178389
|
When deleting a file, if it fails with "Access is denied" then set the file
attributes to normal and try again. Some files in the .git directory are set
to read-only, preventing the build machines from deleting old builds.
|
2011-10-19 02:28:45 -07:00 |
Doug Coleman
|
55790cc6e4
|
Check if streams are seekable in Windows
|
2011-10-19 01:16:53 -07:00 |
Joe Groff
|
e40453ebee
|
io.streams.limited: missed INSTANCE: input-stream
|
2011-10-18 21:27:08 -07:00 |
Joe Groff
|
13b17fb84a
|
io: input-stream and output-stream mixins
|
2011-10-18 16:25:09 -07:00 |
Joe Groff
|
9b2634fbd7
|
io.files.windows: fix can-seek? and length
|
2011-10-18 12:42:53 -07:00 |
Doug Coleman
|
5c694767cd
|
Report which file doesn't get deleted on Windows.
|
2011-10-18 00:59:57 -07:00 |
Doug Coleman
|
24a6895436
|
io.sockets.windows - Add a using, output count to fix compile error. Not bad for having no Windows box.
|
2011-10-17 23:28:22 -07:00 |
Joe Groff
|
90e1002349
|
io.sockets: rename (receive) to (receive-unsafe)
|
2011-10-17 21:23:37 -07:00 |
Joe Groff
|
9a812cc5c9
|
io.ports: lift common methods onto buffered-port
|
2011-10-17 21:23:37 -07:00 |
Joe Groff
|
67cccc63b3
|
formatting
|
2011-10-17 21:23:36 -07:00 |
Joe Groff
|
68621c4d79
|
io.sockets.windows: recv to byte-array via malloc
WSARecvFrom on Windows does its work asynchronously, so the buffer cannot be in the managed heap during the extent of the operation.
|
2011-10-17 21:23:36 -07:00 |
Joe Groff
|
8fc0be3c2f
|
io.sockets: remove unix.ffi inserted by auto-use
|
2011-10-17 21:23:36 -07:00 |
Joe Groff
|
5d0ff43613
|
io.sockets: receive directly into byte array
|
2011-10-17 21:23:11 -07:00 |