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
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