Commit Graph

428 Commits (ebdf57d175ab2005dbc48fd6e94d74de135f47c7)

Author SHA1 Message Date
Doug Coleman 46587f8457 factor: arch -> arch-name. fix breakage caused by other patch. 2015-08-12 11:08:24 -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 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 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
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
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 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 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 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
Benjamin Pollack 2c3dd8c3c8 Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08: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
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
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 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
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
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
Doug Coleman 905ec06d86 tools.deploy: Cheater mode, add 20kb to tools.deploy.test.20 unit test. 2013-04-19 17:19:28 -07:00
Doug Coleman 9c0d2068c9 tools.deploy.shaker: Fix call to lookup-library. 2013-03-23 20:03:51 -07: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
John Benediktsson 87f55eb033 Change "3dup drop" to "2over". 2012-10-22 20:45:15 -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 9df7475314 tools.deploy.test: include arch in test.image file name. 2012-07-26 08:01:57 -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 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 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 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 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
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
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 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 b0c2f9caae tools.deploy.config: set default io-level 3 2011-11-15 12:52:54 -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 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
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 186bf65a00 constants for special object hardcoded literals 2011-11-02 12:54:50 -07:00
Doug Coleman 94db86a6db Make "foo.private" require load foo instead.
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201.
2011-11-02 11:50:03 -07:00
Slava Pestov 258b9590a2 tools.deploy: fix unit test 2011-10-29 17:15:49 -07:00
Doug Coleman dc0a921866 Remove the lexer-factory because nothing uses it. Update usages. 2011-10-29 01:11:19 -07:00
Doug Coleman 763d9a3f7d Missed yet more renames 2011-10-24 17:00:09 -07:00
John Benediktsson 80e1c8e3f2 Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed. 2011-10-18 13:19:39 -07:00