Commit Graph

390 Commits (2c82dfb51ba6923c2e7dcf3fac5109ae9da528f2)

Author SHA1 Message Date
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
Doug Coleman db1d499a6f Fix typo in tools.deploy.windows.ico 2011-10-16 23:06:11 -07:00
John Benediktsson 81714b8dc3 More lint cleanups. 2011-10-16 19:33:16 -07:00
John Benediktsson 6f1c44b46d Cleanup some lint warnings. 2011-10-15 19:19:44 -07:00
Slava Pestov c68e2308a8 Display a system-alert for callback errors in the UI; also for thread errors in deployed apps; fixes #92, fixes #95 2011-10-03 00:24:37 -07:00
Slava Pestov dabbe35bd9 concurrency.mailboxes: linked-thread's error reporting should still work even when debugger.threads is not loaded. This addresses part of #95 2011-10-03 00:24:37 -07:00
John Benediktsson 4f42c72012 specialized-arrays: performed some cleanup.
Specifically,
    •   Created >c-array to be replacement for >T-array.
    •   Created cast-array to be generic replacement for all T-array-cast words.
    •   Created c-array@ to be generic replacement for T-array@ words.
    •   Replaced usages of <T-array> with T <c-array>
    •   Replaced usages of <direct-T-array> with T <c-direct-array>
    •   Replaced usages of >T-array with T >c-array
    •   Replaced usages of T-array-cast with T cast-array
    •   Replaced usages of malloc-T-array with T malloc-array.
    •   Removed malloc-T-array.
    •   Removed T-array-cast.
    •   Removed T-array@.
    •   Removed >T-array.

I also added (but didn't change any code to use):
    •   T c-array-type, returns T-array
    •   T c-array?, returns T-array?
    •   c-array{ T ... }, returns T-array{ ... }

Bootstraps just find on Mac OS X.  Also `load-all test-all` works for me.
2011-09-26 11:37:51 -07:00
John Benediktsson baac978767 Removing "to:" syntax from values.
Squashed commit of the following:

commit 18fef6bfa59f71dcb63b439f631c735848a9bbbb
Author: John Benediktsson <mrjbq7@gmail.com>
Date:   Mon Sep 26 11:02:26 2011 -0700

    vocabs.metadata: revert mistaken change.

commit 496b103b54034ea953882a039c08847d0eda0bb4
Author: John Benediktsson <mrjbq7@gmail.com>
Date:   Sun Sep 25 19:03:54 2011 -0700

    values: Removing "to:" syntax.
2011-09-26 11:08:26 -07:00
Joe Groff 2bd6de9a02 slots: pre-create the "at", "nth", and "global" slots to make deterministic the currently nondeterministic ambiguity between accessors:change-* and assocs:change-at, sequences:change-nth, and namespaces:change-global 2011-09-19 10:03:43 -07:00
Doug Coleman bf2a96e9e0 Remove Windows CE from core/ basis/ and build-support/
Rename the winnt singleton to windows in core/ basis/ extra/
Rename boot images winnt -> windows
Fixes #84.
2011-09-18 23:19:06 -05:00
Slava Pestov 2cf574945a tools.deploy.shaker: update for alien.libraries changes 2011-09-13 20:19:11 -07:00
Doug Coleman dcbc7ef0a7 Fix shaker 2011-09-07 00:34:23 -07:00
Doug Coleman 5fce2d0f27 Make "quiet" true by default. Disable quiet mode for listener, bootstrap, and deploy tool.
Move "quiet" to parser-quiet? in parser.notes. Change a few places where quiet was handle wrong.
2011-09-06 17:58:12 -07:00
Joe Groff 9040ee37e0 Merge remote-tracking branch 'Blei/gtk-image-loader'
Conflicts:
	basis/alien/enums/enums-tests.factor
	basis/alien/enums/enums.factor
	basis/alien/parser/parser.factor
	basis/gdk/pixbuf/ffi/ffi.factor
	basis/glib/ffi/ffi.factor
	basis/tools/deploy/shaker/shaker.factor
	basis/ui/backend/gtk/gtk.factor
	basis/windows/nt/nt.factor
2011-08-27 14:07:18 -07:00
Joe Groff 5522015885 tools.deploy: add deploy-help? option to include documentation in deployed image 2011-08-04 14:27:29 -07:00
Slava Pestov bb71050a23 tools.deploy: increase size limits for recently-added deploy tests that never passed 2011-03-04 18:12:36 -05:00
Slava Pestov 8c14dd65b5 tools.deploy.shaker: strip out GObject introspection info 2011-02-27 20:02:14 -06:00
Slava Pestov 25c60b6869 tools.deploy.test.21: deploy without threads to reduce image size 2011-02-27 14:38:47 -08:00
Slava Pestov e9bccc0d59 tools.deploy: actually add the new test 2011-02-25 22:13:54 -08:00
Slava Pestov cd39ab0d10 tools.deploy: add test for formatting vocab 2011-02-25 21:26:11 -08:00
Slava Pestov e5dba6b64c tools.deploy: fix a test on Windows 2011-02-25 21:06:22 -08:00
Slava Pestov d93117c60d tools.deploy: add XML deploy test 2011-01-29 00:07:22 -05:00
Keita Haga ec5cb49fa7 tools.deploy: fix typo in docs 2011-01-14 19:52:12 +09:00
Slava Pestov 75560699ea Move <ref>, deref and little-endian? from alien.c-types to alien.data, remove <c-object> 2010-12-25 16:55:36 -08:00
Slava Pestov a400b39fa1 alien.enums: enum>number didn't work in deployed images, add a test which deploys and runs benchmark.ui-panes to catch this in the future 2010-10-17 21:02:42 -04:00
Doug Coleman 0bbfa64b24 Squashed commit of the following:
commit 54b3e19c7407707fabddd53872559c58cd5143d2
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Mon Sep 27 19:10:15 2010 -0500

    Fix typo

commit 3207516dc93e0e1edc9f119efcc79f4484eab244
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Mon Sep 27 19:08:30 2010 -0500

    Rename io.servers.connection to io.servers
2010-09-27 19:12:33 -05:00
Slava Pestov f9c9814e57 alien.data: remove deprecated malloc-object word 2010-09-20 21:36:20 -07:00
Doug Coleman f791c8c5d2 Squashed commit of the following:
commit 197dbe9a6733775ac0ea19b3da4bd4dc3c85418c
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sat Sep 18 19:01:38 2010 -0500

    Fix bootstrap, move privileges to windows.privileges

commit 521c622f8afb15bf42d263c738cb990560dc29cb
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sat Sep 18 18:26:30 2010 -0500

    Hopefully fix bootstrap

commit eb3f22928b59758b9505430034044b5b94705da2
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sat Sep 18 18:19:05 2010 -0500

    Remove wince from factor codebase

commit 619d6c99415f46208a7ede6a04b0ccda46b15360
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sat Sep 18 16:07:46 2010 -0500

    Remove Windows CE from vm/
2010-09-19 19:13:25 -05:00
Doug Coleman 87ec88ff6c Fix http tests and io.server.connection docs 2010-09-19 15:47:25 -05:00
Doug Coleman aa8c12a84b Squashed commit of the following:
commit 8a15381d30508b8f36a9e36dc3a0afc3c962c853
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sat Sep 11 14:32:30 2010 -0500

    Squash threaded-server branch
2010-09-19 13:38:02 -05:00
Philipp Brüschweiler 8c61b874b7 ui.backend.gtk: load icon data directly into factor.image when deploying, no io is needed 2010-07-26 21:11:53 +02:00
Philipp Brüschweiler 39d475e996 ui.backend.gtk: use png instead of ico to represent icons 2010-07-22 22:48:18 +02:00
Philipp Brüschweiler 035ba3bc93 ui.backend.gtk, tools.deploy.unix: support for icons 2010-07-22 12:39:16 +02:00
Slava Pestov 425c572fa8 cocoa.subclassing: cleaner CLASS: syntax; ui.backend.cocoa: ignore events delivered after window closed to fix FEP (reported by Doug Coleman) 2010-07-06 19:02:52 -04:00
Slava Pestov bb4dae64f3 cocoa.subclassing: new METHOD: syntax cleans up class definitions 2010-07-06 17:59:35 -04:00
Slava Pestov d0822992c7 tools.deploy: fix deployment of apps that use vocab: paths -- regression from recent patch that adds add-vocab-root word 2010-07-05 23:41:27 -04:00
Doug Coleman a6f0abb9a2 Rename alarms -> timers 2010-06-10 16:39:13 -05:00
Slava Pestov 929a2d5169 tools.deploy.macosx: make deployment work when we're not running the .app bundle 2010-05-29 04:27:55 -04:00
Slava Pestov 421dc67be4 tools.deploy.shaker: fix debugger stripping 2010-05-04 03:42:20 -04:00