Commit Graph

1164 Commits (0d7233f2daa9cac5034e3e283b51c817c9650501)

Author SHA1 Message Date
John Benediktsson 8b455d2306 tools.deploy.shaker: support "stop-after-last-window?".
This only works on macOS right now, but since most every deploy.factor
has it set, we should read it and use it.
2017-03-05 15:13:24 -08:00
John Benediktsson 92d7f6bc5a tools.deploy.shaker: change compiler-classes to return a set. 2017-02-07 15:30:50 -08:00
John Benediktsson baaa06278c Revert "sequences: swap stack arguments for start/start*/subseq?."
This reverts commit 63b0593824.
2017-01-21 07:20:14 -08:00
John Benediktsson 63b0593824 sequences: swap stack arguments for start/start*/subseq?.
It is more natural to be ( seq subseq -- ? ).
2017-01-20 22:49:53 -08:00
Alexander Iljin 5fac469a8c tools.test-docs: add missing $syntax entries
Previously only the unit-test help had $syntax.
2017-01-13 13:31:42 +03:00
John Benediktsson 3974ba8ba3 use with-variable in some places with-scope was used. 2017-01-03 19:12:29 -08:00
Björn Lindqvist f9b9ce20f2 calendar.english: new vocab for english names for days and months
This moves all the english-centric words from the calendar vocab which
was getting kind of big to calendar.english. It should make it easier to
see which vocabs make language assumptions.
2017-01-03 15:48:08 +01:00
John Benediktsson ce9c9a8858 tools.destructors: use collect-by. 2016-12-28 16:21:08 -08:00
John Benediktsson 4400c5051c tools.profiler.sampling: cleanup using. 2016-12-28 13:40:05 -08:00
Björn Lindqvist 6f555a7b2c tools.deploy.*: new word maybe-open-deploy-directory 2016-12-18 04:12:56 +01:00
Björn Lindqvist 5f5098617a webbrowser: let's change the name open-file -> open-item
Because the word can open more stuff than just files.
2016-12-18 03:23:24 +01:00
Björn Lindqvist 515f7e5269 tools.memory: moving the code-block types to the vm vocab 2016-12-09 11:53:59 +01:00
Björn Lindqvist 5a1cb3f81e tools.memory: fix code-room. word, no more profiling stubs 2016-12-09 11:37:37 +01:00
John Benediktsson 4e3fe96d3d tools.deprecation: use filter-word-defs. 2016-12-06 16:31:33 -08:00
Björn Lindqvist e629f7b289 compiler.crossref: changes the way in which dependencies are stored on words
Previosly, they were stored in three sequences in the properties
"conditional-dependencies" "effect-dependencies" and
"definition-dependencies". It seem to better to store all three
types in one big property called "dependencies".
2016-11-30 07:29:10 +01:00
John Benediktsson dadff2f062 some cleanup. 2016-11-26 22:01:03 -08:00
Björn Lindqvist 3b0d5bba15 kernel.private: adding OBJ-SAMPLE-CALLSTACKS + test case 2016-11-24 05:11:46 +01:00
John Benediktsson ea2a856ee6 tools.deploy.backend: removing empty description. 2016-11-01 08:25:43 -07:00
Björn Lindqvist b31c0b8857 Docs: bunch of random doc updates 2016-10-31 11:46:39 +01:00
Björn Lindqvist f070a47ec0 VM: add marking as a timed gc phase
I think that makes sense because most time when doing a full gc is spent
marking.
2016-10-20 07:46:21 +02:00
Björn Lindqvist 752c895d23 VM: refactor gc_event so that the phase times are stored in an array
So that you don't need a new method for each gc phase to time.
2016-10-20 00:34:18 +02:00
Björn Lindqvist f147bd4404 VM: uppercasing gc_op 2016-10-19 09:09:32 +02:00
Björn Lindqvist 55e6ccb708 VM: remove the reversing from sampling profiler callstack collection #452 2016-10-13 01:34:55 +02:00
Sankaranarayanan Viswanathan fe9ceffad5 tools.walker: Improve docs for breakpoint words 2016-10-07 16:05:04 -07:00
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