Joe Groff
ac86f90c02
io.directories.unix: remove redundant using
2011-11-28 20:36:46 -08:00
Joe Groff
b50ffc6da0
io: implement stream protocols on f
...
Fixes deployed applications that write to output-stream
2011-11-28 20:36:34 -08:00
Joe Groff
98861a7c81
io.files.info: fix circularity
...
Remove the undocumented and redundant "copy-file-and-info" word, since "copy-file" does the same thing, and the circular dependency on "io.directories" was causing some deploys to fail
2011-11-28 19:37:01 -08:00
Joe Groff
61c0d6badf
fastcgi: fix load and compile errors
2011-11-28 18:56:00 -08:00
Joe Groff
9ec3376aa5
benchmark.regex-dna: reduce IO deploy level again
2011-11-28 18:55:48 -08:00
Joe Groff
e516accf18
specialized-arrays: update tests
2011-11-28 18:55:20 -08:00
Joe Groff
628b7b1812
furnace.auth.providers.couchdb: fix load error
2011-11-28 18:55:11 -08:00
Joe Groff
cad8128b3e
namespaces: rework so a singleton isn't necessary
...
Make global foldable, and make the underlying global object a hashtable wrapper. Also, use a tuple instead of a generic array for the global box type.
2011-11-28 18:25:27 -08:00
Joe Groff
c1c8155468
namespaces: make set-global/get-global foldable
...
Store the globals hashtable as an array of boxes so that the key-to-reference mapping is constant. Use a singleton and an unfoldable "box-at" word so that get-global and set-global optimize to direct operations on the associated box when the variable name is a compile-time constant. Fixes #200 .
2011-11-28 18:25:27 -08:00
Doug Coleman
2e6cfa41da
combinators.smart: Enable a unit test, handle M: object infer-known*, make sum-outputs a macro.
...
Fixes inverse but still needs work, once I figure out how.
2011-11-28 14:36:57 -08:00
Doug Coleman
a3447b49b9
combinators.smart: Fix reduce-outputs, rename quot*n to call-n, rewrite more macros as combinators.
2011-11-28 12:41:50 -08:00
Doug Coleman
3d7d551eb5
regexp: trivial refactoring
2011-11-28 11:46:15 -08:00
Doug Coleman
b0bd8886c3
code-arrays: don't ask, don't tell
2011-11-28 10:00:39 -08:00
John Benediktsson
e3483c9c03
pubsubhubbub support by samueltardieu. Fixes #148 .
2011-11-28 09:57:03 -08:00
Brennan Cheung
b0b8f2cad4
fastcgi alpha preview
2011-11-28 09:50:57 -08:00
Alex Drummond
04b0cbb06d
CouchDB auth provider (furnace.auth.providers.couchdb)
2011-11-28 09:45:42 -08:00
Doug Coleman
664239e1ba
generalizations: Refactor stack-checker so that smart combinators can be used with curry and compose.
2011-11-27 20:25:22 -08:00
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