Commit Graph

13155 Commits (6a912e47b49466481af1aa62b2163c36d263bb76)

Author SHA1 Message Date
John Benediktsson 9439c5a684 io.encodings.iso2022: stop using sets:unique. 2016-04-18 21:10:17 -07:00
John Benediktsson 0add9190c2 lists: more cleanup. 2016-04-18 09:46:49 -07:00
Doug Coleman da65402ee8 ui.debugger: don't rethrow at all. it just makes an infinite loop. 2016-04-18 09:27:32 -07:00
John Benediktsson 42ae9ac015 lists: first pass at some cleanup.
Now lists.lazy:lmap-lazy and lists.lazy:lappend-lazy names differentiate
from their non-lazy counterparts in lists.
2016-04-17 13:08:32 -07:00
John Benediktsson 5a3848515e urls: remove unnecessary >secure-addr indirection. 2016-04-16 17:11:01 -07:00
John Benediktsson df868fa972 soundex: make implementation private. 2016-04-16 16:38:42 -07:00
John Benediktsson 3ffa47de6c soundex: fix soundex to handle test cases from wikipedia. 2016-04-16 16:37:44 -07:00
John Benediktsson 2a5e0e7f4f replace some 1 head* with but-last. 2016-04-16 15:54:23 -07:00
John Benediktsson 54635f5c5d suffix-arrays.words: removing, not that useful. 2016-04-16 09:17:05 -07:00
John Benediktsson a1b5839d08 suffix-arrays: remove docs of removed private word. 2016-04-15 16:02:27 -07:00
Doug Coleman 099e142200 ftp.server: Don't fetch to the same directory we serve from or else it will overwrite the file. Race condition, only shows up on Windows for some reason. 2016-04-15 15:52:06 -07:00
John Benediktsson 97e87f4a05 suffix-arrays: simplify a bit. 2016-04-15 13:20:11 -07:00
John Benediktsson 1a7547f33a delegate: use string word-prop keys. 2016-04-14 20:19:54 -07:00
John Benediktsson c52b640520 bootstrap.image.upload: use vm-git-id. 2016-04-14 16:59:23 -07:00
John Benediktsson 331483ab98 classes.algebra: removing valid-classoid? (enforced in constructors). 2016-04-13 14:29:24 -07:00
John Benediktsson 923cb0127a Revert "ftp.server: make sure the test file returns a normalized path."
This reverts commit fda3024fe9.
2016-04-13 13:06:05 -07:00
John Benediktsson fda3024fe9 ftp.server: make sure the test file returns a normalized path. 2016-04-13 09:29:55 -07:00
Doug Coleman c5f7ae9d74 regexp.disambiguate: Make it cleaner imo, but still can't make heads of tails of the algorithm being used. 2016-04-12 14:19:18 -07:00
Doug Coleman 9ee109ae50 assocs: Add assoc-union-as. Use assoc-reject-like. 2016-04-12 14:18:54 -07:00
Björn Lindqvist e426e5c339 compiler.cfg.linear-scan.assignment: better vregs>regs 2016-04-11 01:17:13 +02:00
Björn Lindqvist 754f52d399 compiler.cfg.linear-scan.assignment: refactoring of assign-registers-in-block + tests 2016-04-11 01:17:13 +02:00
Doug Coleman 534c8f1d4d unicode: Let upper? lower? etc work with slices by using sequence= instead of =. 2016-04-10 11:39:50 -07:00
John Benediktsson c6565e380d linked-sets: adding summary.txt. 2016-04-09 08:54:31 -07:00
Doug Coleman 0055f3c616 factor: remove some extra whitespace. 2016-04-07 14:30:36 -07:00
John Benediktsson b0e6796a95 alien.prettyprint: forgot to commit the tests fixes. 2016-04-07 11:21:39 -07:00
John Benediktsson d15f6459b8 alien.prettyprint: don't print ; or declarations for alien words. 2016-04-07 07:38:09 -07:00
John Benediktsson 880ec55d6f help: for $default, make sure effect-in is a string. 2016-04-07 07:26:23 -07:00
John Benediktsson 65eb9a1d31 Revert "alien.c-types: Implement present on pointers for help-lint."
This reverts commit f865273e4d.
2016-04-07 07:26:23 -07:00
Doug Coleman 9427c78506 ui.debugger: quotation stack effect wants ( .. -- * ), throw causes infinite loop, but rethrow works. change previous patch to rethrow everywhere. 2016-04-06 17:35:13 -07:00
Doug Coleman 363e08b6a8 factor: fix whitespace at end of files. 2016-04-06 16:53:25 -07:00
John Benediktsson 1234eb72e2 globs: rename glob-directory to glob. 2016-04-06 14:04:21 -07:00
John Benediktsson a5f117c88f globs: making glob-matches? support wildcards. 2016-04-06 14:02:48 -07:00
John Benediktsson f80057d4b0 globs: fix glob pattern on directories. 2016-04-06 13:10:24 -07:00
John Benediktsson 5cfd5ff224 io.streams.byte-array.fast: don't need >c-ptr. 2016-04-06 12:39:50 -07:00
Doug Coleman f865273e4d alien.c-types: Implement present on pointers for help-lint. 2016-04-05 22:17:36 -07:00
John Benediktsson 8c158aa68f help.lint.checks: ignore words without defined word-help.
This allows us to skip words that use the $default help.
2016-04-05 19:03:48 -07:00
Doug Coleman 49be5b2c52 io.directories.search: Fix unit test using list. 2016-04-05 14:49:27 -07:00
John Benediktsson 7468da3cd3 help: small fix because I forgot to test predicates still worked. 2016-04-04 15:40:26 -07:00
John Benediktsson bdd4d49ac1 help: adding a default word help if not defined by HELP:. 2016-04-04 15:31:53 -07:00
John Benediktsson 4d83867cb4 strings.parser: remove parse-short-string, everyone should parse-string. 2016-04-04 15:00:04 -07:00
John Benediktsson 1f063155a9 ui.backend.gtk: simplify calls to gtk_init. 2016-04-04 15:00:04 -07:00
John Benediktsson 4bfcc86cc4 compiler.tests.stack-trace: use with-test-file. 2016-04-04 15:00:04 -07:00
Doug Coleman 58e18ad668 ui.gadgets.corners: move to unmaintained. trim using lists. 2016-04-04 14:11:54 -07:00
John Benediktsson e4ddd9f38e compiler.cfg.linear-scan.allocation.spilling: fix $maybe docs. 2016-04-04 10:40:02 -07:00
John Benediktsson 2269b07d33 use with-temp-file and with-temp-directory in some tests. 2016-04-04 10:33:03 -07:00
John Benediktsson dd3189ecb6 tools.test: adding with-test-file and with-test-directory.
These provide unique temp files (and directories) that are
automatically cleaned up when the quotation exits. Mostly this
allows us to simplify some of our test files.
2016-04-04 10:33:03 -07:00
John Benediktsson 2ea3e304cf ui.backend.gtk: simplify <window-handle>. 2016-04-04 10:33:03 -07:00
Björn Lindqvist 2cc8b5e7de compiler.cfg.linear-scan.allocation.spilling: fix stack effect 2016-04-03 20:56:30 +02:00
Björn Lindqvist 89e98e96a4 compiler.cfg.linear-scan.live-intervals: hairy- and clober-insn moved to
this vocab
2016-04-03 20:56:30 +02:00
Björn Lindqvist 1a71407112 compiler.cfg.linear-scan.assignment: refactoring + tests
better expire-old-intervals, activate-new-intervals and assign-gc-roots
2016-04-03 20:56:29 +02:00
Björn Lindqvist 86606213de compiler.cfg.linear-scan.assignment: refactoring
Better definitions for expire-old-intervals, activate-new-intervals and
assign-registers-in-insn.
2016-04-03 20:56:29 +02:00
Björn Lindqvist 54d7b50d1b compiler.cfg.linear-scan.live-intervals: better way to write insn>sync-point 2016-04-03 20:56:29 +02:00
Doug Coleman 15d788718f command-line: gvim example obsolete. update to new example. 2016-04-02 16:51:35 -07:00
John Benediktsson 2f42e588da ui.debugger: copyrighter. 2016-04-02 09:30:41 -07:00
Björn Lindqvist 047be9cd52 tools.deploy.*: refactoring to not use dynamic variables in make-deploy-image 2016-04-02 17:48:23 +02:00
Björn Lindqvist 3ef33708ae compiler.cfg.linear-scan.assignment: dont think prepare-insn should be called twice here 2016-04-02 17:48:23 +02:00
Björn Lindqvist 026abb9c38 compiler.cfg.linear.scan.*: makes it so ranges and uses are guaranteed
to be vectors

Simplifies the code and makes it a little faster.
2016-04-02 17:48:23 +02:00
Doug Coleman e944ff7fe7 ui.debugger: If Linux has a ui error on startup you get popups continuously until you quit. The stack effect doesnt' throw, but I guess it's better to not have tons of popups. 2016-04-02 01:56:48 -07:00
Björn Lindqvist 95c1b6bbe3 compiler.cfg.linear-scan.live-intervals: doc lint fixes 2016-04-01 23:42:00 +02:00
Björn Lindqvist a60f122c5e basis.compiler.cfg.linear-scan.*: fixing boostrap problems due to the
word rename

Sorry for the noise.
2016-04-01 20:16:13 +02:00
Björn Lindqvist eb68ad6932 compiler.cfg.linear-scan.allocation.splitting: fix HINTS: specialization
for split-interval
2016-04-01 19:38:45 +02:00
Björn Lindqvist 52e78441f8 compiler.cfg.linear-scan.live-intervals: simplify uses-vregs* 2016-04-01 19:16:35 +02:00
Björn Lindqvist 76be7b54ed compiler.cfg.linear-scan.*: removed start and end from live-interval-state
They weren't needed because start>> was always equal to ranges min and
end>> ranges max
2016-04-01 19:16:35 +02:00
John Benediktsson c09312d881 io.files.unix: more test cleanup. 2016-03-31 21:32:05 -07:00
John Benediktsson 68b0f7d0f0 io: fix some temp-file uses in tests. 2016-03-31 21:32:05 -07:00
John Benediktsson 37fc051506 Revert "ui.backend.gtk: try yield in idle callback."
This reverts commit 2929cc21f5.
2016-03-31 16:53:52 -07:00
John Benediktsson 281ccddda8 Revert "ui.backend.gtk: only use the timer when not io.backend.unix."
This reverts commit 7d5df2c8a2.
2016-03-31 16:53:47 -07:00
Doug Coleman 46f781a56f compiler.tests.stack-trace: remove temp-file usage. 2016-03-31 07:37:50 -07:00
John Benediktsson beae638eab tools.test: maybe "continue running tests" isn't a good idea. 2016-03-31 07:20:31 -07:00
John Benediktsson a4b9e55987 tools.test: add a restartable-tests? flag to control restarts. 2016-03-31 06:51:17 -07:00
Jon Harper 617a725ba5 http.client, proxy defaults to http protocol like for the target 2016-03-31 06:25:03 -07:00
Jon Harper ed33bc7862 http.client, request-url don't try to fix unfixable urls
Before, it would prepend http:// to anything and that would create
bad urls like URL" http://http://". It's simpler to fix only what is
fixable
2016-03-31 06:25:03 -07:00
Jon Harper 9cbf548340 http.client: throw if the proxy not empty and not valid 2016-03-31 06:25:03 -07:00
John Benediktsson cb3bbc8a40 unicode: get the tests to run again. 2016-03-31 06:04:37 -07:00
John Benediktsson d2daa05790 io: fix some temp-files in the tests to use unique-files. 2016-03-31 00:23:13 -07:00
John Benediktsson 498285d7dd unicode: make this the API for all unicode things. 2016-03-30 23:29:48 -07:00
John Benediktsson 92496b5393 tools.test: better restart checking. 2016-03-30 23:29:37 -07:00
Doug Coleman f5cea754b5 regexp: Fix / escape in regexp. Fixes validators test. 2016-03-30 23:28:12 -07:00
Doug Coleman 30d158ccce prettyprint: Print .b .o .h with prefixes so it's not super confusing. Fixes #1351. 2016-03-30 22:59:29 -07:00
Doug Coleman 5e92edd74d tags.txt: Remove empty files. 2016-03-30 22:14:50 -07:00
Doug Coleman 41209a3a42 summary.txt: Delete empty lines and empty files. 2016-03-30 22:11:51 -07:00
Doug Coleman 4e0de5d6c4 vocabs.metadata: Refactor metadata so that all metadata files harvest empty lines. 2016-03-30 22:11:18 -07:00
Doug Coleman 6c4960737c vocabs.metadata: Allow empty lines in platforms.txt parsing. Fixes 1554. 2016-03-30 21:52:13 -07:00
John Benediktsson be8c711d3e regexp: need this to be (parse-raw). 2016-03-30 21:26:12 -07:00
John Benediktsson cba0a96c10 regexp: one R/ syntax to rule them all, simpler this way. 2016-03-30 21:09:08 -07:00
Doug Coleman 2ec0a139d1 english: move to basis. closes #1587. 2016-03-30 20:58:51 -07:00
Doug Coleman 391f8e433f basis: Cleaning up tests using lists and IN: forms. 2016-03-30 20:04:14 -07:00
Björn Lindqvist 39d0177ddd bootstrap.image.primitives: attempt 2 at putting all primitives in this vocab
See ca82929ffb. This time it should work
because the USING: list is not updated!
2016-03-31 03:32:34 +02:00
John Benediktsson 57f434b80e tools.test: rethrow any restart failures from tests. 2016-03-30 16:40:24 -07:00
Doug Coleman 95dc2f89e5 io.mmap: Clean up mmap tests so they can run at the same time. 2016-03-30 16:29:06 -07:00
Björn Lindqvist 92b43ce108 tools.deploy.test: new word test-image-path 2016-03-31 00:37:59 +02:00
John Benediktsson e0a40e4f96 opengl: log all mac os errors where framebuffer is undefined. 2016-03-30 15:28:39 -07:00
John Benediktsson 99804fd054 prettyprint: add an unsupported-number-base error. 2016-03-30 14:55:11 -07:00
John Benediktsson cf0f748991 summary: revert "a foo tuple" back to "foo".
symmetry with "hashtable with 1 entries" and error throws.
2016-03-30 14:02:36 -07:00
John Benediktsson 0f4f1058ce peg.ebnf: different (better) error for peg.ebnf.semantic-action. 2016-03-30 13:55:21 -07:00
John Benediktsson fc8830b03e http.client: make no-proxy? to do less work with no proxies. 2016-03-30 13:49:11 -07:00
Jon Harper 62603e1f8c http.client, allow to use http proxies 2016-03-30 13:46:55 -07:00
Jon Harper e272a5a670 http.client, automatically add basic auth from urls if present 2016-03-30 13:46:55 -07:00
Jon Harper 2bf3eb3919 http.client, don't write the anchor in the request line 2016-03-30 13:46:55 -07:00
Jon Harper 4ad5071b70 http.client, fix GETs after POSTs redirects
Before this change, after a post is responded to by a 301 redirect,
the next GET had the "content-length: XX" and
"content-type: application/x-www-form-urlencoded" http headers.

Detected by running "http" test while using
squid 3.3.8 which returns a 411 error in this case.
2016-03-30 13:46:55 -07:00