Commit Graph

23103 Commits (039a92961d6225cb4f753b4e763048e615e9b51d)

Author SHA1 Message Date
Joe Groff 039a92961d syntax: add note to #! docs 2011-11-27 15:03:40 -08:00
Joe Groff cd5f4f9b35 lexer: skip #! as a single token at front of line
Fixes #370
2011-11-27 14:59:54 -08:00
Joe Groff 04d030ec25 vm: factor out embedded image detection code 2011-11-27 14:39:21 -08:00
Joe Groff b9ae00461d tools.deploy.config: docs typos 2011-11-27 14:17:18 -08:00
Joe Groff 3d9370afc2 tools.deploy.shaker: missing using 2011-11-27 14:14:35 -08:00
Joe Groff de3bd2fe49 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 a6ba3981e7 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 778ab2921b 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 8018250bd9 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 19db0464a6 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 c1f84dbf17 tools.deploy.backend: make-deploy-image back out
So "deploy-image-only" still works
2011-11-27 12:37:57 -08:00
Joe Groff b17bebe0ea tools.deploy.macosx: oops, logic inversion 2011-11-27 12:37:57 -08:00
Joe Groff e7064cf150 ui.tools.deploy: update deploy-console description
No longer windows specific
2011-11-27 12:37:57 -08:00
Joe Groff 32906408bb tools.deploy.config: update docs 2011-11-27 12:37:57 -08:00
Joe Groff 59572eaad3 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 2f18ad5e5e 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 1b91486834 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 f9ba6bf959 new module tools.deploy.embed: make self-exe image 2011-11-27 12:37:55 -08:00
Joe Groff d7c34b6160 io.directories.unix: make copy-file copy perms
Like the docs claim it does
2011-11-27 12:37:54 -08:00
Joe Groff 8b75193a57 vm: support self-executing image file 2011-11-27 12:37:54 -08:00
Joe Groff 7838538163 icon for user-init-errors 2011-11-27 12:06:48 -08:00
Joe Groff 67d572ab7b break circularity 2011-11-27 11:45:28 -08:00
Joe Groff 103005dd0a 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 aee5815696 math.complex: pass tests even if number-base set 2011-11-26 17:46:38 -08:00
Joe Groff 337b08d0b2 math.integers: make bignum/f round to even on tie
Fixes #372
2011-11-26 17:44:29 -08:00
Joe Groff 9bbe578e01 math.integers: pass tests even if number-base set 2011-11-26 17:37:17 -08:00
Joe Groff fde94d2cb0 math.integers: test round-to-even-on-tie behavior 2011-11-26 16:03:43 -08:00
Joe Groff c3f4282efe math: neg? needs to be defined for all reals 2011-11-26 15:37:58 -08:00
Joe Groff 3c5fa11ede math.parser: don't accept hex float without expt
Part of #372
2011-11-26 15:15:46 -08:00
Joe Groff b38ce8a794 oops, radix prefixes shouldn't chain 2011-11-24 12:39:52 -08:00
Joe Groff 74c753ab39 math.parser: test harder 2011-11-24 12:34:50 -08:00
Joe Groff f384633dbb math.parser: reject "0x" etc. without any digits 2011-11-24 12:27:40 -08:00
Joe Groff 12a0fdf293 parser: remove parse-base dead code 2011-11-23 22:33:31 -08:00
Joe Groff 3f8d5d0ab4 prettyprint.backend: can't use locals 2011-11-23 20:20:27 -08:00
Joe Groff 93e5b711a6 syntax: remove BIN: HEX: OCT: 2011-11-23 20:07:33 -08:00
Joe Groff a41eb0c527 prettyprint: use radix prefixes for number-base 2011-11-23 20:05:23 -08:00
Joe Groff 9cc643f907 math.parser: oops 2011-11-23 19:51:15 -08:00
Joe Groff ee5e4caccf math: add neg? word
Do the right thing with integers or floats
2011-11-23 19:51:05 -08:00
Joe Groff c14366b902 tools.disassembler.utils: 0x isn't a name anymore
sorry bro
2011-11-23 19:48:38 -08:00
Joe Groff 2ff5e76690 let's pretend BIN: HEX: OCT: never happened 2011-11-23 19:22:37 -08:00
Joe Groff eee483654a use radix literals 2011-11-23 19:03:40 -08:00
Joe Groff 64017175de math.parser: natively support 0b 0o 0x syntax
Closes #371
2011-11-23 18:30:22 -08:00
Joe Groff ec079dfacc ui.backend.cocoa.views: clickthrough is bullshit
I don't care what Slava thinks
2011-11-23 11:29:03 -08:00
Joe Groff cb8c01faec vm: don't die if foreign thread gets async signal
Fixes #425
2011-11-23 11:26:42 -08:00
Joe Groff 5d1156d9c4 vm: remove useless forward declare 2011-11-23 11:11:28 -08:00
Joe Groff d031cfb300 vm: quell warnings from vars only used by asserts 2011-11-23 11:11:28 -08:00
Joe Groff 2c2791a1ad vm: clean up baroque jit safepoint logic 2011-11-23 11:11:27 -08:00
Joe Groff f4a7afdc2d vm: verify code heap's all_blocks set when DEBUG 2011-11-23 11:11:27 -08:00
Joe Groff fd4be39990 vm: FACTOR_ASSERT only if FACTOR_DEBUG 2011-11-23 11:11:27 -08:00
Joe Groff b1a5477969 compiler.cfg.finalization: reenable scheduling
Prolog safepoint appears to work with it enabled
2011-11-23 11:11:27 -08:00