Björn Lindqvist
df2e17a32d
linked-assocs: fixing stack effect
2016-12-05 08:49:31 +01:00
Björn Lindqvist
5c7627a777
stack-checker.dependencies: removing the add-depends-on-<blah> words
2016-12-03 15:50:55 +01:00
Björn Lindqvist
0142d0b078
basis/,extra/: using parse-array-def in a bunch of places
2016-12-03 13:23:24 +01:00
Björn Lindqvist
1c53e43768
parser: new parsing word parse-array-def
...
The idea behind this word is that in many cases parsing to an array is
much more convenient than parsing to a quotation.
2016-12-03 12:56:47 +01:00
Björn Lindqvist
4d5b83c3f5
compiler.cfg.builder.alien.tests: fix test that broke windows
2016-12-01 19:52:02 +01:00
Björn Lindqvist
cefb15b2d6
alien.libraries.tests: fix for test that broke windows
2016-11-30 19:11:14 +01:00
John Benediktsson
6b1bb67ba6
images.loader.gtk: remove call to deprecated g_type_init.
2016-11-30 09:21:42 -08:00
Björn Lindqvist
cde510d69c
cpu.*: docs
2016-11-30 16:36:25 +01:00
Björn Lindqvist
75b6b12d0e
compiler.cfg.*,compiler.tree.*: more docs and tests
2016-11-30 16:36:25 +01:00
Björn Lindqvist
6cb3e313d9
dlists,http,ui.gadgets.*: nicer formatting of tuples
2016-11-30 16:36:25 +01:00
Björn Lindqvist
ee0b34a469
VM: don't need the data_roots here
2016-11-30 16:36:25 +01:00
Björn Lindqvist
a9ac763912
alien.libraries: word>dlsym was a stupid idea that didn't work
...
The def>> attribute is stripped when deploying. So return dlsym? and use
that.
2016-11-30 16:36:24 +01:00
Björn Lindqvist
bfd40f0215
images.loader.gtk: startup hook for type registration
2016-11-30 11:57:14 +01:00
Björn Lindqvist
2ba659dcb1
io.sockets.secure,alien.libraries: new word word>dlsym to replace the dlsym? word
2016-11-30 11:51:54 +01:00
Björn Lindqvist
b42668ebeb
compiler,stack-checker.dependencies: init-dependencies isn't needed
2016-11-30 07:29:10 +01:00
Björn Lindqvist
e629f7b289
compiler.crossref: changes the way in which dependencies are stored on words
...
Previosly, they were stored in three sequences in the properties
"conditional-dependencies" "effect-dependencies" and
"definition-dependencies". It seem to better to store all three
types in one big property called "dependencies".
2016-11-30 07:29:10 +01:00
John Benediktsson
ef269c493c
math.factorial: reverse-factorial only undo factorial.
...
The other way doesn't make sense.
2016-11-29 19:01:36 -08:00
John Benediktsson
13807172d4
inverse: cleanup using.
2016-11-29 17:02:01 -08:00
John Benediktsson
8bdaf26d6b
math.factorials: implement "undo" for factorials.
2016-11-29 16:56:48 -08:00
John Benediktsson
1e2e2dc9f7
math.factorials: adding reverse-factorial.
2016-11-28 19:09:03 -08:00
Alexander Iljin
54feb5df6c
trails: stop the thread when gadget is no longer visible
2016-11-28 09:40:41 -08:00
Alexander Iljin
429cdf3343
trails: name the thread for debugging
2016-11-28 09:40:41 -08:00
John Benediktsson
ae09790c7c
stack-checker.dependencies: +definition+ can't use $class-description.
...
Also, placeholders for +effect+ and +conditional+.
2016-11-28 09:38:44 -08:00
Björn Lindqvist
d6eb6f2c76
compiler.crossref: better way to store the dependencies on words
2016-11-28 04:13:58 +01:00
Björn Lindqvist
e842e41f49
stack-checker.dependencies: docs
2016-11-28 02:04:28 +01:00
Björn Lindqvist
14e8688112
stack-checker.dependencies: changes the names of the dependency constants
...
Now named using the +blah+ convention which we're using elsewhere for
symbolic constants.
2016-11-28 02:04:28 +01:00
Björn Lindqvist
99653bab91
compiler.crossref: better code for getting dependencies-of + tests
2016-11-28 02:04:28 +01:00
Björn Lindqvist
581e2e2a62
vocabs.metadata.resources,help.pdf: gather used
2016-11-28 02:04:28 +01:00
Björn Lindqvist
fe0f2902a0
classes.mixin: add-mixin-instance doesn't need to be generic
2016-11-28 02:04:28 +01:00
Björn Lindqvist
6c73529525
compiler.codegen: we don't need the init-fixup word
2016-11-28 02:04:28 +01:00
Jon Harper
3d60f7ad5a
trees.avl: fix it (broken since 2010)
...
rotate creates cycles in the tree and drops nodes...
This either breaks everything (infinite recursion) or silently
loses data.
Improve the tests to ensure rotate does what it's supposed to do.
This is a partial revert from 15226d8
2016-11-27 07:45:28 -08:00
Jon Harper
eb46e23eab
trees.avl: fix typo in test
2016-11-27 07:45:28 -08:00
John Benediktsson
7465bd0ed6
io.launcher: wait for new processes faster.
...
This starts at 5 milliseconds, then backs off 5 milliseconds at a time,
until 100 milliseconds. In case the processes are short-lived, they
will be detected sooner, and long-running processes will still be checked
at intervals of 100 millseconds like before.
2016-11-27 07:35:26 -08:00
John Benediktsson
463b57f7c9
help.tutorial: use arrays for test output in first-program.
2016-11-26 22:33:55 -08:00
John Benediktsson
dadff2f062
some cleanup.
2016-11-26 22:01:03 -08:00
John Benediktsson
72cf4fec47
colors.hex: support varying length hex notations.
...
6 characters: rrggbb (1.0 alpha)
8 characters: rrggbbaa
3 characters: rgb (1.0 alpha)
4 characters: rgba
2016-11-26 21:13:12 -08:00
Björn Lindqvist
3b0d5bba15
kernel.private: adding OBJ-SAMPLE-CALLSTACKS + test case
2016-11-24 05:11:46 +01:00
Björn Lindqvist
209feb4cbb
FUEL: fix smie indentation of some syntax words
2016-11-24 05:00:12 +01:00
Björn Lindqvist
79dcce8f39
compiler.cfg.debugger: also print the instruction number
...
it's useful to see when debugging some compiler passes
2016-11-23 18:56:03 +01:00
Björn Lindqvist
d73666b9d0
VM: the unimplemented error isn't used anymore
...
Cause all the primitives are implemented so it can never ever be
thrown. Probably requires new boot images.
2016-11-23 10:24:52 +01:00
Björn Lindqvist
0590ebf914
VM: storing some sample data in the heap ( #337 )
...
This is the first half of it. In the second half the samples array
should also be stored in the heap.
2016-11-23 09:44:17 +01:00
Björn Lindqvist
90b7f9ceb3
VM: here, going through the data_root isn't needed
2016-11-23 08:17:39 +01:00
Björn Lindqvist
9927c92cbd
VM: better to use a "normal" for-loop here
2016-11-23 06:42:06 +01:00
Björn Lindqvist
7661ed3b57
VM: replacing the copy assignment operators of the smart pointers
...
Little more to write, but much easier to see what is going on with
methods rather than assignment operator overloading.
2016-11-23 06:42:06 +01:00
Björn Lindqvist
3b3cc151e9
VM: removing factor_vm::init_contexts()
2016-11-23 06:42:06 +01:00
Björn Lindqvist
1a646d3379
VM: removing array_to_stack() from the factor_vm class
2016-11-23 06:42:06 +01:00
John Benediktsson
6955823107
wikipedia: need to use string>xml since we do xml traversal.
2016-11-22 09:18:04 -08:00
Björn Lindqvist
c55a6ef873
VM: removing the unused callstack-bounds primitive
...
Probably needs new boot images
2016-11-21 22:30:20 +01:00
Björn Lindqvist
e4bdbf1503
VM: better init of stdin, stdout and stderr
2016-11-21 20:40:25 +01:00
Björn Lindqvist
40c277499d
python.tests: fix test that broke for unknown reason on python 2.7.12
2016-11-21 04:59:03 +01:00