John Benediktsson
53c54b86ab
io.files.temp: adding with-temp-directory and with-cache-directory.
2012-06-18 12:22:59 -07:00
Doug Coleman
73fe611543
tools.ps: Fix ps tool for linux < 3.
2012-06-18 09:51:07 -07:00
Doug Coleman
9d8cc34f6f
deploy test 5: use new temp directory.
2012-06-13 11:30:15 -07:00
John Benediktsson
d1aa58313f
core-text: remove unused local.
2012-06-06 14:46:49 -07:00
John Benediktsson
f8fa0f5ddd
windows.ddk.setupapi: use PACKED-STRUCT (thanks Joe Moschini).
2012-06-04 19:08:46 -07:00
John Benediktsson
43f334de3e
core-foundation.strings: prevent creating CFString from characters in range 0xd800-0xdfff.
2012-06-01 17:56:34 -07:00
John Benediktsson
12262a500c
listener: move pprint error catching to stack.
2012-06-01 17:54:58 -07:00
John Benediktsson
827dd0127f
listener: don't crash if pprint fails.
2012-06-01 17:07:49 -07:00
Doug Coleman
898534817e
io.files.info.unix: When setting access or modified time alone, don't set the other time to 1970.
...
See #490 .
2012-06-01 16:03:41 -07:00
John Benediktsson
5eb5e4e4da
debugger: fix error summary for not-found-in-roots.
2012-06-01 16:00:59 -07:00
John Benediktsson
58617f10be
prettyprint: document "~1 more~" behavior (funny because it takes as much as room as... 1 more).
2012-06-01 15:15:29 -07:00
John Benediktsson
e6382af293
math.combinatorics: 100%+ faster combinations.
2012-06-01 14:07:39 -07:00
John Benediktsson
d2876bea1d
math.functions: implement copysign.
2012-06-01 08:24:35 -07:00
John Benediktsson
c1323fbe5a
fix some tests broken by the prepend change.
2012-05-29 16:58:58 -07:00
John Benediktsson
f4c7651540
io.sockets: fix stack effect for <broadcast>.
2012-05-29 15:47:15 -07:00
John Benediktsson
d896fb2ee4
io.sockets.windows: get the handle from the handle.
2012-05-29 11:20:55 -07:00
John Benediktsson
95e647fc1e
io.sockets: adding "broadcast port", ideally would just be +broadcast+ or something, but this works.
2012-05-29 10:46:19 -07:00
John Benediktsson
e722324bac
unix.ffi: adding some socket constants.
2012-05-29 10:45:41 -07:00
John Benediktsson
e8033c9736
math.matrices: adding docs for a few words.
2012-05-25 12:19:23 -07:00
Doug Coleman
3756191a28
math.matrices: Add another test to make sure we calculate kron correctly.
2012-05-24 09:02:47 -07:00
Doug Coleman
7f8d1cf58e
math.matrices: Add stitch. Add Kronecker product.
2012-05-24 08:53:47 -07:00
John Benediktsson
f8703fd055
models: adding ?set-model.
2012-05-14 15:40:55 -07:00
John Benediktsson
b702491834
math.statistics: adding winsorized-mean.
2012-05-08 08:48:15 -07:00
John Benediktsson
b1b224450e
math.statistics: adding trim-mean and signal-to-noise.
2012-05-08 08:24:57 -07:00
John Benediktsson
61cdde1b74
interval-sets: inline unicode constant.
2012-05-07 17:31:32 -07:00
Doug Coleman
7977296e27
math.statistics: Add sum-of-squares word, add sum-of-squared-errors/sum-of-absolute-errors words.
2012-05-07 15:04:37 -07:00
John Benediktsson
d507658b1a
memoize: moving MEMO[ to memoize.syntax to work around bootstrap issue.
2012-05-04 22:24:21 -07:00
John Benediktsson
425119ccde
memoize: change MEMO[ to push a quotation.
2012-05-04 21:31:23 -07:00
John Benediktsson
59edc3803e
memoize: cleaner test case.
2012-05-04 20:43:23 -07:00
John Benediktsson
861c5c6a3e
memoize: adding a MEMO[ word which makes an inlined anonymous memoized quotation.
2012-05-04 20:39:26 -07:00
John Benediktsson
59276fce15
ui.gadgets.editors: adding delete-to-start-of-document and delete-to-end-of-document.
2012-05-04 18:38:12 -07:00
John Benediktsson
c630cb1418
math.matrices: adding hilbert-matrix, toeplitz-matrix, hankel-matrix, and box-matrix.
2012-05-04 18:01:21 -07:00
John Benediktsson
44ed579363
interval-sets: change tests to use constant literals.
2012-05-04 17:40:45 -07:00
John Benediktsson
7dbb63a01e
interval-sets: some modernization.
2012-05-04 17:33:10 -07:00
Daniel Ehrenberg
2e10ff5e53
Interval sets library
2012-05-04 17:27:31 -07:00
Doug Coleman
01e8d15cfb
math.statistics: Add power-mean and quadratic-mean.
2012-05-04 15:27:46 -07:00
John Benediktsson
2bc643cb84
math.statistics: simpler (faster) version of rescale.
2012-05-04 14:51:38 -07:00
John Benediktsson
35d4a2bb1c
math.statistics: adding contraharmonic-mean.
2012-05-04 14:43:29 -07:00
John Benediktsson
44e3f768b8
math.statistics: adding mean-dev and median-dev.
2012-05-04 14:40:24 -07:00
John Benediktsson
7820f5c8a8
math.statistics: separate "sample-" and "full-" versions of var, std, ste, and corr.
2012-05-04 14:31:26 -07:00
John Benediktsson
62654a4271
math.statistics: adding standardize, differences, rescale.
2012-05-04 14:18:45 -07:00
Doug Coleman
9b6f58fc9e
math.matrices: Add a diagonal-matrix word that makes an nxn matrix from a sequence.
...
Optimize identity-matrix word -- 2-3x faster using diagonal-matrix.
Add an eye word that makes an mxn diagonal matrix with a diagonal offset by k.
2012-05-04 11:31:05 -07:00
Doug Coleman
fbf85898de
prettyprint: Fix unit tests. Remove useless line.
2012-05-04 09:09:39 -07:00
Doug Coleman
cb42258144
classes:
...
- Allow methods to dispatch off union{ } and intersection{ } classes.
- Add not{ } anonymous-complement syntax.
- Define class-name for anonymous-union/intersection/complement and maybes, and clean up pprint.
- Change maybe: foo to maybe{ foo }
- Call sort-classes when making anonymous-union/anonymous-intersection classes so that they are canonicalized.
2012-05-03 19:45:30 -07:00
John Benediktsson
fda12a9972
math.functions: adding generalized signum function. Fixes #509 .
2012-05-03 14:44:10 -07:00
John Benediktsson
d6a5cc3ee8
math.vectors: adding p-norm.
2012-05-03 13:27:00 -07:00
Doug Coleman
9a125e82e9
math.functions: rename exp to e^ to be consistent with 2^ and 10^. update things.
2012-05-02 10:22:23 -07:00
Doug Coleman
4338db58a4
math.functions: Add e^ and sigmoid functions.
2012-05-02 09:21:34 -07:00
John Benediktsson
4b53bb5ab0
tools.deploy: fix location of port-number file.
2012-04-27 13:17:03 -07:00
John Benediktsson
3f15cd4e63
math.statistics: adding entropy function.
2012-04-26 18:40:59 -07:00
John Benediktsson
e556ff9fc7
using reverse! when possible.
2012-04-25 20:09:36 -07:00
John Benediktsson
4358186792
Use "map-sum" instead of "map sum".
2012-04-25 13:18:21 -07:00
John Benediktsson
84d7136a12
change to in-place reverse.
2012-04-24 18:51:46 -07:00
John Benediktsson
6323018b8a
math.combinatorics: minor performance improvements.
2012-04-24 18:42:34 -07:00
John Benediktsson
8fe84dc35d
math.combinatorics: faster version of factorial.
2012-04-24 10:06:00 -07:00
Doug Coleman
fdcb9b93d7
math.statistics: Add eight methods for calculating quantiles. Add quartile. Add kth-smallests et al, refactor medians.
2012-04-24 03:17:50 -07:00
Doug Coleman
222e76bed6
math.statistics: Make a safe version of kth-object. Bounds check k w/ regards to seq.
2012-04-23 13:55:25 -07:00
John Benediktsson
b668db8df6
math.combinatorics: adding <combinations> and <permutations> sequences.
2012-04-23 08:30:22 -07:00
Doug Coleman
5f4d67dc77
math.statistics: Generalize kth-smallest into kth-object, add kth-largest. Add count-relative and minmax-relative for counting the number of lt, eq, gt elements, and getting the max lt and min gt in one pass.
2012-04-22 23:41:13 -07:00
John Benediktsson
aa0321ebd9
math.combinatorics: fix failed find combinations/permutations.
2012-04-21 20:11:47 -07:00
John Benediktsson
fcc30ee39f
math.combinatorics: adding find-combination and find-permutation.
2012-04-20 23:31:40 -07:00
John Benediktsson
cf3e318f31
math.functions: adding another test for roots.
2012-04-19 13:34:42 -07:00
John Benediktsson
13a4e3f2a8
math.functions: adding "roots" word to get arbitrary roots from numbers.
2012-04-19 12:19:14 -07:00
John Benediktsson
e05002f70a
math.functions: adding docs and tests for ^mod.
2012-04-19 08:20:11 -07:00
John Benediktsson
33f741ec2e
cleanup some lint warnings.
2012-04-18 17:46:01 -07:00
John Benediktsson
5127f962dc
classes.struct: add some docs for read-struct.
2012-04-18 16:02:00 -07:00
John Benediktsson
9229d54df8
classes.struct: adding a read-struct word.
2012-04-18 16:00:29 -07:00
Doug Coleman
51cad6ce67
math.combinators: Add filter-permutations/combinations. Minor cleanup.
2012-04-18 15:18:54 -07:00
Doug Coleman
f55c723d61
math.combinators: Add map-permutation
2012-04-18 15:18:54 -07:00
John Benediktsson
608e929b45
random: adding rayleigh, gumbel, logistic, and power random floats.
2012-04-18 14:37:27 -07:00
John Benediktsson
99e80166f7
bootstrap.image.upload: fix checksums location to use new temp dir.
2012-04-17 20:49:19 -07:00
John Benediktsson
7f89878537
cocoa.plists: import cocoa to fix bootstrap issue.
2012-04-16 12:06:42 -07:00
Joe Groff
7d3d170638
io.files.temp.windows: fix up
2012-04-16 11:55:33 -07:00
Joe Groff
1f34d9d351
change temp-file to cache-file where appropriate
2012-04-16 11:55:27 -07:00
Joe Groff
f11e64e5a8
io.files.temp: use OS tmp dir; add cache-directory
...
Change temp-directory to return an OS-sanctioned temporary directory instead of "resource:temp". Add a new function cache-directory to return an OS-sanctioned directory for storing staging images etc. Fixes #365 .
Windows implementation needs to be finished and tested.
2012-04-16 11:55:22 -07:00
John Benediktsson
5c92d51e28
random: adding some tests for the random distributions.
2012-04-15 10:16:06 -07:00
John Benediktsson
9b8a781d15
random: adding laplace, cauchy, chi-square, student's t, and inverse gamma distributions.
2012-04-14 21:00:19 -07:00
John Benediktsson
62b39c8764
math.statistics: adding cumulative versions of sum, product, min, and max.
2012-04-12 10:30:16 -07:00
Doug Coleman
e161c6635a
math.statistics: Fix docs for help-lint.
2012-04-10 08:52:12 -07:00
John Benediktsson
b96cf6e88a
math.combinatorics: fix help-lint.
2012-04-09 11:43:22 -07:00
John Benediktsson
4672d102d8
Revert "ascii: adding title case."
...
This reverts commit 66ecd199d8 .
2012-04-05 14:37:56 -07:00
John Benediktsson
66ecd199d8
ascii: adding title case.
2012-04-05 13:56:20 -07:00
John Benediktsson
c8e2bd63a4
Revert "math.functions: simpler without "simple-gcd"."
...
This reverts commit aa7f60ebbc .
2012-04-05 10:34:50 -07:00
John Benediktsson
aa7f60ebbc
math.functions: simpler without "simple-gcd".
2012-04-05 10:31:46 -07:00
John Benediktsson
1b8f1d9945
math: adding a fast-gcd that speeds up all ratio operations by up to 10 times for bignum ratios.
2012-04-05 09:17:52 -07:00
John Benediktsson
629677b772
vm: adding bignum_gcd primitive.
2012-04-05 09:17:35 -07:00
Doug Coleman
f430475dc7
random: Add a k parameter for pareto. Add some unit tests.
2012-04-03 16:27:04 -07:00
John Benediktsson
c1e0daf656
math.statistics: change 'var' to 'sample-var' and implement variance, covariance, and correlation.
2012-04-02 17:12:32 -07:00
John Benediktsson
f874084682
random: adding triangular distribution.
2012-03-30 19:53:30 -07:00
John Benediktsson
f88fff235f
random: adding von-mises distribution.
2012-03-30 19:43:51 -07:00
John Benediktsson
da687be68e
random: implement gamma distribution, fix beta to use it.
2012-03-30 19:30:29 -07:00
Doug Coleman
d4e0d9fd1c
random: Change weibull-random-float to use alpha/beta parameters.
2012-03-30 18:38:18 -07:00
Doug Coleman
1942372eb5
random: Add random-unit word. 1 random-unit - is the same distribution, as Joe pointed out, so remove that. Use random-unit in librarie.
2012-03-30 18:04:45 -07:00
John Benediktsson
ac0002f0ae
random: 1 swap - was redundant.
2012-03-30 17:57:40 -07:00
John Benediktsson
273bc939c7
random: gauss-random-float is just normal-random-float.
2012-03-30 17:55:18 -07:00
John Benediktsson
1b2bf096f6
random: adding lognormal, exponential, weibull, pareto, gauss, and beta distributions.
2012-03-30 17:33:13 -07:00
John Benediktsson
ce0e9aab98
math.vectors: separate "dot product" from "Hermitian inner product". Fixes #484 .
2012-03-29 10:56:39 -07:00
Joe Groff
1937aa9164
webbrowser: move to basis for tools.deploy.unix
2012-03-26 10:18:10 -07:00
Joe Groff
60650c8add
ui.tools.listener: dumb hack to set listener font
2012-03-04 13:08:22 -08:00
John Benediktsson
d2fb34f7da
math.combinatorics: fix tests for next-permutation.
2012-03-02 10:05:57 -08:00
John Benediktsson
6cae745060
math.combinatorics: fix docs for next-permutation.
2012-03-02 09:55:22 -08:00
John Benediktsson
ed37418a47
math.combinatorics: implementing "next-permutation".
2012-03-02 09:54:35 -08:00
Joe Groff
7803daf4a8
add content-gadget hook for inspector
...
Allow objects such as images, strings, and audio clips to display rich representations of themselves in the inspector by providing methods for a content-gadget generic.
2012-02-21 15:06:27 -08:00
Joe Groff
cb28523e6e
ui.gadgets.panes: add gadget-alt-text
...
Provide a default implementation of write-gadget that writes plain text to a stream that doesn't support gadgets.
2012-02-18 21:59:30 -08:00
John Benediktsson
6203caf46f
system-info.macosx: adding "Mountain Lion".
2012-02-16 08:30:56 -08:00
Doug Coleman
1fa68183c9
tools.ps: Add a simple Linux-only ps clone.
2012-02-03 17:30:34 -08:00
Doug Coleman
1280f4dfa2
unix.groups: Return an empty sequence if the user in 'user user-groups' doesn't exist.
2012-02-02 19:58:24 -08:00
Doug Coleman
c282383adc
unix.groups: Get the second parameter to getgrouplist from /etc/passwd.
2012-02-02 19:53:42 -08:00
John Benediktsson
53d45717e1
calendar: today is now midnight.
2012-02-02 19:47:05 -08:00
John Benediktsson
f221b7b396
unix.groups: 64 ought to be enough, right?
2012-02-02 19:41:39 -08:00
otoburb
a78c7b4577
client-docs: Updated HTTP PUT documentation typos
2012-01-11 02:33:05 +00:00
Slava Pestov
c8a0759881
listener: update docs
2012-01-02 21:38:56 -08:00
Slava Pestov
e9064aaf36
Set up listener's manifest so that words defined in "scratchpad" take precedence over other vocabularies and do not raise a restart. This matches the behavior of IN: and USE: in files, where the IN: takes precedence. Also remove unused clear-manifest word. Fixes #407
2012-01-02 23:18:52 -06:00
John Benediktsson
beaf3db868
Revert "ui.gadgets.books: needs help.markup.private."
...
This reverts commit dc9aa68961 .
2011-12-29 21:38:05 -08:00
John Benediktsson
d76b0815fd
unicode: Fix some $vocab-links in docs.
2011-12-29 17:32:05 -08:00
John Benediktsson
0b59d246da
math.vectors: fix some $examples in docs.
2011-12-29 17:31:55 -08:00
John Benediktsson
dc9aa68961
ui.gadgets.books: needs help.markup.private.
2011-12-29 17:19:48 -08:00
John Benediktsson
2215ae0688
ui: fix error in docs (USE: ui.gadgets.books).
2011-12-29 16:33:16 -08:00
Doug Coleman
bbbfc36814
splitting.monotonic: Don't throw away the last result. Fixes #462 .
2011-12-27 11:45:01 -06:00
Joe Groff
d37851fb5d
cpu.x86.32.bootstrap: oops, meant bootstrap-cell
2011-12-19 20:55:07 -08:00
Joe Groff
d533bbb88c
cpu.x86.32.bootstrap: update unwind-native-frames
...
The arguments passed from C are in a different position now.
2011-12-19 18:42:14 -08:00
Doug Coleman
2bfde77127
combinators.smart: Make map-reduce-outputs a macro. To be a combinator, we need a full stack-checker rewrite.
2011-12-19 11:12:37 -08:00
Samuel Tardieu
3bcb62d7ca
fix link when extracting the feed address
...
If the <link rel="alternate" href="..."/> was not the first
<link/> attribute under the <feed/> tag, the bad one was extracted
as the corresponding site URL.
2011-12-16 16:07:01 -08:00
Samuel Tardieu
ff9831f92f
add tag-named-with-attr to xml.traversal
2011-12-16 16:07:01 -08:00
Joe Groff
70fdd152f0
tools.deploy.shaker: strip globals harder
...
Separate the list of strippable globals in "stripped" and "cleared". Completely remove the former set, but only reset to 'f' the latter. Fixes #447 .
2011-12-16 15:56:59 -08:00
Joe Groff
d7fb47aaa9
threads: update test
2011-12-14 13:45:53 -08:00
Joe Groff
2883c4cb14
Revert "pubsubhubbub support by samueltardieu". Fixes #455 .
...
This reverts commit e3483c9c03 .
2011-12-14 13:13:18 -08:00
Joe Groff
23eb2eaa1b
fix compiler.codegen tests
2011-12-14 12:51:12 -08:00
Joe Groff
8e326f5a42
tools.deploy.shaker: clear MEMO: caches
2011-12-14 12:44:40 -08:00
Joe Groff
fb7172fd28
fix help-lint failures
2011-12-14 11:33:17 -08:00
Joe Groff
d6b520734d
cpu.x86.64: define jit-load-vm as a no-op
...
This was the signal handler prolog code can be shared completely between x86.32 and x86.64.
2011-12-14 11:33:05 -08:00
Joe Groff
9078282855
oops, handler still need to jit-load-vm on x86-32
2011-12-14 09:56:50 -08:00
Joe Groff
af989f533a
cpu.x86.*: clean up signal handler prolog code
...
Also bump the signal handler frame sizes up again since it looks like we shrank them too much.
2011-12-14 09:56:50 -08:00
Joe Groff
6dd5973bdd
cpu.x86: reduce compiled frames by 2 cells too
2011-12-14 09:56:49 -08:00
Joe Groff
1c44a4e8ae
simplify function prologs
2011-12-14 09:56:49 -08:00
Joe Groff
5f0102fb7c
cpu.*.bootstrap: return address for (set-context)
...
Instead of pushing zero as the fake return address for a set-context call, push an address that points back into the primitive so that callstack walking can match the frame back to the subprimitive.
2011-12-14 09:56:46 -08:00
Joe Groff
8981fccbe8
vm: frame size for signal handler code blocks
2011-12-14 09:56:46 -08:00
Joe Groff
84e817ef95
compiler.constants: remove unused constants
2011-12-14 09:56:45 -08:00
Joe Groff
9186a1bdf3
vm: store stack frame size in code blocks
...
Change modify-code-heap primitive so it takes a sixth element in each array for the frame size.
2011-12-14 09:56:45 -08:00
Joe Groff
3365e1adbb
math.vectors: add higher-order stack effect to vif
2011-12-13 19:46:44 -08:00
Joe Groff
819e1602be
cpu.x86: enable POPCNT with a flag
...
If bootstrapped with '-enable-popcnt' and the host CPU supports it, enable the POPCNT-based fixnum-bit-count intrinsic. Fixes #436 .
2011-12-12 16:43:49 -08:00
Joe Groff
a6b4d30378
tools.deploy.shaker: more timid global stripping
...
Strip globals by replacing their value with "f". The list of globals to strip was written with the assumption that the stripped globals would get restored like normal hashtable keys when accessed. This isn't valid anymore with the globals optimization, since creating a new box breaks the foldable invariant between a global name and its associated box. Need to go through the list of globals to strip and find the ones that actually can be entirely removed as opposed to just reset to f. Fixes #445 . Fixes #446 .
2011-12-12 16:08:25 -08:00
rien
f15ef329a0
added B: (break for parsing words) and appropriate documentation
2011-12-10 20:59:22 -05:00
Joe Groff
30dc7d45e7
math.vectors.simd.intrinsics: fix deploy bug
...
If not called with a known-at-compile-time SIMD type, the intrinsic definitions were leaving behind runtime quotations that referenced the c-array words after c-type information had been stripped, causing deployed applications that used SIMD to fail.
2011-12-07 12:47:38 -08:00
Doug Coleman
5fb4b86fbf
help-lint fixes for recent changes
2011-12-07 12:26:35 -08:00
Joe Groff
7dbdc54052
command-line: don't pull in tools.errors
...
tools.errors brings the debugger with it, which bloats deploy image size
2011-12-07 10:52:58 -08:00
Joe Groff
ba860e27a9
regexp.parser: fix failing test
2011-12-06 21:11:58 -08:00
Joe Groff
881f9ba3f1
compiler: fix failing test
2011-12-06 21:11:44 -08:00
Samuel Tardieu
097016d5cb
lazy.lists: lfrom-by documentation fix
...
Also add a unit test for lfrom-by.
2011-12-06 21:08:16 +01:00
Philipp Brüschweiler
7dded87bf1
ui.backend.gtk: don't die if the icon doesn't exist, partially fixes #369
2011-12-06 09:05:05 +01:00