Commit Graph

12269 Commits (9e8ceb87d651ac79de8f55025b86a880866a781f)

Author SHA1 Message Date
John Benediktsson 1ec43d7913 json.writer: support escaping unicode > 0x10000. Thanks @jonenst! 2015-01-03 08:30:26 -08:00
Björn Lindqvist d0dde922bd compiler.cfg.*: new unit test vocabs 2014-12-31 03:37:17 +01:00
Björn Lindqvist 5782855343 compiler.cfg.*: more docs 2014-12-31 03:37:16 +01:00
Björn Lindqvist 0432b17409 compiler.cfg.*: refactoring away the compute-global-sets word 2014-12-31 03:37:16 +01:00
Björn Lindqvist 79d294e4bf compiler.cfg.*: docs and more tests 2014-12-31 03:37:16 +01:00
Björn Lindqvist 1bd4525ac6 compiler.cfg.stacks.local: refactoring making stack-changes and height-changes take and return stuff instead of using variables and the make building 2014-12-31 03:37:16 +01:00
Björn Lindqvist e87be7b5c8 compiler.cfg.parallel-copy: docs 2014-12-31 03:37:16 +01:00
Björn Lindqvist 24c9dbe160 compiler.cfg.stacks.height: these words are unused 2014-12-31 03:37:16 +01:00
Björn Lindqvist 2ccbcd6af6 compiler.cfg.*: more compiler docs 2014-12-31 03:37:16 +01:00
Björn Lindqvist e968c16139 compiler.cfg.stacks.finalize: initial docs 2014-12-31 03:37:16 +01:00
John Benediktsson 3515a45b84 io.launcher: fix stack effects. 2014-12-30 17:23:24 -08:00
John Benediktsson 3e7bc051d4 io.launcher: fix docs for with-process-reader and with-process-writer. 2014-12-30 15:04:34 -08:00
John Benediktsson 9fd568267d io.launcher: add versions of with-process that preserve process and status. 2014-12-30 14:51:23 -08:00
John Benediktsson 83f7b31910 io.launcher: cleanup public interface, make some things private or internal. 2014-12-30 10:04:09 -08:00
John Benediktsson 167f4e789c json.writer: don't escape spaces, thats weird. 2014-12-25 08:39:53 -08:00
John Benediktsson 28ca2f5275 unix: some using cleanups. 2014-12-24 11:16:11 -08:00
John Benediktsson 56b95b09a1 alien.c-types: move definitions of stdint.h from unix.types. 2014-12-23 19:40:21 -08:00
Doug Coleman c59a025288 io.ports: Make buffered-port not have a length because of Linux virtual files and TCP sockets.
Related to issues #1256 and #1259.
2014-12-23 13:47:50 -08:00
John Benediktsson 0b460c431b tools.deploy.backend: add word for deleting cached staging images. 2014-12-23 08:56:05 -08:00
John Benediktsson c0dda5c7e9 command-line: save the executable in a variable so that people don't use (command-line) directly if possible. 2014-12-23 08:12:31 -08:00
John Benediktsson 25dd9f3abb bootstrap: fix this use of (command-line). 2014-12-22 23:14:47 -08:00
John Benediktsson 9b47a82e78 tools.deploy.shaker: set the rest of the args to preserve current behavior. 2014-12-22 22:44:42 -08:00
John Benediktsson 025283f252 vm: store full command-line including executable first argument. 2014-12-22 22:39:52 -08:00
John Benediktsson 3709749ea1 tools.disassembler: allow disassemble of compose and curry. 2014-12-19 11:40:41 -08:00
John Benediktsson 1a3522f20d Revert "ui.tools.browser: one browser to rule them all."
This reverts commit 178c8c27e8.
2014-12-17 17:38:14 -08:00
John Benediktsson 178c8c27e8 ui.tools.browser: one browser to rule them all. 2014-12-17 17:32:20 -08:00
John Benediktsson f6af1da32f ui: use control-value/set-control-value in a few places. 2014-12-17 13:05:00 -08:00
John Benediktsson 2d5358d713 macros: some cleanup. 2014-12-16 11:09:47 -08:00
John Benediktsson 2e56a3251a bitstreams: cleanup and fix bug in bit-writer-bytes. 2014-12-15 19:28:24 -08:00
John Benediktsson c01267d467 cocoa.dialogs: document save-panel stack effect better. 2014-12-15 19:24:57 -08:00
John Benediktsson c2c722891e compiler.cfg.save-contexts: fix help-lint. 2014-12-15 15:11:06 -08:00
John Benediktsson c6ee627e1b heaps: correctly size the data vector for >min-heap and >max-heap. 2014-12-15 13:29:01 -08:00
John Benediktsson 2a893a110a compiler.cfg.linear-scan.allocation.state: don't use slot.syntax. 2014-12-15 13:10:59 -08:00
Björn Lindqvist aee55f1b83 compiler.cfg.linear-scan.assignment: forgot that i removed live-intervals>min-heap 2014-12-15 21:04:53 +01:00
Björn Lindqvist d6c1c075ff compiler.cfg.linear-scan.allocation: using slurp-heap 2014-12-15 20:48:34 +01:00
Björn Lindqvist 84f8f26ce8 compiler.cfg.linear-scan.allocation.state: doc fixing 2014-12-15 20:44:53 +01:00
Björn Lindqvist 35d00da765 compiler.cfg.linear-scan.allocation.*: maybe a fix for #1227
The register allocator pops from the unhandled-intervals and
unhandled-sync-points heaps. If two live intervals share the same
start slot, then they can be popped in either order leading to
differently generated code. So instead use one
heap (unhandled-min-heap) and both the start and end slot as the heap
key to resolve tie-breakers
2014-12-15 20:44:53 +01:00
Björn Lindqvist 173f7c0869 compiler.cfg.scheduling: refactoring to use the simple-optimization combinator 2014-12-15 20:44:07 +01:00
Björn Lindqvist 8a011c8366 compiler.cfg.*: more docs 2014-12-15 20:44:07 +01:00
Björn Lindqvist c810677b47 compiler.cfg.linear-scan.*: refactoring to simplify init-allocator and get rid of init-unhandled 2014-12-15 20:44:06 +01:00
Björn Lindqvist fab478482e compiler.cfg.linear-scan.allocation: refactoring to simplify the (allocate-registers) recursion 2014-12-15 20:44:06 +01:00
Björn Lindqvist 52c6009aeb compiler.cfg.linear-scan.assignment: utility word heap-pop-while which lets you express expire-old-intervals and activate-new-intervals more nicely + tests 2014-12-15 20:40:49 +01:00
Björn Lindqvist 0af46ac4de compiler.cfg.linear-scan.assignment: more docs and refactoring of the init-unhandled and assign-registers-in-block words 2014-12-15 20:40:49 +01:00
Björn Lindqvist a7137f32ff compiler.cfg.save-contexts: refactoring of the vocab, using the simple-optimization combinator and union classes you can shorten it a lot 2014-12-15 20:36:27 +01:00
John Benediktsson 52e7538869 ui: specify two places where image-name tuples are expected. 2014-12-15 09:56:03 -08:00
John Benediktsson 768ad8abb9 heaps: fix docs for slurp-heap. 2014-12-15 08:56:24 -08:00
John Benediktsson fe377ba02a heaps: fix slurp-heap to allow modifying the heap while slurping. 2014-12-15 08:53:48 -08:00
hyphz fb9cf1219f Create bitstreams-docs.factor 2014-12-14 16:02:42 -08:00
John Benediktsson e5c69d3e9b compiler: try this for compiler.cfg.builder.alien. 2014-12-13 18:44:35 -08:00
John Benediktsson a689211ae1 compiler.cfg.builder: use compiler.cfg.builder.alien. 2014-12-13 18:08:50 -08:00
John Benediktsson 1030f592e0 core-graphics: cleanup usings. 2014-12-13 16:26:15 -08:00
John Benediktsson c63a106e1d core-text: cleanup usings. 2014-12-13 16:26:09 -08:00
John Benediktsson be64b40b7f core-foundation: cleanup usings. 2014-12-13 16:25:59 -08:00
John Benediktsson 4a13633e5d cocoa: cleanup usings. 2014-12-13 16:25:48 -08:00
John Benediktsson c65877104e compiler: cleanup usings. 2014-12-13 16:10:21 -08:00
John Benediktsson 68b662c44c heaps: make data-first throw on empty. 2014-12-13 16:01:20 -08:00
John Benediktsson 46e0426795 compiler.cfg.stack-frame: fix tests. 2014-12-12 17:14:39 -08:00
John Benediktsson 1911b183a0 compiler.cfg.build-stack-frame: fix tests. 2014-12-12 15:22:22 -08:00
John Benediktsson e576fb5fec peg: some cleanup. 2014-12-12 14:19:39 -08:00
John Benediktsson 8f4c4ea2e1 compiler.cfg.build-stack-frame: some cleanup. 2014-12-12 11:59:23 -08:00
John Benediktsson 028b50fd19 dlists: some cleanup. 2014-12-11 17:33:31 -08:00
John Benediktsson b9dc159949 deques: enhance slurp-deque stack effect. 2014-12-11 15:59:33 -08:00
John Benediktsson d52f55f508 deques: enhance slurp-deque stack effect. 2014-12-11 15:57:48 -08:00
John Benediktsson fa151f30b7 search-deques: simplify. 2014-12-11 14:52:51 -08:00
John Benediktsson 1f3dc639db deques: adding stack effect to quot in slurp-deque. 2014-12-11 14:05:04 -08:00
John Benediktsson c3a4bdcf68 compiler.cfg.linear-scan.resolve: use if-empty. 2014-12-11 14:00:50 -08:00
John Benediktsson 068ddd6c7b compiler: cleanup cfg passes to have stack effect ( cfg -- ) 2014-12-11 12:48:43 -08:00
John Benediktsson a563f92b27 prettyprint: a bit more cleanup. 2014-12-11 08:02:45 -08:00
John Benediktsson 9a642531e0 prettyprint: some minor cleanup. 2014-12-11 07:52:14 -08:00
Björn Lindqvist 33500db79f compiler.cfg.*: help-lint and test case fixes 2014-12-11 15:02:40 +01:00
Björn Lindqvist 08e9f18c3b compiler.cfg.*: fix for test cases that broke due to stack effect changes 2014-12-11 14:30:47 +01:00
Björn Lindqvist bfc0ef815b compiler.cfg.dominance: fix for #1227, the dom children needs to be sorted to ensure that the same instruction sequence is generated every time 2014-12-11 14:30:47 +01:00
Björn Lindqvist 628c87c5b1 compiler.cfg.utilities: adding connect-bbs and make-edges 2014-12-11 14:30:47 +01:00
Björn Lindqvist 00e2d9f116 compiler.cfg.dominance: some more docs 2014-12-11 14:30:47 +01:00
Björn Lindqvist c85175c10c compiler.cfg.*: new utility word apply-passes to improve the looks of long cleave's where each quotation only contains one word 2014-12-11 14:30:47 +01:00
Björn Lindqvist e371327ec4 compiler.cfg.ssa.construction.tests: fix tc broken by previous commit 2014-12-11 14:30:47 +01:00
Björn Lindqvist befbe0bb59 compiler.cfg.dominance: changed stack effect compute-dominance ( cfg -- cfg' ) to ( cfg -- ) 2014-12-11 14:30:47 +01:00
Björn Lindqvist e5866dfa80 compiler.cfg.*: changed stack effect of needs-predecessors from ( cfg -- cfg') to ( cfg -- ) 2014-12-11 14:30:47 +01:00
Björn Lindqvist 76cb665a8d compiler.cfg.dominance: change needs-dominance effect from ( cfg -- cfg') to ( cfg -- ) 2014-12-11 14:30:46 +01:00
Björn Lindqvist 054982f24a compiler.cfg.*: docs for compiler.cfg.dominance and compiler.cfg.ssa.construction 2014-12-11 14:30:46 +01:00
Björn Lindqvist 53b7f82368 Docs: more compiler docs 2014-12-11 14:30:46 +01:00
Björn Lindqvist 5fe9ce4235 compiler.cfg: fix stack effect of cfg-changed and predecessors changed to ( cfg -- ) 2014-12-11 14:30:46 +01:00
Björn Lindqvist a0d4e9b417 compiler.cfg.stacks.uninitialized: this compiler pass isn't used anymore -- let's get rid of it 2014-12-11 14:30:46 +01:00
Björn Lindqvist 8744d908b6 compiler.cfg.*: fix stack effect of compiler passes in optimize-cfg
since they all modify the cfg in place, it is better if their stack
effect is ( cfg -- ) instead of ( cfg -- cfg' )
2014-12-11 14:30:45 +01:00
Björn Lindqvist 971a157369 compiler.cfg.instructions: ##alien-assembly should be in the alien-call-insn union but not gc-map-insn 2014-12-08 18:13:46 -08:00
Björn Lindqvist ba6accb983 cpu.x86.tests: more tests 2014-12-08 18:13:46 -08:00
Björn Lindqvist 52d3affeb8 compiler.cfg.*: the ##alien-assembly instruction does not use a gc-map 2014-12-08 18:13:46 -08:00
John Benediktsson 1aa27963d2 math.primes.miller-rabin: actually, this is better. 2014-12-04 19:48:32 -08:00
John Benediktsson 95e45d865d math.functions: minor cleanup to (gcd). 2014-12-04 19:46:42 -08:00
John Benediktsson 9d4336d774 math.primes.miller-rabin: minor cleanup; 2014-12-04 19:46:30 -08:00
John Benediktsson 34160212d1 math.primes.erato: fix reference to "arr". 2014-12-04 11:52:56 -08:00
John Benediktsson c7271658c7 debugger: simplify test case. 2014-12-04 11:52:52 -08:00
John Benediktsson d5b8f3d3b9 math.primes.erato: fix help-lint. 2014-12-04 11:48:12 -08:00
John Benediktsson 6bf1f1dd99 debugger: adding a test case that breaks the fix for #1187. 2014-12-04 11:46:28 -08:00
John Benediktsson 348bd85824 math.ranges: cleanup using. 2014-12-04 10:23:59 -08:00
John Benediktsson ad71f79be3 math.primes: speedup sieve. 2014-12-04 10:11:32 -08:00
John Benediktsson 49270c2ac6 threads: some cleanup. 2014-12-02 16:44:24 -08:00
John Benediktsson 00b1919725 basis: cleanup using. 2014-12-01 22:18:32 -08:00
John Benediktsson ad9d44aa2b compiler.cfg.linear-scan.allocation.state: simplify init-unhandled. 2014-12-01 22:18:15 -08:00
John Benediktsson 8f0c563268 core-foundation.run-loop: update using. 2014-12-01 17:06:45 -08:00
John Benediktsson 3aa14d7570 heaps: faster heaps, simpler heapsort. 2014-12-01 15:16:47 -08:00
John Benediktsson 937f575735 heaps: change slurp-heap to slurp keys and values. 2014-12-01 15:14:25 -08:00
John Benediktsson ab3f3173af change errors to use "object" instead of "obj". 2014-12-01 08:04:49 -08:00
John Benediktsson eb68676f31 editors.cot: moving to editors.coteditor. 2014-12-01 07:15:14 -08:00
John Benediktsson 793fa7baeb heaps: whoops, this was an error. 2014-11-30 22:30:15 -08:00
John Benediktsson 6f1e819e04 urls.encoding: more cleanup. 2014-11-30 21:33:48 -08:00
John Benediktsson b00e5a855b urls.encoding: cleanup. 2014-11-30 21:22:54 -08:00
John Benediktsson 76761b2e59 more minor cleanup. 2014-11-30 19:26:23 -08:00
John Benediktsson 1e8dedb808 editors.cot: missed this for some reason. 2014-11-30 19:25:21 -08:00
John Benediktsson 63327f6fc8 editors.cot: minor fixes. 2014-11-30 19:23:22 -08:00
John Benediktsson 2e00389e7d editors.cot: adding CotEditor support. 2014-11-30 19:20:03 -08:00
John Benediktsson a1f91ba482 refs: some cleanup. 2014-11-30 10:24:07 -08:00
John Benediktsson e12d4fba4c using crlf. 2014-11-30 08:48:28 -08:00
John Benediktsson 76e2421f07 ftp: cleanup using. 2014-11-30 08:44:29 -08:00
John Benediktsson ec0c896ed3 ftp.server: use C: for ftp-get and ftp-put. 2014-11-30 08:43:50 -08:00
John Benediktsson 818f337b02 cleanup "over push" is "suffix!". 2014-11-30 08:38:59 -08:00
John Benediktsson a5e7176ec7 cpu.x86: "dup pop* push" is just "set-last". 2014-11-30 08:28:19 -08:00
John Benediktsson d0357cc349 Revert "ui.tools.listener: update docs for Emacs-style text entry."
This reverts commit 913e69500f.
2014-11-30 07:13:10 -08:00
John Benediktsson 4b1690b9c1 models: some more cleanup. 2014-11-29 23:00:24 -08:00
John Benediktsson 439649e707 models: some cleanup. 2014-11-29 22:37:59 -08:00
John Benediktsson b360860ecd models.delay: some cleanup. 2014-11-29 22:12:16 -08:00
John Benediktsson 913e69500f ui.tools.listener: update docs for Emacs-style text entry. 2014-11-29 21:18:52 -08:00
John Benediktsson 49afa5b3ed basis: cleanup more usings. 2014-11-29 20:10:37 -08:00
John Benediktsson a186cdec2a specialized-vectors: cleanup using. 2014-11-29 20:07:26 -08:00
John Benediktsson b597c6b329 specialized-arrays: cleanup using and direct-slice-unsafe. 2014-11-29 20:02:51 -08:00
John Benediktsson ed5eb5f644 images.loader.gdiplus: use foo <c-direct-array> instead of <direct-foo-array>. 2014-11-29 18:58:42 -08:00
John Benediktsson 49bcbaee7a removing small and unnecessary files. 2014-11-29 17:24:42 -08:00
John Benediktsson 76da2a6e78 match: rename ?1-tail to ?rest. 2014-11-29 17:10:54 -08:00
John Benediktsson c0d6fdedd1 classes.tuple: use slots>tuple when possible. 2014-11-29 16:54:50 -08:00
John Benediktsson 2a4ad0f44a logging: make log-root docs more explicit. 2014-11-29 15:02:20 -08:00
John Benediktsson 5acd2e1317 logging.server: use locals to make write-message more clear. 2014-11-29 14:55:33 -08:00
John Benediktsson 3d86fba48b calendar.format: use format-float more. 2014-11-28 21:27:30 -08:00
John Benediktsson 08ec579f87 json: rename json-allow-nans? to json-allow-fp-special?. 2014-11-28 16:36:07 -08:00
John Benediktsson a363c2faf4 json: rename to json-coerce. 2014-11-28 08:51:16 -08:00
John Benediktsson 9bba5d1312 json: cleanup and add more parameters for writing. 2014-11-28 08:11:21 -08:00
John Benediktsson d83231a08a json: better support for escaped strings. 2014-11-27 14:52:18 -08:00
Doug Coleman cd8b686639 compiler.tests.alien: Test demonstrates padding bytes breaking struct= on linux32. Disable for now. 2014-11-24 08:20:28 -08:00
Doug Coleman 726e5068f7 Revert "tools.test: Print tests homoiconically. There is too much spacing still"
This reverts commit 34a197248c.
2014-11-23 23:59:57 -08:00
Doug Coleman beaa8ef083 Revert "tools.test: Fix using list."
This reverts commit 4306180c11.
2014-11-23 23:59:35 -08:00
Doug Coleman 20add9544a compiler.cfg: cfg>insns has to go in linearization because of bootstrap circularity. Fix usings. 2014-11-23 22:53:27 -08:00
Björn Lindqvist 4c07d04417 compiler.cfg.*: getting an instruction sequence from a cfg is used in a few tests so let's make a word for it 2014-11-24 06:25:34 +01:00
Björn Lindqvist 22c512788b compiler.codegen.gc-maps.tests: fix tests for win 64 2014-11-24 04:20:34 +01:00
Björn Lindqvist 8ea234e4de cpu.architecture.tests: fix tests for win 64 2014-11-24 04:20:07 +01:00
Björn Lindqvist 9b7a873f6d compiler.cfg.build-stack-frame.tests: improved fix for the test case 2014-11-24 03:42:27 +01:00
Doug Coleman 4306180c11 tools.test: Fix using list. 2014-11-23 18:01:19 -08:00
Doug Coleman 34a197248c tools.test: Print tests homoiconically. There is too much spacing still
but it's better than before imo. See #1221.
2014-11-23 16:51:40 -08:00
Doug Coleman fb0cae4790 json.writer: Didn't end up using present vocab after all. 2014-11-23 08:50:28 -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 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
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 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
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 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 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
Doug Coleman 46174ab748 compiler.cfg.build-stack-frame: Fix test for win64 2014-11-18 14:21:45 -08:00
Doug Coleman 0fe5b2d90f io.directories: Add unit test for #890. 2014-11-18 14:11:13 -08:00
Doug Coleman 831ec24b14 io.sockets.windows: Spacing cleanup. 2014-11-18 14:06:24 -08:00
Doug Coleman 09f0edfb2f io.launcher.windows: Don't cd to directory when calling run-process. Fixes 2014-11-18 14:03:06 -08:00
Doug Coleman cab001234a io.sockets.windows: Fix unit test--recover leaves socket on stack, nip
it.
2014-11-18 14:02:44 -08:00
Björn Lindqvist 61ba941740 math.vectors: changes so that some vocabs that can use math.vector words does it 2014-11-17 19:02:12 -08:00
Björn Lindqvist 001acde590 math.vectors: new word v>integer = [ >integer ] map 2014-11-17 19:02:12 -08:00
Doug Coleman 7d95fb8172 math.vectors.simd: Attempt to print out full simd failures so we can debug them. 2014-11-17 12:12:39 -08:00
Doug Coleman 5c8c76cc22 alien.syntax: We have to include alien.arrays somewhere before libc loads. 2014-11-17 09:44:21 -08:00
John Benediktsson 0826d8468c io.launcher: really minor cleanup. 2014-11-16 20:31:50 -08:00
John Benediktsson 74058d3dff alien: cleanup using. 2014-11-16 20:31:32 -08:00
John Benediktsson f79d61060e io.buffers: cleanup interface a bit. 2014-11-16 18:54:24 -08:00
John Benediktsson 60d0937041 compiler.cfg.instructions: fix help-lint. 2014-11-16 16:22:13 -08:00
Björn Lindqvist 0d9316f4f9 Docs: more various compiler doc improvements 2014-11-16 06:25:55 -08:00
Björn Lindqvist 42a528bb28 compiler.codegen.gc-maps: docs and tests 2014-11-16 06:25:54 -08:00
Björn Lindqvist 7ebd63a217 cpu.architecture: docs and some tests 2014-11-16 06:25:54 -08:00
Björn Lindqvist d3c91bea72 compiler.cfg.linear-scan.*: stub docs and tests 2014-11-16 06:25:54 -08:00
Björn Lindqvist 3b86d4b9ba compiler.cfg.def-use: docs 2014-11-16 06:25:54 -08:00
Björn Lindqvist 90b31d543b compiler.cfg.instructions: more docs 2014-11-16 06:25:54 -08:00
Björn Lindqvist f06f59b956 Docs: smallish improvements to compiler vocabs 2014-11-16 06:25:54 -08:00
Björn Lindqvist bc5c23b162 compiler.cfg.linear-scan.assignment: stub docs 2014-11-16 06:25:54 -08:00
Björn Lindqvist 1eac4afc8b compiler.cfg.linear-scan.allocation.state: sub docs and tests 2014-11-16 06:25:53 -08:00
Björn Lindqvist 0a30bd9218 compiler.cfg.stack-frame: stub docs and tests for vocab 2014-11-16 06:25:53 -08:00
Björn Lindqvist 8a0b4c3d26 compiler.cfg.build-stack-frame: stub docs and tests for vocab 2014-11-16 06:25:53 -08:00
Björn Lindqvist cbc8681187 Docs: compiler.cfg.instructions improvements 2014-11-16 06:25:53 -08:00
John Benediktsson 305ba30e96 splitting.monotonic: faster monotonic-split. 2014-11-15 16:52:31 -08:00
John Benediktsson f9e1b7c9fb bootstrap.image.download: use my-boot-image-name. 2014-11-15 16:20:02 -08:00
John Benediktsson 2a89e5c2cc basis: some more os require cleanup. 2014-11-15 15:56:37 -08:00
John Benediktsson b7ed0a431c basis/extra: cleanup some platform requires. 2014-11-15 14:25:12 -08:00
John Benediktsson dcbe85fe9c json.writer: handle special floats. 2014-11-14 17:56:19 -08:00
John Benediktsson c3dd749f3d ui.tools.deploy: change article title. 2014-11-14 17:31:46 -08:00
John Benediktsson 5bb8400d0b xmode: cleanup using. 2014-11-14 17:31:33 -08:00
John Benediktsson de179243ce basis/extra: cleanup uses of add-library. 2014-11-13 13:05:14 -08:00
John Benediktsson d6b6f3893d basis/extra: switch to "vocab." os name>> append require. 2014-11-13 13:00:44 -08:00
John Benediktsson 74eecb78f9 listener: print version-info in command-line. 2014-11-13 09:58:37 -08:00
John Benediktsson 3a0c04340e Revert "alien.libraries.finder: using find-library for some often missing libs"
This reverts commit a6b3f50e2c.

Conflicts:
	basis/gtk/ffi/ffi.factor
2014-11-13 09:33:30 -08:00
John Benediktsson d89ae96c64 tools.scaffold: support more types and maybe types. 2014-11-13 08:23:22 -08:00
Björn Lindqvist 18d7be2c05 compiler.tests.alien: tests to make sure #1021 stays dead 2014-11-12 19:41:32 -08:00
Björn Lindqvist bbab41ade4 io.sockets.windows.tests: plugs the socket leaks (#1104) 2014-11-12 19:32:44 -08:00
John Benediktsson 760126525b basis/extra: fix using for map-index move back to sequences. 2014-11-11 18:00:44 -08:00
John Benediktsson d3a1ba25a4 Revert "checksums.interleave: Dumb fix for zip change."
This reverts commit 4b8de3ca1e.
2014-11-11 17:56:25 -08:00
John Benediktsson f8ddcfd2d0 Revert "tr: zip had a string as input. call { } zip-as instead."
This reverts commit 3c4d1e41b7.
2014-11-11 17:56:15 -08:00
Björn Lindqvist 090f4fddd5 VM: Three new special objects added to keep track of the builds version number, git label and compilation time respectively. The info is exposed in the system:version-info word and also shown in the banner during startup.
Conflicts:
	Nmakefile
	basis/ui/tools/listener/listener.factor
	core/alien/strings/strings.factor
2014-11-10 23:01:52 -08:00
Doug Coleman 466fe4559d ffi_test: Can actually test 62 and 63 on windows. 2014-11-10 10:30:35 -08:00
Doug Coleman 564a67ce7e compiler.tests.alien: Don't test ffi calls 61-63 on Windows. 2014-11-09 10:52:16 -08:00
Doug Coleman 4b8de3ca1e checksums.interleave: Dumb fix for zip change. 2014-11-08 22:32:36 -08:00
Doug Coleman 3c4d1e41b7 tr: zip had a string as input. call { } zip-as instead. 2014-11-08 18:41:51 -08:00
Doug Coleman 7cfa9d9518 assocs: Make map-index-as support seq or assoc exemplars and move map-index, map-index-as to assocs because they need to use new-assoc. Make zip-index-as support assoc exemplars. Fix up docs and tests.
assocs.extras: Remove zip-as and move tests to assocs.
2014-11-08 18:18:00 -08:00
Doug Coleman 1b5711cc42 compiler.tests.alien: Add structs with uint and ulonglong pairs and return them from an FFI call. macosx32 seems to be working, hopefully this will break it or confirm that it's working. Linux32 is broken, hopefully this will show how. 2014-11-08 13:39:47 -08:00
Doug Coleman 56f1b87a6f basis, extra: Use zip-index. 2014-11-08 00:46:30 -08:00
Doug Coleman 1ce7c6a9e7 tools.scaffold: Add type for exemplar in docs. 2014-11-08 00:40:13 -08:00
Doug Coleman 9ff6d2d49c cpu.x86.64: 64-bit register is RDX not EDX. Fixes #1191. 2014-11-07 22:03:12 -08:00
Doug Coleman e494e3965b compiler.tests.alien: Check in a failing unit test. Structure is getting returned improperly. 2014-11-07 15:34:10 -08:00
Benjamin Pollack 2c3dd8c3c8 Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
Doug Coleman 8c3a817706 Revert "gtk.ffi: Find the right gtk library in a startup-hook. Necessary because gtk is not in the same place on varius distros, so just find it on demand. Fixes #1185."
This reverts commit 0ef942e400.
2014-11-05 12:03:05 -08:00
Doug Coleman 0ef942e400 gtk.ffi: Find the right gtk library in a startup-hook. Necessary because gtk is not in the same place on varius distros, so just find it on demand. Fixes #1185. 2014-11-05 10:04:21 -08:00
John Benediktsson 5208f8bf4f furnace.utilities: fix docs for resolve-word-path. 2014-11-03 22:26:22 -08:00
Björn Lindqvist e206a5e453 furnace.utilities: refactor to not use make 2014-11-03 20:49:18 -08:00
Björn Lindqvist b29aa88f3c furnace.utilities: use a method based on where instead of vocab-path to find dir of vocab 2014-11-03 20:49:18 -08:00
John Benediktsson f3a8546b23 core: get rid of some unnecessary wrappers. 2014-11-02 20:16:22 -08:00
John Benediktsson 21b4e31d60 Revert "io.backend.unix.macosx: Trying to change instances of USE: to require if"
This reverts commit 4bab33bddb.
2014-11-01 15:29:37 -07:00
Doug Coleman 4bab33bddb io.backend.unix.macosx: Trying to change instances of USE: to require if
the vocab must be loaded but no symbols are directly depended upon.
2014-11-01 13:16:13 -07:00
Doug Coleman c39f33ee67 ui.event-loop: No need to special-case ui.private now that the auto-use
tool suggests private words.
2014-11-01 11:35:55 -07:00
Doug Coleman 7799c6f217 tools.scaffold: Make a better scaffold-examples word in hopes it will cause more examples to get written. Add more docs. Fix spacing bug in scaffold-undocumented. 2014-10-31 17:45:48 -07:00
John Benediktsson 42fd891cbb cocoa: switch back to an assoc, used by tools.deploy.shaker.strip-cocoa. 2014-10-31 16:52:40 -07:00
John Benediktsson 7d0039babe cocoa: fix requirement that mac deploys have high reflection. 2014-10-31 11:34:08 -07:00
Doug Coleman 0c5ff7e2c6 editors.sublime: oops. 2014-10-30 19:41:59 -07:00
Doug Coleman 5ba7343406 editors.sublime: Prefer sublime 3 over sublime 2 on mac. 2014-10-30 19:16:31 -07:00
John Benediktsson 0fea91ff94 graphs: using conjoin. 2014-10-30 11:30:21 -07:00
John Benediktsson 321186f6c5 io.backend.unix.macosx: need this for deploy. 2014-10-27 19:40:22 -07:00
Doug Coleman 964cbf894b core/basis: Trim or reorganize a few using lists. Playing around with auto-use restarts and private words. 2014-10-27 13:39:30 -07:00
Doug Coleman 6f5ff6579e ui.event-loop: Fix using list. 2014-10-26 16:27:33 -07:00
John Benediktsson 1fc1c4f091 images: cleanup using. 2014-10-24 18:18:45 -07:00
John Benediktsson 8033741135 io/ui: slim down the USE: list 2014-10-24 17:33:27 -07:00
Doug Coleman be232dac9b io.backend: Remove duplicate definition of file-mode. Add mkdir-mode using non-magic symbols. Cleanup imports. 2014-10-24 17:16:40 -07:00
John Benediktsson 01187b378c libc: don't use unparse which requires prettyprint. 2014-10-24 17:09:27 -07:00
John Benediktsson c96bf37b3a ui.gadgets.tables: show summary for mouse row or selected row. 2014-10-24 16:32:21 -07:00
John Benediktsson 6767928091 ui.gadgets.buttons: use hide-status on button-leave. 2014-10-24 16:30:29 -07:00
John Benediktsson c0670893b3 help.topics: make wrappers unwrap into links. 2014-10-23 17:10:05 -07:00
Doug Coleman bc26dbb3ee peg.ebnf: Update docs for peg change. 2014-10-23 13:47:40 -07:00
John Benediktsson e9ed1f3a72 peg.debugger: don't use formatting. 2014-10-23 12:01:51 -07:00
Björn Lindqvist 3ed3e10074 peg: add 'got' slot to parse-error, so you get a little more info about why the parsing fails 2014-10-23 11:31:27 -07:00
Björn Lindqvist 84663ca054 http.server: handle certain parse-errors from the peg vocab
Browsers that can't verify the certificate doesn't send any request at
all which causes parse-errors to be unnecessarily thrown and logged.
2014-10-23 11:31:17 -07:00
Doug Coleman 1ee9a8ea13 compiler.cfg.stacks.local: Have unit test load prettyprint implementation for ds-loc so that it always prints as "D 4". 2014-10-22 10:31:27 -07:00
Björn Lindqvist cb83f3b39b compiler.tests.alien: use the with-callback combinator to plug the memory leaks in the tests 2014-10-22 07:02:55 -07:00
Björn Lindqvist aad8d4b8d6 alien,stack-checker.alien: new word with-callback
Since callbacks aren't automatically deallocated this word intends to
make sure "inline" callbacks are.
2014-10-22 07:02:55 -07:00
John Benediktsson 465aa8786f cpu.x86.assembler.operands: fix help-lint. 2014-10-20 09:24:20 -07:00
John Benediktsson c8cfaee9af stack-checker: make this an unchecked-example. 2014-10-19 08:29:51 -07:00
John Benediktsson af2a53239e compiler: resolve duplicate doc for "compiled". 2014-10-19 08:27:59 -07:00
Björn Lindqvist 961d0c4eb9 compiler.codegen.gc-maps: update docs so that they match how factors gc-maps currently work 2014-10-19 14:17:54 +02:00
Björn Lindqvist a617855aef Docs: fixing smaller help-lint nitpicks 2014-10-19 14:05:06 +02:00
Björn Lindqvist 164af978ba compiler.cfg.*: more stub docs for cfg construction words 2014-10-19 13:45:42 +02:00
Björn Lindqvist 81a84266d3 compiler.codegen.*: help for resolve-label misplaced -- move it 2014-10-19 13:41:45 +02:00
Björn Lindqvist 5152c49eb3 cpu.*: docs and tests for words in the assembler 2014-10-19 13:40:41 +02:00
Björn Lindqvist 83cf4b9d57 compiler,cpu: more docs 2014-10-17 23:18:57 +02:00
Björn Lindqvist 476ebf5b25 compiler.cfg.*: more docs, tests and a small refactoring of the
admissible-registers word
2014-10-17 23:18:57 +02:00
Björn Lindqvist 88fb349bd0 stack-checker,compiler: docs for stack-checker and compiler words 2014-10-17 23:18:57 +02:00
Björn Lindqvist 40df5df231 cpu.architecture: %save-context example 2014-10-17 23:17:49 +02:00
Björn Lindqvist 425031e4b3 compiler.codegen.gc-maps: initial docs 2014-10-17 23:17:49 +02:00
Björn Lindqvist 275082d603 compiler.*: doc improvements 2014-10-17 23:17:49 +02:00
Doug Coleman 026aa163c8 io.launcher.windows: Make unit tests show that process fails rather than
reporting bogus error. Fixes #1152 (it wasn't really a bug, just bad
tests).
2014-10-16 16:40:49 -07:00
Björn Lindqvist 78830a476a images.loader.tests: restructure the tests because the gtk linux backend doesn't handle some formats that the windows backend does 2014-10-10 10:55:52 -07:00
Björn Lindqvist 9d384c14ba images.loader.gtk: fix fall-through in case problem in image>GdkPixbuf 2014-10-10 10:55:45 -07:00
Doug Coleman 38e0b0643f prettyprint: @mrjbq7's funny word for . that doesn't limit the length of things. 2014-10-09 18:54:14 -07:00
Björn Lindqvist c0b4537e1a images.loader.gdiplus: implementation of the image>stream word for GDI+
for Windows
2014-10-09 14:37:58 -07:00
Björn Lindqvist c10c5f5736 images: move rowstride to the images vocab because it will be used by
gdi too
2014-10-09 14:37:58 -07:00
Doug Coleman 56217afcbb tools.deploy-tests: inc size for linux32 2014-10-09 12:23:12 -07:00
Doug Coleman 8fc2ecc281 stack-checker.alien: We just want to track callbacks to see if we leak them, but not actually dispose of them yet. Fixes #1151. 2014-10-09 09:56:28 -07:00
John Benediktsson 794baf3222 calendar.format: change rfc3339 to always print microseconds. 2014-10-08 15:40:04 -07:00
Doug Coleman 7328fa306f tools.deploy: Bump the build size. This is a comparatively sizeable bump
compared to usual, but I really want clean builds.
2014-10-08 11:41:34 -07:00
Doug Coleman d4234ab1af smtp: Make the test pass on Windows. 2014-10-08 11:37:19 -07:00
Doug Coleman f8e858652d db.postgresql: This is not actually the case on my Mac. 2014-10-08 10:12:16 -07:00
Doug Coleman 63895f04e4 db.tester: postgresql template1 database name should be "template1" 2014-10-08 10:11:04 -07:00
Doug Coleman 424e1983e4 tools.profiler.sampling: Kick it down a notch. Makes win32 tests finish! 2014-10-07 23:56:50 -07:00
Doug Coleman d8121a9622 io.launcher.windows.test/env.factor: Fix script for new . behavior. 2014-10-07 13:51:13 -07:00
Doug Coleman dc67fe0a9f compression.snappy: Add support for snappy compression by Google. Could possibly be optimized? 2014-10-03 22:56:21 -07:00
Björn Lindqvist 239deaeaaa lists.lazy.tests: plugs file descriptor leak 2014-10-03 07:12:28 -07:00
Björn Lindqvist 5fe8dd7604 db.tester: with-disposal needed to release the db connections in the pool 2014-10-03 07:12:27 -07:00
Björn Lindqvist d952ac0c07 smtp.tests: send-mail should be called to get the mock-smtp-server to terminate 2014-10-03 07:12:27 -07:00
Björn Lindqvist 8b01a47358 openssl.libcrypto.tests: BIO_free should be called to release connections 2014-10-03 07:12:27 -07:00
John Benediktsson 3fdea2c66b prettyprint.backend: use , not % in unparse-ch. 2014-09-30 08:23:32 -07:00
Björn Lindqvist 655797ff34 db.postgresql: ensure that 2 line error messages are handled 2014-09-30 14:53:22 +02:00
Björn Lindqvist 97b3ee37ff db.tester: the postgresql-db variable shouldn't be mutated 2014-09-30 14:51:07 +02:00
Björn Lindqvist e62acb7db3 db.postgresql: configurable test db setting
adds a \ postgresql-db global (analoguous to the \ imap-settings one)
which holds settings to a postgres db so that the tests have something
to test against.
2014-09-29 20:47:39 +02:00
Björn Lindqvist be372831f5 compiler.tests.alien: wrap all callback tests in special
unit-test-with-destructor blocks, that way they dont leak memory in the
callback heap
2014-09-29 07:30:22 -07:00
Björn Lindqvist 5cf8c7cfba alien,stack-checker.alien: move callback-destructor to the alien vocab
It can't be placed in stack-checker.alien because that vocab isn't
included in deployed images which lead to weird errors when the
destructors trigger.
2014-09-29 07:30:22 -07:00
Björn Lindqvist 3f65984055 stack-checker.alien: use free-callback as a destructor when creating
callbacks

+ tests proving it works. now in case you create temporary callbacks you
can enclose them in with-destructors and it will just work(tm).
2014-09-29 07:30:21 -07:00
Björn Lindqvist e00798cd2a VM: new primitive free-callback which is able to free a callback
previously allocated using <callback>
2014-09-29 07:30:21 -07:00
Björn Lindqvist a338fa08e7 stack-checker.known-words: stack effect for <callback> is switched, it
should be ( word integer -- alien )
2014-09-29 07:30:21 -07:00
Björn Lindqvist 4a96e6163b VM: new primitive (callback-room) for querying the VM about memory usage
The word works exactly like (code-room) except it looks at the memory
usage in the callback heap instead of the code heap.
2014-09-29 07:30:21 -07:00
Björn Lindqvist 4867e7bc96 VM: try and recover with a kernel error from the callback heap running out 2014-09-29 07:30:20 -07:00
Björn Lindqvist 1824680ad1 furnace.db: db-persistence needs a dispose word that delegates to its pool slot
tests in http.tests refactored using "with-words" so that they always
dispose any db-persistence instances they create.
2014-09-28 20:39:25 -07:00
John Benediktsson e5925cf5ad lists: cleanup usings. 2014-09-28 17:21:04 -07:00
Iskander Sitdikov edff21ada3 Refactor >list to be a generic word 2014-09-28 17:17:22 -07:00
Björn Lindqvist 8d6df6d128 tools.deploy.backend: with-variables need to be on the whole block 2014-09-28 22:57:24 +02:00
Björn Lindqvist 07dd28c94d tools.deploy.backend: rearranging the order of parameters in the deploy process, -run needs to be last 2014-09-28 13:14:42 -07:00
Doug Coleman e4e6f34f0e math.statistics: Get smart about the geometric mean. Calculate it in logspace so we can use addition of small logarithms and multiplication instead of the nth root of a giant product. 2014-09-26 13:34:25 -07:00
John Benediktsson aae6fb2ae3 help.html: simplify (and separate) index generation. 2014-09-25 21:30:36 -07:00
John Benediktsson 179c60b0a5 help.html: make docs use same completions algorithm as listener. 2014-09-25 21:08:15 -07:00
John Benediktsson b12ca5e412 command-line: make script and -run= param behave similarly. 2014-09-25 21:08:15 -07:00
Björn Lindqvist c07c1ba9b1 csv: need to handle \r because windows lines ends with \r\n 2014-09-25 10:00:07 -07:00
Doug Coleman c9e705ff6a tools.deploy: bump sizes for linux32. so not hardcore. 2014-09-24 17:12:02 -07:00
Björn Lindqvist c1187500de io.ports.tests: better to use with-disposal than calling the dispose word explicitly 2014-09-24 14:40:34 -07:00
Björn Lindqvist 47c16ed078 io.streams.limited.tests: use with-stream in the tests to ensure that the pipes are disposed 2014-09-24 14:40:34 -07:00
John Benediktsson 13e5edc007 Revert "calendar.format: change to use formatting instead of math.parser.private."
This reverts commit 3cfac7916a.
2014-09-24 07:42:45 -07:00
Björn Lindqvist 101780d2cd db.postgresql.lib: if PQsetdbLogin fails, PQfinish must be called 2014-09-22 14:29:57 -07:00
Doug Coleman cf6ae0ec2e tools.depoy: Bump test size for mac32. 2014-09-12 12:08:05 -07:00
Iskander Sitdikov e62370395e Fix the Atom feed generator 2014-09-10 13:07:32 +04:00
Doug Coleman 4c6435934b compiler.cfg.stacks.vacant: Fix docs for word rename. 2014-09-08 17:48:22 -07:00
Björn Lindqvist ffacc8370d compiler.cfg.stacks.vacant: ##call instructions clear the set of overinitialized locations 2014-09-08 14:54:18 -07:00
Björn Lindqvist 9836d6a1d0 VM: move the stack scrubbing logic to call_frame_slot_visitor to avoid visiting the callstack twice
primitive_minor_gc() iterates the stack twice, first to scrub stack
locations, then to trace overinitialized ones and gc roots. By running
visit_callstack() before visit_stack_elements() you only need to do it
once.
2014-09-08 14:54:18 -07:00
Björn Lindqvist 8cd2eee8e0 compiler.codegen.gc-maps: the gc-map-needed? word can be called with f 2014-09-08 14:54:17 -07:00
Björn Lindqvist 8c0f9698de compiler.codegen.gc-maps: check-d>> and check-r>> now used in the code generator
the approach looks sound and now the gc can be fixed to take advantage
of the extra info.
2014-09-08 14:54:17 -07:00
Björn Lindqvist 46082d836a compiler.cfg.stacks.vacant: invert meaning of 0/1 for overinit:ed locs to make some logic simpler 2014-09-08 14:54:17 -07:00
Björn Lindqvist 70e4f2a8b7 compiler.cfg.instructions: added check-d and check-r slots to gc-map
the data is output from compiler.cfg.stacks.vacant in a reasonable
format but not yet used for code generation.
2014-09-08 14:54:17 -07:00
Björn Lindqvist ecead801c1 compiler.cfg.stacks.vacant: more docs and removed usage of byte-arrays 2014-09-08 14:54:17 -07:00
Björn Lindqvist ab5e629243 compiler.cfg.stacks.vacant: sub docs seeded with a stolen comment from uninitialized.factor 2014-09-08 14:54:17 -07:00
Björn Lindqvist 40ee3cdcbb compiler.cfg.stacks.vacant: fix usings and remove commented out code 2014-09-08 14:54:17 -07:00
Björn Lindqvist e961a03837 compiler.cfg.stacks.vacant: compiler pass replacing uninitialized for more accurate stack maps
This pass uses a better algorithm for keeping track of all stack
manipulations which means that the stack maps it assigns are much more
precise.
2014-09-08 14:54:17 -07:00
Björn Lindqvist d1032c159a compiler.cfg.dataflow-analysis: generic for configuring the "block skipping"
To accurately record uninitialized/overinitialized stack locations,
kill blocks needs to be analyzed. Now you can make it so by overriding
ignore-block?.
2014-09-08 14:54:17 -07:00
John Benediktsson a80540fdee formatting: specify integer instead of fixnum as bignums are supported. 2014-09-04 09:35:15 -07:00
John Benediktsson 0f84c5ec6b see: disable string-limit? when setting margin to zero. 2014-09-03 17:14:00 -07:00
Björn Lindqvist 6919e7ca0a xml.writer.tests: use temp-file instead of assuming resource: is writable 2014-08-28 19:12:20 +02:00
Björn Lindqvist 3a6c14765d vm: add the gc-info struct 2014-08-25 14:52:11 -07:00
John Benediktsson 7609ab6eda compiler.cfg: fix some help-lint warnings. 2014-08-14 09:59:27 -07:00
Björn Lindqvist 16d32190ab deques: doc examples 2014-08-13 11:01:11 -07:00