Commit Graph

742 Commits (fd853f99581cc5cd2889fd6e3f65021e1aa7720a)

Author SHA1 Message Date
John Benediktsson fd853f9958 Cleanup some lint warnings. 2011-10-15 19:19:44 -07:00
John Benediktsson 419f40f4ed math.parser: cleanup uses of 16/8/2 >base/base>. 2011-10-14 10:09:12 -07:00
Joe Groff 14fc8c4218 tools.test.fuzz tests: missing using 2011-10-10 18:03:52 -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
Doug Coleman 54ada3d943 Rename method -> lookup-method in three places. 2011-10-04 20:37:23 -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
Slava Pestov 07bf54eafc tools.continuations: >c and c> are gone 2011-10-03 00:37:48 -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 300138eb4d 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 0e3d598e69 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
John Benediktsson e441a4c923 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.
2011-09-26 11:08:26 -07:00
Doug Coleman e02d48e866 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
2011-09-25 19:32:36 -07:00
John Benediktsson af53685755 tools.crossref: now 50% faster. 2011-09-25 11:40:55 -07:00
Joe Groff 571ef865e6 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
Doug Coleman 17e0fbe501 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 0b73cdd243 tools.completion: add test that empty completions preserve order. 2011-09-17 09:00:43 -07:00
Slava Pestov 81f1936ca0 tools.errors: fix help lint 2011-09-13 23:40:48 -07:00
Slava Pestov fe0306961c tools.deploy.shaker: update for alien.libraries changes 2011-09-13 20:19:11 -07:00
John Benediktsson 5755762fe2 tools.completion: undo private change, and add tests. 2011-09-13 09:22:57 -07:00
John Benediktsson e7f4a06a4d tools.completion: speed up apropos by 35%. Fixes #101. 2011-09-13 09:13:02 -07:00
Doug Coleman 7972ea3412 Fix shaker 2011-09-07 00:34:23 -07:00
Doug Coleman 433dc02702 Make "quiet" true by default. Disable quiet mode for listener, bootstrap, and deploy tool.
Move "quiet" to parser-quiet? in parser.notes. Change a few places where quiet was handle wrong.
2011-09-06 17:58:12 -07:00
Slava Pestov b25f21f70c Move some primitives from memory and memory.private to tools.memory.private, add data-heap and code-heap words that wrap the struct for you 2011-09-05 16:47:29 -07:00
John Benediktsson 2233a625e5 tools.crossref: adding stack effect. 2011-09-03 16:39:04 -07:00
Slava Pestov 952b5c7aa7 tools.scaffold: remove unused ERROR: 2011-09-01 22:31:45 -07:00
Doug Coleman aa7d3efbd8 Add scaffold-factor-roots word to tools.scaffold 2011-08-29 01:03:41 -05:00
John Benediktsson 435ecfc217 Merge remote-tracking branch 'erg/master' 2011-08-27 19:00:27 -07:00
Doug Coleman acb833dbe3 Make coverage. use each-word, only put coverage on non-primitive/symbol words 2011-08-27 16:12:41 -05:00
Joe Groff 3757210244 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
Doug Coleman 85a06ffd32 Change the way %coverage works, make coverage word use map-words to hit private vocabs, make %coverage only work on vocabs. 2011-08-27 15:54:25 -05:00
Doug Coleman e06b755e13 Document some words, move words around to be private 2011-08-27 12:52:01 -05:00
Doug Coleman 4372d53cd4 Better name for combinator -- each-word, each-map to iterate over all words in vocab and its private vocab. Add count-callables and %coverage words. 2011-08-27 12:34:05 -05:00
Doug Coleman b27e150eea Use change-vocabulary-coverage word for toggle-coverage too to handle .private vocabs 2011-08-27 01:04:02 -05:00
Doug Coleman c5512cf592 Add toggle-coverage word and make coverage-on/off work on .private vocabs too. 2011-08-27 00:56:02 -05:00
Doug Coleman c65dc48d6c Fix the docs for tools.coverage 2011-08-27 00:14:56 -05:00
Doug Coleman a35abdfb59 Clean up some duplication in annotate/deep-annotate 2011-08-26 17:11:50 -05:00
Doug Coleman 19540b8cb9 Add docs for tools.coverage 2011-08-26 15:39:27 -05:00
Doug Coleman 7419b6140d Rename tools.code-coverage to tools.coverage, change some word names. 2011-08-26 14:32:41 -05:00
Doug Coleman 1eae76b158 Add tools.code-coverage vocab to assist in writing unit tests 2011-08-26 13:37:40 -05:00
Doug Coleman 023f9ea86a Add a deep-annotate word that annotates each quotation in a word definition. 2011-08-26 11:47:37 -05:00
Joe Groff 5ea8b4f640 tools.deploy: add deploy-help? option to include documentation in deployed image 2011-08-04 14:27:29 -07:00
Erik Charlebois 8cf9f5142b Fix GDB-based disassemble for GDB 7 2011-05-23 23:36:13 -04:00
Erik Charlebois c11f044725 Use .factor-rc etc on Windows too, files can begin with dots just fine 2011-05-23 23:36:13 -04:00
John Benediktsson 8928fe2e17 Update code that did ">alist sort-" to just "sort-". 2011-04-07 09:01:21 -07:00
Slava Pestov 2c2f3ac910 tools.deploy: increase size limits for recently-added deploy tests that never passed 2011-03-04 18:12:36 -05:00
Slava Pestov 6492baea25 tools.deploy.shaker: strip out GObject introspection info 2011-02-27 20:02:14 -06:00
Slava Pestov 13bcc56b15 tools.deploy.test.21: deploy without threads to reduce image size 2011-02-27 14:38:47 -08:00
Slava Pestov a3558d1c0f tools.deploy: actually add the new test 2011-02-25 22:13:54 -08:00