Commit Graph

27314 Commits (c44aaf58be862dbc8c032a0f24d0ce4f6c60da4a)

Author SHA1 Message Date
Björn Lindqvist 6c43475183 cpu.x86: fix silly bug in %clear 2015-05-18 06:52:49 +02:00
John Benediktsson c7ea419874 compiler.cfg.stacks.clearing: fix tests. 2015-05-17 09:32:44 -07:00
Björn Lindqvist 9ceea3c241 compiler.*: new cfg instruction ##clear, it makes it easier to see where
the compiler.cfg.stacks.clearing pass inserts extra instructions
2015-05-17 07:59:34 +02:00
Björn Lindqvist 655faadec9 compiler.*: now when we're tracking uninitialized locations instead of
initialized ones, the height slot isn't needed on ##call anymore
2015-05-17 07:59:34 +02:00
Björn Lindqvist bf7161604e VM: simplified logic in data_heap_checker 2015-05-17 07:59:34 +02:00
Björn Lindqvist 6dd2fe31b6 compiler.cfg.stacks.*: new attempt at fixing the gc maps bugs
the padding vocab is inverted so that instead of trying to track which
locations are live, it tracks those which are dead which is much easier
to get right.
2015-05-17 07:59:34 +02:00
John Benediktsson aa1a5f22ba compiler.tree.debugger: fix docs using. 2015-05-14 08:16:27 -07:00
John Benediktsson 2c3492a916 minor cleanup to some docs. 2015-05-13 16:09:14 -07:00
John Benediktsson 40b699cc1e math.primes: little bit more cleanup. 2015-05-13 15:17:15 -07:00
John Benediktsson ab50fc818f math.primes: use fast-gcd in coprime? and replicate instead of make. 2015-05-13 14:47:31 -07:00
John Benediktsson 10dc967494 picomath: simplify. 2015-05-13 14:47:15 -07:00
John Benediktsson ba3c232c65 project-euler.026: simplify, use coprime? from math.primes. 2015-05-13 14:46:59 -07:00
John Benediktsson 4af2c7ea1f io.streams.peek: fix test using. 2015-05-13 06:29:05 -07:00
Doug Coleman aeb03fff38 io.streams.peek: Peek streams can break on file input. Fixes #1317. 2015-05-12 21:50:01 -07:00
John Benediktsson e72ad0c4f7 update vim syntax file. 2015-05-12 19:40:21 -07:00
John Benediktsson 296968580a use assoc-reject instead of [ ... not ] assoc-filter. 2015-05-12 19:08:42 -07:00
John Benediktsson 55122d9141 sequences: adding related-words for filter and reject. 2015-05-12 19:08:21 -07:00
John Benediktsson 016e03410d assocs: adding assoc-reject, assoc-reject-as, assoc-reject!. 2015-05-12 19:07:00 -07:00
John Benediktsson b366a06c41 use reject instead of [ ... not ] filter. 2015-05-12 18:50:34 -07:00
John Benediktsson 6071ea98f7 sequences: adding reject/reject-as/reject!. 2015-05-12 18:39:19 -07:00
John Benediktsson a33fc84de7 help.lint.checks: re-enable leak detection. 2015-05-12 10:46:37 -07:00
Björn Lindqvist ba8caa72fb io.crlf: the lf>crlf and crlf>lf words looks generally useful, lets put them in io.crlf to reduce some code duplication 2015-05-12 09:32:05 -07:00
Björn Lindqvist 36444f328f http.server.requests: an upper limit is needed for the content-length header 2015-05-12 09:32:05 -07:00
Björn Lindqvist 7647020615 http.server: extend handle-client-error so that it responds with 400 Bad Request if the request is invalid 2015-05-12 09:32:05 -07:00
Björn Lindqvist eac41a588a http.server.requests: if the content-length header is missing or invalid, a (controlled) error is thrown 2015-05-12 09:31:22 -07:00
Björn Lindqvist d30beb13ed http.server.requests: system for read-request for reporting errors
The idea is that read-request throws request-error if something is
wrong with the request. handle-client* can then catch it and respond
with 400 bad request. This way you can differentiate between bad
requests and requests that causes the HTTP server to crash.
2015-05-12 09:31:22 -07:00
Björn Lindqvist 99012bb20a http.server.requests.tests: more tests for POST requests handling 2015-05-12 09:31:21 -07:00
Björn Lindqvist 9058fbff01 mime.multipart: removed call to maybe-fill-bytes, fixes multipart parsing of short payloads 2015-05-12 09:31:21 -07:00
Björn Lindqvist f75ee294e7 http.server.requests: refactor the http.server vocabs request handling into its own vocab 2015-05-12 09:31:21 -07:00
John Benediktsson 5ea4e26bc5 sequences.rotated: can be a lot faster if we don't circular-wrap. 2015-05-11 19:41:01 -07:00
John Benediktsson 1f2ecfde76 present: adding M\ complex present. 2015-05-11 17:57:11 -07:00
Jon Harper 46fd0b5794 sequences.extras: add start-all and count-subseq for searching/counting all occurences of a subseq 2015-05-10 11:05:16 -07:00
John Benediktsson e1d18579e7 cpu/stack-checker: fix some help-lint warnings. 2015-05-10 10:13:57 -07:00
Björn Lindqvist f9a6bb27f4 compiler.cfg.*: new test-case and setting leader-map to f is better 2015-05-09 20:10:27 -07:00
Björn Lindqvist 36bfd0f105 memory.tests: a full test against #1289, it shouldn't crash 2015-05-09 20:04:23 -07:00
Björn Lindqvist 409a32d555 compiler.cfg.stacks.padding: docs 2015-05-09 20:04:23 -07:00
Björn Lindqvist 24dc0679dc compiler.cfg.ssa.destruction: fix and testcase for the
"lookup-base-pointer* does not define a method for the POSTPONE: f
class" bug
2015-05-09 20:04:22 -07:00
Björn Lindqvist ecf3829843 compiler.cfg.stacks.*: new vocab 'padding' to perform much more accurate
live analysis. it will replace the 'map' vocab
2015-05-09 20:04:22 -07:00
Björn Lindqvist 0c2559ef6e compiler.*: a bunch more compiler docs 2015-05-09 20:04:22 -07:00
Björn Lindqvist e2c91852e4 compiler.cfg.utilities: unused word 2015-05-09 20:04:22 -07:00
Björn Lindqvist 8df92abeb9 compiler.*,cpu.*: add a height slot to ##call nodes, then other compiler
passes can much easier to accurate liveness analysis on stack locations
2015-05-09 20:04:22 -07:00
Björn Lindqvist 3887b58c02 VM: cleanups, like removing redundant paranthesis and removing method
declarations that doesn't exist
2015-05-09 20:04:22 -07:00
Björn Lindqvist 8f02cad9c5 compiler.cfg.*: a bunch of new tests 2015-05-09 20:04:22 -07:00
Björn Lindqvist a6e2834252 VM: refactoring to use the visit_object_array method 2015-05-09 20:04:21 -07:00
Björn Lindqvist 0a6486ef78 VM: the aging_policy and nursery_policy classes are so small that they
can be in the same cpp file with the methods that use them
2015-05-09 20:04:21 -07:00
Björn Lindqvist e4bb3058e0 VM: the copying_collector only contained one method, so it can easily be
merged with its base class
2015-05-09 20:04:21 -07:00
Björn Lindqvist 685a795aa0 VM: to_tenured_collector isn't needed, it's just a normal collector instance 2015-05-09 20:04:21 -07:00
Björn Lindqvist 9bfc43144e VM: debug macros FACTOR_PRINT and FACTOR_PRINT_MARK to make better debug
printing messages than just using std::cout
2015-05-09 20:04:21 -07:00
Björn Lindqvist a195e361df compiler.cfg.stacks.*: create-locs, word for creating stack locations
from a sequence
2015-05-09 20:04:21 -07:00
Doug Coleman f2c67d6ab4 io.directories.search: Add two tests for find-up-to-directory, one that finds a file and one that doesn't. 2015-05-08 21:02:29 -07:00