Commit Graph

22635 Commits (f2741b34a4b82600f7965cfa0f6eae6d4f4ffe24)

Author SHA1 Message Date
Doug Coleman 9876ebc791 On Windows, escape command line arguments with double quotes with a backslash: " -> \". Fixes #245. 2011-10-10 22:24:23 -07:00
Slava Pestov 1c8b2fdb1b alien.complex: fix docs 2011-10-10 22:12:50 -07:00
Doug Coleman 29d9face41 slots.syntax: fix example. 2011-10-10 22:00:40 -07:00
Slava Pestov 6175117b55 callback-error: don't use -e until we fix issue #245 2011-10-10 21:25:50 -07:00
Slava Pestov ebd6497452 regexp.classes: remove dependency on mirrors vocab 2011-10-10 21:09:59 -07:00
Slava Pestov 597e88eecb bootstrap.compiler: now that C types are named by words, we don't have to load alien.complex on bootstrap 2011-10-10 21:09:58 -07:00
Doug Coleman ff641cbb80 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. 2011-10-10 20:11:47 -07:00
Doug Coleman aa89802766 Add copy-slots{ word to slots.syntax. Alias slots{ to get{ and set-slots{ to set{, same for slots[ and set-slots[. 2011-10-10 18:25:48 -07:00
Joe Groff 14fc8c4218 tools.test.fuzz tests: missing using 2011-10-10 18:03:52 -07:00
Slava Pestov 1898d0e26e 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 2011-10-10 12:34:21 -07:00
Joe Groff 76d30b40ca new module tools.test.fuzz: quickcheck-style probabilistic testing, based on Andrew Pennebaker's factcheck vocab 2011-10-10 12:23:23 -07:00
Joe Groff 1ed1158a35 tools.test: move fake-unit-test utility from test suite to module 2011-10-10 12:23:23 -07:00
Slava Pestov 2e4127cc20 compiler.cfg.representations: fix unit test, it depended on hashing order which changed recently 2011-10-10 12:15:41 -07:00
Slava Pestov 91bfed5d1e compiler.tree.propagation.transforms: fix rem and mod custom inlining 2011-10-10 12:12:53 -07:00
Slava Pestov dd0d3d4ef7 compiler.codegen.gc-maps: fix tests 2011-10-10 12:07:09 -07:00
Slava Pestov 2a6ff945b3 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 2011-10-09 13:51:35 -07:00
Slava Pestov 0d6a0cd3ea Remove identities on / and rem, which were no-ops because integer-derived-ops would return an empty array 2011-10-09 13:51:03 -07:00
Doug Coleman cfb41744ee Update serial library so it's usable. 2011-10-08 11:38:43 -07:00
Doug Coleman 723a43f054 I got 99 bottles and a bitch ain't one. 2011-10-07 23:48:13 -07:00
Doug Coleman 8464b116fc On Windows, the overlapped structure high bits were always zero, so reading through a file > 4gb would loop forever. 2011-10-07 15:04:00 -07:00
Doug Coleman d23105c6c3 Delete staging images when running factor.cmd. Fixes #104. 2011-10-07 10:57:50 -07:00
Doug Coleman a220cf1d7f Mixin classes in redefine25 test are forgotten, but words still reference them -- forget those words, too. Fixes #143. 2011-10-07 10:49:17 -07:00
Doug Coleman 60b1115452 Rename forget-struct-slot-accessors -> forget-slot-accessors 2011-10-06 13:21:18 -07:00
Doug Coleman bf0847a06e Add examples to encode/decode docs. 2011-10-06 13:21:18 -07:00
Doug Coleman e7700a65da Throw an error if an odd number of hex digits gets parsed by H{. 2011-10-06 13:21:17 -07:00
John Benediktsson 7e8d598265 classes.tuple: can't assume hashcode* returns fixnum. 2011-10-06 11:53:50 -07:00
John Benediktsson 437165dbfb Revert "sequences: change to use tuple-hashcode algorithm, make string-hashcode work like old sequence-hashcode."
This reverts commit 7b7b0d4542.
2011-10-06 08:37:05 -07:00
John Benediktsson 7b7b0d4542 sequences: change to use tuple-hashcode algorithm, make string-hashcode work like old sequence-hashcode. 2011-10-05 19:22:50 -07:00
Doug Coleman 54ada3d943 Rename method -> lookup-method in three places. 2011-10-04 20:37:23 -07:00
Doug Coleman 921c81d92a Document reset-class, forget-class, forget-method. Use lookup-method in see, fix gpu.render for method->lookup-method renaming. Fixes #232. 2011-10-04 10:40:48 -07:00
John Benediktsson 592ac59692 webapps.help: changing <alloy> to only apply to search responder (for performance). 2011-10-03 22:16:36 -07:00
John Benediktsson 4281c740b8 io.encodings.utf8: assume streams are largely ascii.
Results in 30% faster file-contents for test file and 7% faster benchmark.xml.
2011-10-03 21:49:21 -07:00
Doug Coleman acff4eee0c 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. 2011-10-03 17:13:20 -07:00
Doug Coleman ad83aed13a Forget struct slot accessors when structs classes are redefined 2011-10-03 17:12:49 -07:00
Doug Coleman 9c39cd2a45 Fix delegate vocab for lookup-method change. 2011-10-03 16:42:24 -07:00
Doug Coleman c7818fa326 Update docs for lookup-method. 2011-10-03 15:55:53 -07:00
Doug Coleman e75e2b1f14 Make M\ throw an error upon lookup failure. Change method -> ?lookup-method, lookup-method is the throwing version of ?lookup-method. Fixes #229. 2011-10-03 15:49:49 -07:00
Doug Coleman 0a198ccdf1 Less use of eval( in unit tests 2011-10-03 13:54:34 -07:00
Doug Coleman f82de335e5 Fix using list in classes.struct tests 2011-10-03 01:06:02 -07:00
Slava Pestov 07bf54eafc tools.continuations: >c and c> are gone 2011-10-03 00:37:48 -07:00
Slava Pestov b1b7b24ad5 Add RT_INLINE_CACHE_MISS relocation type to avoid frequent dlsym lookups when compiling PICs. Fixes #123 2011-10-03 00:26:21 -07:00
Slava Pestov 395da4bc86 Fix linkage-errors test to not clobber its own linkage error 2011-10-03 00:26:21 -07:00
Slava Pestov 8336d898a3 Rework non-optimizing compiler backend to use compiler.codegen.relocation 2011-10-03 00:26:21 -07:00
Slava Pestov 83f602c1da Split up compiler.codegen.fixup into compiler.codegen.{gc-maps,labels,relocation} 2011-10-03 00:25:47 -07:00
Slava Pestov 72e9550ea6 Display a system-alert for callback errors in the UI; also for thread errors in deployed apps; fixes #92, fixes #95 2011-10-03 00:24:37 -07:00
Slava Pestov 4629f6c274 concurrency.mailboxes: linked-thread's error reporting should still work even when debugger.threads is not loaded. This addresses part of #95 2011-10-03 00:24:37 -07:00
Doug Coleman 390f02fa71 Make histogram example unchecked since hashtables print differently now that hashcodes are more optimized 2011-10-02 22:21:12 -07:00
Doug Coleman 7d8817583a compiler.tree.modular-arithmetic needs shallow-spread>quot 2011-10-02 22:21:11 -07:00
Slava Pestov 171cd93573 Fix infinite loop and empty-dlist error when an error is thrown from a callback running in a thread other than the initial thread. This addresses part of issue #92 2011-10-02 21:59:09 -07:00
Doug Coleman abdba98213 Fix abuse of spread in gdbm 2011-10-02 21:53:32 -07:00