Commit Graph

1190 Commits (revert-2214-feature-commandline-documentation)

Author SHA1 Message Date
Björn Lindqvist c42c7aabbc command-line,tools.deploy.shaker: removes refs to executable which i forgot 2016-09-27 00:31:35 +02:00
Björn Lindqvist 8368727f8a tools.deploy.shaker: there is no no-def-strip property 2016-09-16 14:23:01 +02:00
Björn Lindqvist 6a7033fccb bootstrap.image.primitives,tools.profiler.sampling: fixing stack effect 2016-09-01 09:00:01 +02:00
Björn Lindqvist 630c4d326f tools.deploy.windows: fix the using ambiguity with the open-file word 2016-08-22 02:05:32 +02:00
Björn Lindqvist f17fc68a7e tools.deploy.windows: using an empty string seem to solve #1691 2016-08-21 06:13:45 +02:00
Björn Lindqvist 1a1e95f669 tools.deploy.*: refactoring of the deploy* words
The open-file word from webbrowser can be used to open the
deploy-directory after the deploy is done.
2016-08-21 06:05:42 +02:00
Björn Lindqvist 89e661f18c tools.deploy.config: fix + tc for the deploy help error (#1692) 2016-08-19 06:53:18 +02:00
Björn Lindqvist a70deca651 tools.deploy.backend: refactoring of make-staging-image 2016-08-19 06:17:48 +02:00
Björn Lindqvist 64d3c01523 tools.deploy.shaker: another global to strip 2016-08-19 03:42:27 +02:00
Alexander Iljin 4a7f0987d8 tools.scaffold-docs: add documentation for the scaffold-work word 2016-07-30 09:25:30 -07:00
Alexander Iljin 2fd5654473 Add EOL at EOF for all authors.txt files for consistency
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
John Benediktsson 6b12e2e3bc use ?delete-file instead of [ delete-file ] ignore-errors. 2016-07-10 20:28:46 -07:00
Alexander Iljin 6834f93ad1 tools.scaffold: fix scaffold-docs generating $var-decsription for classes 2016-06-29 14:17:57 -07:00
Alexander Iljin b0c6f97bf5 tools.memory: move invariant code to cleanup-always quot of the cleanup 2016-06-22 11:27:26 -07:00
Björn Lindqvist ee80cb0752 ui.backend.gtk: use a global variable to store the icon data
It's easier than the previous code that replaced the get-icon-data word
during deployment. Also GTK support for icon.ico icons.
2016-06-17 16:39:11 +02:00
Björn Lindqvist 2c8b2d9bf5 ui.backend.gtk: hi-res icon awesomeness 2016-06-17 14:29:45 +02:00
Björn Lindqvist 9da7863917 tools.profiler.sampling.tests: attempt to fix the unit test that fails on x86.32 sometimes 2016-05-31 22:15:08 +02:00
Alexander Iljin c460fc79c7 tools.crossref-docs: fix wording 2016-05-25 15:58:49 +03:00
Björn Lindqvist 0394a141d3 tools.profiler.sampling.tests: call gc beforehand to ensure no random samples are collected 2016-05-19 01:54:24 +02:00
Doug Coleman 6b77c4f3da tools.deploy: bump the other bunny deploy size. 2016-05-10 15:21:06 -07:00
Doug Coleman d279cea544 tools.deploy: bump the bunny size. 2016-05-10 02:35:35 -07:00
Björn Lindqvist 7f8d5cbef4 VM: when starting the sampling profiler, the data needs to be cleared 2016-05-06 19:56:13 +02:00
Björn Lindqvist c100d2256d tools.deploy.shaker: dont strip the "layout" property
Stripping it was a bad idea. It is required for constructing tuples.
2016-05-05 15:46:22 +02:00
Björn Lindqvist 5826394573 VM: the (clear-samples) primitive is unused 2016-05-05 02:33:35 +02:00
Björn Lindqvist 8911ad2a16 VM: don't end the gc event in start_gc_again, fixes #659 2016-05-04 22:47:50 +02:00
Björn Lindqvist b79490b063 tools.deploy.tests: guess we need to bump the size again 2016-05-03 01:21:03 +02:00
Björn Lindqvist 6f440404c3 tools.deploy.tests: changes name of the test file to local-license.txt so it is more unique 2016-04-30 09:28:30 +02:00
Björn Lindqvist 2ab41d0944 tools.deploy.shaker: Revert from f488f77 2016-04-30 09:28:29 +02:00
Björn Lindqvist c581805368 tools.deploy.shaker: vocabs.loader hooks is required to resolve "vocab:"-paths 2016-04-28 03:24:09 +02:00
Björn Lindqvist 20e8ca1f9e tools.deploy.shaker: a bunch more word properties which appear safe to
strip

Help-related properties and the "layout" property of tuples
2016-04-24 22:57:42 +02:00
Björn Lindqvist d21ff7a3a0 tools.deploy.shaker: fix startup hook stripping
cpu.x86 -> cpu.x86.features and some more hooks that are safe to strip
2016-04-24 22:48:03 +02:00
Björn Lindqvist f488f77e62 tools.deploy.shaker: docs 2016-04-24 21:27:00 +02:00
Björn Lindqvist 24b6f90ab8 tools.deploy.shaker: use ignore-errors to prevent a possible infinite loop 2016-04-24 16:22:00 +02:00
John Benediktsson dd3189ecb6 tools.test: adding with-test-file and with-test-directory.
These provide unique temp files (and directories) that are
automatically cleaned up when the quotation exits. Mostly this
allows us to simplify some of our test files.
2016-04-04 10:33:03 -07:00
Björn Lindqvist 047be9cd52 tools.deploy.*: refactoring to not use dynamic variables in make-deploy-image 2016-04-02 17:48:23 +02:00
John Benediktsson beae638eab tools.test: maybe "continue running tests" isn't a good idea. 2016-03-31 07:20:31 -07:00
John Benediktsson a4b9e55987 tools.test: add a restartable-tests? flag to control restarts. 2016-03-31 06:51:17 -07:00
John Benediktsson 498285d7dd unicode: make this the API for all unicode things. 2016-03-30 23:29:48 -07:00
John Benediktsson 92496b5393 tools.test: better restart checking. 2016-03-30 23:29:37 -07:00
John Benediktsson 57f434b80e tools.test: rethrow any restart failures from tests. 2016-03-30 16:40:24 -07:00
Björn Lindqvist 92b43ce108 tools.deploy.test: new word test-image-path 2016-03-31 00:37:59 +02:00
Doug Coleman 8e59246a8b tools.deploy.windows: Windows processes launch from relation to the executable that launches them. Therefore, we need to normalize the path for the "Hello World" binary since it's in the temp directory and not relative to the factor/ directory. 2016-03-29 23:46:34 -07:00
John Benediktsson 71ef8a22c2 disambiguate namespaces:set and sets:set. 2016-03-29 17:14:42 -07:00
John Benediktsson e7a42b1dc4 sets: rename unordered-set back to set. 2016-03-29 15:46:29 -07:00
Doug Coleman 9ed93afe22 tools.deploy.windows: use "resource:" instead of "" for deploy on windows. 2016-03-29 14:43:51 -07:00
Doug Coleman e54ee276c3 tools.deploy.shaker: Fix load error.
images.png: fix load error.
2016-03-29 12:33:30 -07:00
Doug Coleman 01eb69e626 tools.deploy: add using 2016-03-29 10:53:01 -07:00
John Benediktsson 3f18b71d07 cleanup some QUALIFIED: that are no longer needed. 2016-03-29 10:20:16 -07:00
Doug Coleman 41201fd1d1 tools.deploy: Make sure to deploy-test in a temp directory and not the factor/ directory. 2016-03-29 08:44:24 -07:00
John Benediktsson d99f67d5bb tools.test: fix <test-failure> stack effect for file -> path change. 2016-03-29 08:06:56 -07:00
John Benediktsson 1589c0b764 tools.deploy: need to USE: system. 2016-03-29 06:05:05 -07:00
John Benediktsson 7d0c596c92 Hopefully fix stack effects of error hooks to throw when required. 2016-03-28 22:27:35 -07:00
John Benediktsson e2e3b448ee vocabs.metadata: moving os-specific paths to tools.deploy. 2016-03-23 07:44:35 -07:00
John Benediktsson 7f16923ce1 tools.completion: fix help-lint for runs now that it returns slices. 2016-03-22 07:44:28 -07:00
John Benediktsson 6e2726f232 tools.completion: simplify runs which is just monotonic-split. 2016-03-22 07:41:33 -07:00
John Benediktsson 12628c5a95 tools.crossref: change crossref to store uses in hash-set.
Previously it would use a hashtable where the key and value
were both the same.
2016-03-20 20:20:34 -07:00
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