Commit Graph

184 Commits (8a8e2bcbcd9a2f3db5d2b35f3cc6d769326a1fb1)

Author SHA1 Message Date
Slava Pestov c99d43f76c tools.deploy: faster default method stripping 2009-08-22 19:26:56 -05:00
Slava Pestov 5dd868299b tools.deploy.shaker: strip out specialized vector words 2009-08-09 04:48:44 -05:00
Slava Pestov 26b4d3c8fb Fix load errors 2009-06-08 04:18:57 -05:00
Slava Pestov 0aa5b61a34 tools.deploy.shaker: update for parser.notes 2009-05-16 16:40:40 -05:00
Slava Pestov 1f52020710 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 f464ae9b5b 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 4f9b4731ca 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 379ba2d777 Add deploy test to ensure game-input works 2009-05-11 17:04:14 -05:00
Slava Pestov 242af36471 tools.deploy.shaker: load ui.debugger into UI apps deployed with debugging support 2009-05-11 16:20:16 -05:00
Slava Pestov 0f6b2f69fa Deploy tool always uses optimizing compiler now 2009-05-11 00:32:22 -05:00
Slava Pestov 64a9585dd0 Fix deployment of UI apps and implement various tricks to make deployed images smaller 2009-05-10 21:33:13 -05:00
Slava Pestov 3174e81f98 tools.deploy.shaker: strip out a few more things 2009-05-08 02:35:46 -05:00
Slava Pestov 4764f1c676 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 a776dffeb6 Split up tools.vocabs. Note that load-everything is now named load-all 2009-05-04 06:44:17 -05:00
Slava Pestov ac865ce27f 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
Slava Pestov 268abfcf2a Remove method-specs in favor of M\ 2009-04-06 02:59:59 -05:00
Slava Pestov 92cc670c28 Merge branch 'master' of git://factorcode.org/git/factor 2009-04-03 10:25:56 -05:00
Slava Pestov 535850f3ea Fix vocab: and word name stripping in deployed binaries 2009-04-03 10:16:56 -05:00
Slava Pestov f42c23de9d Copy UI theme over to deployed binaries 2009-04-03 10:16:40 -05:00
U-SLAVA-DFB8FF805\Slava 82317980a4 Don't strip out superclass word prop since UI needs it 2009-04-03 09:48:16 -05:00
U-SLAVA-DFB8FF805\Slava dba42f9259 Remove DLL-downloading logic since we don't have external deps anymore 2009-04-02 13:07:45 -05:00
Slava Pestov 1dfa621f4d Tweak some code to reduce deployed image size 2009-03-31 08:03:27 -05:00
Slava Pestov 862223fa79 Fix bunny deployment 2009-03-23 22:36:51 -05:00
Slava Pestov 518b5c46ca Fixing deploy tests 2009-03-18 19:58:05 -05:00
Slava Pestov 1d45720579 Add a deploy test to keep benchmark.regex-dna size down 2009-03-18 17:08:57 -05:00
Slava Pestov d60e586f48 Fix tools.deploy.shaker's call( and execute( stripping 2009-03-18 17:08:18 -05:00
Slava Pestov 9d44b7620f Fixing the build 2009-03-18 17:01:26 -05:00
Slava Pestov 2ed97f5a24 Various fixes for call( 2009-03-17 18:53:44 -05:00
Slava Pestov 786475102d Make more code infer 2009-03-17 02:19:50 -05:00
Slava Pestov 135f3bfc7f Fix bootstrap 2009-03-16 20:48:56 -05:00
Slava Pestov be4fb1e7d9 Move call( and execute( to core 2009-03-16 20:11:36 -05:00
Slava Pestov 46da224f8b Update regexp and tools.deploy docs 2009-03-13 23:12:56 -05:00
Slava Pestov cff700cd3e Add tests to ensure that execute( and regexps work when deployed 2009-03-13 19:41:13 -05:00
Slava Pestov bf41b187b0 Re-organize code so that with-compilation-unit can infer
Fix with-compilation-unit to work in deployed code
2009-03-13 19:39:32 -05:00
Slava Pestov c2bc2c0705 Updating deploy tool, mason.child and factor.sh for new Windows DLLs 2009-03-07 19:39:11 -06:00
Slava Pestov ce1bc1d6ed Fixing conflicts from stack checker changes 2009-02-24 01:21:10 -06:00
Slava Pestov 421ee726b8 Merge branch 'master' into new_ui 2009-02-16 21:22:12 -06:00
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -06:00
Slava Pestov 1a4aaf219f Fix deploy tool: error wasn't printed properly 2009-02-16 19:36:02 -06:00
Slava Pestov 20053c7f5c Deploy tool: if debugger is not stripped out, actually use it to report errors; print an error if vocab has no MAIN: word 2009-02-16 19:00:09 -06:00
Slava Pestov 4a639033fa Merge branch 'master' into new_ui 2009-02-15 21:06:55 -06:00
Slava Pestov 6b99b04531 Add vocab: for vocab-relative paths 2009-02-15 19:53:21 -06:00
Slava Pestov 6235e95052 Fix conflict 2009-02-10 00:44:23 -06:00
Slava Pestov 8654bfe921 Merge branch 'master' into new_ui 2009-02-09 20:30:44 -06:00
Doug Coleman 992da4c967 Fix copy-vm word on Unix 2009-02-09 20:19:18 -06:00
Slava Pestov b06903b0ef Update tree shaker for define-temp changes 2009-02-23 23:28:22 -06:00
Slava Pestov e7243da0b8 Clean up memoize code to not use gensym anymore 2009-02-23 23:28:02 -06:00
Slava Pestov 1951d739a0 Stack effect declarations are mandatory on all words now
define-temp now takes an effect parameter
Fix compiler bug that Dan found
Stricter enforcement of * effects
Move compile-call from compiler.units to compiler
2009-02-23 20:27:05 -06:00
U-SLAVA-DFB8FF805\Slava 49875b9cc7 Use factor.exe or factor.com when deploying on Windows, depending on whether or not the UI is enabled 2009-01-28 01:57:46 -06:00
Slava Pestov 25b0512fd6 Move fonts to basis/bitstream-vera
Use ui.cocoa.text instead of ui.freetype on Mac OS X
Update deploy tool to not copy fonts/ directory on Mac OS X
2009-01-20 14:31:09 -06:00
Slava Pestov 62976058ee Add testcase for mnestic's deploy bug 2009-01-14 01:00:54 -06:00
Slava Pestov 058ba127cb Cleaning up more -rot usages 2008-12-22 05:41:01 -06:00
Slava Pestov c5160d76e9 Merge qualified, alias, symbols, constants into core 2008-12-17 18:10:01 -06:00
Slava Pestov 89255e08c1 Fix tools.deploy test 2008-12-15 03:46:57 -06:00
Slava Pestov 5cb18d51b3 Fixing test-all and help-lint-all failures 2008-12-15 03:33:04 -06:00
U-SLAVA-DFB8FF805\Slava df2641a9ee Merge branch 'master' of git://factorcode.org/git/factor 2008-12-13 04:41:58 -06:00
slava 82e452a885 Fix Linux bootstrap 2008-12-15 02:18:59 -06:00
Slava Pestov 023ae576b5 Updating unit tests for io.files split 2008-12-15 01:40:50 -06:00
Slava Pestov 59a5e554d4 Split up io.directories further, move file types to io.files.types. Bunny demo no longer pulls in file-info and file-system-info code, reducing image size by 35kb 2008-12-15 00:01:06 -06:00
Slava Pestov 50e214c152 io.files split up and general refactoring work in progress 2008-12-14 20:03:00 -06:00
U-SLAVA-DFB8FF805\Slava cf39fd29f8 Fix Windows bootstrap 2008-12-13 04:41:33 -06:00
Slava Pestov 93b7215f1b Returning from boot quotation wouldn't exit Factor if run loop MX was in use 2008-12-13 04:10:39 -06:00
slava 7bf857650c Remove stop-after-last-window? option, it's obsolete, get ui.event-loop (only used on X11 and Windows) to load 2008-12-13 03:49:22 -06:00
Slava Pestov 115d6e792f Change deploy descriptor back 2008-12-12 19:49:22 -06:00
Slava Pestov 2182bd6422 Add a new deploy test to test callbacks 2008-12-12 19:48:51 -06:00
Slava Pestov 645c9ac129 Fix load errors related to utf16n being moved to io.encodings.utf16n 2008-12-09 02:21:03 -06:00
Slava Pestov 833d9f9c0b Fix quotation pooling 2008-12-08 21:24:45 -06:00
Slava Pestov 1d57b0bc50 Fix load errors 2008-12-08 20:06:44 -06:00
Slava Pestov 8c60595b26 Strip out default methods; ~40kb savings on hello-world and maze demos 2008-12-08 19:14:38 -06:00
Slava Pestov 7940020491 Untangling more dependencies 2008-12-08 16:02:31 -06:00
Slava Pestov 4f0a9f311e Untangling some dependencies 2008-12-08 14:58:00 -06:00
Slava Pestov 080cc92239 Add a new deploy test for a new problem, clean up deploy tests, uncomment bunny test now that bunny is back in extra 2008-12-06 17:45:41 -06:00
Slava Pestov e5ed7447ed Removing more >r/r> usages 2008-12-03 08:46:16 -06:00
Slava Pestov 4102857694 Tree shaker now strips out some more PEG stuff 2008-12-03 08:12:28 -06:00
Slava Pestov 6236850aa9 Comment out bunny deploy test since bunny is in temporarily in unmaintained 2008-12-03 00:06:46 -06:00
Slava Pestov f72c951a6b Kill environment init hook 2008-12-01 19:51:01 -06:00
sheeple 9c40cb4a05 Tree-shaker now merges wrappers; saves a few kb 2008-11-28 01:14:33 -06:00
slava fbc0f33c86 The deploy tool would coalesce equal quotations into one. This created a problem
for the non-optimizing compiler because if the new 'leader' quotation was not
compiled but some of the ones that it replaces were, then calls to the quotation
from contexts where they have to be compiled (eg, compiled if and dip) would no
longer work. Add a `jit-compile' primitive to compile quotations, and call it
as appropriate in `compress-quotations`.
2008-11-24 15:59:27 -06:00
Slava Pestov 7788b3e0db Merge branch 'master' into microseconds 2008-11-23 03:06:32 -06:00
Slava Pestov 323f95d3f4 Pre-compute next-methods when deploying 2008-11-22 19:58:23 -06:00
Slava Pestov f5513877ec Don't load listener into deployment image 2008-11-22 19:58:05 -06:00
Slava Pestov 2f3b05b108 Test call-next-method from an uncomipiled method in a compiled deployment 2008-11-22 19:57:47 -06:00
Slava Pestov 3b037c8947 Fix load error in tools.deploy.shaker 2008-11-20 21:54:07 -06:00
Slava Pestov 44c090d0a7 Strip out print-use-hook to reduce image size 2008-11-20 19:04:10 -06:00
Slava Pestov 8819f23312 Replace millis primitive with micros primitive
Add millis as a library word
sleep now takes either a duration or a microsecond count; code using durations doens't need to be updated, code using millisecond counts updated to use durations for the most part
2008-11-19 01:50:05 -06:00
U-SLAVA-DFB8FF805\Slava 0eee4f89d4 Mess around with tags 2008-11-17 06:59:17 -06:00
Slava Pestov 105831fabe Update for compiler.errors change 2008-11-16 13:46:30 -06:00
U-SLAVA-DFB8FF805\Slava 2bf9a55cea Fix Windows deployment 2008-11-09 17:27:51 -06:00