Commit Graph

278 Commits (ae6d6ba95135bc40a9ef27d9ea282ea09792e514)

Author SHA1 Message Date
Joe Groff 305ea844de tools.deploy.windows: got the "com" and "exe" backwards for deploy-console? flag 2010-03-23 15:32:16 -07:00
Joe Groff 91c353ef60 tools.deploy: make deploy-console? and deploy-ui? independent config variables, so windows apps can be deployed without a console or the ui 2010-03-22 16:55:35 -07:00
Daniel Ehrenberg da57436180 Finishing eliminating prune as a synonym of members 2010-02-27 14:52:24 -05:00
Daniel Ehrenberg 7cd3360cdd Fixing ambiguity between sets and namespaces in many unit tests and furnace.auth 2010-02-26 17:17:40 -05:00
Joe Groff 32b42185e6 tools.deploy.shaker: raise a generic "This application died" system-alert instead of quietly crashing and burning in the ui-error-hook for deployed apps with the debugger stripped 2010-02-23 20:42:36 -08:00
Doug Coleman a0b3a370b8 Fix quirk in open-in-explorer -- msft explorer wouldn't go to previous directory correctly if / was a path separator 2010-02-22 00:14:13 -06:00
Joe Groff 1a0fda2a5b remove references to c-types hash from deploy tool 2010-02-21 11:10:52 -08:00
Slava Pestov 2f70ebd4d0 vocabs: document platforms.txt 2010-02-21 20:38:09 +13:00
Slava Pestov 95bfc8a240 vocabs.metadata: replace unportable tag with a platforms.txt file for more fine-grained control. Rename unportable tag to untested for remaining cases 2010-02-20 13:30:49 +13:00
Slava Pestov 66bb912641 prettyprint.config: set some output limits by default. Use the new without-limits combinator to get the old behavior 2010-02-20 12:18:16 +13:00
Erik Charlebois 44e61dbc85 Merge branch 'master' of git://github.com/slavapestov/factor 2010-02-18 12:54:26 -08:00
Slava Pestov 488e5ead26 tools.deploy.libraries.windows: add unportable tag to avoid loading windows.kernel32 on non-windows platforms 2010-02-19 04:11:48 +13:00
Erik Charlebois f2e8128f5d Merge up 2010-02-17 18:16:16 -08:00
Slava Pestov bf72c89060 tools.deploy.backend: clean up 2010-02-18 03:57:10 +13:00
Erik Charlebois 08f65189d3 Merge branch 'master' of git://github.com/slavapestov/factor 2010-02-17 00:06:27 -08:00
Joe Groff 10bc247ed4 typo in tools.deploy.backend 2010-02-16 14:33:57 -08:00
Joe Groff 38f98afe6f search resource: for unix libraries too 2010-02-16 14:24:29 -08:00
Joe Groff b64f694e7e tools.deploy.shaker typos 2010-02-16 14:23:51 -08:00
Joe Groff b208c30fd3 tools.deploy.shaker: prune library manifest 2010-02-16 13:41:35 -08:00
Joe Groff 42089b6586 alien.libraries: add a "deploy-library" word that marks a library to have its dll deployed with applications that use it. add support to tools.deploy to find and copy deployed libraries into target bundle 2010-02-16 13:32:58 -08:00
Erik Charlebois fd1416617e Merge to upstream 2010-02-16 10:35:15 -08:00
Erik Charlebois fcbeb3467d Line endings 2010-02-16 10:33:19 -08:00
Slava Pestov 5557353f97 tools.deploy.windows.ico: add unportable tag so that load-all doesn't load Win32 bindings on non-Windows platforms 2010-02-17 01:52:09 +13:00
Slava Pestov 177e741ea0 tools.deploy: add deploy tests for gpu.demos.raytrace and gpu.demos.bunny 2010-02-17 00:33:08 +13:00
Joe Groff bd2b72ad08 update vocabs and tools.deploy docs to mention icon files 2010-02-15 14:18:26 -08:00
Joe Groff 4ebfd1ef3a you have to parse the .ico file yourself and update individual RT_ICON and RT_GROUP_ICON resources. lame 2010-02-15 14:04:11 -08:00
Joe Groff f06e278e17 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/tools/deploy/shaker/shaker.factor
2010-02-15 11:50:43 -08:00
Joe Groff b1160f6b36 tools.deploy.windows: embed icon.ico from deployed vocab dir into deployed exe 2010-02-15 11:49:03 -08:00
Joe Groff f9d6ba0339 tools.deploy.macosx: copy "icon.icns" from deployed vocab to app bundle as app icon 2010-02-15 10:56:23 -08:00
Joe Groff 45c85d1851 update vocabs and deploy docs to mention resources.txt 2010-02-15 10:14:30 -08:00
Joe Groff a6bbb6dca6 update unix, windows, and test deploy backends 2010-02-14 23:10:05 -08:00
Joe Groff 1b5ba15707 Merge branch 'master' of git://factorcode.org/git/factor 2010-02-14 21:07:04 -08:00
Slava Pestov 4266023639 tools.deploy.shaker: strip out vm, image, current-directory to avoid leaking information from build environment 2010-02-15 17:54:19 +13:00
Slava Pestov 62f5a2af1c tools.deploy.shaker: don't strip out io.files hook, since then we lose resource-path and such 2010-02-15 17:37:07 +13:00
Joe Groff 9c77d7bde8 have tools.deploy.shaker write a manifest of loaded vocabs to a file. have tools.deploy.backend read in this manifest. have tools.deploy.macosx copy resources for the manifest vocabs to the deployed bundle 2010-02-14 11:29:37 -08:00
Slava Pestov f20b4e5607 tools.deploy.shaker: don't try to intern all word props anymore 2010-02-04 17:40:53 +13:00
Slava Pestov e7de95e72b compiler.crossref: clean up and fix bug with forgotten classes 2010-02-01 17:20:08 +13:00
Slava Pestov 0d939f731a tools.deploy.shaker: fix load error 2010-02-01 06:02:09 +13:00
Slava Pestov 03d2b77faa tools.deploy.shaker: update for new crossref word props 2010-01-31 02:50:55 +13:00
Slava Pestov c027046857 New 'conditional dependency' mechanism for more accurate recording of recompilation information 2010-01-30 09:28:57 +13:00
Slava Pestov 238ec94e06 tools.deploy.shaker: don't strip "mixin" word prop 2010-01-30 09:28:54 +13:00
Slava Pestov 5279845ee0 tools.deploy.shaker: also include tools.errors if user requests debugger to be part of image. This ensures useful printouts of parse errors 2010-01-20 07:01:29 -06:00
Slava Pestov 1c10196c43 Rename kernel.private:getenv/setenv to special-object/set-special-object to mirror recent renaming on the VM side 2010-01-13 18:08:18 +13:00
Slava Pestov 9e1c5adca7 tools.deploy.shaker: "specializations" word-prop no longer used 2009-12-05 18:21:46 -05:00
Slava Pestov 2f024f8b5c tools.deploy.test.5: revert accidental screwup 2009-12-02 17:56:49 -05:00
Slava Pestov cf8e03ad39 tools.deploy: hello-ui had reflection level of 2, not 1 unnecessarily; tools.deploy.backend now passes -pic=0 to avoid saving PICs in the deployed image 2009-12-02 05:33:22 -06:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov c2e9cc8ee7 tools.deploy.test.17: fix typo 2009-11-20 15:35:12 -06:00
Slava Pestov 10800a009a tools.deploy.test.17: database deployment test 2009-11-20 03:23:24 -06:00
Slava Pestov ffd7de02d6 Update a few places that used string C type names to use words; fixes some deploy tests 2009-11-20 03:21:48 -06:00
Slava Pestov 24c3ddbbde Clean up startup/shutdown hook code 2009-11-20 00:57:49 -06:00
Doug Coleman cc194416f9 Merge branch 'master' into startup
Conflicts:
	core/bootstrap/primitives.factor
	vm/run.hpp
2009-11-15 02:52:50 -06:00
Slava Pestov 78aa73b29e tools.deploy.test: failing tests now have the actual and minimum size 2009-11-14 02:01:23 -06:00
Doug Coleman 6c75287bef fix using 2009-11-12 18:46:21 -06:00
Doug Coleman b71d86a1dc update more 8bit encoding usages 2009-11-12 18:36:47 -06:00
Slava Pestov 5d79450d9d Use a more compact representation for "compiled-uses" and "compiled-generic-uses" word-props; reduces image size 2009-11-08 06:08:04 -06:00
Doug Coleman bd13e018dd memq? -> member-eq?, sorted-memq? -> sorted-member-eq? 2009-10-28 15:02:00 -05:00
Slava Pestov 08e7d25dc5 change-each -> map!, deep-change-each -> deep-map! 2009-10-27 22:32:56 -05:00
Joe Groff b89047b3d3 fix tools.deploy test 2009-10-21 22:12:28 -05:00
Joe Groff c3b8847936 update a bunch of alien-callbacks and alien-indirects to use c-type words 2009-10-21 21:10:11 -05:00
Joe Groff cc5f9ff98a update cocoa bridge to use c-type words 2009-10-21 18:17:29 -05:00
Doug Coleman 6b6e56a179 change add-init-hook to add-startup-hook, new add-shutdown-hook word 2009-10-19 22:17:02 -04:00
Slava Pestov b427eb3f9a tools.deploy: increase terrain size tolerance, decrease windows size tolerance 2009-10-19 06:11:00 -05:00
Slava Pestov b5455bd9df tools.deploy.test: cheat on windows until we have class stripping 2009-10-18 15:24:09 -05:00
Slava Pestov 63ca8ee5cc tools.deploy.shaker: strip out typed word props 2009-10-16 23:59:45 -05:00
Slava Pestov 5afce2cc9e alien.c-types: c-type no longer calls parser at runtime, tools.deploy.shaker now strips out runtime specialized array code generation 2009-10-16 23:50:17 -05:00
Slava Pestov fb79aec97e typed: fix deployment 2009-10-16 21:22:01 -05:00
Slava Pestov 978647dc39 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-09 03:21:31 -05:00
Doug Coleman 9a09c3ced8 fix using 2009-10-08 12:30:43 -05:00
Slava Pestov 697e2342d0 vm: put code block owner directly in the header, instead of as the first entry in the literal table. Reduces x86-64 image size by ~700kb, also eliminates separate 'strip' set of staging images from deploy tool 2009-10-06 06:25:07 -05:00
Slava Pestov bcd5c5c635 Fix deploy tests and update command-line docs a bit 2009-10-03 06:53:23 -05:00
Slava Pestov 21eea4d88c Allow access to command line arguments in deployed apps 2009-10-02 21:00:12 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Slava Pestov beab46517e tools.deploy: fix test 11 2009-09-24 13:00:26 -05:00
Slava Pestov 7ea8832556 Tweaks to reduce deployed image size 2009-09-24 06:24:43 -05:00
Joe Groff 076ab42dc3 move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab 2009-09-17 22:36:05 -05:00
Slava Pestov 7ae147c3bf tools.deploy.test: cut Windows some slack 2009-09-12 13:24:45 -05:00
Slava Pestov 7f2e2b1777 Specialized array overhaul
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Slava Pestov e2fa28a727 tools.deploy.shaker: strip out math.vectors specializations 2009-09-08 15:20:46 -05:00
Slava Pestov 0ad4557d62 tools.deploy: fix facepalm 2009-09-07 22:48:57 -05:00
Slava Pestov ed60c89e94 tools.deploy: add unit test to ensure Cocoa binding works in deployed apps 2009-09-07 17:59:34 -05:00
Slava Pestov 1bdaebdf5e tools.deploy.shaker: strip out struct slot info 2009-09-04 21:59:49 -05:00
Slava Pestov b307c6dac3 Fix tree shaker again, gah 2009-09-02 07:28:40 -05:00
Slava Pestov e3f5452502 tools.deploy.shaker: fix snafu 2009-09-02 04:30:29 -05:00
Slava Pestov 94c89e55e6 tools.deploy.shaker: strip out call( and execute( runtime checking in a way that still allows the inlining optimization to work 2009-08-31 16:48:10 -05:00
Slava Pestov 23f34febbb Fix image size regression with struct array tree shaking 2009-08-31 16:34:58 -05:00
Slava Pestov d23688ea1a tools.deploy.shaker: strip out functor-words global, fixing size regression from Joe's FUNCTOR-SYNTAX: patch 2009-08-30 05:36:16 -05:00
Slava Pestov 3f493bce1a Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 20:30:08 -05:00
Slava Pestov f1b4d94f2f tools.deploy: remove malloc debugging better, and don't set next-method word prop for methods that don't call-next-method 2009-08-27 20:29:16 -05:00
Slava Pestov 0d70d07cf1 tools.deploy.test: give PowerPC an extra 100kb 2009-08-27 20:27:35 -05:00
Slava Pestov 3be328056d libc: use central disposables mechanism to track mallocs 2009-08-24 20:21:03 -05:00
Slava Pestov 46045c882e Disposables are now registered in a global disposables set. To take advantage of this, subclass disposable instead of providing a disposed slot and call new-disposable instead of new. tools.disposables defines two words, 'disposable.' and 'leaks', to help track down resource lifetime problems 2009-08-24 02:26:13 -05:00
Slava Pestov e42216a569 tools.deploy.shaker: more compact next-method shaking 2009-08-23 19:18:12 -05:00
Slava Pestov 387007abfe tools.deploy.shaker: fix regression; strip-compiler-classes wasn't working 2009-08-23 17:54:37 -05:00
Slava Pestov 3979608b09 tools.deploy: faster default method stripping 2009-08-22 19:26:56 -05:00
Slava Pestov d0fe741746 tools.deploy.shaker: strip out specialized vector words 2009-08-09 04:48:44 -05:00
Slava Pestov aaeeaa1e6f Fix load errors 2009-06-08 04:18:57 -05:00
Slava Pestov 7b76d64510 tools.deploy.shaker: update for parser.notes 2009-05-16 16:40:40 -05:00
Slava Pestov f9d711c307 tools.deploy.shaker: Only strip out compiler classes if user doesn't request full environment 2009-05-12 16:56:36 -05:00
Slava Pestov 2fdc666589 tools.deploy.test: use try-output-process, and run VM from .app bundle when testing deployed app. This makes the game-input deploy test work 2009-05-12 05:16:46 -05:00