Commit Graph

1020 Commits (3e485652feb276a51667843f9a95173f9c862425)

Author SHA1 Message Date
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
Doug Coleman f9ea61bf91 basis/extra: Update last usages of <sliced-groups> to <groups>. 2013-03-23 12:08:18 -07:00
Doug Coleman 8917ae9ad7 grouping: Remove <groups>, old <sliced-groups> is now <groups>. Fixes 2013-03-23 11:37:51 -07:00
John Benediktsson 8fdef5d585 tools.completion: fix test cases. 2013-03-20 23:08:00 -07:00
John Benediktsson a440b2a909 tools.completion: matching names. 2013-03-20 16:51:09 -07:00
Doug Coleman ef98b7af53 tools, ui.tools: Rename complete-P"? to complete-pathname? 2013-03-20 16:18:30 -07:00
John Benediktsson e74f770b57 Use bl in more places. 2013-03-14 19:24:00 -07:00
John Benediktsson 668de36940 tools.crossref: fix for bootstrap errors. 2013-03-12 21:01:16 -07:00
John Benediktsson 1a59420232 tools.crossref: more "make UI browser happy". 2013-03-12 09:27:07 -07:00
Doug Coleman 6697f3effb math.statistics: Fix histogram and collect. Histogram used each-index even when it didn't need to. 2013-03-10 12:57:48 -07:00
John Benediktsson 4f0c404d87 tools.scaffold: more use of hash-sets. 2013-03-10 10:02:53 -07:00
John Benediktsson c0c769a7d8 compiler.units: changing definitions-changed to use a set. 2013-03-10 09:11:18 -07:00
John Benediktsson 80ac71ad86 tools.crossref: fix help-lint. 2013-03-08 22:24:21 -08:00
Doug Coleman f9c96628c0 tools.completion: Add utility word for searching for a string in a sequence of strings. 2013-03-08 16:50:10 -08:00
John Benediktsson 26506a4b0b destructors: use hash-sets to keep track of disposables. 2013-03-08 16:30:33 -08:00
John Benediktsson 4b5833f252 tools.crossref: speed up build-crossref. 2013-03-08 16:18:26 -08:00
John Benediktsson 17a71e8105 tools.profiler.sampling: more use of hash-sets. 2013-03-08 14:36:04 -08:00
John Benediktsson b571a42679 Use -unsafe words with pair methods. 2013-03-07 10:47:23 -08:00
John Benediktsson 248d4e6bee tools.completion: small performance improvements. 2013-03-06 19:58:53 -08:00
John Benediktsson c0f5bc8391 tools.profiler.sampling: fix top-down*. 2013-03-01 09:20:48 -08:00
Doug Coleman 7d9a8b69af tools.ps: Use unix.linux.proc for parsing. 2013-02-24 18:30:18 -08:00
Doug Coleman 8d0137e0fd tools.deploy.windows.ico: Throw an error if the .ico is a unsupported
format.
2013-01-08 15:52:17 -08:00
Doug Coleman 516549b52c basis: Try to fix the build. My profiler is hanging, but I can't figure out why. See if the build farm has the same is
sue.
2012-11-27 12:47:44 -06:00
John Benediktsson 1537ac999d tools.completion: don't use file-directory. 2012-10-23 09:49:44 -07:00
John Benediktsson 87f55eb033 Change "3dup drop" to "2over". 2012-10-22 20:45:15 -07:00
John Benediktsson daa7bf3d22 tools.completion: minor fix to complete against file-name, not full-path. 2012-10-22 19:17:52 -07:00
John Benediktsson 6b34719f63 tools.completion: better paths-matching. 2012-10-22 18:51:38 -07:00
John Benediktsson 3049d187f6 tools.completion: fix CHAR: and COLOR: completion to require extra tokens. 2012-10-22 18:29:53 -07:00
John Benediktsson b5d0ccf200 tool.completion: ... 2012-09-25 10:34:32 -07:00
John Benediktsson 4222b44ab7 tools.completion: less private. 2012-09-25 10:01:56 -07:00
John Benediktsson bb580f2ef7 tools.completion: more <PRIVATE> words. 2012-09-25 09:45:44 -07:00
John Benediktsson a5b91e181a tools.completion: moving "complete-?" words. 2012-09-25 09:10:44 -07:00
John Benediktsson d5998a712f tools.completion: add "paths-matching". 2012-09-24 20:22:29 -07:00
John Benediktsson 08821f38ea tools.completion: adding colors-matching. 2012-09-24 15:07:30 -07:00
John Benediktsson a025d81798 tools.annotations: add total number of calls to timing information. 2012-09-20 08:29:37 -07:00
Doug Coleman 27f445d505 assocs: Add sift-keys and sift-values. Remove three other implementations
of sift-values and use the new one.
2012-08-23 22:36:10 -07:00
John Benediktsson 4c54b32170 tools.time: flush the banner so you can use time in a loop. 2012-08-10 15:23:10 -07:00
John Benediktsson 916c495337 tools.scaffold: rename scaffold-help to scaffold-docs. 2012-07-27 15:24:30 -07:00
John Benediktsson c6810293a0 tools.annotations: add a predicate class for annotated words. 2012-07-27 14:06:38 -07:00
Doug Coleman 2426a13d6a tools.profiler: Make the unit tests do more work so there's something to sample. Fixes #563. 2012-07-26 12:05:48 -07:00
John Benediktsson 9df7475314 tools.deploy.test: include arch in test.image file name. 2012-07-26 08:01:57 -07:00
John Benediktsson 942e4ffee2 tools.disassembler.gdb: simplify gdb-binary. 2012-07-24 15:04:32 -07:00
John Benediktsson a4f3a87add tools.deploy: prevent delay in error deploying of vocabs with no main. 2012-07-22 13:24:25 -07:00
John Benediktsson 4e72d80256 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
John Benediktsson 44854b6b03 tools.continuations: need one more rename. 2012-07-20 15:03:45 -07:00
Doug Coleman a7a34a3b9a continuations: change continuation word to current-continuation. continuation is now just the tuple name. issue #358 2012-07-20 12:30:14 -07:00
John Benediktsson 0cfc78c37c "filter empty?" is "any? not". 2012-07-19 16:33:01 -07:00
John Benediktsson 559b5bfa5b using the new H{ } make. 2012-07-19 09:50:09 -07:00
Doug Coleman 42f4dc36b2 namespaces: Rename ``bind`` to ``with-variables``. Update a few places that called ``global [ ] with-variables`` to use ``with-global``. 2012-07-19 00:02:47 -07:00
Doug Coleman ee1c45a403 tools.walker: Give examples for breakpoint and breakpoint-if. Reported by tgunr 2012-07-17 12:06:31 -07:00
John Benediktsson 2900fb9361 unicode.data: faster string operations by using constants instead of globals. 2012-07-15 13:57:05 -07:00
John Benediktsson 8d2a271aa2 tools.completion: fix chars-matching word. 2012-07-14 16:14:48 -07:00
John Benediktsson 4f260ab9bd "H{ } substitute" is faster than "{ } substitute". 2012-07-13 19:06:38 -07:00
Doug Coleman 9275e88eff issue #358: code-blocks -> get-code-blocks 2012-06-21 08:35:45 -07:00
Doug Coleman eccf5a82ae io.files.info.windows: Fix file-systems word in two ways. First, don't
allocate 32k on the local alloc stack (which causes a 'double fault.')
Second, if the volume doesnt look up to a real path, don't make a dummy
object for that. volume
Use alien>native-string and native-string>alien wherever possible instead of
utf16n for Windows.
2012-06-21 08:32:53 -07:00
John Benediktsson 0adc0997f2 tools.deploy: use splitting, sigh. 2012-06-19 18:56:45 -07:00
John Benediktsson 7b57f17c9f tools.deploy: fix test for staging name. 2012-06-19 17:57:22 -07:00
John Benediktsson a81d6cdd15 tools.deploy: whoops, need bootstrap.image. 2012-06-19 17:32:46 -07:00
John Benediktsson 5372e0b9a5 tools.deploy: delete all cached staging images in deploy tests. 2012-06-19 17:13:45 -07:00
John Benediktsson 4940130b91 tools.deploy.backend: include arch in staging image name. 2012-06-19 17:13:33 -07:00
John Benediktsson 693dd717c4 tools.completion: 5-7% performance improvement. 2012-06-19 13:50:50 -07:00
John Benediktsson 3a2d507ee2 tools.deploy.windows: need to use io.files.temp. 2012-06-18 14:20:40 -07:00
John Benediktsson a3829530aa tools.deploy.windows: use temp directory. 2012-06-18 12:34:34 -07:00
Doug Coleman fd2803a916 tools.ps: Fix ps tool for linux < 3. 2012-06-18 09:51:07 -07:00
Doug Coleman 0fb3b968ed deploy test 5: use new temp directory. 2012-06-13 11:30:15 -07:00
John Benediktsson 6f9db0d163 tools.deploy: fix location of port-number file. 2012-04-27 13:17:03 -07:00
Joe Groff 5948f53725 change temp-file to cache-file where appropriate 2012-04-16 11:55:27 -07:00
Doug Coleman a813b0436d tools.ps: Add a simple Linux-only ps clone. 2012-02-03 17:30:34 -08:00
Joe Groff 903863b8c6 tools.deploy.shaker: strip globals harder
Separate the list of strippable globals in "stripped" and "cleared". Completely remove the former set, but only reset to 'f' the latter. Fixes #447.
2011-12-16 15:56:59 -08:00
Joe Groff 5557574e1c tools.deploy.shaker: clear MEMO: caches 2011-12-14 12:44:40 -08:00
Joe Groff ff50cc6f0f tools.deploy.shaker: more timid global stripping
Strip globals by replacing their value with "f". The list of globals to strip was written with the assumption that the stripped globals would get restored like normal hashtable keys when accessed. This isn't valid anymore with the globals optimization, since creating a new box breaks the foldable invariant between a global name and its associated box. Need to go through the list of globals to strip and find the ones that actually can be entirely removed as opposed to just reset to f. Fixes #445. Fixes #446.
2011-12-12 16:08:25 -08:00
rien 6e141b8f6e added B: (break for parsing words) and appropriate documentation 2011-12-10 20:59:22 -05:00
Doug Coleman abc953ecea help-lint fixes for recent changes 2011-12-07 12:26:35 -08:00
Joe Groff 47fc91e948 command-line: don't pull in tools.errors
tools.errors brings the debugger with it, which bloats deploy image size
2011-12-07 10:52:58 -08:00
Doug Coleman cab4dc6ba3 tools.profiler.sampling: Don't use calendar because it pulls in ratios 2011-11-30 23:15:43 -08:00
Doug Coleman 3ba787b277 core/basis: trim down using lists 2011-11-30 23:15:42 -08:00
Joe Groff 1ef6fc03e6 remove values vocab 2011-11-28 21:26:33 -08:00
Joe Groff 16e510bc76 namespaces: rework so a singleton isn't necessary
Make global foldable, and make the underlying global object a hashtable wrapper. Also, use a tuple instead of a generic array for the global box type.
2011-11-28 18:25:27 -08:00
Joe Groff 63c4bb40e3 tools.deploy.config: docs typos 2011-11-27 14:17:18 -08:00
Joe Groff 975d3f8c2a tools.deploy.shaker: missing using 2011-11-27 14:14:35 -08:00
Joe Groff c64b3575e4 tools.deploy.config: more stern warnings in docs
Warn that deploy-io=3, deploy-math, and deploy-threads are effectively required. Also note that deploy-ui? requires an app bundle deployment on Mac OS X.
2011-11-27 14:14:23 -08:00
Joe Groff 46c1cde14c tools.deploy.macosx: deploy separate VM and image
This is the easiest way to make sure "resource:" works with deployed bundles for now. Single-file executables aren't really an issue with app bundles anyway.
2011-11-27 12:37:58 -08:00
Joe Groff 80bd1aef1c tools.deploy.backend: make-deploy-image back out
So "deploy-image-only" still works
2011-11-27 12:37:57 -08:00
Joe Groff 932315a852 tools.deploy.macosx: oops, logic inversion 2011-11-27 12:37:57 -08:00
Joe Groff e99aa3aba8 tools.deploy.config: update docs 2011-11-27 12:37:57 -08:00
Joe Groff ec1b49fe51 tools.deploy.macosx: tweak bundle vs exe logic
Must deploy an app bundle if the UI is used.
2011-11-27 12:37:56 -08:00
Joe Groff d9a9155a80 tools.deploy: embed image into deployed VM
Also, use the unix backend to deploy non-UI applications on macosx
2011-11-27 12:37:56 -08:00
Joe Groff 19e1046479 tools.deploy.embed: useful factors
Separate the embedding of an image into a VM executable (embed-image) from the copy-and-embed logic (make-embedded-image).
2011-11-27 12:37:55 -08:00
Joe Groff de5cc96286 new module tools.deploy.embed: make self-exe image 2011-11-27 12:37:55 -08:00
Joe Groff 9123360547 tools.disassembler.utils: 0x isn't a name anymore
sorry bro
2011-11-23 19:48:38 -08:00
Joe Groff 943596575a use radix literals 2011-11-23 19:03:40 -08:00
Joe Groff 6de9585114 tools.deploy.macosx: fix path to MiniFactor.nib
Fixes #414.
2011-11-16 17:17:54 -08:00
Joe Groff 36dac58380 update USING:s 2011-11-15 18:37:30 -08:00
Joe Groff 5a66b3b329 rearrange source-file-error error. to load earlier
Fixes #359
2011-11-15 18:26:35 -08:00
Joe Groff b0c2f9caae tools.deploy.config: set default io-level 3 2011-11-15 12:52:54 -08:00
Slava Pestov 1d257c1ce4 Prevent predicate engine words from showing up in usage. results 2011-11-12 15:35:51 -08:00
Joe Groff 88bbffd838 tools.deploy: label small-enough? tests
Put a no-op "vocab name" drop in the small-enough? tests so that it's immediately apparent from build farm errors which vocabs are deploying over the limit.
2011-11-10 19:34:36 -08:00
Joe Groff 316426e1ec tools.profiler.sampling: better test quots
Bump up the iota lengths so the tests don't sporadically fail with no data.
2011-11-10 19:29:20 -08:00
Joe Groff c8fd36bbdb kill tools.profiler.counting and ui.tools.profiler
Load tools.profiler.sampling from bootstrap/tools instead.
2011-11-10 12:33:10 -08:00
Joe Groff 2dd31f4602 tools.profiler.sampling: preliminary docs 2011-11-09 11:34:31 -08:00
Joe Groff 637af2eedd tools.profiler.sampling: top-down-max-depth report
Fixes #366
2011-11-08 14:35:25 -08:00
Joe Groff d2b39269d8 tools.profiler.sampling: change some names around
Rename the versions of top-down etc. that take sample data to "top-down*" (from "(top-down)") so they don't look so scary to use. Change "get-raw-profile-data" to "most-recent-profile-data".
2011-11-08 14:11:53 -08:00
Joe Groff 4c197ec6e6 tools.deploy.backend: fix vocab manifest parse
We were absent-mindedly passing the VOCABS: line off as a vocab name itself. vocabs.loader doesn't put up with that anymore.
2011-11-06 18:57:12 -08:00
Doug Coleman c731dc6edb Rename lookup to lookup-word. 2011-11-06 16:00:00 -08:00
Joe Groff 8679fe82bb tools.profiler.sampling: mess with formatting more 2011-11-03 00:14:18 -07:00
Joe Groff 0c701fb68d tools.profiler.sampling: cross-section report
Also add depth to top-down reporting so we can tell what parameter to give cross-section
2011-11-02 23:57:15 -07:00
Joe Groff f71187c775 tools.profiler.sampling: twiddle output format 2011-11-02 21:40:53 -07:00
Doug Coleman ee741143e0 Fix unit tests to give the sampling profiler something to profile. 2011-11-02 17:46:50 -07:00
Doug Coleman 7378ba7717 Unbreakify the new profiler, add a couple of unit tests to demonstrate displaying output. 2011-11-02 17:01:43 -07:00
Doug Coleman 4d66cd26dc Keep the profiling results even when the quotation throws an exception. 2011-11-02 16:47:27 -07:00
Doug Coleman fb44adef99 Clean up formatting, rename load-vocab-hook to require-hook. Add a unit test for vocabs.loader. 2011-11-02 16:31:42 -07:00
Joe Groff 82a62181ce vm: count samples during unoptimized compiler 2011-11-02 13:23:21 -07:00
Joe Groff 81aac9359f tools.profiler.sampling: fix stack effect name 2011-11-02 13:23:19 -07:00
Joe Groff 1745e22211 tools.profiler.sampling: make rate a global var 2011-11-02 13:23:19 -07:00
Joe Groff 4330a645f4 tools.profiler.sampling: groom flat profile 2011-11-02 13:23:18 -07:00