Doug Coleman
63763caef4
tools.deploy.test.19: case sensitive on linux.
2016-03-17 22:50:13 -07:00
John Benediktsson
0316a04c42
tools.deploy.test.19: make sure to test vocab urls.
2016-03-17 17:00:32 -07:00
Doug Coleman
d4b8e44399
license rename: fix the rest of it.
2016-03-17 02:36:34 -07:00
John Benediktsson
497f8cb514
Update tests for LICENSE.txt rename.
2016-03-16 10:13:56 -07:00
Doug Coleman
a1e3476617
tools.deploy: increase sizes for linux32
2016-03-08 16:36:45 -08:00
John Benediktsson
7b28949331
tools.deploy: bump size.
2015-12-30 12:49:34 -08:00
John Benediktsson
7e40b60374
tools.deploy: add a MAIN:.
2015-12-25 21:11:21 -08:00
Björn Lindqvist
216a1234c2
tools.test: makes <test-failure> public
2015-12-17 23:50:49 +01:00
John Benediktsson
119f188423
tools.deploy: bump sizes, sigh.
2015-12-14 10:21:52 -08:00
John Benediktsson
6ded345591
tools.deploy: bump deploy test sizes.
2015-12-13 14:25:45 -08:00
John Benediktsson
8cf8f023e2
tools.deploy: bump test sizes.
2015-12-13 09:02:55 -08:00
Björn Lindqvist
4551fdcb28
tools.test: print the callstack in test failures
...
So when mason reports a test failure it should include the whole
callstack. That should make it easier to catch the "No suitable
arithmetic method" random error that is hard to debug without a
callstack.
2015-12-04 16:57:40 +01:00
John Benediktsson
e84e63fd0c
tools.deploy: small bump in sizes.
2015-11-23 10:42:49 -08:00
Björn Lindqvist
9b5cb445ee
tools.ps.linux: recover from missing file in ps-cmdline, fixes #1120
2015-10-20 16:55:48 +02:00
John Benediktsson
59caf874a3
syntax: removing #! as a comment character.
...
We don't need two types of comments and shebang (#!) is handled
natively by the lexer, so the original reason for #! is not valid.
2015-09-09 18:28:08 -07:00
John Benediktsson
e477f6996f
Fix comments to be ! not #!.
2015-09-08 16:15:10 -07:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
c21a154056
core: callstack is a builtin type and a class name. rename the *stack words that grab the current stack get-foostack to avoid the callstack builtin conflict and for better symmetry with set-foostack.
2015-08-13 10:11:59 -07:00
Doug Coleman
b6be8685c3
basis: ERROR: changes.
2015-08-13 03:20:39 -07:00
Doug Coleman
9f0a1ed730
cocoa: Syntax is funky, so regularize it by parsing CLASS: ; and METHOD: ; and COCOA-PROTOCOL: token.
2015-08-12 19:44:07 -05:00
Doug Coleman
02008979d9
factor: Change ERROR: foo ; to define ``throw-foo`` instead of having ``foo`` throw implicitly. The old ``foo`` still throws implicitly because this is a big change to get right in one patch, but it should be removed soon.
2015-08-12 15:26:18 -05:00
Doug Coleman
e0d1b14e5c
factor: don't need FROM: namespaces => set or namespaces:set anymore
2015-08-12 11:25:57 -05:00
Doug Coleman
46587f8457
factor: arch -> arch-name. fix breakage caused by other patch.
2015-08-12 11:08:24 -05:00
Doug Coleman
28dcd0667a
factor: rename set to unordered-set.
2015-08-12 10:54:19 -05:00
Doug Coleman
330c7ba156
factor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots named ``at`` and change-at for hashtables.
...
Redo many FROM: and QUALIFIED: and using lists.
2015-08-12 08:49:02 -05:00
John Benediktsson
cbcb724a35
tools.deploy: bump image sizes to get linux-x86-32 builds.
2015-08-06 17:06:34 -07:00
John Benediktsson
2a3427bdff
io.files.info: use directory?, symbolic-link?, and regular-file?.
2015-08-05 18:33:35 -07:00
John Benediktsson
7312f3dc66
tools.deploy: fix tests for windows.
2015-08-05 14:04:49 -07:00
Doug Coleman
4131b44503
tools.deploy.embed: rename gone wrong. fixes #1415 .
2015-08-05 11:59:27 -07:00
John Benediktsson
b8675e4470
tools.deploy: disable opening directory after deploy for tests.
2015-08-05 11:02:09 -07:00
John Benediktsson
6490391bfc
tools.deploy.windows: fix using.
2015-08-05 07:26:01 -07:00
John Benediktsson
17b369972f
tools.deploy: adding a deploy-path that gives you the executable that was created.
2015-08-04 19:06:19 -07:00
Doug Coleman
876a7f2301
tools.deploy: increase image size for linux32
2015-08-01 14:34:04 -07:00
Doug Coleman
1fcf96cada
factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon.
2015-07-25 22:59:56 -07:00
Doug Coleman
117727d444
parser, source-files: you need to bootstrap after this patch.
...
cleans up some file vs path naming.
file -> current-source-file
file -> current-test-file somewhere else
source-file -> path>source-file
source-file-tuple -> source-file
2015-07-23 22:03:43 -07:00
Doug Coleman
cf0cb4aedc
nested-comments: remove this vocab. we have /* */ which is good enough for now.
...
broken case:
(*
: print-broken ( -- ) "*)" ;
*)
not worth fixing, please don't bring this back :)
its functionality will be replaced soon.
2015-07-21 12:07:53 -07:00
Doug Coleman
329aed2366
factor: fix renaming bugs
2015-07-20 07:54:26 -07:00
Doug Coleman
2adeed9cb3
factor: rename classes:members to class-members so it doesn't conflict with sets:members. ugh.
2015-07-20 00:32:42 -07:00
Doug Coleman
fbbd09f3c5
factor: system:image -> image-path, like vm-path. image is all over the place png, jpg etc
2015-07-20 00:17:09 -07:00
Doug Coleman
618330b31e
factor: rename system:vm -> vm-path to differentiate it from vm:vm (which is a STRUCT:)
2015-07-20 00:10:29 -07:00
Doug Coleman
1b228c7e9c
tools.deploy.windows: fix using.
2015-07-19 17:53:09 -07:00
Doug Coleman
9ddae2534d
tools.deploy.windows: fix circularity, for some reason not exposed before
...
this?
2015-07-19 17:37:51 -07:00
Doug Coleman
5f8426cfbe
factor: rename files that are not loadable on mac, too
2015-07-19 16:55:36 -07:00
Doug Coleman
2c257f399c
factor: Rename MACRO: and MACRO: to have quot as the output in stack effects.
2015-07-18 22:16:11 -07:00
John Benediktsson
8a3c5c2634
Fix some tests broken by optimized? rename.
2015-07-15 11:47:03 -07:00
John Benediktsson
4c2c8f133f
vm: rename some primitives, and some cleanup.
...
* quot-compiled? => quotation-compiled?
* optimized? => word-optimized?
2015-07-15 11:13:52 -07:00
John Benediktsson
8dd67e0741
tools.scaffold: use vocabs:check-vocab-name.
2015-07-09 11:02:09 -07:00
John Benediktsson
7d50ab1937
tools.scaffold: check vocab name in scaffold-vocab.
2015-07-09 10:51:44 -07:00
Doug Coleman
892c62e1dc
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
2015-07-03 09:39:59 -07:00
Doug Coleman
59f3b1ea57
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
...
Needs a bit more work.
This reverts commit 7e54cc2824
.
2015-07-02 13:47:06 -07:00
Doug Coleman
7e54cc2824
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
2015-07-02 11:36:08 -07:00
Doug Coleman
999aa7c897
factor: clean up spaces in -tests files
2015-07-02 10:34:01 -07:00
Doug Coleman
e3cb325040
factor: clean up whitespace in -docs files
2015-07-02 10:31:22 -07:00
Doug Coleman
69ee8b9190
core, basis: Don't use the IN: foo.private feature and undocument it.
...
It only works well when you are loading code dynamically.
2015-06-30 08:51:07 -07:00
Doug Coleman
352e5de16a
core, basis, extra: Remove DOS line endings from files.
...
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
Doug Coleman
44e8e7b344
primitives: Change PRIMITIVE: to check that the word is in that vocabulary and the stack effect is correct.
...
Use PRIMITIVE: in core/ and basis/
2015-06-25 18:02:03 -07:00
John Benediktsson
6698f7d55d
tools.coverage: cleanup and use deep-reduce in count-callables.
2015-06-09 08:43:51 -07:00
John Benediktsson
667462e848
tools.coverage: fix refactor bug.
2015-06-09 08:03:35 -07:00
John Benediktsson
d68175f48f
Some more general fixes for recent refactors.
2015-06-08 19:15:29 -07:00
Doug Coleman
6e60c811ac
core: Rename create to create-word, create-in to create-word-in.
2015-06-08 12:47:35 -07:00
Doug Coleman
a4c5a748ad
core/basis: Rename words dealing with vocabs to loaded-vocabs or disk-vocabs because it's too confusing otherwise.
2015-06-08 12:47:35 -07:00
John Benediktsson
296968580a
use assoc-reject instead of [ ... not ] assoc-filter.
2015-05-12 19:08:42 -07:00
John Benediktsson
b366a06c41
use reject instead of [ ... not ] filter.
2015-05-12 18:50:34 -07:00
John Benediktsson
a33fc84de7
help.lint.checks: re-enable leak detection.
2015-05-12 10:46:37 -07:00
Doug Coleman
59205b0399
tools.scaffold: generating docs for obj/f was broken.
2015-05-05 21:39:55 -07:00
Björn Lindqvist
92165e4ee7
Docs: bunch of smaller documentation fixes for various vocabs
2015-04-29 09:31:54 -07:00
John Benediktsson
7e4d1178c3
interpolate: don't break backwards compatibility.
2015-04-18 20:22:29 -07:00
John Benediktsson
c5ed2c89fe
interpolate: some fixes for recent API change.
2015-04-18 19:36:49 -07:00
John Benediktsson
faa7fde557
tools.ps: enable use from command-line.
2015-04-09 10:43:43 -07:00
John Benediktsson
24101fbaeb
tools.hexdump: enable use from command-line.
2015-04-09 10:43:20 -07:00
John Benediktsson
83f7b31910
io.launcher: cleanup public interface, make some things private or internal.
2014-12-30 10:04:09 -08:00
John Benediktsson
0b460c431b
tools.deploy.backend: add word for deleting cached staging images.
2014-12-23 08:56:05 -08:00
John Benediktsson
c0dda5c7e9
command-line: save the executable in a variable so that people don't use (command-line) directly if possible.
2014-12-23 08:12:31 -08:00
John Benediktsson
9b47a82e78
tools.deploy.shaker: set the rest of the args to preserve current behavior.
2014-12-22 22:44:42 -08:00
John Benediktsson
3709749ea1
tools.disassembler: allow disassemble of compose and curry.
2014-12-19 11:40:41 -08:00
John Benediktsson
00b1919725
basis: cleanup using.
2014-12-01 22:18:32 -08:00
Doug Coleman
726e5068f7
Revert "tools.test: Print tests homoiconically. There is too much spacing still"
...
This reverts commit 34a197248c
.
2014-11-23 23:59:57 -08:00
Doug Coleman
beaa8ef083
Revert "tools.test: Fix using list."
...
This reverts commit 4306180c11
.
2014-11-23 23:59:35 -08:00
Doug Coleman
4306180c11
tools.test: Fix using list.
2014-11-23 18:01:19 -08:00
Doug Coleman
34a197248c
tools.test: Print tests homoiconically. There is too much spacing still
...
but it's better than before imo. See #1221 .
2014-11-23 16:51:40 -08:00
John Benediktsson
de179243ce
basis/extra: cleanup uses of add-library.
2014-11-13 13:05:14 -08:00
John Benediktsson
d6b6f3893d
basis/extra: switch to "vocab." os name>> append require.
2014-11-13 13:00:44 -08:00
John Benediktsson
d89ae96c64
tools.scaffold: support more types and maybe types.
2014-11-13 08:23:22 -08:00
Doug Coleman
1ce7c6a9e7
tools.scaffold: Add type for exemplar in docs.
2014-11-08 00:40:13 -08:00
Benjamin Pollack
2c3dd8c3c8
Remove executable bit from tons of files that aren't
2014-11-05 20:40:42 -08:00
Doug Coleman
7799c6f217
tools.scaffold: Make a better scaffold-examples word in hopes it will cause more examples to get written. Add more docs. Fix spacing bug in scaffold-undocumented.
2014-10-31 17:45:48 -07:00
Doug Coleman
56217afcbb
tools.deploy-tests: inc size for linux32
2014-10-09 12:23:12 -07:00
Doug Coleman
7328fa306f
tools.deploy: Bump the build size. This is a comparatively sizeable bump
...
compared to usual, but I really want clean builds.
2014-10-08 11:41:34 -07:00
Doug Coleman
424e1983e4
tools.profiler.sampling: Kick it down a notch. Makes win32 tests finish!
2014-10-07 23:56:50 -07:00
Björn Lindqvist
4a96e6163b
VM: new primitive (callback-room) for querying the VM about memory usage
...
The word works exactly like (code-room) except it looks at the memory
usage in the callback heap instead of the code heap.
2014-09-29 07:30:21 -07:00
Björn Lindqvist
8d6df6d128
tools.deploy.backend: with-variables need to be on the whole block
2014-09-28 22:57:24 +02:00
Björn Lindqvist
07dd28c94d
tools.deploy.backend: rearranging the order of parameters in the deploy process, -run needs to be last
2014-09-28 13:14:42 -07:00
Doug Coleman
c9e705ff6a
tools.deploy: bump sizes for linux32. so not hardcore.
2014-09-24 17:12:02 -07:00
Doug Coleman
cf6ae0ec2e
tools.depoy: Bump test size for mac32.
2014-09-12 12:08:05 -07:00
John Benediktsson
aaeb3f357e
tools.deploy.backend: use make-my-image.
2014-08-05 12:24:34 -07:00
John Benediktsson
f8c4827095
tools.deploy.macosx: needs more boolean.
2014-08-05 11:44:43 -07:00
John Benediktsson
a9f305bfa6
tools.deploy.macosx: whoops needs more string.
2014-08-05 11:44:02 -07:00
John Benediktsson
4b64626e10
tools.deploy.macosx: deployed apps should be retina-capable.
2014-08-05 11:43:26 -07:00
John Benediktsson
6f3d6ad560
tools.profiler.sampling: use formatting instead of math.parser.private.
2014-08-05 11:43:26 -07:00
Doug Coleman
63af1308bb
tools.deploy: Pump p p pump pump it up
2014-07-09 21:40:18 -07:00
John Benediktsson
e5db4c2ccc
tools.deploy: bump sizes to get clean 32-bit builds (for now).
2014-07-06 11:11:22 -07:00
Björn Lindqvist
508b85851d
tools.deploy.backend: ui depends on (full) io so it needs to be loaded first
...
find-library on linux needs to call /sbin/ldconfig which requires a
full io-backend. Using gtk requires loading alien libraries which
requires find-library. So the ui should always load the whole io.
2014-07-03 21:57:07 +00:00
Doug Coleman
3ca95f58f9
tools.coverage.testvocab: Fix help lint errors.
2014-07-03 11:48:08 -07:00
Jon Harper
0cf6541847
tools.coverage: add tests, fixes #433
2014-06-09 08:31:04 -07:00
Jon Harper
485932eff1
test-coverage-recursively: remove private and tests vocabs
...
private vocabs are already covered when testing the main vocab.
test vocabs don't need coverage.
2014-06-09 08:31:04 -07:00
John Benediktsson
0554e8c3fa
tools.deprecation: make deprecation warnings not fatal (so they don't clutter the UI forever).
2014-06-06 14:10:32 -07:00
John Benediktsson
df50f9ad8c
tools.coverage: add docs for test-coverage-recursively.
2014-06-06 10:22:37 -07:00
John Benediktsson
ee9b803252
tools.ps.macosx: fix for recent change to system-info.macosx.
2014-06-05 21:01:57 -07:00
Doug Coleman
40a79766af
alien.libraries: Change <library> to be just a constructor. Replace with make-library and try-make-library so that we throw better errors.
2014-06-05 14:28:37 -07:00
John Benediktsson
27c86672eb
tools.coverage: change test-coverage to not test recursively.
2014-06-03 18:11:26 -07:00
John Benediktsson
57f9d78892
improve help by linking to types directly.
2014-05-23 20:20:15 -07:00
John Benediktsson
98935b7f15
docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``.
2014-05-18 20:09:10 -07:00
Doug Coleman
8a084926d1
deploy-tests: Bump the sizes to get a Linux32 build.
2014-05-07 13:28:31 -07:00
Doug Coleman
ae6b931284
deploy: Up the size.
2014-04-23 00:10:56 -07:00
John Benediktsson
830c72198c
Revert "tools.deploy.test: use temp directory for deploy image."
...
This reverts commit 233b8e1ba611888ff9b86ddba3152c4fd352504d.
2014-04-22 20:44:04 -07:00
John Benediktsson
a7b54e7895
tools.deploy.test: use temp directory for deploy image.
2014-04-22 16:21:25 -07:00
John Benediktsson
857c97647e
tools.deploy.config: some docs for deploy-directory.
2014-04-22 15:55:56 -07:00
John Benediktsson
580bafb857
tools.deploy: adding a configurable deploy-directory.
2014-04-22 14:08:40 -07:00
John Benediktsson
78d0aad87d
http.server.responses: adding <html-content>, use it.
2014-04-22 13:47:25 -07:00
John Benediktsson
d3935d2ef3
add some libc usings for macosx.
2014-04-16 07:55:37 -07:00
Doug Coleman
c0fbf0455d
tools.scaffold: Add word to scaffold a mason rc file.
2014-04-15 19:05:00 -07:00
Björn Lindqvist
792ed03b4d
help.lint.checks: check for disposable leaks and print more details when $values are wrong
2014-04-14 08:37:52 -07:00
Doug Coleman
c6fd2da67f
tools.coverage: Add a ``test-coverage-recursively`` word. Not all vocabs can be tested for unit test coverage, so don't make this the default. Fixes #1013 .
2014-03-11 21:20:34 -05:00
Doug Coleman
e407981e12
io.directories: Add with-resource-directory word and use it.
2013-09-24 13:13:39 -07:00
Doug Coleman
662e215c7e
tools.deploy.test: Bump windows binaries size up a bit.
2013-07-16 11:26:32 -07:00
John Benediktsson
787cc89370
tools.ps.windows: use offset-of instead.
2013-07-15 15:31:59 -07:00
Doug Coleman
18a463bc2f
tools.ps.windows: Fix offsets for win64.
2013-07-15 15:19:07 -07:00
John Benediktsson
eaea33b28e
tools.disassembler.udis: no longer need these tests.
2013-05-28 14:15:48 -07:00
John Benediktsson
0f8b890748
tools.disassembler.udis: 1k ought to be enough for anybody.
...
(Work around change in struct sizes from 1.7 to 1.7.1).
2013-05-28 12:11:12 -07:00
Doug Coleman
16d24a5194
tools.ps.windows: Add read-peb and my-peb.
2013-05-01 18:15:15 -07:00
Doug Coleman
90c7c3fc81
tools.ps.windows: Implement ps. for Windows!
2013-04-26 21:15:12 -07:00
John Benediktsson
3139ec1d61
tools.test: allow testing from the command-line.
2013-04-26 17:43:39 -07:00
John Benediktsson
380bb350ca
tools.ps.macosx: use trim-head-slice, simpler.
2013-04-26 16:23:32 -07:00
John Benediktsson
f2aa86ff33
tools.ps.linux: fix USE: tools.ps.
2013-04-25 16:01:30 -07:00
John Benediktsson
455ef45b21
tools.ps.linux: fix USE: system.
2013-04-25 15:59:25 -07:00
John Benediktsson
ae3e48e156
tools.ps: sort-by-pid and print headers.
2013-04-25 10:05:57 -07:00
John Benediktsson
46f306132c
tools.ps: implemented on macosx.
2013-04-25 09:12:42 -07:00
John Benediktsson
8574b25a96
tools.profiler.sampling: don't mis-use collect-by.
2013-04-22 06:24:02 -07:00
Doug Coleman
905ec06d86
tools.deploy: Cheater mode, add 20kb to tools.deploy.test.20 unit test.
2013-04-19 17:19:28 -07:00
John Benediktsson
cb622f4d85
tools.crossref: switch to using identity hash-sets.
2013-04-06 14:53:54 -07:00
Doug Coleman
3bdb788709
tools.coverage: Fix docs
2013-03-25 11:57:25 -07:00
Doug Coleman
4ffbfc2602
basis/extra: Fix load errors
2013-03-24 22:19:28 -07:00
Doug Coleman
2f11e06dec
tools.coverage: Rename
2013-03-24 10:11:17 -07:00
Doug Coleman
11c4c4634a
tools.trace: Rename
2013-03-24 10:11:17 -07:00
John Benediktsson
1754ab73bd
basis: fewer tokens when possible using if*.
2013-03-23 22:25:02 -07:00
Doug Coleman
00450e468a
tools,help: Fix error-type.
2013-03-23 22:07:40 -07:00
Doug Coleman
9c0d2068c9
tools.deploy.shaker: Fix call to lookup-library.
2013-03-23 20:03:51 -07:00
Doug Coleman
378300155b
tools.test: Rename did-not-fail.
2013-03-23 17:09:19 -07:00
Doug Coleman
50bf20bca4
tools.deprecation: Rename deprecation-note
2013-03-23 16:48:41 -07:00
Doug Coleman
8c19602ae9
assocs: Add of and ?of. Change all the things at once! Fixes #701 .
2013-03-23 14:59:07 -07:00