John Benediktsson
df2000d8e7
random.blum-blum-shub: fix tests for recent random-integer change.
2011-10-15 10:39:16 -07:00
John Benediktsson
d773d99de5
benchmark.splay: adding a splay-tree benchmark.
2011-10-14 18:10:49 -07:00
John Benediktsson
ce1d69aa0a
trees.splay: fix delete-at.
2011-10-14 17:52:24 -07:00
John Benediktsson
dc06efe2a4
webapps.mason: redirect index to dashboard. Fix #178 .
2011-10-14 15:43:38 -07:00
John Benediktsson
4fb66c0f05
brainfuck: cleanup.
2011-10-14 13:53:55 -07:00
John Benediktsson
d61de12011
Cleanup more lint warnings.
2011-10-14 12:31:46 -07:00
John Benediktsson
378786599d
Cleanup lint warnings.
2011-10-14 11:47:24 -07:00
Doug Coleman
e563824cd2
Don't report aliases as having a duplicate word definition as the word they alias in lint.
2011-10-14 10:15:13 -07:00
John Benediktsson
312704ae68
math.parser: cleanup uses of 16/8/2 >base/base>.
2011-10-14 10:09:12 -07:00
Doug Coleman
6553510494
Remove bogus test in lint
2011-10-14 09:40:36 -07:00
Doug Coleman
6586b97128
Revive the lint tool
2011-10-14 01:39:46 -07:00
John Benediktsson
0965d9be41
webapps.help: remove frames. Fixes #242 .
2011-10-13 22:09:30 -07:00
John Benediktsson
6417f36397
namespaces: adding a "with-global" word to replace "global [ ] bind".
2011-10-13 17:21:59 -07:00
John Benediktsson
928536be2a
cpu.8080.emulator: use get/set-global.
2011-10-13 17:11:23 -07:00
John Benediktsson
1987deb359
Fix M: stack effects.
2011-10-13 16:41:17 -07:00
John Benediktsson
a80d176720
readline: change to create alien at run-time. Fixes #254 .
2011-10-13 13:24:56 -07:00
John Benediktsson
3207244c60
sequences: define ?first and ?second.
2011-10-13 12:53:46 -07:00
John Benediktsson
557f8355de
webapps.benchmark: better main name.
2011-10-12 12:35:34 -07:00
Doug Coleman
4cbbfe82aa
benchmark.file-server hit the array-capacity limit, so lower the #bytes sent by one and add a #times parameter
2011-10-12 10:23:16 -07:00
Doug Coleman
c73724d273
Remove *timesinkbsd from webapps.mason grids
2011-10-12 09:48:23 -07:00
Doug Coleman
1df7a40984
Add 2/4/8le>, 2/4/8be> -- 30% faster on the 8-byte versions, slightly less faster on the others.
2011-10-12 09:48:23 -07:00
Doug Coleman
1783b3b72e
Rename benchmarks -> benchmark
2011-10-12 03:28:25 -07:00
Doug Coleman
ac9d4577e0
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.
2011-10-12 01:33:58 -07:00
Doug Coleman
ee08db3e44
Fix test failure for random number speedup from using be>.
2011-10-12 01:26:56 -07:00
Doug Coleman
49b0ebf056
Simple network benchmark for sending large file between a server/client.
2011-10-12 01:22:03 -07:00
John Benediktsson
afc07c0e05
io.binary: make le> and be> faster (20% and 75%, respectively).
...
Removed primitive byte-array>bignum and digit_stream_to_bignum from vm/.
2011-10-11 21:13:30 -07:00
Doug Coleman
250e528209
Progress bars for long-running operations that yield.
2011-10-11 17:56:28 -07:00
Doug Coleman
d834d9bfa4
slots.syntax: fix example.
2011-10-10 22:00:40 -07:00
Doug Coleman
4cece22c43
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
Doug Coleman
97fa79d7fa
Update serial library so it's usable.
2011-10-08 11:38:43 -07:00
Doug Coleman
95ef4d90a9
I got 99 bottles and a bitch ain't one.
2011-10-07 23:48:13 -07:00
Doug Coleman
be3eebf719
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
85e1ad0e00
webapps.help: changing <alloy> to only apply to search responder (for performance).
2011-10-03 22:16:36 -07:00
Doug Coleman
4994483be4
Fix abuse of spread in gdbm
2011-10-02 21:53:32 -07:00
John Benediktsson
8579a71efa
benchmark.ant: switching to tuples now that they are fast.
2011-10-02 15:30:25 -07:00
Doug Coleman
76580da5d5
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 .
2011-09-29 11:28:28 -07:00
John Benediktsson
12cfe67f20
webaps.help: display errors in red, add a main method.
2011-09-27 10:20:15 -07:00
John Benediktsson
2659b23115
websites.concatenative: Wrap <help-webapp> in an <alloy> to display form errors. Fixes #196 .
2011-09-27 10:17:54 -07:00
John Benediktsson
fe31c534ea
gpu.state: use qualified for all c-types.
2011-09-26 20:12:10 -07:00
John Benediktsson
4f42c72012
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.
2011-09-26 11:37:51 -07:00
Doug Coleman
eead1f0487
Fix the using for peek streams tests.
2011-09-25 22:54:53 -07:00
Doug Coleman
c5f1651567
Peekable streams wrapper
2011-09-25 19:32:34 -07:00
Doug Coleman
673d280fc5
Vocabulary to reduce numbers to more convenient representations
2011-09-25 19:32:33 -07:00
John Benediktsson
5cf0652db4
benchmark.ant: needed a MAIN.
2011-09-25 19:08:56 -07:00
John Benediktsson
c7e3238149
benchmark.ant: fix vocab name and using.
2011-09-25 15:33:49 -07:00
John Benediktsson
6f72e5a638
benchmark.ant: adding the "ant puzzle" benchmark. See #153 .
2011-09-25 12:25:52 -07:00
Doug Coleman
22f1545ec5
Graphviz now unix only
2011-09-24 21:10:08 -07:00
Joe Groff
81b12adcad
math.blas, alien.fortran: move to unmaintained cuz I'm getting too old for this shit. closes #171
2011-09-24 20:59:21 -07:00
Doug Coleman
b2176f98a7
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
2011-09-24 19:00:17 -05:00
John Benediktsson
f6b6e17b00
alien.data: removing unused (and broken?) "require-c-array".
2011-09-23 13:15:09 -07:00
John Benediktsson
7103dfab6b
infix: using "if-empty" makes it cleaner.
2011-09-21 19:31:26 -07:00
John Benediktsson
08aa100eb7
mongodb: using "if-empty" makes it cleaner.
2011-09-21 19:31:08 -07:00
Joe Groff
2bd6de9a02
slots: pre-create the "at", "nth", and "global" slots to make deterministic the currently nondeterministic ambiguity between accessors:change-* and assocs:change-at, sequences:change-nth, and namespaces:change-global
2011-09-19 10:03:43 -07:00
Slava Pestov
867b5a1178
Move javascriptcore to unmaintained. Fixes #130
2011-09-19 00:12:36 -07:00
Doug Coleman
bf2a96e9e0
Remove Windows CE from core/ basis/ and build-support/
...
Rename the winnt singleton to windows in core/ basis/ extra/
Rename boot images winnt -> windows
Fixes #84 .
2011-09-18 23:19:06 -05:00
John Benediktsson
e422187be1
fuel.eval: some minor cleanup.
2011-09-18 20:35:16 -07:00
John Benediktsson
2a72c5c34d
fuel.eval: using a local fuel-eval-error symbol. Fixes #142 .
2011-09-18 20:19:49 -07:00
Joe Groff
db324a65ee
new vocab slots.macros: macro interface to slot accessors, as discussed in #134
2011-09-18 17:33:53 -07:00
Doug Coleman
7e4aa6f67f
Graphviz's gvc.dll doesn't export gvplugin_list() on Windows, so call gvPluginList() instead. This bug has been reported to the Windows Graphviz maintainer, so we can potentially go back to calling gvplugin_list() someday.
2011-09-16 01:25:45 -05:00
Slava Pestov
7507196a98
mason.release.tidy: one last fix for tests
2011-09-14 20:00:15 -07:00
Slava Pestov
4d30021d77
mason.release.tidy: add unit tests and ensure it works
2011-09-13 23:39:16 -07:00
Slava Pestov
0ed9112f75
mason.release.tidy: logic for blowing away Factor.app on non-Mac platforms was wrong; fixes #125
2011-09-13 20:22:24 -07:00
Doug Coleman
900afdd6a8
Make parser in mason.test noisy so we get real output.
...
Fixes #126 .
2011-09-13 19:52:32 -05:00
Doug Coleman
f41fcc937e
Forgot QUALIFIED: math in images.png.
2011-09-13 15:45:47 -05:00
Doug Coleman
cb1ed13a37
Generate reference .figs for all of pngsuite
...
Make directory for bad pngs from libpng
2011-09-13 12:11:04 -05:00
Doug Coleman
5ea02f4798
PNG library should reverse filter on entire bytes
...
Add word to test that some pngs fail to load
2011-09-13 12:10:18 -05:00
Slava Pestov
c489f7a9f5
webapps.wiki: mark edit links and old revision links with rel="nofollow". Fixes #38
2011-09-11 23:49:13 -07:00
John Benediktsson
a4b6adbb6d
system-info.macosx: Using 'gestalt' to support 'os-version' on macosx.
2011-09-11 08:29:16 -07:00
Slava Pestov
396ef06355
mason: more useful logging to console, with timestamps
2011-09-09 20:21:05 -07:00
Slava Pestov
f1c2707b5f
Some mason improvements:
...
- Rename config variables to be more intuitive, split up upload-to-factorcode? into several variables
- Add target-variant variable. This allows running multiple masons on the same architecture but with different parameters, for example bootstrapping with SSE disabled, or simply for testing on a different OS release.
- Added a boot-flags variable for use with the above
2011-09-09 19:54:47 -07:00
Slava Pestov
2f6b98a141
mason tests didn't pass if the machine wasn't configured for running mason
2011-09-09 19:14:55 -07:00
Doug Coleman
70a8c35141
Don't test ping on any platform higher than windows xp
2011-09-08 15:49:39 -07:00
Doug Coleman
f19d8cfd99
Windows doesn't like 0 f <inet4>. See issue #85 .
2011-09-08 15:49:08 -07:00
Doug Coleman
f625f3ea47
Find timezone based on string
2011-09-08 15:47:47 -07:00
Doug Coleman
df3d092286
Add another unit test so we can see why ping fails, if it does.
2011-09-07 03:41:49 -05:00
John Benediktsson
57c5420e05
memcached: better to not duplicate with-memcached.
2011-09-06 10:21:24 -07:00
John Benediktsson
b6bd35fd4b
Merge remote-tracking branch 'upstream/master'
2011-09-06 09:32:48 -07:00
John Benediktsson
223cb423d8
memcached: change tests to have a 5 second timeout so they don't hang the build machine. Fixes #80 .
2011-09-06 09:32:15 -07:00
Slava Pestov
d955c14b9c
Oops
2011-09-06 00:25:33 -07:00
Slava Pestov
988e77463e
game.loop: split off benchmarking code into game.loop.benchmark
2011-09-05 23:58:32 -07:00
Doug Coleman
0c0906c2d8
Make readline.ffi unix only
2011-09-06 00:15:10 -05:00
Slava Pestov
7864556e5b
tools.time.struct: fix load error
2011-09-05 19:45:24 -07:00
Slava Pestov
0f1c9b1d29
bunny: don't deploy with word names
2011-09-05 17:20:43 -07:00
John Benediktsson
7df5968db2
benchmark.pidigits: no need to USE sets.
2011-09-03 16:30:31 -07:00
John Benediktsson
a3e8c99765
memcached: enforce sorted order for test results.
2011-09-02 10:50:16 -07:00
John Benediktsson
91e043de68
memcached: change tests to key based on cpu architecture.
2011-09-01 21:26:09 -07:00
Slava Pestov
67c57417d7
Fix webapps.mason breakage
2011-09-01 01:15:56 -07:00
Doug Coleman
e04b0acdcd
Update png images tests for image structure change
2011-08-31 15:28:49 -05:00
Doug Coleman
2d74c3c9cb
llvm.clang.ffi depends on unix.types, so make it unix only
2011-08-28 16:51:58 -05:00
Doug Coleman
0f69878a9c
Make readline/readline-listener unix only
2011-08-28 16:42:55 -05:00
sheeple
5a38ddc31c
graphviz: fix load errors
2011-08-27 18:35:00 -06:00
Joe Groff
57bcd3a039
images: move pure Factor image format implementations to extra/
2011-08-27 17:30:45 -07:00
John Benediktsson
cc68afddce
Merge remote-tracking branch 'factorcode/master'
2011-08-27 17:26:11 -07:00
Slava Pestov
b3a2823652
graphviz.ffi: fix help lint
2011-08-27 17:20:30 -07:00
Joe Groff
a67a59d5a1
Merge branch 'master' of factorcode.org:/git/factor
2011-08-27 17:04:43 -07:00
Slava Pestov
39b00a1b39
graphviz.ffi: refactor it to not make FFI calls at parse time
2011-08-27 14:08:54 -07:00
Joe Groff
9040ee37e0
Merge remote-tracking branch 'Blei/gtk-image-loader'
...
Conflicts:
basis/alien/enums/enums-tests.factor
basis/alien/enums/enums.factor
basis/alien/parser/parser.factor
basis/gdk/pixbuf/ffi/ffi.factor
basis/glib/ffi/ffi.factor
basis/tools/deploy/shaker/shaker.factor
basis/ui/backend/gtk/gtk.factor
basis/windows/nt/nt.factor
2011-08-27 14:07:18 -07:00
John Benediktsson
6a085abd7d
Merge remote-tracking branch 'malu/semantic-versioning'
2011-08-26 20:48:18 -07:00
John Benediktsson
38c5652093
boids makes a good demo.
2011-08-26 20:33:21 -07:00
John Benediktsson
07454e2584
curses: update for alien api change.
2011-08-26 20:18:23 -07:00