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
b12cdae993
ui.tools.deploy: add doc link to deploy-flags
...
That's where all the settings are actually described.
2011-11-27 12:37:58 -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
1d9838aa57
io.files: back out resource-path change
...
It's too brittle against varying current directories or the Factor directory being moved.
2011-11-27 12:37:58 -08:00
Joe Groff
88c9483343
io.files: use initialize to set resource-path
...
If a resource path is already set in the image, don't change it. Should make #364 work a bit more as expected, and let us set the resource path for deployed Mac OS X bundles.
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
f5d7ec72c7
ui.tools.deploy: update deploy-console description
...
No longer windows specific
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
7754ab2c06
io.directories.unix: make copy-file copy perms
...
Like the docs claim it does
2011-11-27 12:37:54 -08:00
Joe Groff
cca526df73
vm: support self-executing image file
2011-11-27 12:37:54 -08:00
Joe Groff
14031d8794
icon for user-init-errors
2011-11-27 12:06:48 -08:00
Joe Groff
ad92bf7486
break circularity
2011-11-27 11:45:28 -08:00
Joe Groff
0f137bafe9
command-line: don't die if factor-rc has an error
...
Instead, put user-init-errors in the error list.
2011-11-27 10:49:02 -08:00
Joe Groff
8cb78d5bd2
math.complex: pass tests even if number-base set
2011-11-26 17:46:38 -08:00
Joe Groff
98fc1e28bd
math.integers: make bignum/f round to even on tie
...
Fixes #372
2011-11-26 17:44:29 -08:00
Joe Groff
0f5b551790
math.integers: pass tests even if number-base set
2011-11-26 17:37:17 -08:00
Joe Groff
269fe9ea1a
math.integers: test round-to-even-on-tie behavior
2011-11-26 16:03:43 -08:00
Joe Groff
90f34d092c
math: neg? needs to be defined for all reals
2011-11-26 15:37:58 -08:00
Joe Groff
a97a9ede15
math.parser: don't accept hex float without expt
...
Part of #372
2011-11-26 15:15:46 -08:00
Joe Groff
e58afa8ab5
oops, radix prefixes shouldn't chain
2011-11-24 12:39:52 -08:00
Joe Groff
fa979425f3
math.parser: test harder
2011-11-24 12:34:50 -08:00
Joe Groff
14efcc69ab
math.parser: reject "0x" etc. without any digits
2011-11-24 12:27:40 -08:00
Joe Groff
0b45465722
parser: remove parse-base dead code
2011-11-23 22:33:31 -08:00
Joe Groff
13f27f3d9e
prettyprint.backend: can't use locals
2011-11-23 20:20:27 -08:00
Joe Groff
07abeee9d9
syntax: remove BIN: HEX: OCT:
2011-11-23 20:07:33 -08:00
Joe Groff
6d1a28aca6
prettyprint: use radix prefixes for number-base
2011-11-23 20:05:23 -08:00
Joe Groff
4b6559849f
math.parser: oops
2011-11-23 19:51:15 -08:00
Joe Groff
4e8a1d0bb4
math: add neg? word
...
Do the right thing with integers or floats
2011-11-23 19:51:05 -08:00
Joe Groff
9123360547
tools.disassembler.utils: 0x isn't a name anymore
...
sorry bro
2011-11-23 19:48:38 -08:00
Joe Groff
72de75b881
let's pretend BIN: HEX: OCT: never happened
2011-11-23 19:22:37 -08:00
Joe Groff
943596575a
use radix literals
2011-11-23 19:03:40 -08:00
Joe Groff
e738c7206c
math.parser: natively support 0b 0o 0x syntax
...
Closes #371
2011-11-23 18:30:22 -08:00
Joe Groff
29bf4d7214
ui.backend.cocoa.views: clickthrough is bullshit
...
I don't care what Slava thinks
2011-11-23 11:29:03 -08:00
Joe Groff
88d31b166b
vm: don't die if foreign thread gets async signal
...
Fixes #425
2011-11-23 11:26:42 -08:00
Joe Groff
065a4d4353
vm: remove useless forward declare
2011-11-23 11:11:28 -08:00
Joe Groff
b6246f2c00
vm: quell warnings from vars only used by asserts
2011-11-23 11:11:28 -08:00
Joe Groff
4df56f31f2
vm: clean up baroque jit safepoint logic
2011-11-23 11:11:27 -08:00
Joe Groff
15c4b7aa57
vm: verify code heap's all_blocks set when DEBUG
2011-11-23 11:11:27 -08:00
Joe Groff
c2c2023e34
vm: FACTOR_ASSERT only if FACTOR_DEBUG
2011-11-23 11:11:27 -08:00
Joe Groff
f225bf7f55
compiler.cfg.finalization: reenable scheduling
...
Prolog safepoint appears to work with it enabled
2011-11-23 11:11:27 -08:00
Joe Groff
0a1a252cdb
vm: replace assert with FACTOR_ASSERT
...
Factor is finally a real C++ project and has a custom assert macro. Assertion failures were still getting caught as exceptions and causing failure loops. Write our own macro that calls factor::abort on failure.
2011-11-23 11:11:26 -08:00
Joe Groff
6c0ecf631a
vm: charge samples collected in prolog to parent
...
Fixes #379
2011-11-23 11:11:26 -08:00
Joe Groff
81911b9f87
vm: initialize all_blocks map from image
...
um, code blocks from the image need to go in the set too
2011-11-23 11:11:26 -08:00