]>
gitweb.factorcode.org Git - factor.git/log
John Benediktsson [Thu, 27 Oct 2011 16:47:36 +0000 (09:47 -0700)]
synth: adding some tests.
John Benediktsson [Wed, 26 Oct 2011 22:14:39 +0000 (15:14 -0700)]
synth: fix code that depended on iterable numbers.
Doug Coleman [Wed, 26 Oct 2011 20:01:04 +0000 (13:01 -0700)]
Add a lint check for swap .. swap that can be replaced by dip. Clean up the cases it finds.
Doug Coleman [Wed, 26 Oct 2011 18:47:41 +0000 (11:47 -0700)]
Use dip instead of swap swap for making file streams
John Benediktsson [Wed, 26 Oct 2011 17:07:21 +0000 (10:07 -0700)]
Merge remote-tracking branch 'upstream/master'
John Benediktsson [Wed, 26 Oct 2011 17:07:04 +0000 (10:07 -0700)]
brainfuck: minor cleanup.
Doug Coleman [Tue, 25 Oct 2011 21:53:56 +0000 (14:53 -0700)]
Fix error reporting for load, reported by Recursed
Doug Coleman [Tue, 25 Oct 2011 04:47:00 +0000 (21:47 -0700)]
Update Windows for word renames, fix lint errors
Doug Coleman [Tue, 25 Oct 2011 02:33:09 +0000 (19:33 -0700)]
Fix all failures in the linux64 build email
Doug Coleman [Tue, 25 Oct 2011 00:00:09 +0000 (17:00 -0700)]
Missed yet more renames
Doug Coleman [Mon, 24 Oct 2011 23:59:46 +0000 (16:59 -0700)]
Forget some classes after unit tests so that running "classes" test succeeds multiple times in a row
Doug Coleman [Mon, 24 Oct 2011 23:22:20 +0000 (16:22 -0700)]
Fix 32bit platform bootstrap
John Benediktsson [Mon, 24 Oct 2011 23:18:29 +0000 (16:18 -0700)]
vocabs.loader: actually use the root cache.
Doug Coleman [Mon, 24 Oct 2011 22:57:37 +0000 (15:57 -0700)]
Found a few more places to use lookup-c-type
John Benediktsson [Mon, 24 Oct 2011 22:45:54 +0000 (15:45 -0700)]
windows.directx: add platforms.txt.
Doug Coleman [Mon, 24 Oct 2011 21:31:10 +0000 (14:31 -0700)]
Rename c-type to lookup-c-type. Fixes #230.
Doug Coleman [Mon, 24 Oct 2011 11:47:42 +0000 (06:47 -0500)]
Rename class to class-of
Doug Coleman [Mon, 24 Oct 2011 10:37:47 +0000 (05:37 -0500)]
Rename vocab to lookup-vocab
Doug Coleman [Mon, 24 Oct 2011 05:57:14 +0000 (00:57 -0500)]
Remove docs for removed word
Doug Coleman [Mon, 24 Oct 2011 00:05:22 +0000 (19:05 -0500)]
Factor out ``no-roots no-prefixes'' into its own word. Add load-root, load-from-root, vocabs-in-root and implement load in terms of load-from-root.
Add error checking for append-vocab-dir and (child-vocabs) in case someone tries to pass them the wrong parameters.
Rename: vocab-dir+ to append-vocab-dir
Document load-from-root and load-root
Doug Coleman [Fri, 21 Oct 2011 20:34:44 +0000 (15:34 -0500)]
Checked in some code on accident.
Doug Coleman [Fri, 21 Oct 2011 20:34:08 +0000 (15:34 -0500)]
Revert "Try without-limits in mason.report. Fixes #275."
This reverts commit
1771f18998b20e0f8769b094f46329267799c7e7 .
John Benediktsson [Fri, 21 Oct 2011 02:36:11 +0000 (19:36 -0700)]
Remove stack effects from HELP: declarations.
Doug Coleman [Thu, 20 Oct 2011 01:16:58 +0000 (18:16 -0700)]
Install gtk2-engines-pixbuf to get rid of warnings when you run deps-linux. Fixes #286.
John Benediktsson [Wed, 19 Oct 2011 22:30:55 +0000 (15:30 -0700)]
core-foundation.timers: allow interval to be specified in the constructor.
John Benediktsson [Wed, 19 Oct 2011 20:39:26 +0000 (13:39 -0700)]
smtp: removing unused test.
Doug Coleman [Wed, 19 Oct 2011 19:09:43 +0000 (12:09 -0700)]
Move --no-as-needed to Config.linux since it breaks compilation on mac
Philipp Brüschweiler [Sun, 16 Oct 2011 10:33:34 +0000 (12:33 +0200)]
GNUmakefile: add linker option --no-as-needed, fixes #266
Philipp Brüschweiler [Sun, 16 Oct 2011 10:34:30 +0000 (12:34 +0200)]
Config.unix: don't hardcode ui libs, use pkg-config instead
John Benediktsson [Wed, 19 Oct 2011 18:35:25 +0000 (11:35 -0700)]
hash-sets: separate <hash-set> and >hash-set to match other containers. Fixes #154.
John Benediktsson [Wed, 19 Oct 2011 18:00:07 +0000 (11:00 -0700)]
More cleanup of unused stuff.
John Benediktsson [Wed, 19 Oct 2011 17:40:12 +0000 (10:40 -0700)]
Cleanup some uses of global [ ] bind.
John Benediktsson [Wed, 19 Oct 2011 17:34:50 +0000 (10:34 -0700)]
calendar: removing unused (month-name) word.
John Benediktsson [Wed, 19 Oct 2011 17:28:45 +0000 (10:28 -0700)]
Remove unused words. Fixes #132.
Doug Coleman [Wed, 19 Oct 2011 17:31:40 +0000 (10:31 -0700)]
Fix command line options for factor.sh
Doug Coleman [Wed, 19 Oct 2011 17:15:09 +0000 (10:15 -0700)]
Don't use exception handling for handle>file-size
John Benediktsson [Wed, 19 Oct 2011 16:41:49 +0000 (09:41 -0700)]
ui.gadgets.editors: windows doesn't work like macosx.
John Benediktsson [Wed, 19 Oct 2011 16:40:51 +0000 (09:40 -0700)]
benchmark.splay: fix IN:.
John Benediktsson [Wed, 19 Oct 2011 16:40:15 +0000 (09:40 -0700)]
webapps.mason: remove ugly border.
Doug Coleman [Wed, 19 Oct 2011 10:14:19 +0000 (03:14 -0700)]
Create attributes>> accessor in io.files.windows
Doug Coleman [Wed, 19 Oct 2011 09:51:36 +0000 (02:51 -0700)]
Add throw-win32-error, use it in (delete-file)
Doug Coleman [Wed, 19 Oct 2011 09:32:30 +0000 (02:32 -0700)]
Remove really-delete-tree in favor of setting the file attributes to normal
on Windows deletes.
Doug Coleman [Wed, 19 Oct 2011 09:31:48 +0000 (02:31 -0700)]
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.
Doug Coleman [Wed, 19 Oct 2011 08:17:08 +0000 (01:17 -0700)]
Lower tcp-echo0 test so we don't crash
Doug Coleman [Wed, 19 Oct 2011 08:16:53 +0000 (01:16 -0700)]
Check if streams are seekable in Windows
Doug Coleman [Wed, 19 Oct 2011 08:16:41 +0000 (01:16 -0700)]
Forgot using in io.tests
Doug Coleman [Wed, 19 Oct 2011 07:57:20 +0000 (00:57 -0700)]
Fix help-lint for editors, peg.ebnf
Doug Coleman [Wed, 19 Oct 2011 07:57:06 +0000 (00:57 -0700)]
Fix tools.annotations tests
Doug Coleman [Wed, 19 Oct 2011 07:56:11 +0000 (00:56 -0700)]
Add with-error>output word and test
Joe Groff [Wed, 19 Oct 2011 04:26:32 +0000 (21:26 -0700)]
io.streams.limited: missed INSTANCE: input-stream
John Benediktsson [Wed, 19 Oct 2011 03:40:14 +0000 (20:40 -0700)]
delegate: not sure why protocols can be defined with arrays, but...
John Benediktsson [Wed, 19 Oct 2011 03:12:42 +0000 (20:12 -0700)]
help.syntax: if you're gonna have HELP: stack effects, they might as well be correct...
John Benediktsson [Wed, 19 Oct 2011 03:03:19 +0000 (20:03 -0700)]
system: fix stack effect for exit in docs.
John Benediktsson [Wed, 19 Oct 2011 03:03:05 +0000 (20:03 -0700)]
mongodb.driver: remove stack effect.
John Benediktsson [Wed, 19 Oct 2011 03:01:37 +0000 (20:01 -0700)]
tokyo.remotedb: remove stack effects.
John Benediktsson [Wed, 19 Oct 2011 02:23:22 +0000 (19:23 -0700)]
parser-combinators: fix constructor stack effects.
John Benediktsson [Wed, 19 Oct 2011 02:20:24 +0000 (19:20 -0700)]
irc: fix IRC: stack effects.
John Benediktsson [Wed, 19 Oct 2011 02:15:09 +0000 (19:15 -0700)]
cpu.8080: fix stack effects.
John Benediktsson [Wed, 19 Oct 2011 02:14:53 +0000 (19:14 -0700)]
help.syntax: allow HELP: to have optional stack effect.
John Benediktsson [Tue, 18 Oct 2011 23:46:55 +0000 (16:46 -0700)]
listener: don't crash if we forget the current vocab. Fixes #259.
John Benediktsson [Tue, 18 Oct 2011 23:29:38 +0000 (16:29 -0700)]
delegate: verify generics on protocol definition. Fixes #260.
Joe Groff [Tue, 18 Oct 2011 23:24:50 +0000 (16:24 -0700)]
io: input-stream and output-stream mixins
John Benediktsson [Tue, 18 Oct 2011 23:11:24 +0000 (16:11 -0700)]
editors: unify "edit" across vocabs and words, add edit words for docs, tests, platforms, authors, tags, and summary files. Fixes #177.
Joe Groff [Tue, 18 Oct 2011 22:13:02 +0000 (15:13 -0700)]
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.
Joe Groff [Tue, 18 Oct 2011 21:30:05 +0000 (14:30 -0700)]
tools.annotations: send watch to error-stream
Joe Groff [Tue, 18 Oct 2011 21:29:06 +0000 (14:29 -0700)]
ui.tools.listener: set error stream
Joe Groff [Tue, 18 Oct 2011 21:28:41 +0000 (14:28 -0700)]
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
John Benediktsson [Tue, 18 Oct 2011 21:42:17 +0000 (14:42 -0700)]
Remove unused stack effects from DEFER: declarations.
John Benediktsson [Tue, 18 Oct 2011 20:25:47 +0000 (13:25 -0700)]
Fix stack effect to not print "(( -- ))", remove stray effect from smtp.
John Benediktsson [Tue, 18 Oct 2011 20:18:42 +0000 (13:18 -0700)]
Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed.
Joe Groff [Tue, 18 Oct 2011 19:42:53 +0000 (12:42 -0700)]
io.files.windows: fix can-seek? and length
John Benediktsson [Tue, 18 Oct 2011 18:57:03 +0000 (11:57 -0700)]
webapps.mason: link crashed and broken to latest build reports. Fixes #274.
John Benediktsson [Tue, 18 Oct 2011 18:38:08 +0000 (11:38 -0700)]
ui.gadgets.editors: implement Ctrl-A/E/K to be more compatible.
John Benediktsson [Tue, 18 Oct 2011 17:30:39 +0000 (10:30 -0700)]
math.functions: when gcd is inlined, "gcd nip" is almost as good as "gcd*".
Doug Coleman [Tue, 18 Oct 2011 07:59:57 +0000 (00:59 -0700)]
Report which file doesn't get deleted on Windows.
Doug Coleman [Tue, 18 Oct 2011 07:52:46 +0000 (00:52 -0700)]
Try without-limits in mason.report. Fixes #275.
Doug Coleman [Tue, 18 Oct 2011 06:28:22 +0000 (23:28 -0700)]
io.sockets.windows - Add a using, output count to fix compile error. Not bad for having no Windows box.
Joe Groff [Tue, 18 Oct 2011 04:45:43 +0000 (21:45 -0700)]
io.encodings.utf16: auto-use strikes again
John Benediktsson [Tue, 18 Oct 2011 04:38:49 +0000 (21:38 -0700)]
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
c701a39e89bb159ba59120639d17f6e737f05fca .
Joe Groff [Tue, 18 Oct 2011 04:18:16 +0000 (21:18 -0700)]
io.sockets: rename (receive) to (receive-unsafe)
Joe Groff [Tue, 18 Oct 2011 04:15:22 +0000 (21:15 -0700)]
io.ports: lift common methods onto buffered-port
Joe Groff [Tue, 18 Oct 2011 04:14:29 +0000 (21:14 -0700)]
ui.tools.listener: remove redundant method
Joe Groff [Tue, 18 Oct 2011 04:12:48 +0000 (21:12 -0700)]
formatting
Joe Groff [Mon, 17 Oct 2011 17:41:03 +0000 (10:41 -0700)]
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.
Joe Groff [Mon, 17 Oct 2011 06:39:49 +0000 (23:39 -0700)]
io.sockets: remove unix.ffi inserted by auto-use
Joe Groff [Mon, 17 Oct 2011 05:57:32 +0000 (22:57 -0700)]
io.sockets: receive directly into byte array
Joe Groff [Mon, 17 Oct 2011 02:37:21 +0000 (19:37 -0700)]
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.
Joe Groff [Sun, 16 Oct 2011 20:19:16 +0000 (13:19 -0700)]
io.encodings.utf16: guess-*coded-length hints
Joe Groff [Sat, 15 Oct 2011 21:50:53 +0000 (14:50 -0700)]
io.encodings.utf16: fast path & slow path speedups
Implement M: utf16[bl]e encode-string to use a fast implementation if a string is ASCII only, and do some inlining so the slow path optimizes a bit better.
Joe Groff [Sat, 15 Oct 2011 17:10:40 +0000 (10:10 -0700)]
io.streams.sequence: missed a USING:
Joe Groff [Sat, 15 Oct 2011 06:24:36 +0000 (23:24 -0700)]
compiler.tree.dead-code: fix test
It was using "read" in an optimization test, but since "read" is now inline, it wasn't getting the expected optimized quotation back.
Joe Groff [Sat, 15 Oct 2011 06:23:42 +0000 (23:23 -0700)]
specialized-arrays: fill in missing manifest bits
Joe Groff [Sat, 15 Oct 2011 06:23:22 +0000 (23:23 -0700)]
io: remove higher-order stack effects
More stack checker breakage
Joe Groff [Sat, 15 Oct 2011 04:36:25 +0000 (21:36 -0700)]
io.streams.c: remove -seek and -tell methods
M: c-stream stream-seek was broken and bootstrap doesn't need it so save some code.
Joe Groff [Sat, 15 Oct 2011 04:35:25 +0000 (21:35 -0700)]
more stream-seekable? and stream-length methods
- limited-streams and throw-on-eof-streams
- string-readers and byte-readers
Joe Groff [Sat, 15 Oct 2011 03:53:17 +0000 (20:53 -0700)]
io: document new words
Joe Groff [Sat, 15 Oct 2011 03:36:17 +0000 (20:36 -0700)]
io.streams.c: help-lint
Joe Groff [Sat, 15 Oct 2011 03:35:24 +0000 (20:35 -0700)]
delegate.protocols: clean up input-stream-protocol
Joe Groff [Sat, 15 Oct 2011 02:58:29 +0000 (19:58 -0700)]
io: stream-read-into and stream-read-partial-into
Safe user-facing wrappers for stream-read-unsafe.
Joe Groff [Sat, 15 Oct 2011 02:14:59 +0000 (19:14 -0700)]
io.ports: stream-seekable? and stream-length
io.files.windows, io.backend.unix: platform-specific backends for those methods