]>
gitweb.factorcode.org Git - factor.git/log
Joe Groff [Fri, 14 Oct 2011 21:44:15 +0000 (14:44 -0700)]
continuations: document full effect of cleanup
We can't yet apply the effect because of #138 but we can at least document it.
John Benediktsson [Fri, 14 Oct 2011 20:54:08 +0000 (13:54 -0700)]
math.bitwise: bits is clearer this way.
John Benediktsson [Fri, 14 Oct 2011 20:53:55 +0000 (13:53 -0700)]
brainfuck: cleanup.
John Benediktsson [Fri, 14 Oct 2011 20:22:28 +0000 (13:22 -0700)]
Remove trim-whitespace in favor of [ blank? ] trim.
John Benediktsson [Fri, 14 Oct 2011 19:31:06 +0000 (12:31 -0700)]
Cleanup more lint warnings.
Doug Coleman [Fri, 14 Oct 2011 19:08:48 +0000 (12:08 -0700)]
Remove some duplication in lists
John Benediktsson [Fri, 14 Oct 2011 17:23:52 +0000 (10:23 -0700)]
Cleanup lint warnings.
Joe Groff [Fri, 14 Oct 2011 17:44:42 +0000 (10:44 -0700)]
kernel: higher-order effects for *keep
Doug Coleman [Fri, 14 Oct 2011 17:14:41 +0000 (10:14 -0700)]
Cleanups found with lint tool
Doug Coleman [Fri, 14 Oct 2011 17:13:39 +0000 (10:13 -0700)]
Don't report aliases as having a duplicate word definition as the word they alias in lint.
John Benediktsson [Fri, 14 Oct 2011 17:09:12 +0000 (10:09 -0700)]
math.parser: cleanup uses of 16/8/2 >base/base>.
John Benediktsson [Fri, 14 Oct 2011 16:40:56 +0000 (09:40 -0700)]
Re-commit otoburb's fix for #257.
Doug Coleman [Fri, 14 Oct 2011 16:40:36 +0000 (09:40 -0700)]
Remove bogus test in lint
Doug Coleman [Fri, 14 Oct 2011 08:39:07 +0000 (01:39 -0700)]
Revive the lint tool
John Benediktsson [Fri, 14 Oct 2011 05:09:30 +0000 (22:09 -0700)]
webapps.help: remove frames. Fixes #242.
John Benediktsson [Fri, 14 Oct 2011 00:55:30 +0000 (17:55 -0700)]
io.files.info.unix.linux: fix more M: stack effects.
John Benediktsson [Fri, 14 Oct 2011 00:38:30 +0000 (17:38 -0700)]
io.files.info.unix.linux: fix M: stack effect.
John Benediktsson [Fri, 14 Oct 2011 00:21:59 +0000 (17:21 -0700)]
namespaces: adding a "with-global" word to replace "global [ ] bind".
John Benediktsson [Fri, 14 Oct 2011 00:11:23 +0000 (17:11 -0700)]
cpu.8080.emulator: use get/set-global.
John Benediktsson [Thu, 13 Oct 2011 23:49:54 +0000 (16:49 -0700)]
generic.parser: adding tests.
John Benediktsson [Thu, 13 Oct 2011 23:44:30 +0000 (16:44 -0700)]
Fix M:: stack effects.
John Benediktsson [Thu, 13 Oct 2011 23:40:52 +0000 (16:40 -0700)]
Change method parsing to validate stack effects. Fixes #236.
John Benediktsson [Thu, 13 Oct 2011 23:19:03 +0000 (16:19 -0700)]
Fix M: stack effects.
Doug Coleman [Thu, 13 Oct 2011 22:53:31 +0000 (15:53 -0700)]
Link ?first ?second ?last from an article.
John Benediktsson [Thu, 13 Oct 2011 20:24:56 +0000 (13:24 -0700)]
readline: change to create alien at run-time. Fixes #254.
John Benediktsson [Thu, 13 Oct 2011 20:04:24 +0000 (13:04 -0700)]
sequences: adding ?last for symmetry.
John Benediktsson [Thu, 13 Oct 2011 19:53:46 +0000 (12:53 -0700)]
sequences: define ?first and ?second.
Doug Coleman [Thu, 13 Oct 2011 06:19:11 +0000 (23:19 -0700)]
Fix using list for http.server tests
John Benediktsson [Thu, 13 Oct 2011 03:21:16 +0000 (20:21 -0700)]
http.server: ignore preceding whitespace before request lines. Fixes #252.
John Benediktsson [Thu, 13 Oct 2011 03:14:21 +0000 (20:14 -0700)]
http.client: too aggressive with ?CRLF.
John Benediktsson [Thu, 13 Oct 2011 02:41:54 +0000 (19:41 -0700)]
sequences: adding find-index.
John Benediktsson [Wed, 12 Oct 2011 22:18:04 +0000 (15:18 -0700)]
hash2: remove since it is now unused.
John Benediktsson [Wed, 12 Oct 2011 22:17:56 +0000 (15:17 -0700)]
unicode.data: remove dependency on hash2.
John Benediktsson [Wed, 12 Oct 2011 19:51:49 +0000 (12:51 -0700)]
http: change client/server to support LF and CRLF delimited headers.
John Benediktsson [Wed, 12 Oct 2011 19:36:54 +0000 (12:36 -0700)]
io.crlf: add a word that reads an optional CR.
John Benediktsson [Wed, 12 Oct 2011 19:35:34 +0000 (12:35 -0700)]
webapps.benchmark: better main name.
John Benediktsson [Wed, 12 Oct 2011 18:03:39 +0000 (11:03 -0700)]
unicode.breaks: >words is now 90+% faster.
Doug Coleman [Wed, 12 Oct 2011 17:23:16 +0000 (10:23 -0700)]
benchmark.file-server hit the array-capacity limit, so lower the #bytes sent by one and add a #times parameter
Doug Coleman [Wed, 12 Oct 2011 16:47:23 +0000 (09:47 -0700)]
Remove *timesinkbsd from webapps.mason grids
Doug Coleman [Wed, 12 Oct 2011 16:45:03 +0000 (09:45 -0700)]
Add 2/4/8le>, 2/4/8be> -- 30% faster on the 8-byte versions, slightly less faster on the others.
Doug Coleman [Wed, 12 Oct 2011 10:28:25 +0000 (03:28 -0700)]
Rename benchmarks -> benchmark
Doug Coleman [Wed, 12 Oct 2011 08:33:58 +0000 (01:33 -0700)]
mason.release.archive was testing strings against symbols for choosing the archival method and file extension. This might break win32/64 or it might speed things up.
Doug Coleman [Wed, 12 Oct 2011 08:26:56 +0000 (01:26 -0700)]
Fix test failure for random number speedup from using be>.
Doug Coleman [Wed, 12 Oct 2011 08:22:03 +0000 (01:22 -0700)]
Simple network benchmark for sending large file between a server/client.
Doug Coleman [Wed, 12 Oct 2011 08:05:01 +0000 (01:05 -0700)]
stream-element-type on output-ports was broken -- it looked for a stream>> slot but no such slot exists. add some unit tests
John Benediktsson [Wed, 12 Oct 2011 06:17:41 +0000 (23:17 -0700)]
Merge pull request #250 from mrjbq7/binary
io.binary: make le> and be> faster (20% and 75%, respectively).
John Benediktsson [Wed, 12 Oct 2011 05:31:21 +0000 (22:31 -0700)]
random: be> is faster (and they are random anyway)...
John Benediktsson [Wed, 12 Oct 2011 04:24:38 +0000 (21:24 -0700)]
vm: remove math::bignum_producer.
John Benediktsson [Wed, 12 Oct 2011 04:13:30 +0000 (21:13 -0700)]
io.binary: make le> and be> faster (20% and 75%, respectively).
Removed primitive byte-array>bignum and digit_stream_to_bignum from vm/.
Doug Coleman [Wed, 12 Oct 2011 02:36:22 +0000 (19:36 -0700)]
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.
Doug Coleman [Wed, 12 Oct 2011 00:56:28 +0000 (17:56 -0700)]
Progress bars for long-running operations that yield.
Doug Coleman [Tue, 11 Oct 2011 20:33:44 +0000 (13:33 -0700)]
Fix using list because I'm dumb for developing Windows changes from a Mac.
Doug Coleman [Tue, 11 Oct 2011 19:21:04 +0000 (12:21 -0700)]
Proper double-quote and backslash escaping for windows command line arguments. Fixes #245.
Doug Coleman [Tue, 11 Oct 2011 05:22:09 +0000 (22:22 -0700)]
On Windows, escape command line arguments with double quotes with a backslash: " -> \". Fixes #245.
Slava Pestov [Tue, 11 Oct 2011 04:58:49 +0000 (21:58 -0700)]
alien.complex: fix docs
Doug Coleman [Tue, 11 Oct 2011 05:00:40 +0000 (22:00 -0700)]
slots.syntax: fix example.
Slava Pestov [Tue, 11 Oct 2011 04:25:50 +0000 (21:25 -0700)]
callback-error: don't use -e until we fix issue #245
Slava Pestov [Tue, 11 Oct 2011 04:08:45 +0000 (21:08 -0700)]
regexp.classes: remove dependency on mirrors vocab
Slava Pestov [Tue, 11 Oct 2011 03:59:13 +0000 (20:59 -0700)]
bootstrap.compiler: now that C types are named by words, we don't have to load alien.complex on bootstrap
Doug Coleman [Tue, 11 Oct 2011 03:11:47 +0000 (20:11 -0700)]
Deleting staging images in factor.cmd should never be a fatal error. The errorlevel can be 1 if the temp directory does not exist, so just delete this line.
Doug Coleman [Tue, 11 Oct 2011 01:24:35 +0000 (18:24 -0700)]
Add copy-slots{ word to slots.syntax. Alias slots{ to get{ and set-slots{ to set{, same for slots[ and set-slots[.
Joe Groff [Tue, 11 Oct 2011 01:03:52 +0000 (18:03 -0700)]
tools.test.fuzz tests: missing using
Slava Pestov [Mon, 10 Oct 2011 19:31:47 +0000 (12:31 -0700)]
compiler.tree.identities: the identity on mod was useless too, because we already have a rewrite rule which handles this case in compiler.tree.propagation
Joe Groff [Mon, 19 Sep 2011 23:41:41 +0000 (16:41 -0700)]
new module tools.test.fuzz: quickcheck-style probabilistic testing, based on Andrew Pennebaker's factcheck vocab
Joe Groff [Mon, 19 Sep 2011 23:39:30 +0000 (16:39 -0700)]
tools.test: move fake-unit-test utility from test suite to module
Slava Pestov [Mon, 10 Oct 2011 19:15:41 +0000 (12:15 -0700)]
compiler.cfg.representations: fix unit test, it depended on hashing order which changed recently
Slava Pestov [Mon, 10 Oct 2011 19:12:53 +0000 (12:12 -0700)]
compiler.tree.propagation.transforms: fix rem and mod custom inlining
Slava Pestov [Mon, 10 Oct 2011 19:07:09 +0000 (12:07 -0700)]
compiler.codegen.gc-maps: fix tests
Slava Pestov [Sun, 9 Oct 2011 20:51:27 +0000 (13:51 -0700)]
Fix custom-inlining for mod and rem, which was converting these calls to bitand in some cases, even if the input was not known to be an integer. Fixes #243
Slava Pestov [Sun, 9 Oct 2011 20:51:03 +0000 (13:51 -0700)]
Remove identities on / and rem, which were no-ops because integer-derived-ops would return an empty array
Doug Coleman [Sat, 8 Oct 2011 18:38:43 +0000 (11:38 -0700)]
Update serial library so it's usable.
Doug Coleman [Sat, 8 Oct 2011 05:52:41 +0000 (22:52 -0700)]
I got 99 bottles and a bitch ain't one.
Doug Coleman [Fri, 7 Oct 2011 22:04:00 +0000 (15:04 -0700)]
On Windows, the overlapped structure high bits were always zero, so reading through a file > 4gb would loop forever.
Doug Coleman [Fri, 7 Oct 2011 17:57:50 +0000 (10:57 -0700)]
Delete staging images when running factor.cmd. Fixes #104.
Doug Coleman [Fri, 7 Oct 2011 17:49:17 +0000 (10:49 -0700)]
Mixin classes in redefine25 test are forgotten, but words still reference them -- forget those words, too. Fixes #143.
Doug Coleman [Thu, 6 Oct 2011 20:18:50 +0000 (13:18 -0700)]
Rename forget-struct-slot-accessors -> forget-slot-accessors
Doug Coleman [Thu, 6 Oct 2011 17:53:25 +0000 (10:53 -0700)]
Add examples to encode/decode docs.
Doug Coleman [Thu, 6 Oct 2011 17:05:27 +0000 (10:05 -0700)]
Throw an error if an odd number of hex digits gets parsed by H{.
John Benediktsson [Thu, 6 Oct 2011 18:53:50 +0000 (11:53 -0700)]
classes.tuple: can't assume hashcode* returns fixnum.
John Benediktsson [Thu, 6 Oct 2011 15:37:05 +0000 (08:37 -0700)]
Revert "sequences: change to use tuple-hashcode algorithm, make string-hashcode work like old sequence-hashcode."
This reverts commit
7b7b0d45421cf7bf2d959fb482c7a63cdb3d04ed .
John Benediktsson [Thu, 6 Oct 2011 02:22:50 +0000 (19:22 -0700)]
sequences: change to use tuple-hashcode algorithm, make string-hashcode work like old sequence-hashcode.
Doug Coleman [Wed, 5 Oct 2011 03:37:23 +0000 (20:37 -0700)]
Rename method -> lookup-method in three places.
Doug Coleman [Tue, 4 Oct 2011 17:40:48 +0000 (10:40 -0700)]
Document reset-class, forget-class, forget-method. Use lookup-method in see, fix gpu.render for method->lookup-method renaming. Fixes #232.
John Benediktsson [Mon, 3 Oct 2011 18:09:12 +0000 (11:09 -0700)]
webapps.help: changing <alloy> to only apply to search responder (for performance).
John Benediktsson [Mon, 3 Oct 2011 19:31:46 +0000 (12:31 -0700)]
io.encodings.utf8: assume streams are largely ascii.
Results in 30% faster file-contents for test file and 7% faster benchmark.xml.
Doug Coleman [Tue, 4 Oct 2011 00:13:20 +0000 (17:13 -0700)]
Rename the STRUCT: point word to something else because it conflicts with other unit tests which define a point word in scratchpad. The struct point is redefined to a tuple point and causes the macro-expansion to error out now that structs are properly reset, so instead we just give it a unique name so it doesnt get redefined. Perhaps examples should define their own vocabularies instead of using scratchpad.
Doug Coleman [Tue, 4 Oct 2011 00:12:49 +0000 (17:12 -0700)]
Forget struct slot accessors when structs classes are redefined
Doug Coleman [Mon, 3 Oct 2011 23:42:24 +0000 (16:42 -0700)]
Fix delegate vocab for lookup-method change.
Doug Coleman [Mon, 3 Oct 2011 22:55:53 +0000 (15:55 -0700)]
Update docs for lookup-method.
Doug Coleman [Mon, 3 Oct 2011 22:49:49 +0000 (15:49 -0700)]
Make M\ throw an error upon lookup failure. Change method -> ?lookup-method, lookup-method is the throwing version of ?lookup-method. Fixes #229.
Doug Coleman [Mon, 3 Oct 2011 20:54:34 +0000 (13:54 -0700)]
Less use of eval( in unit tests
Doug Coleman [Mon, 3 Oct 2011 07:53:46 +0000 (00:53 -0700)]
Fix using list in classes.struct tests
Slava Pestov [Mon, 3 Oct 2011 07:37:48 +0000 (00:37 -0700)]
tools.continuations: >c and c> are gone
Slava Pestov [Wed, 14 Sep 2011 08:08:32 +0000 (01:08 -0700)]
Add RT_INLINE_CACHE_MISS relocation type to avoid frequent dlsym lookups when compiling PICs. Fixes #123
Slava Pestov [Wed, 14 Sep 2011 08:07:45 +0000 (01:07 -0700)]
Fix linkage-errors test to not clobber its own linkage error
Slava Pestov [Wed, 14 Sep 2011 07:44:35 +0000 (00:44 -0700)]
Rework non-optimizing compiler backend to use compiler.codegen.relocation
Slava Pestov [Wed, 14 Sep 2011 04:38:03 +0000 (21:38 -0700)]
Split up compiler.codegen.fixup into compiler.codegen.{gc-maps,labels,relocation}
Slava Pestov [Mon, 3 Oct 2011 07:24:13 +0000 (00:24 -0700)]
Display a system-alert for callback errors in the UI; also for thread errors in deployed apps; fixes #92, fixes #95
Slava Pestov [Mon, 3 Oct 2011 06:33:28 +0000 (23:33 -0700)]
concurrency.mailboxes: linked-thread's error reporting should still work even when debugger.threads is not loaded. This addresses part of #95
Doug Coleman [Mon, 3 Oct 2011 05:19:05 +0000 (22:19 -0700)]
Make histogram example unchecked since hashtables print differently now that hashcodes are more optimized