Commit Graph

9483 Commits (8fc0be3c2f3d53cc7926221e86f71e825689eb18)

Author SHA1 Message Date
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
John Benediktsson b40e787556 Merge remote-tracking branch 'blei/curses' into curses 2011-08-26 20:13:24 -07:00
John Benediktsson 78998f6971 path-finding: add test for abeaumont's fix. 2011-08-26 19:58:07 -07:00
John Benediktsson 12d5d61179 Merge remote-tracking branch 'abeaumont/master' 2011-08-26 19:53:11 -07:00
John Benediktsson a429f67b87 Merge remote-tracking branch 'philip-searle/master' 2011-08-26 19:42:04 -07:00
John Benediktsson 7225ce1f5e Merge remote-tracking branch 'ajvondrak/graphviz' 2011-08-26 19:31:47 -07:00
John Benediktsson 60bf9d49ca Merge remote-tracking branch 'ex-rzr/fixes' 2011-08-26 19:05:53 -07:00
John Benediktsson 02181a5d50 brainfuck: some cleanup and make the ebnf simpler. 2011-08-26 18:42:17 -07:00
John Benediktsson dd280eae9a Adding a webapp for benchmarking the Factor web server. 2011-08-26 18:02:44 -07:00
John Benediktsson 56f6dacd93 benchmark.echo: Update copyright. 2011-08-26 18:02:22 -07:00
John Benediktsson daaaed7e2b Adding a UDP echo benchmark. 2011-08-26 17:18:08 -07:00
John Benediktsson 6ca88c1f79 Fix docs for 'lunar-rescue'. 2011-08-26 16:33:45 -07:00
John Benediktsson 9f34c9c676 Spelling fixes to documentation. 2011-08-26 16:20:31 -07:00
Doug Coleman 4603fb2499 Write some more docs for readline and link readline main article to words. 2011-08-26 11:20:58 -05:00
Slava Pestov 01eeabbcbd Merge classes.struct.packed into classes.struct and remove duplication 2011-08-25 21:02:25 -07:00
John Benediktsson 7e824af1f6 fjsc: display the proper namespace when using set_in. 2011-08-24 15:20:51 -07:00
John Benediktsson 363ca60191 fjsc: change prompt to be "( scratchpad )". 2011-08-24 15:11:33 -07:00
Doug Coleman bc416b93c8 Fix help-lint for ini-file 2011-08-23 12:28:09 -07:00
Doug Coleman 08121292b0 Fix help-lint for memcached 2011-08-23 12:28:00 -07:00
Doug Coleman ae6826ed0d Fix help-lint for ntp 2011-08-23 12:27:41 -07:00
Slava Pestov ce24d774c2 websites.factorcode: add link to bug tracker 2011-08-22 23:00:04 -07:00
Slava Pestov 6ead33d73e mason.config: fix for recent changes 2011-08-22 22:17:50 -07:00
Slava Pestov e583e4e649 mason.platform: add test 2011-08-22 22:14:38 -07:00
Slava Pestov 2ca99168e6 webapps.mason.version.files: add SLOT: forward declaration 2011-08-19 19:54:23 -07:00
Slava Pestov 80e9a42d85 websites.factorcode: clean up 2011-08-19 19:53:55 -07:00
John Benediktsson 6f0b3f119d tnetstrings: vocab to parse "tagged netstrings". 2011-08-19 19:02:29 -07:00
Doug Coleman fc13ae09c0 Add google translate vocabulary 2011-08-19 18:33:23 -07:00
John Benediktsson 9f93d4bff7 Adding 'ntp' client vocab. 2011-08-19 17:25:10 -07:00
John Benediktsson e592e3ede6 Adding 'ini-file' vocab to parse INI config files. 2011-08-19 17:22:16 -07:00