Björn Lindqvist
1378841c95
bootstrap.image.tests: new tests & fix for 32bit test failure
2015-12-14 06:54:12 +01:00
John Benediktsson
6ded345591
tools.deploy: bump deploy test sizes.
2015-12-13 14:25:45 -08:00
John Benediktsson
e7c66b2362
tools.image-analyzer: fix help-lint docs.
2015-12-13 11:46:13 -08:00
John Benediktsson
8cf8f023e2
tools.deploy: bump test sizes.
2015-12-13 09:02:55 -08:00
Björn Lindqvist
b87dd9f6cb
system-info.linux.tests: fix test, linux is at 4.2.x now
2015-12-13 13:56:37 +01:00
Björn Lindqvist
0c9c0b2f82
VM: removes a few methods related to relocation handling
...
They are only used once, so it is simpler to "inline" them
2015-12-13 13:56:36 +01:00
Björn Lindqvist
7da72ac77c
VM: the compute_vm_address method can be removed
2015-12-13 13:56:36 +01:00
Björn Lindqvist
08766090d3
VM: more fine-grained control over which special objects to save
...
It removes a few roots that doesn't need to be saved in the image and
can save a few hundred bytes.
2015-12-13 13:56:36 +01:00
Björn Lindqvist
28a0f3a01a
tools.image-analyzer.graphviz: output the root nodes in a graph cluster, looks pretty neat
2015-12-13 13:56:36 +01:00
Björn Lindqvist
f191a6d4c5
tools.image-analyzer: now also loads absolute relocation pointers
2015-12-13 13:56:36 +01:00
Björn Lindqvist
89eaca34bf
tools.image-analyzer: now relocation pointers are decoded too -> nicer graphs
2015-12-13 13:56:36 +01:00
Björn Lindqvist
46bfcbf3a2
VM: the rel_type() and rel_offset() accessors in instruction_operand can be removed
2015-12-13 13:56:36 +01:00
John Benediktsson
3affad7681
docs: using $maybe.
2015-12-11 17:05:45 -08:00
Björn Lindqvist
1a72f731e0
VM: now special-objects is used for -1, 0, 1 and t
...
The fields in the image_header aren't read or written to but I haven't
changed the format yet.
2015-12-10 10:22:38 +01:00
Björn Lindqvist
339b1b6466
VM: put the singletons t, -1, 0 and 1 in the special objects table
...
Having them there instead of as fields in the vm struct removes a bunch
of special handling. This commit just adds them and doesn't remove the
old ones to avoid potential chicken-and-egg bootstrap problems.
2015-12-09 21:31:13 +01:00
Björn Lindqvist
d6a9122967
ui.backend.gtk: only run the tests on linux
2015-12-08 09:46:30 +01:00
Björn Lindqvist
9d95602591
io.encodings: doc fix
2015-12-08 04:21:32 +01:00
Björn Lindqvist
24db8a5d7f
compiler.tests.callstack-overflow: disable test for os x 64, see #1478
2015-12-08 02:16:51 +01:00
Björn Lindqvist
0564503338
tools.image-analyzer: test failure fix
2015-12-08 02:12:30 +01:00
Björn Lindqvist
c63fe2ab25
tools.image-analyzer.graphviz: new vocab for making graphs of the loaded heaps
2015-12-07 09:06:12 +01:00
Björn Lindqvist
fe204eeaf9
graphviz.dot: better string escaping using unparse-string
2015-12-07 08:38:10 +01:00
Björn Lindqvist
bf28e85405
tools.image-analyzer.*: wrap read objects in heap-node tuples with their addresses
2015-12-07 04:20:43 +01:00
Björn Lindqvist
74cb1acd17
Docs: more docs for vocabs in core/
2015-12-05 16:34:46 +01:00
Björn Lindqvist
4551fdcb28
tools.test: print the callstack in test failures
...
So when mason reports a test failure it should include the whole
callstack. That should make it easier to catch the "No suitable
arithmetic method" random error that is hard to debug without a
callstack.
2015-12-04 16:57:40 +01:00
Björn Lindqvist
d911bc45fd
VM: refactors the prepare_boot_image method
...
easier to read if the methods compile_all_words and
initialize_all_quotations which are only used once are "inlined"
2015-12-04 13:57:57 +01:00
Björn Lindqvist
bf8fe25271
bootstrap.*: fix for #1512 , load docs after everything else
...
By making it so the help component is loaded almost last, all vocabs are loaded without docs and only then are they loaded. It should make it so you don't get cyclic dependency problems in doc files during bootstrapping.
2015-12-04 13:29:29 +01:00
Björn Lindqvist
fc9eb0d5ac
bootstrap.stage2: more logging output and fix for #1444
...
The error clearing needs to happen almost last so that an error is not
set in the image.
2015-12-04 13:16:21 +01:00
Björn Lindqvist
4f698db8fc
FUEL: slightly improved font-locking for alien functions and aliases
2015-12-04 12:43:01 +01:00
Björn Lindqvist
5deea76d55
ui.backend.gtk: set the active? to 100 in on-map, should fix #1506
...
what now happens is that configure events are skipped until the first
on-map signal is fired. seem to work fine in a variety of wm:s. if this
works well we can return active? to be plain boolean.
2015-12-04 00:57:19 +01:00
Björn Lindqvist
f730f81c0e
Build: fix semver_into so that it doesnt misparse versions like "2.3.4"
2015-12-03 00:46:21 +01:00
Sankaranarayanan Viswanathan
bb43e27b86
snake-game: refactor and restruture
2015-12-02 09:11:33 -08:00
Sankaranarayanan Viswanathan
38eb231977
Added extra:snake-game
2015-12-02 09:11:33 -08:00
Björn Lindqvist
a35895f222
compiler.cfg.intrinsics: fix doc and make tests work on 32bit
2015-12-01 13:43:45 +01:00
Björn Lindqvist
43f2592d1b
ui.gestures: fix gesture docs, #1509
2015-12-01 11:01:34 +01:00
Björn Lindqvist
763b892a1d
ui.*: move some of the gl initing to set-up-window, should fix #1510
...
it's also more efficent to run the check-extensions "1.0"
require-gl-version code only once when the window is created, rather
than once for each draw
2015-12-01 04:49:36 +01:00
Björn Lindqvist
7bc0718d34
Build: simpler version# parsing logic (parsing gcc --version failed on my system)
2015-11-30 23:24:36 +01:00
Björn Lindqvist
02c80423ba
compiler.cfg.intrinsics.slots: refactor + docs & tests
2015-11-28 01:55:12 +01:00
Björn Lindqvist
686975ec29
ui.tools.listener: only wait up to 5 seconds for the listener to start
...
otherwise unit tests can wait forever if there is an error in listener-thread
2015-11-27 13:15:17 +01:00
Björn Lindqvist
867c85f1c5
VM: can't go through the accessor here because it triggers the assert
2015-11-25 18:12:55 +01:00
Björn Lindqvist
0274e889b9
VM: refactor tagged.hpp so it's not dependent on the factor_vm class
...
this way untag<byte_array>(relocation) can be used in code_blocks.hpp
2015-11-24 16:00:50 +01:00
John Benediktsson
e84e63fd0c
tools.deploy: small bump in sizes.
2015-11-23 10:42:49 -08:00
Björn Lindqvist
6a2c36f5ec
compiler.cfg.builder.blocks: help-lint fix
2015-11-23 16:32:01 +01:00
Björn Lindqvist
22bb0cfecf
VM: fixes to use the TAG macro over tagged<object>(obj).type()
2015-11-23 02:27:22 +01:00
Björn Lindqvist
a8aaa42882
VM: refactoring to use the TAG macro directly over the tagged struct
...
eg. TAG(obj) is equivalent to tagged<object>(obj).type()
2015-11-22 23:42:54 +01:00
Björn Lindqvist
63fd4d25cf
compiler.cfg.*: more fixes to pass basic-block on the stack than in a
...
dynamic variable
2015-11-22 01:06:11 +01:00
Björn Lindqvist
1421779c9e
compiler.cfg.*: refactors words to take a block parameter instead of
...
using the basic-block dynamic variable
the idea is to make the code easier to follow by limiting the use of
dynamic variables
2015-11-22 00:37:34 +01:00
Björn Lindqvist
e1b22e0af4
compiler.tree.dead-code.simple: small refactoring and docs
2015-11-22 00:37:33 +01:00
Björn Lindqvist
097b40ce41
compiler.tree.propagation.recursive: better counter-class
2015-11-22 00:37:33 +01:00
John Benediktsson
17b536c3a8
html.templates: use unless* instead of or.
2015-11-20 09:15:19 -08:00
John Benediktsson
6d21a5a073
urls: only create linked-hash if query is f.
2015-11-19 08:50:30 -08:00