John Benediktsson
1f1f8d9839
tools.gc-decode: fix (again) for 64-bit.
2014-11-23 07:31:37 -08:00
John Benediktsson
d65876021b
tools.gc-decode: fix for 64-bit.
2014-11-23 07:13:30 -08:00
John Benediktsson
048ed1e5fd
tools.gc-decode: fix for 32-bit.
2014-11-23 07:12:10 -08:00
Doug Coleman
1451c8c157
json.writer: Allow more objects to be keys in >json. Not completely sure about -Infinity being a key when ``jsvar-encode?`` is true. See #1189 , this might solve it but we need more stress testing it.
2014-11-23 04:02:52 -08:00
Doug Coleman
339c73737b
reddit: Add more slots that cause it to fail. There has to be a better way!
2014-11-23 02:40:26 -08:00
Doug Coleman
d23ab51ce8
io.files: Move with-cd to the tests file so that nobody uses it. My bad. Basically nobody should ever use cd or cwd for anything. Fixes #1214 .
2014-11-23 01:39:36 -08:00
Doug Coleman
d40faa3bdc
compiler.cfg: Add vocabulary for words defined just to test compiler.cfg.
2014-11-23 01:06:46 -08:00
Doug Coleman
ed7ceaf900
http.server: Make sure http.forms is loaded for http.server docs. Fixes #1216 .
2014-11-23 01:05:21 -08:00
Doug Coleman
aff0150a8c
io.files: add with-cd. Related to #1214 .
2014-11-22 22:21:35 -08:00
John Benediktsson
7a35da738f
io: aesthetics matter.
2014-11-22 20:33:53 -08:00
Doug Coleman
3b3103b545
compiler.cfg.scheduling: Fix V{ } -> { } unit test.
2014-11-22 17:43:27 -08:00
Björn Lindqvist
964ae127a2
compiler.cfg.dependence: docs
2014-11-22 17:31:40 -08:00
Björn Lindqvist
aca14563b0
compiler.cfg.dependence/scheduling: fix(?) for #1187 , just avoid shuffling ##peek...
2014-11-22 17:31:40 -08:00
Björn Lindqvist
9d0379b9ba
compiler.cfg.dependence: if node subclasses identity-tuple it doesn't need the number slot
2014-11-22 17:31:40 -08:00
Björn Lindqvist
eb9ca1c6fe
compiler.cfg.dependence: node class doesn't need parent attribute, that's nice
2014-11-22 17:31:40 -08:00
Björn Lindqvist
0feece123c
compiler.cfg.dependence/scheduling.tests: new tests, some that doesnt work yet
2014-11-22 17:31:40 -08:00
Björn Lindqvist
8347f43f84
compiler.cfg.dependence/scheduling: refactoring to get rid of node's follows>>
2014-11-22 17:31:40 -08:00
Björn Lindqvist
645a70f1d4
compiler.cfg.scheduling: refactoring to get rid of the roots dynamic variable
2014-11-22 17:31:39 -08:00
Björn Lindqvist
a96fff60af
compiler.cfg.dependence: keys-for ?first is not deterministic, use tiebreak-parents to get predictable ordering
2014-11-22 17:31:39 -08:00
Björn Lindqvist
7ebceb50e5
compiler.cfg.dependence/scheduling: select-parent and roots moved to scheduling
...
the roots stuff is only used by compiler.cfg.scheduling, so it's more
simple to have it there than in compiler.cfg.dependence
2014-11-22 17:31:39 -08:00
Björn Lindqvist
586c47e5ab
compiler.cfg.dependence/scheduling: more readable version of the select word
2014-11-22 17:31:39 -08:00
Björn Lindqvist
b5754d32ef
compiler.cfg.dependence: moved tree verification code to .tests
...
Since verify-trees just checked that make-trees worked correctly, it's
better to have that code in the test vocab instead of slowing down
every compile by running it
2014-11-22 17:31:39 -08:00
Björn Lindqvist
2ea1a999a4
compiler.cfg.dependence.tests: unit tests for the dependence vocab
2014-11-22 17:31:39 -08:00
Björn Lindqvist
3f3cc0eb8a
compiler.cfg.dependence: now the nodes are on the stack instead of being saved in a dynamic variable (fp++)
2014-11-22 17:31:39 -08:00
Björn Lindqvist
2cfd55b864
compiler.cfg.dependence/scheduling: refactoring, trying to get rid of the ugly usage of nodes dynamic variable
2014-11-22 17:31:39 -08:00
Björn Lindqvist
0a7726b66d
compiler.cfg.dependence: more docs for the vocab
2014-11-22 17:31:38 -08:00
Björn Lindqvist
a1b20e451b
compiler.cfg.scheduling: split-insns returns a 3-tuple instead of 3 items on the stack
2014-11-22 17:31:38 -08:00
Björn Lindqvist
c777cb954a
compiler.cfg.scheduling: refactor to use split-insns and compiler.cfg.linear-scan.numbering + tests
2014-11-22 17:31:38 -08:00
Björn Lindqvist
422c4b2051
splitting: new word split-indices, it's useful compiler.cfg.scheduling so let's add it to the splitting vocab too
2014-11-22 17:31:38 -08:00
Björn Lindqvist
96396cb3ad
compiler.*: use block>cfg and insns>block in many tests instead of wordier code
2014-11-22 17:31:38 -08:00
Björn Lindqvist
c8a022423e
compiler.cfg.utilities: move and rename the helper words block>cfg, insns>block and insns>cfg, they are useful to many testing vocabs
2014-11-22 17:31:38 -08:00
Doug Coleman
bc12a60a49
forestdb: fdb-handle -> fdb-kvs-handle. etc.
2014-11-21 23:58:26 -08:00
John Benediktsson
44f31ee13e
use swapd instead of [ swap ] dip.
2014-11-21 11:56:17 -08:00
John Benediktsson
7badef25ce
libc: reduce code duplication.
2014-11-21 10:19:12 -08:00
John Benediktsson
39093727b1
libc: rename (io-error) to throw-errno.
2014-11-21 09:29:45 -08:00
John Benediktsson
3f362dfc99
destructors: change check-disposed not to drop the disposable.
2014-11-21 08:19:05 -08:00
John Benediktsson
45c5213a5b
alien.cxx.demangle.libstdcxx: fix using list.
2014-11-21 06:57:43 -08:00
Björn Lindqvist
231f50039b
VM: move next_object_after() and first_object() to aging_space (no iteration possible in nursery)
2014-11-21 02:16:04 -08:00
Björn Lindqvist
50c74fc496
VM: get rid of the duplicated nursery instance in vm->data->nursery
...
vm.nursery and vm->data->nursery are different objects. They get out
of sync when Factor code bumps vm.nursery but leaves vm->data->nursery
unchanged. The emptiness of vm->data->nursery meant that each_object()
never iterated it.
2014-11-21 02:16:03 -08:00
Björn Lindqvist
2a5e1e06f3
VM: each_object() can't iterate the nursery so instead we assume it's empty
2014-11-21 02:16:03 -08:00
John Benediktsson
115511038d
libc: removing &(free) and |(free) destructors which aren't really used.
2014-11-20 19:51:10 -08:00
John Benediktsson
45bd145596
io: use errno case instead of cond.
2014-11-20 19:46:14 -08:00
John Benediktsson
0ba693b3fa
cuda.memory: use binary-object.
2014-11-20 18:41:19 -08:00
John Benediktsson
c36a9193ae
io.streams.c: use binary-object.
2014-11-20 18:40:48 -08:00
John Benediktsson
c0b4c1adb1
io.buffers: unsafe code is more unsafe.
2014-11-20 17:46:36 -08:00
John Benediktsson
25f3032d04
io.ports: use fixnum where possible, assert c-ptr since we use memcpy.
2014-11-20 17:19:16 -08:00
John Benediktsson
f6ed37a6f7
io.ports: some cleanup before optimizations.
2014-11-20 16:19:39 -08:00
John Benediktsson
e55af0ebfe
io.buffers: simplify test word.
2014-11-20 15:46:07 -08:00
John Benediktsson
c60a3e6e80
io.buffers: adding a buffer-read-into that can take a c-ptr or a sequence.
2014-11-20 14:40:43 -08:00
John Benediktsson
0a31a7c17a
io.backend.unix: { fixnum } read will be a { fixnum } .
2014-11-20 13:23:53 -08:00