John Benediktsson
297931ba1a
webapps.mason: remove ugly border.
2011-10-19 09:42:11 -07:00
Doug Coleman
e09dffe379
Create attributes>> accessor in io.files.windows
2011-10-19 03:14:19 -07:00
Doug Coleman
8136829135
Add throw-win32-error, use it in (delete-file)
2011-10-19 02:51:36 -07:00
Doug Coleman
79668aec2a
Remove really-delete-tree in favor of setting the file attributes to normal
...
on Windows deletes.
2011-10-19 02:28:52 -07:00
Doug Coleman
b0b023dfbd
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
f258f40143
Lower tcp-echo0 test so we don't crash
2011-10-19 01:17:08 -07:00
Doug Coleman
9c5070f87e
Check if streams are seekable in Windows
2011-10-19 01:16:53 -07:00
Doug Coleman
412c7263f1
Forgot using in io.tests
2011-10-19 01:16:41 -07:00
Doug Coleman
c7eae8402d
Fix help-lint for editors, peg.ebnf
2011-10-19 00:57:20 -07:00
Doug Coleman
7fb6dfd376
Fix tools.annotations tests
2011-10-19 00:57:06 -07:00
Doug Coleman
2a6c59a305
Add with-error>output word and test
2011-10-19 00:56:11 -07:00
Joe Groff
eb2a7737d8
io.streams.limited: missed INSTANCE: input-stream
2011-10-18 21:27:08 -07:00
John Benediktsson
0ee6d08f79
delegate: not sure why protocols can be defined with arrays, but...
2011-10-18 20:40:14 -07:00
John Benediktsson
7835ebc2fc
help.syntax: if you're gonna have HELP: stack effects, they might as well be correct...
2011-10-18 20:12:42 -07:00
John Benediktsson
8fddc17165
system: fix stack effect for exit in docs.
2011-10-18 20:03:19 -07:00
John Benediktsson
e11063d05c
mongodb.driver: remove stack effect.
2011-10-18 20:03:05 -07:00
John Benediktsson
e86c1af704
tokyo.remotedb: remove stack effects.
2011-10-18 20:01:37 -07:00
John Benediktsson
c9b8d19f05
parser-combinators: fix constructor stack effects.
2011-10-18 19:23:22 -07:00
John Benediktsson
322d768941
irc: fix IRC: stack effects.
2011-10-18 19:20:24 -07:00
John Benediktsson
2ef4b45cc1
cpu.8080: fix stack effects.
2011-10-18 19:15:09 -07:00
John Benediktsson
425b7796d0
help.syntax: allow HELP: to have optional stack effect.
2011-10-18 19:14:53 -07:00
John Benediktsson
66d19d7e1a
listener: don't crash if we forget the current vocab. Fixes #259 .
2011-10-18 16:46:55 -07:00
John Benediktsson
2d94935d1f
delegate: verify generics on protocol definition. Fixes #260 .
2011-10-18 16:31:15 -07:00
Joe Groff
b230b306f5
io: input-stream and output-stream mixins
2011-10-18 16:25:09 -07:00
John Benediktsson
7753361cb7
editors: unify "edit" across vocabs and words, add edit words for docs, tests, platforms, authors, tags, and summary files. Fixes #177 .
2011-10-18 16:11:24 -07:00
Joe Groff
d641f6af8f
new vocab tools.annotations.assertions
...
Annotates unsafe words with assertions that their inputs and outputs are valid. Provide annotations for stream-read(-partial)-unsafe and (set-)nth-unsafe to start with.
2011-10-18 15:13:34 -07:00
Joe Groff
b4a1dc6637
tools.annotations: send watch to error-stream
2011-10-18 15:13:34 -07:00
Joe Groff
ad10e87985
ui.tools.listener: set error stream
2011-10-18 15:13:33 -07:00
Joe Groff
8ae554ef6e
io: error stream combinators
...
* with-error-stream(*)
* with-output+error-stream(*) -- sets output and error stream to same stream
* with-output>error -- sets output stream to error stream for scope
* with-input-output+error-streams(*) -- like with-streams, but sets output and error to same stream
2011-10-18 15:13:33 -07:00
John Benediktsson
2dbb51656d
Remove unused stack effects from DEFER: declarations.
2011-10-18 14:42:17 -07:00
John Benediktsson
e9bb14397c
Fix stack effect to not print "(( -- ))", remove stray effect from smtp.
2011-10-18 13:25:47 -07:00
John Benediktsson
f2741b34a4
Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed.
2011-10-18 13:19:39 -07:00
Joe Groff
d95420c7cb
io.files.windows: fix can-seek? and length
2011-10-18 12:42:53 -07:00
John Benediktsson
bca5841ffe
webapps.mason: link crashed and broken to latest build reports. Fixes #274 .
2011-10-18 11:57:03 -07:00
John Benediktsson
6a096a1e71
ui.gadgets.editors: implement Ctrl-A/E/K to be more compatible.
2011-10-18 11:38:08 -07:00
John Benediktsson
599f08f05d
math.functions: when gcd is inlined, "gcd nip" is almost as good as "gcd*".
2011-10-18 10:30:39 -07:00
Doug Coleman
a1b5e2a5b1
Report which file doesn't get deleted on Windows.
2011-10-18 00:59:57 -07:00
Doug Coleman
1771f18998
Try without-limits in mason.report. Fixes #275 .
2011-10-18 00:52:46 -07:00
Doug Coleman
06b4f3a60b
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
89e98cd99b
io.encodings.utf16: auto-use strikes again
2011-10-17 21:46:08 -07:00
John Benediktsson
844eacce00
Revert "Optimize byte-reverse macro in alien.endian -- it was shifting each byte to the 0th bit place, bitand-ing it with HEX: ff, then shifting it to its final destination -- now we immediately shift to the proper location and bitand with the proper bitmask."
...
This reverts commit c701a39e89 .
2011-10-17 21:39:57 -07:00
Joe Groff
71370f9e33
io.sockets: rename (receive) to (receive-unsafe)
2011-10-17 21:23:37 -07:00
Joe Groff
aedc291345
io.ports: lift common methods onto buffered-port
2011-10-17 21:23:37 -07:00
Joe Groff
44b49d54a0
ui.tools.listener: remove redundant method
2011-10-17 21:23:37 -07:00
Joe Groff
35a5bdabc3
formatting
2011-10-17 21:23:36 -07:00
Joe Groff
97d2898d5c
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
1214c004da
io.sockets: remove unix.ffi inserted by auto-use
2011-10-17 21:23:36 -07:00
Joe Groff
ffaaf2912f
io.sockets: receive directly into byte array
2011-10-17 21:23:11 -07:00
Joe Groff
77b6a1328d
io.sockets: receive-unsafe and receive-into
...
Analogous to read-unsafe/read-into for streams (and thereby TCP sockets), provide receive-unsafe and receive-into words for datagram sockets that receive into a caller-supplied buffer.
2011-10-17 21:23:11 -07:00
Joe Groff
49cf017399
io.encodings.utf16: guess-*coded-length hints
2011-10-17 21:23:11 -07:00