Commit Graph

357 Commits (db42e128538f32bb3399f5469866d1b3553ecea3)

Author SHA1 Message Date
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
Slava Pestov 41ec3f20a8 tools.deploy.shaker: tweak error reporting slightly 2010-05-03 23:07:46 -04:00
Joe Groff 8e33230039 tools.deploy.shaker: adjust fallback error handler message so it looks better in a Win32 MessageBox 2010-05-02 22:40:54 -07:00
Daniel Ehrenberg d4eba4632a Making tools.deploy.shaker remove require-when data structures 2010-04-24 21:29:46 -05:00
Joe Groff ef884ef7f2 Merge branch 'master' into abi-symbols 2010-04-01 15:28:36 -07:00
Joe Groff 7a5a6c779e add note to deploy docs that «deploy» creates a bundle directory with all the parts, and «deploy-image-only» deploys only the image 2010-04-01 15:25:08 -07:00
Joe Groff bbe6b729bf tools.deploy: add a «deploy-image-only» word that only builds the image file to a specified location 2010-04-01 15:11:52 -07:00
Joe Groff 6bc8beb070 tools.deploy.macosx: make sure Contents/Frameworks dir still gets created for apps that deploy third-party libraries 2010-04-01 14:44:18 -07:00
Joe Groff 6fdba565a1 update deploy backends not to include dll in deployed apps 2010-04-01 14:26:56 -07:00
Joe Groff 65c3259761 "cdecl" -> cdecl 2010-03-31 19:20:35 -07:00
Slava Pestov ce42aea6a4 tools.deploy.shaker: make sure an io-multiplex method remains even if C streams are stripped out 2010-03-31 13:29:44 -04:00
Slava Pestov 587664efbf tools.deploy.shaker: don't strip out io-thread, since new thread implementation requires at least one thread to be runnable at any time 2010-03-31 10:27:24 -04:00
Slava Pestov fb2ecab614 threads: delete old contexts immediately instead of handing them off to a 'context recycler' thread 2010-03-30 21:47:48 -04:00
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
Slava Pestov 2508ba2e6d tools.deploy.shaker: better I/O stripping, and more effective compiler class stripping by clearing megamorphic caches 2009-05-12 04:20:02 -05:00
Slava Pestov 75cfe40c6c Add deploy test to ensure game-input works 2009-05-11 17:04:14 -05:00
Slava Pestov 4711768e6c tools.deploy.shaker: load ui.debugger into UI apps deployed with debugging support 2009-05-11 16:20:16 -05:00
Slava Pestov 3fe5bb872b Deploy tool always uses optimizing compiler now 2009-05-11 00:32:22 -05:00
Slava Pestov 9de34ab3cd Fix deployment of UI apps and implement various tricks to make deployed images smaller 2009-05-10 21:33:13 -05:00
Slava Pestov 7a0760a0f9 tools.deploy.shaker: strip out a few more things 2009-05-08 02:35:46 -05:00
Slava Pestov 12de56c41e Fix botched replace all in VM source, clean up image saving code, and fix save-image-and-exit to actually call (save-image-and-exit) instead of (save-image) 2009-05-05 10:29:22 -05:00
Slava Pestov b2c3183b21 Split up tools.vocabs. Note that load-everything is now named load-all 2009-05-04 06:44:17 -05:00
Slava Pestov 38cc644eca tools.deploy.test: close stdin 2009-05-01 07:05:41 -05:00
Slava Pestov 10e21bf8d3 tools.deploy.shaker: update for method dispatch changes 2009-04-30 20:35:55 -05:00
Slava Pestov 7e84daf0f1 Move (execute) to kernel.private 2009-04-26 02:42:37 -05:00
Slava Pestov 3783d8513f tools.deploy.shaker: fix 2009-04-22 04:41:03 -05:00
Slava Pestov a9b4a724a4 Remove "compiled-status" word prop and simplify associated machinery 2009-04-21 03:23:11 -05:00
Slava Pestov 8414693142 stack-checker: trust word declarations instead of recursively checking them 2009-04-20 18:44:45 -05:00
Slava Pestov d3d131d1bd Strip out error-list related global variables; webkit-demo 14kb smaller 2009-04-19 17:38:48 -05:00
Slava Pestov f4cdcaa1ce Fix compiler warnings in tools.deploy.shaker 2009-04-17 20:38:55 -05:00
Doug Coleman 364ea217ef fix more compiler errors 2009-04-17 14:44:08 -05:00
Slava Pestov df18c0b6e7 Making more code infer 2009-04-15 19:03:44 -05:00
Slava Pestov ba61b82152 Pass vocab roots onto deployed app. Fixes deployment of apps outside the built-in roots. Reported by Alec Berryman 2009-04-07 21:47:57 -05:00
Slava Pestov cb9e4a4069 Oops 2009-04-06 05:22:43 -05:00
Slava Pestov 890553b776 Fixing tests for method-sec removal 2009-04-06 05:22:28 -05:00