Commit Graph

13433 Commits (f233e2a5673fe4e7f47856a8e2167e0cb7992ad6)

Author SHA1 Message Date
Björn Lindqvist 1e96eec669 bootstrap.image: making it so special-objects isn't a global 2016-09-14 15:48:35 +02:00
Björn Lindqvist 409cf9bd3e compiler.codegen: removing the insn-counts global
It created a histogram of instructins for debugging, but it is not so
useful...
2016-09-14 14:54:43 +02:00
Björn Lindqvist 3dbec75864 vocabs.metadata.resources: updating the docs i forgot 2016-09-13 17:11:48 +02:00
Björn Lindqvist b40e6cbd6d vocabs.metadata.resources: new error resource-missing, if a resources.txt line doesnt match something
So then if files declared in resources.txt are missing, that will
hopefully be caught by the deploy process.
2016-09-13 06:07:14 +02:00
Björn Lindqvist c23dbf0f8f vocabs.metadata.resources: refactoring of code for gathering resources 2016-09-13 05:36:50 +02:00
Björn Lindqvist ab7e077b1d Docs: fixing docs & comments to work with new stack clearing 2016-09-12 02:11:51 +02:00
Björn Lindqvist 349f99661d compiler.*: Remove the scrubbing part of the GC maps
Instead of generating GC maps which describe which stack locations that
are uninitialized, we emit ##clear instructions for those locations in
front of ##call-gc instructions. This makes the context root scanning
much simpler because the GC can assume that all stack slots are
initialized. It also removes the compiler.cfg.stacks.vacant pass and
seem to reduce the image size slightly because many fewer GC maps needs
to be emitted.
2016-09-11 20:34:44 +02:00
Björn Lindqvist faaa898975 compiler.codegen.*: removing the init-gc-maps word 2016-09-09 18:57:57 +02:00
Björn Lindqvist 2f71e91dce compiler.cfg.stacks.*: rename trace-stack-state2 -> trace-stack-state 2016-09-09 08:06:02 +02:00
Björn Lindqvist 9decb6a91e compiler.cfg.*: better way to store the block height
It is stored as a height-state instance on the height slot of the
basic-block. It will make better analysis possible because you see how
much the height increased or decreased in the block.
2016-09-08 04:01:25 +02:00
Björn Lindqvist 670d2c344e compiler.cfg.stacks.*: new word local-loc>global, replacing untranslate-loc 2016-09-08 04:01:25 +02:00
Björn Lindqvist 6f06b51443 compiler.cfg.stacks.local: simplified code for getting kill locations 2016-09-08 04:01:25 +02:00
Björn Lindqvist c640e3b8c1 compiler.cfg.*: changing height-state from a 2-el array to a tuple
This way, it is a little easier to see what is going on in the local
analysis phase.
2016-09-08 04:01:25 +02:00
Björn Lindqvist 2edda80b5e compiler.cfg.*: removing the adjust-d word
inc-stack can be used in emit-call-block if we check if the block is a
kill block in end-local-analysis
2016-09-05 12:12:01 +02:00
Björn Lindqvist ee5c28f470 compiler.cfg.stacks.*: removing the adjust word which wasn't useful 2016-09-05 10:37:29 +02:00
Björn Lindqvist bff165c85c ui.*: more tests 2016-09-05 07:47:39 +02:00
Björn Lindqvist 20711a0fd3 Adding escaping to CHAR: " -> CHAR: \"
It is not necessary to escape the " character, but it doesn't hurt and
is necessary for syntax-highlighting (FUEL) to work correctly.
2016-09-04 06:40:43 +02:00
Björn Lindqvist a36ac6e435 compiler.tree: these constructor words aren't needed 2016-09-04 06:23:50 +02:00
Björn Lindqvist 367bff6339 compiler.cfg.builder: simplification of the shuffling logic 2016-09-04 06:22:54 +02:00
Björn Lindqvist af7e4903a2 compiler.cfg.debugger: print -> write to not add stray newlines 2016-09-01 09:59:15 +02:00
Björn Lindqvist 6a7033fccb bootstrap.image.primitives,tools.profiler.sampling: fixing stack effect 2016-09-01 09:00:01 +02:00
Björn Lindqvist 916bb1678a stack-checker.*: doc updates 2016-09-01 02:24:54 +02:00
Björn Lindqvist 26d53f9019 compiler.cfg.*: compiler doc updates 2016-09-01 02:16:30 +02:00
Björn Lindqvist f7542e95a9 compiler.cfg.stacks.finalize: only insert blocks if they aren't empty
Previously, a lot of empty blocks were added too.
2016-09-01 01:54:11 +02:00
Björn Lindqvist c26379ea7e compiler.cfg.debugger: better code for outputting using the formatting vocab 2016-08-30 04:04:21 +02:00
Björn Lindqvist b82ea14af0 sets,compiler.cfg.stacks.global: putting the refine word in sets 2016-08-30 02:34:37 +02:00
Björn Lindqvist 6c88577ee7 compiler.cfg.*: replacing the peek/replace/kill-sets with slots
So instead of storing the info in variables, it is stored in slots on
the basic-block tuple which is much nicer.
2016-08-29 12:07:47 +02:00
Björn Lindqvist e8e1811542 compiler.cfg.stacks.height: removing vocab
It was so small so better to put the words it contained in the vocabs
where they are used.
2016-08-26 11:06:17 +02:00
Björn Lindqvist ebdf57d175 db.sqlite: fix the delete constraint for the restrict case 2016-08-25 13:52:44 +02:00
Björn Lindqvist 66083e263c db.sqlite: fix text of generated triggers
An opening brace was missing for some variables
2016-08-25 13:10:42 +02:00
Björn Lindqvist dc3fa20bf6 ui.render.tests: removing bad test 2016-08-24 16:44:35 +02:00
Björn Lindqvist 36966c1a7d x11.*: auto string to alien conversion for XOpenDisplay 2016-08-24 05:32:44 +02:00
Björn Lindqvist a5c0ba98d0 ui.*: new tests 2016-08-23 07:32:17 +02:00
John Benediktsson dcae1baad5 Revert "ui.gadgets.editors: add editor-constrained-dim function to editor"
This reverts commit 16381beddc.
2016-08-22 07:53:08 -07:00
John Benediktsson fdcbf0d110 Revert "ui.gadgets.editors: remove extra spaces."
This reverts commit 7a4e345f6c.
2016-08-22 07:53:08 -07:00
Björn Lindqvist 351838fcff ui.gadgets.*: updated docs and new tests
As mentioned on the mailing list, the editor class doesn't have a color
slot.
2016-08-22 14:22:28 +02:00
Björn Lindqvist cb39da4b31 math.vectors: new word vclamp for clamping vectors 2016-08-22 14:22:26 +02:00
John Benediktsson 7a4e345f6c ui.gadgets.editors: remove extra spaces. 2016-08-21 21:41:08 -07:00
masweeney 16381beddc ui.gadgets.editors: add editor-constrained-dim function to editor
This function allows the calculation of dimensions with respect
to min/max-row/column values.
2016-08-21 21:40:27 -07:00
Björn Lindqvist 630c4d326f tools.deploy.windows: fix the using ambiguity with the open-file word 2016-08-22 02:05:32 +02:00
Björn Lindqvist d12c03f759 webbrowser.windows: using absolute-path to make opening relative paths work 2016-08-22 02:02:22 +02:00
Björn Lindqvist f17fc68a7e tools.deploy.windows: using an empty string seem to solve #1691 2016-08-21 06:13:45 +02:00
Björn Lindqvist 1a1e95f669 tools.deploy.*: refactoring of the deploy* words
The open-file word from webbrowser can be used to open the
deploy-directory after the deploy is done.
2016-08-21 06:05:42 +02:00
Björn Lindqvist 63524a7425 windows.shell32: formatting the long parameter lists 2016-08-21 02:43:22 +02:00
Björn Lindqvist 89e661f18c tools.deploy.config: fix + tc for the deploy help error (#1692) 2016-08-19 06:53:18 +02:00
Björn Lindqvist a70deca651 tools.deploy.backend: refactoring of make-staging-image 2016-08-19 06:17:48 +02:00
Björn Lindqvist 64d3c01523 tools.deploy.shaker: another global to strip 2016-08-19 03:42:27 +02:00
Björn Lindqvist f8e781ee17 ui.backend.x11.keys: symbolic constants can be used 2016-08-17 04:04:06 +02:00
Björn Lindqvist 1c3f345396 x11.*: new vocab x11.X for ffi stuff from the X.h header
It's nicer to have one vocab for each X11 header file than the previous
organization.
2016-08-17 03:46:28 +02:00
Björn Lindqvist acdcc1f2c2 ui.backend.x11.keys: Support for the Windows/Meta key on X11 2016-08-17 03:41:45 +02:00