]>
gitweb.factorcode.org Git - factor.git/log
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
Doug Coleman [Mon, 3 Oct 2011 05:16:36 +0000 (22:16 -0700)]
compiler.tree.modular-arithmetic needs shallow-spread>quot
Slava Pestov [Mon, 3 Oct 2011 04:58:58 +0000 (21:58 -0700)]
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
Doug Coleman [Mon, 3 Oct 2011 04:53:32 +0000 (21:53 -0700)]
Fix abuse of spread in gdbm
Doug Coleman [Mon, 3 Oct 2011 04:53:17 +0000 (21:53 -0700)]
Fix abuse of spread in persistent.hashtables.
John Benediktsson [Mon, 3 Oct 2011 03:28:51 +0000 (20:28 -0700)]
hashtables: moving hash-combine to hashtables.
Doug Coleman [Mon, 3 Oct 2011 03:25:39 +0000 (20:25 -0700)]
Rename spread>quot to deep-spread>quot, and spread>quot-shallow to shallow-spread>quot.
Doug Coleman [Mon, 3 Oct 2011 03:06:44 +0000 (20:06 -0700)]
Define reset-class for struct-classes, add unit tests. Fixes #206.
Doug Coleman [Mon, 3 Oct 2011 02:41:41 +0000 (19:41 -0700)]
Clean up a parser docs as per suggestions.
Slava Pestov [Mon, 3 Oct 2011 02:52:02 +0000 (19:52 -0700)]
compiler.cfg.builder.alien: fix compilation of callbacks which unconditionally throw errors
John Benediktsson [Mon, 3 Oct 2011 01:42:55 +0000 (18:42 -0700)]
words: since word names can be tuples (i'm looking at you smalltalk), use a combining hash function inspired by boost::hash_combine.
Doug Coleman [Sun, 2 Oct 2011 02:24:14 +0000 (19:24 -0700)]
Spread now infers with the correct stack effect. Make spread>quot-shallow which trims empty quotations off the head of the spread sequence. Fixes #139.
John Benediktsson [Mon, 3 Oct 2011 00:49:11 +0000 (17:49 -0700)]
Fix help-lint errors for recent hashtable changes.
John Benediktsson [Sun, 2 Oct 2011 22:30:41 +0000 (15:30 -0700)]
xml.char-classes: fix upper bound.
John Benediktsson [Sun, 2 Oct 2011 22:30:25 +0000 (15:30 -0700)]
benchmark.ant: switching to tuples now that they are fast.
John Benediktsson [Sun, 2 Oct 2011 20:48:04 +0000 (13:48 -0700)]
classes.tuple: switch to python's tuplehash(). Fixes #153.
John Benediktsson [Sun, 2 Oct 2011 20:47:51 +0000 (13:47 -0700)]
hashtables: switch to quadratic probing.
John Benediktsson [Sun, 2 Oct 2011 20:47:33 +0000 (13:47 -0700)]
words: prevent zero hashcodes. Fixes #222.
Doug Coleman [Sat, 1 Oct 2011 23:42:37 +0000 (16:42 -0700)]
Remove all non-core uses of (scan-token)
Add scan-datum
Add scan-number
Document more words
Fixes #225.
Doug Coleman [Sun, 2 Oct 2011 18:59:38 +0000 (11:59 -0700)]
hybrid -> alphanum in stack effects
John Benediktsson [Sun, 2 Oct 2011 16:26:40 +0000 (09:26 -0700)]
effects: removing split-shuffle.
John Benediktsson [Sun, 2 Oct 2011 16:26:20 +0000 (09:26 -0700)]
sequences: removing 2unclip-slice.
John Benediktsson [Sun, 2 Oct 2011 16:24:51 +0000 (09:24 -0700)]
sorting.human: rename <hybrid> to <alphanum>. Fixes #226.
John Benediktsson [Fri, 30 Sep 2011 19:47:38 +0000 (12:47 -0700)]
xml: 25% (or more) faster.
Main performance improvements from:
- improving text? check performance
- fewer "spot get char>>" in skip-until
- better string matching (don't use circular-string sequence=)
John Benediktsson [Thu, 29 Sep 2011 20:34:27 +0000 (13:34 -0700)]
help.html: better to set all recent help entries to empty.
John Benediktsson [Thu, 29 Sep 2011 20:10:21 +0000 (13:10 -0700)]
Revert "ui.clipboards: adding a gadget-copy-all."
This reverts commit
bee1c0c61e15d140bbf934a8cd0044e265f49bc9 .
John Benediktsson [Thu, 29 Sep 2011 20:02:23 +0000 (13:02 -0700)]
ui.clipboards: adding a gadget-copy-all.
John Benediktsson [Thu, 29 Sep 2011 19:10:27 +0000 (12:10 -0700)]
help.html: don't display recent searches. Fixes #211.
Doug Coleman [Tue, 27 Sep 2011 20:20:07 +0000 (13:20 -0700)]
Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF.
CREATE -> scan-new
CREATE-CLASS -> scan-new-class
CREATE-WORD -> scan-new-word
CREATE-GENERIC -> scan-new-generic
scan -> (scan-token)
scan-token now throws on eof
(scan-word) returns word/number/f
scan-word now throws on eof
scan-word-name expects a non-number
Fixes #183.
Fixes #209.
John Benediktsson [Tue, 27 Sep 2011 21:08:09 +0000 (14:08 -0700)]
hashtables.wrapped: re-adding prettyprint.
John Benediktsson [Tue, 27 Sep 2011 17:20:15 +0000 (10:20 -0700)]
webaps.help: display errors in red, add a main method.
John Benediktsson [Tue, 27 Sep 2011 17:17:54 +0000 (10:17 -0700)]
websites.concatenative: Wrap <help-webapp> in an <alloy> to display form errors. Fixes #196.
John Benediktsson [Tue, 27 Sep 2011 15:40:02 +0000 (08:40 -0700)]
hashtables.wrapped: adding prettyprint vocab.
Doug Coleman [Tue, 27 Sep 2011 08:29:09 +0000 (01:29 -0700)]
Remove require for hashtables.wrapped.prettyprint
John Benediktsson [Tue, 27 Sep 2011 04:59:26 +0000 (21:59 -0700)]
Squashed commit of the following:
commit
7b6b0bdf21bca0856bfefc1859618e6e36b35d25
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Mon Sep 26 21:09:07 2011 -0700
hashtables.wrapped: cleanup common prettyprint code.
commit
aaed81f93dcfa295bd3dfd8102a5c39511209934
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Sun Sep 25 15:58:55 2011 -0700
hashtables.wrapped: cleaner >foo-hashtable.
commit
bb0f8379480935d1dcf482170e8e2a4a519d81d3
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Sun Sep 25 15:39:41 2011 -0700
hashtables.identity: migrate to use hashtables.wrapped.
commit
2e71b3324f0803c15a55429acddc13f06b4876ae
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Sun Sep 25 15:39:19 2011 -0700
hashtables.sequences: wrapped hashtable that uses "sequence=" for key comparison.
commit
040f33b40c424887d596af5c3bd9de0eef9a682e
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Sun Sep 25 15:39:05 2011 -0700
hashtables.wrapped: base class for "wrapped hashtables".
John Benediktsson [Tue, 27 Sep 2011 03:12:10 +0000 (20:12 -0700)]
gpu.state: use qualified for all c-types.
John Benediktsson [Tue, 27 Sep 2011 02:03:07 +0000 (19:03 -0700)]
specialized-arrays: remove unused -cast.
Doug Coleman [Tue, 27 Sep 2011 00:21:51 +0000 (17:21 -0700)]
Fixes the symptom but not the problem. See bug #201.
John Benediktsson [Mon, 26 Sep 2011 23:55:35 +0000 (16:55 -0700)]
specialized-arrays: fix tests for >c-array change.
John Benediktsson [Mon, 26 Sep 2011 23:55:21 +0000 (16:55 -0700)]
values: fix docs (need to escape "\").
Doug Coleman [Mon, 26 Sep 2011 20:42:32 +0000 (13:42 -0700)]
Trim down a few using lists
John Benediktsson [Mon, 26 Sep 2011 20:37:42 +0000 (13:37 -0700)]
Merge remote-tracking branch 'upstream/master'
John Benediktsson [Mon, 26 Sep 2011 20:34:42 +0000 (13:34 -0700)]
alien.data: need to mark ">c-array" inline.
Doug Coleman [Mon, 26 Sep 2011 19:27:37 +0000 (12:27 -0700)]
Fix typo on datagram docs
John Benediktsson [Mon, 26 Sep 2011 18:54:55 +0000 (11:54 -0700)]
classes.tuple: error-class should call-next-method before resetting itself.
John Benediktsson [Mon, 26 Sep 2011 18:51:19 +0000 (11:51 -0700)]
see: revert prettyprint change for error-classes (for now display tuple).
John Benediktsson [Sun, 25 Sep 2011 18:49:27 +0000 (11:49 -0700)]
specialized-arrays: performed some cleanup.
Specifically,
• Created >c-array to be replacement for >T-array.
• Created cast-array to be generic replacement for all T-array-cast words.
• Created c-array@ to be generic replacement for T-array@ words.
• Replaced usages of <T-array> with T <c-array>
• Replaced usages of <direct-T-array> with T <c-direct-array>
• Replaced usages of >T-array with T >c-array
• Replaced usages of T-array-cast with T cast-array
• Replaced usages of malloc-T-array with T malloc-array.
• Removed malloc-T-array.
• Removed T-array-cast.
• Removed T-array@.
• Removed >T-array.
I also added (but didn't change any code to use):
• T c-array-type, returns T-array
• T c-array?, returns T-array?
• c-array{ T ... }, returns T-array{ ... }
Bootstraps just find on Mac OS X. Also `load-all test-all` works for me.
John Benediktsson [Mon, 26 Sep 2011 18:32:20 +0000 (11:32 -0700)]
assocs: improve stack effect docs for "?at".
John Benediktsson [Mon, 26 Sep 2011 18:08:26 +0000 (11:08 -0700)]
Removing "to:" syntax from values.
Squashed commit of the following:
commit
18fef6bfa59f71dcb63b439f631c735848a9bbbb
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Mon Sep 26 11:02:26 2011 -0700
vocabs.metadata: revert mistaken change.
commit
496b103b54034ea953882a039c08847d0eda0bb4
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Sun Sep 25 19:03:54 2011 -0700
values: Removing "to:" syntax.
John Benediktsson [Mon, 26 Sep 2011 00:12:32 +0000 (17:12 -0700)]
classes.tuple: adding test cases for error-class and support forget-class.
John Benediktsson [Sun, 25 Sep 2011 23:33:08 +0000 (16:33 -0700)]
Defining an "error-class", and printing error tuples out with ERROR:. See #188.
Doug Coleman [Mon, 26 Sep 2011 05:54:53 +0000 (22:54 -0700)]
Fix the using for peek streams tests.
John Benediktsson [Mon, 26 Sep 2011 05:36:26 +0000 (22:36 -0700)]
alarms: removing empty unused vocab.
Doug Coleman [Mon, 26 Sep 2011 02:12:05 +0000 (19:12 -0700)]
Decouple adding the coverage annotations from setting the flag in them
Add a test-coverage word for reporting on only the unit-tests for a vocabulary
Doug Coleman [Sun, 25 Sep 2011 20:17:03 +0000 (13:17 -0700)]
Remove extra stack effects in windows.messages
Doug Coleman [Sun, 25 Sep 2011 20:14:21 +0000 (13:14 -0700)]
Remove extraneous using from math/
Doug Coleman [Sun, 25 Sep 2011 20:11:07 +0000 (13:11 -0700)]
Extraneous top-level stack-effect
Doug Coleman [Sat, 17 Sep 2011 02:34:19 +0000 (21:34 -0500)]
Peekable streams wrapper
Doug Coleman [Sat, 17 Sep 2011 02:37:39 +0000 (21:37 -0500)]
Vocabulary to reduce numbers to more convenient representations
John Benediktsson [Mon, 26 Sep 2011 02:08:56 +0000 (19:08 -0700)]
benchmark.ant: needed a MAIN.
John Benediktsson [Mon, 26 Sep 2011 01:36:20 +0000 (18:36 -0700)]
vocabs: adding docs for 'parent-vocab?' and 'parent-vocabs'.
John Benediktsson [Mon, 26 Sep 2011 01:32:03 +0000 (18:32 -0700)]
vocabs: adding 'parent-vocab?' and 'parent-vocabs'.
John Benediktsson [Mon, 26 Sep 2011 00:25:28 +0000 (17:25 -0700)]
classes.struct: add test cases for see on structs.
John Benediktsson [Sun, 25 Sep 2011 23:41:11 +0000 (16:41 -0700)]
images.cocoa: removing unused image loader code.
John Benediktsson [Sun, 25 Sep 2011 22:33:49 +0000 (15:33 -0700)]
benchmark.ant: fix vocab name and using.
John Benediktsson [Sun, 25 Sep 2011 19:25:52 +0000 (12:25 -0700)]
benchmark.ant: adding the "ant puzzle" benchmark. See #153.
John Benediktsson [Sun, 25 Sep 2011 18:43:53 +0000 (11:43 -0700)]
ui.gadgets.editors: simplify private word.
John Benediktsson [Sun, 25 Sep 2011 18:43:26 +0000 (11:43 -0700)]
Removing unused private words. See #132.
John Benediktsson [Sun, 25 Sep 2011 18:40:55 +0000 (11:40 -0700)]
tools.crossref: now 50% faster.
John Benediktsson [Sun, 25 Sep 2011 05:08:54 +0000 (22:08 -0700)]
Fixing docs for recent stack effects additions.
Doug Coleman [Sun, 25 Sep 2011 04:10:08 +0000 (21:10 -0700)]
Graphviz now unix only
John Benediktsson [Sun, 25 Sep 2011 04:04:44 +0000 (21:04 -0700)]
sequences.product: fix help-lint for stack effect changes.
Joe Groff [Sun, 25 Sep 2011 03:59:21 +0000 (20:59 -0700)]
math.blas, alien.fortran: move to unmaintained cuz I'm getting too old for this shit. closes #171
John Benediktsson [Sun, 25 Sep 2011 02:19:34 +0000 (19:19 -0700)]
images: only register with the images.loader on proper platform. Fixes #172. Fixes #173.
John Benediktsson [Sun, 25 Sep 2011 00:55:13 +0000 (17:55 -0700)]
classes.struct: Fix prettyprint for PACKED-STRUCT. Fixes #162.
Doug Coleman [Sat, 24 Sep 2011 23:50:58 +0000 (18:50 -0500)]
Use gvplugin_list instead of gvPluginList
Make graphviz unix only for several reasons:
1) Win32 graphviz doesn't have the gvplugin_list() exported and we don't have a word to check if an ffi call exists before attempting to call it so we are unable to find a two-state solution with both gvplugin_list and gvPluginList
2) Compiling the Graphviz Project on Windows is extremely broken under Cygwin, MinGW and Visual Studio 2008 and fails to compile without major changes and still has disabled projects and thousands of warnings/errors. Th HOWTO on their website is outdated on all counts and the maintainer has not replied to my email asking for help. I do not have time to be a Graphviz maintainer myself.
3) When I did manage to compile it on Windows, none of the engines are avaialable to the dlls we load so the compiled Graphviz has no features except symbol exports. The same is true for the binary package--we do not have access to the
4) There is no win64 binary of Graphviz on their website and compiling it would likely result in an unusable set of dlls as per above
John Benediktsson [Fri, 23 Sep 2011 17:19:48 +0000 (10:19 -0700)]
sequences.product: improve stack effects.
John Benediktsson [Fri, 23 Sep 2011 00:30:56 +0000 (17:30 -0700)]
math.order: Removing stack effect (not quite right).
John Benediktsson [Fri, 23 Sep 2011 00:19:51 +0000 (17:19 -0700)]
Adding stack effects.
John Benediktsson [Fri, 23 Sep 2011 18:39:33 +0000 (11:39 -0700)]
alien.data: removing unused (and broken?) "require-c-array".
Joe Groff [Thu, 22 Sep 2011 23:04:49 +0000 (16:04 -0700)]
math.functions: clean up some more to trim back load-time dependencies; alter tests to avoid inexact float constants where possible and hex-ify inexact constants otherwise