Commit Graph

26948 Commits (65d72d48bccb2f005eda47197c57ed85e4f790fb)

Author SHA1 Message Date
Björn Lindqvist 693e8ad33a VM: the clear_mark_bits methods are only called once -- make the calls inline instead 2015-01-15 09:29:14 +00:00
Björn Lindqvist fb9fa12cdd VM: change the definition of entry_point in word and quotation from void* to cell
this gets rid of lots of redundant casts from void* to cell
2015-01-15 09:29:13 +00:00
Björn Lindqvist f0bf693beb VM: free_list_allocator::first_block, last_block and next_block_after can be refactored away 2015-01-15 09:29:13 +00:00
Björn Lindqvist 1beac119d8 VM: removes the template parameter from mark_bits
since mark_bits only deals with arithmetic on memory addresses, it
doesn't need to be specialized so it can be untemplateized
2015-01-15 09:29:13 +00:00
Björn Lindqvist af270cb4d8 VM converts the methods callstack::frame_top_at and code_block::offset to use cells instead of void*'s 2015-01-15 09:29:13 +00:00
Björn Lindqvist 615420fe61 VM: calls to visit_code_roots() replaced with visit_uninitialized_code_blocks() 2015-01-15 09:29:13 +00:00
Björn Lindqvist eb7a5ab1ba VM: some more fixing to make the types match better, converting void* to cell 2015-01-15 09:29:13 +00:00
Björn Lindqvist e47181e87a VM: change type of callstack_top and callstack_bottom from void* to cell
cell and void* is always the same size, but now you can remove lots of
redundant type casts from void* to cell.
2015-01-15 09:29:13 +00:00
Björn Lindqvist a6e191a490 VM: the frame_return_address and set_frame_return_address functions aren't needed (clearer to read/write the pointers directly) 2015-01-15 09:29:13 +00:00
Björn Lindqvist 11e906139b VM: code_block::scan, make it so the method always returns -1 if scan can't be determined, part of the fix for #1265 2015-01-15 09:29:13 +00:00
Björn Lindqvist 8ee1f890f2 VM: refactoring intended to remove trace_*-methods that are just
simple delegations to the data/code_visitor instances
2015-01-15 09:29:12 +00:00
Doug Coleman f015d3d6f6 forestdb: Remove unix only forestdb. Fix segfault for fdb-get-kv. 2015-01-08 19:26:28 -06:00
John Benediktsson 2453a785f7 json.writer: make sure we make hex values two digits zero padded. 2015-01-04 09:37:03 -08:00
John Benediktsson 1ec43d7913 json.writer: support escaping unicode > 0x10000. Thanks @jonenst! 2015-01-03 08:30:26 -08:00
John Benediktsson ee8be0a8dd mason.git: fix status check. 2014-12-30 19:29:05 -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 cd003fbef9 mason.git: fix use. 2014-12-30 14:48:21 -08:00
John Benediktsson 527177963e mason.git: fix for rename. 2014-12-30 12:51:33 -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 e68c0ae8bd gopher: set 1 minute timeout by default. 2014-12-26 19:20:22 -08:00
John Benediktsson b2dec21d3e brainfuck: cleanup tests. 2014-12-26 19:20:11 -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 3f98ac4a30 python: rename startup/shutdown hooks. 2014-12-24 08:10:52 -08:00
John Benediktsson 592764ded4 math.extras: adding the Möbius function. 2014-12-23 20:08:23 -08:00
John Benediktsson 56b95b09a1 alien.c-types: move definitions of stdint.h from unix.types. 2014-12-23 19:40:21 -08:00
John Benediktsson e60c661f72 gopher: use contents now that it works. 2014-12-23 19:22:35 -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 b68174511c gopher: fix bug where empty lines weren't printed properly in menus. 2014-12-21 09:42:54 -08:00
John Benediktsson 9858753c43 gopher: simplify. 2014-12-20 12:27:51 -08:00
John Benediktsson c45e4e1c68 gopher: change gopher-text to use split1. 2014-12-20 12:11:23 -08:00
John Benediktsson ee6ae8a63c io.encodings.detect: simplify prolog-tag. 2014-12-20 12:06:54 -08:00
John Benediktsson 12050a0db9 gopher: add way to get result without converting to objects. 2014-12-20 11:28:23 -08:00
John Benediktsson 3709749ea1 tools.disassembler: allow disassemble of compose and curry. 2014-12-19 11:40:41 -08:00