Commit Graph

13320 Commits (ebfce1deea3fc137c65634392ae488bfee61dd96)

Author SHA1 Message Date
John Benediktsson b31415f8a3 ui.gadgets.scrollers: 4 space indentation. 2016-04-23 09:51:15 -07:00
nicolas-p e8c60ca890 Made scrollers disappear when disabled 2016-04-23 09:51:15 -07:00
nicolas-p 365c8d08d2 ui.gadgets.sliders: removed buttons 2016-04-23 09:51:15 -07:00
Björn Lindqvist 70e9834f2f compiler.cfg.*: new system for emitting spill/reloads for gc calls (#1471)
GC calls were treated as sync points so all registers were spilled
around them. But if the gc call isn't triggered, it is unnecessary to
spill. This commit fixes that by handling ##call-gc specially and
putting ##spill and ##reloads in the same block as the gc call itself.
2016-04-22 19:21:15 +02:00
Björn Lindqvist d5cb972a71 Docs: ui and compiler 2016-04-22 18:23:02 +02:00
Björn Lindqvist a6f159eb17 cpu.x86.assembler: fix small help-lint problem 2016-04-22 18:10:59 +02:00
Björn Lindqvist 720edcbd3b style fixes - indenting slots and word bodies 2016-04-22 13:06:41 +02:00
Björn Lindqvist 3177e7851c cpu.*: more docs 2016-04-22 13:00:46 +02:00
Björn Lindqvist 00fdb837fa cpu.x86: better code without locals 2016-04-22 12:59:21 +02:00
Björn Lindqvist 92a85ebe86 compiler.*: more compiler docs 2016-04-22 12:57:54 +02:00
Björn Lindqvist 3e14ceafe2 compiler.*: more compiler tests 2016-04-22 12:44:25 +02:00
Björn Lindqvist e58e1b9a65 compiler.cfg.ssa.interference.live-ranges: Docs 2016-04-22 12:33:39 +02:00
Björn Lindqvist cf74a4dc0f compiler.cfg.linear-scan.allocation.splitting: Docs 2016-04-22 12:16:46 +02:00
Björn Lindqvist 951c0586f0 compiler.cfg.linear-scan.allocation: removes no-free-registers? 2016-04-22 12:04:22 +02:00
John Benediktsson 8a3dd3709e ui: adding a WINDOW: that is like MAIN-WINDOW: but without making the word a main word. 2016-04-21 10:13:57 -07:00
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
John Benediktsson e881f3d5a6 summary: use "a" or "an" when describing tuple. 2016-03-30 13:41:41 -07:00
John Benediktsson c4f67577f1 peg.ebnf: add a note for bug #23 and prefix articles with EBNF. 2016-03-30 13:30:30 -07:00
John Benediktsson ca82929ffb Revert "bootstrap.image.primitives: make more primitives properties be declared here"
This reverts commit 80f30119c0.
2016-03-30 11:53:38 -07:00
John Benediktsson 4138ac0654 peg: simplify parse-satisfy. 2016-03-30 10:30:36 -07:00
John Benediktsson 09cb888b48 math.floats.env: restore test cases that were disabled. 2016-03-30 10:30:36 -07:00
Doug Coleman 26689c3d75 peg: Throw an error if nothing at all matches at position 0. 2016-03-30 10:16:15 -07:00
Doug Coleman e49d721374 peg: Don't need to add empty errors here. It breaks the real error message. 2016-03-30 10:16:15 -07:00
Björn Lindqvist 80f30119c0 bootstrap.image.primitives: make more primitives properties be declared here
This commit merges the input/output-classes and flush/foldable
declarations from stack-checker.known-words to this vocab. This should
make adding primitives a little simpler (#1134).
2016-03-30 18:59:10 +02:00
John Benediktsson 1b71efb748 ui: change active? back to a boolean. 2016-03-30 07:31:13 -07:00
Doug Coleman 8e59246a8b tools.deploy.windows: Windows processes launch from relation to the executable that launches them. Therefore, we need to normalize the path for the "Hello World" binary since it's in the temp directory and not relative to the factor/ directory. 2016-03-29 23:46:34 -07:00
John Benediktsson 4bf402fc24 unix.groups: cleanup using. 2016-03-29 22:53:45 -07:00
John Benediktsson 7d5df2c8a2 ui.backend.gtk: only use the timer when not io.backend.unix. 2016-03-29 22:36:02 -07:00
John Benediktsson 2929cc21f5 ui.backend.gtk: try yield in idle callback. 2016-03-29 22:15:57 -07:00
John Benediktsson d3990d1eeb ui.backend.gtk: simplify. 2016-03-29 20:52:49 -07:00
John Benediktsson 1721f9e314 fix some tests for the sets:set change. 2016-03-29 20:43:46 -07:00
John Benediktsson 90b53e3054 ui.gadgets: fix tests for namespaces:set. 2016-03-29 18:57:38 -07:00
Doug Coleman 9b3e522869 io.monitors.linux: fix a set. 2016-03-29 18:27:47 -07:00
Doug Coleman dbf781b29a ui.backend.windows: fix set. 2016-03-29 18:05:23 -07:00
John Benediktsson 71ef8a22c2 disambiguate namespaces:set and sets:set. 2016-03-29 17:14:42 -07:00
John Benediktsson e6864bd538 delegate.protocols: add set-protocol. 2016-03-29 16:51:19 -07:00
John Benediktsson e7a42b1dc4 sets: rename unordered-set back to set. 2016-03-29 15:46:29 -07:00
John Benediktsson f5ad868731 linked-sets: adding an ordered-set.
(yes, it's an instance of unordered-set, patches to follow).
2016-03-29 14:55:07 -07:00
Björn Lindqvist 2a9c95040c bootstrap.image.primitives: the primitive_ prefix is implied
So it can be removed from the big list, making primitive declarations simpler.
2016-03-29 23:52:29 +02:00
Björn Lindqvist eca6dfac15 bootstrap.image.primitives: new vocab to make primitive declarations better 2016-03-29 23:52:29 +02:00
Doug Coleman 9ed93afe22 tools.deploy.windows: use "resource:" instead of "" for deploy on windows. 2016-03-29 14:43:51 -07:00
John Benediktsson a63492e9c0 interpolate: make interpolate and interpolate-locals symmetric. 2016-03-29 13:03:59 -07:00
Doug Coleman e54ee276c3 tools.deploy.shaker: Fix load error.
images.png: fix load error.
2016-03-29 12:33:30 -07:00
Doug Coleman fe3031bc96 urls.secure: roll this into urls since we ship libressl on windows now. 2016-03-29 11:40:42 -07:00
Doug Coleman 01eb69e626 tools.deploy: add using 2016-03-29 10:53:01 -07:00
John Benediktsson 3f18b71d07 cleanup some QUALIFIED: that are no longer needed. 2016-03-29 10:20:16 -07:00
John Benediktsson b1be11f39c vocabs.parser: all USE: vocabs are also QUALIFIED:. 2016-03-29 10:20:16 -07:00
Doug Coleman 41201fd1d1 tools.deploy: Make sure to deploy-test in a temp directory and not the factor/ directory. 2016-03-29 08:44:24 -07:00
John Benediktsson d99f67d5bb tools.test: fix <test-failure> stack effect for file -> path change. 2016-03-29 08:06:56 -07:00
John Benediktsson 19466f2d66 alien.libraries.finder: rename ?add-library to ?update-library. 2016-03-29 07:35:45 -07:00
John Benediktsson 98ed2a8ee5 alien.libraries: split update-library and add-library again. 2016-03-29 06:07:14 -07:00
John Benediktsson 1589c0b764 tools.deploy: need to USE: system. 2016-03-29 06:05:05 -07:00
John Benediktsson 927b8f29d6 gtk.ffi: stop using find-library. 2016-03-28 23:55:49 -07:00
John Benediktsson 1bdab8d421 opengl.gl: stop using find-library. 2016-03-28 23:55:39 -07:00
John Benediktsson da90f22b9b alien.libraries.finder: adding (poorly named) ?add-library.
Runs find-library when the library was not added yet or the dll is not valid.
2016-03-28 23:04:19 -07:00
John Benediktsson 26301fd5b0 Revert "alien.libraries.finder: Allow library to match just by name. Related to #1099."
This reverts commit 20a1c09a42.
2016-03-28 23:01:56 -07:00
John Benediktsson 12350404f2 alien.libraries: merge update-library and find-library. 2016-03-28 22:49:23 -07:00
John Benediktsson 7d0c596c92 Hopefully fix stack effects of error hooks to throw when required. 2016-03-28 22:27:35 -07:00
John Benediktsson 864912f446 ui.backend.cocoa.views: call super.prepareOpenGL(). 2016-03-28 21:51:16 -07:00
John Benediktsson 9f37936f53 peg.ebnf: whoops, fix using for some reason not included in previous patch. 2016-03-28 17:24:57 -07:00
John Benediktsson 7ab8a787b0 peg.ebnf: fix and a better fix. 2016-03-28 17:04:03 -07:00
Doug Coleman 63f2f22573 editors.visual-studio-code: Use the application name Electron on Mac instead of calling it through ``open`` util. Similar to how we do Atom editor support. 2016-03-28 16:56:07 -07:00
John Benediktsson e7fa8fbc2f peg.ebnf: reset qualified-vocabs so FROM: statements don't leak. 2016-03-28 16:41:56 -07:00
John Benediktsson 676168cabc globs: ignore hidden paths. 2016-03-28 08:01:28 -07:00
John Benediktsson 367c565ba1 globs: use path-separator? to allow windows to split on /. 2016-03-28 06:38:32 -07:00
John Benediktsson 1dd9a73ae8 globs: more tests. 2016-03-27 20:50:13 -07:00
John Benediktsson 5f11bf63b6 globs: adding tests for char-range. 2016-03-27 18:55:45 -07:00
John Benediktsson ffbd9e4754 globs: removing glob-parent-directory. 2016-03-27 18:54:38 -07:00
John Benediktsson 1441d66553 globs: implement glob-directory.
It looks too complicated, and maybe it is.  Some tests pass.
2016-03-27 18:52:20 -07:00
John Benediktsson c1010144e5 regexp.combinators: fix <char-range>. 2016-03-27 18:49:42 -07:00
Björn Lindqvist ff99f69f02 compiler.cfg.save-contexts: fix $link markup 2016-03-27 23:47:08 +02:00
Björn Lindqvist 07aee7525f compiler.cfg.save-contexts: ##save-context isn't need in front of ##call-gc
The reason is because the minor-gc primitive itself saves the
context. Not inlining context saves, saves 20 bytes/call site.
2016-03-27 19:21:50 +02:00
Björn Lindqvist 63ef600aa3 compiler.cfg.*: indentation fixes 2016-03-27 19:21:50 +02:00
John Benediktsson 7038e8a55e stack-checker: a little cleanup. 2016-03-27 10:01:56 -07:00
Björn Lindqvist f549283508 bootstrap.assembler.ppc: make ppc also use define-sub-primitives 2016-03-27 17:46:55 +02:00
Björn Lindqvist df3852f54a bootstrap.assembler: new word define-sub-primitives
This way all sub primitives can be declared at once which imo is cleaner.
2016-03-27 17:42:25 +02:00
John Benediktsson 292e95f867 stack-checker.known-words: simpler infer-ndip and infer-builder. 2016-03-26 18:37:25 -07:00
Björn Lindqvist ce2b971b3b mirrors: make all sequences be "inspectable", could fix #1237 2016-03-26 15:08:31 +01:00
John Benediktsson a3d83d2252 compression.zlib.ffi: add more functions. 2016-03-25 20:55:41 -07:00
John Benediktsson a359dd7a8e mirrors: fix tests for string change. 2016-03-25 15:56:42 -07:00
Björn Lindqvist b21457411e mirrors: makes string an inspectable sequence, fixes #1238 2016-03-25 21:10:26 +01:00
John Benediktsson 774c6ae19e summary: better word re-use. 2016-03-25 09:43:35 -07:00
John Benediktsson c50e75ca85 summary: can't use formatting or it breaks bootstrap. 2016-03-25 09:42:04 -07:00
Björn Lindqvist e075ea02a8 summary: string summary should say characters, not elements 2016-03-25 14:46:37 +01:00
Björn Lindqvist cf3e376ac0 summary: improved summary for tuples
It reads nicer if it says "a blabla tuple" instead of just "blabla".
2016-03-25 14:37:53 +01:00
Björn Lindqvist 52c5d2b0a4 summary: refactoring to use the formatting vocab + tests 2016-03-25 14:00:48 +01:00
Doug Coleman 7a6570b355 unicode.data, terrain.generation: remove abusive stack effect names. 2016-03-25 03:13:27 -07:00
Doug Coleman d3bc2035a2 factor: remove rest of double paren words. 2016-03-25 03:13:27 -07:00
Doug Coleman 92afdc3ad0 hashtables: rename ((tombstone)) to +tombstone+, ((empty)) to +empty+ 2016-03-25 03:13:27 -07:00
Björn Lindqvist 0bb3228063 unix: fixed read-symbolic-link (#1074) + tests 2016-03-23 16:15:30 +01:00
Björn Lindqvist 53467d4e21 io.files.unix: loop getcwd with an expanding buffer, fixes part of #1074
It appears that the right way to do it is using an arbitrary sized buffer
and just expanding it in case getcwd reports ERANGE.
2016-03-23 16:15:29 +01:00
John Benediktsson e2e3b448ee vocabs.metadata: moving os-specific paths to tools.deploy. 2016-03-23 07:44:35 -07:00
John Benediktsson 6e035c3640 compiler.tests: fix a few KERNEL-ERROR. 2016-03-22 15:22:15 -07:00
John Benediktsson 6ec952c436 db.errors: move to db.{postgresql,sqlite}.errors. 2016-03-22 12:44:50 -07:00
Björn Lindqvist 579875821b VM: removes the OBJ-ERROR special object in favor of a constant
The special object contained the string "kernel-error" which were used
to tag VM errors. But it is simplier and removes a little complexity to
just tag them with a fixnum constant.
2016-03-22 17:52:19 +01:00
John Benediktsson 7f16923ce1 tools.completion: fix help-lint for runs now that it returns slices. 2016-03-22 07:44:28 -07:00
John Benediktsson 6e2726f232 tools.completion: simplify runs which is just monotonic-split. 2016-03-22 07:41:33 -07:00
John Benediktsson 0d2859124e checksums: remove hex-string in favor of math.parser:bytes>hex-string. 2016-03-21 21:06:22 -07:00
Doug Coleman 236f962323 gmae.input: rename ` to backtick 2016-03-21 14:57:48 -07:00
John Benediktsson 9cc73c9492 graphs: move to core and simplify.
1. remove add-vertex* and remove-vertex* that contradicted the documentation.
2. graphs use hash-sets of edges instead of hashtables of {edge,edge} pairs.
3. make graphs:closure work like classes:closure, use in classes.
2016-03-21 10:20:38 -07:00
John Benediktsson f1fd761a72 mirrors: define M\ hash-set make-mirror so inspector works better on hash-sets. 2016-03-21 10:20:38 -07:00
Doug Coleman 2f7a4a26cd basis: rename the only four words with backtick in their name. 2016-03-20 21:04:30 -07:00
John Benediktsson 12628c5a95 tools.crossref: change crossref to store uses in hash-set.
Previously it would use a hashtable where the key and value
were both the same.
2016-03-20 20:20:34 -07:00
John Benediktsson 1031a02d15 help: cleanup usings. 2016-03-20 19:42:38 -07:00
John Benediktsson c04ce00b45 ui.gadgets.panes: fix use of string-lines that prevented icons from showing in help browser. 2016-03-20 15:56:02 -07:00
John Benediktsson a067b13311 help: simplify. 2016-03-20 14:39:13 -07:00
Doug Coleman 35d84c6e64 maths.primes: finish renaming fast-gcd to simple-gcd. 2016-03-19 17:21:24 -07:00
John Benediktsson 50759f4bc6 io.files.unique: change cleanup-unique-file quot stack effect. 2016-03-19 13:03:15 -07:00
John Benediktsson 20883fb21a ui.backend.cocoa.views: add constants for modifier flags. 2016-03-19 12:48:42 -07:00
John Benediktsson 6b07e6caf2 math: rename fast-gcd to simple-gcd. 2016-03-19 12:20:09 -07:00
Björn Lindqvist bce3a88287 stack-checker.known-words: fix input class declaration for <string>
it should be { integer-array-capacity integer } ofcourse
2016-03-19 18:59:19 +01:00
John Benediktsson bde8f522f1 fix some tests broken by my io.files.unique change. 2016-03-19 09:50:01 -07:00
John Benediktsson 95a6f6d568 help.home: simplify USING. 2016-03-19 08:54:59 -07:00
John Benediktsson 7388706ab7 help.home: use $content to render the handbook. 2016-03-19 07:54:37 -07:00
John Benediktsson 1a8aca2969 help.markup: adding $content to inline the content of another article. 2016-03-19 07:54:24 -07:00
John Benediktsson fbb6968312 help.home: make the home screen the handbook content. 2016-03-19 04:27:20 -07:00
John Benediktsson 9c323e2884 cleanup some uses of current-directory. 2016-03-18 17:04:05 -07:00
John Benediktsson e36727db23 io.files.unique: some cleanup. 2016-03-18 16:54:17 -07:00
Björn Lindqvist 6f9ff8813e compiler.*, stack-checker.known-words: adds the integer-array-capacity
This commit adds the integer-array-capacity declaration on a few
words. It should make loopy code compile faster and fix #1339
2016-03-18 20:46:41 +01:00
Björn Lindqvist be4484d708 compiler.tree.*: fixes the propagation and dead-code removal logic so it
becomes aware of integer-array-capacity
2016-03-18 20:39:28 +01:00
Björn Lindqvist a3ce61f8da compiler.tree.cleanup: more docs and a test 2016-03-18 19:21:31 +01:00
Björn Lindqvist 6576660069 compiler.tree.dead-code.simple: tests and more docs 2016-03-18 19:21:31 +01:00
John Benediktsson baae677276 io.files.unique: change to create unique files and directories relative to the current-directory. 2016-03-18 10:57:54 -07:00
John Benediktsson f5b31a85c0 io.monitors: change tests to not use unique because it only ever used temp-file. 2016-03-18 10:36:45 -07:00
John Benediktsson 7c2e8d0fad io.launcher.unix: simplify use of temp-directory. 2016-03-18 10:36:45 -07:00
Doug Coleman 63763caef4 tools.deploy.test.19: case sensitive on linux. 2016-03-17 22:50:13 -07:00
John Benediktsson 32b29f7079 io.files.info: cleanup by using with-temp-directory. 2016-03-17 17:51:36 -07:00
John Benediktsson 2e85dd2eb3 io.directories: simplify tests by using with-temp-directory. 2016-03-17 17:11:59 -07:00
John Benediktsson 0316a04c42 tools.deploy.test.19: make sure to test vocab urls. 2016-03-17 17:00:32 -07:00
Doug Coleman d4b8e44399 license rename: fix the rest of it. 2016-03-17 02:36:34 -07:00
John Benediktsson 73de6246b7 io.files.temp: use a startup hook as the temp directory could change from run to run. 2016-03-16 21:40:25 -07:00
Doug Coleman 2aadc94b10 io.files.temp: Initialize symbols after the backends are loaded. Top level code sucks. 2016-03-16 21:25:19 -07:00
John Benediktsson 33b6c0426d io.files.temp: allow changing of current temp and cache directory. 2016-03-16 15:19:10 -07:00
John Benediktsson 5f682c18de use the new bytes>hex-string. 2016-03-16 10:13:56 -07:00
John Benediktsson 497f8cb514 Update tests for LICENSE.txt rename. 2016-03-16 10:13:56 -07:00
Björn Lindqvist 707bc801a4 compiler.cfg.stacks.local: replace-sets values must be hash-sets (#1507)
The compiler hang was because { D: 3 D: 2 } was unequal to { D: 2 D: 3
}, so using a set should fix that.
2016-03-16 16:32:50 +01:00
Björn Lindqvist db9093dd5c compiler.cfg.stacks.*: new docs
Mostly from making comments into doc definitions
2016-03-16 15:21:42 +01:00
Björn Lindqvist f80513cd99 compiler.cfg.dataflow-analysis: removes the -analysis from the dfa token
It makes the FORWARD-ANALYSIS: and BACKWARD-ANALYSIS: functors less
magical if the generated singletons name is the same as in the syntax.
2016-03-16 14:40:58 +01:00
Björn Lindqvist 4a472d7882 compiler.cfg.builder.blocks: return the slots, they are absolutely
needed for bootstrap
2016-03-16 14:08:49 +01:00
Björn Lindqvist f906f1c282 compiler.cfg.*: the make-kill-block word is not needed 2016-03-16 12:26:03 +01:00
Björn Lindqvist 5ca571e304 compiler.cfg.builder.blocks: some cleanup 2016-03-16 11:48:31 +01:00
Björn Lindqvist 3a9b297b3b compiler.cfg.*: better stack effect for end-stack-analysis 2016-03-16 10:53:33 +01:00
John Benediktsson ee599e9dea functors: don't leak the bindings. 2016-03-15 16:12:37 -07:00
John Benediktsson 07c867846a documents: rename string-lines to split-lines so I don't get restarts. 2016-03-15 10:41:14 -07:00
John Benediktsson 51bafaeda4 locals.parser: move parse-binding to functors. 2016-03-15 10:34:07 -07:00
John Benediktsson ebfa9402d4 io.sockets.unix: using getsockopt doesn't need to recurse. 2016-03-14 08:42:54 -07:00
John Benediktsson 2cf223d863 http: fix tests for string-lines. 2016-03-13 20:01:58 -07:00
John Benediktsson 49ae6575d8 html.templates.fhtml: fix tests for string-lines. 2016-03-13 20:01:33 -07:00
John Benediktsson a3073bd15c documents: whoops, doc-lines conflicts with doc-lines. 2016-03-13 17:01:58 -07:00
Doug Coleman bb7161a46f io.sockets.secure.windows: Add some code for loading the certificates on
windows. Still disabled, and the CA certificates are duplicated.
2016-03-13 16:11:45 -07:00
Doug Coleman d9a39ce5e4 openssl.libssl: Use libcrypto on Windows instead of libeay or ssleay and
add a few more functions. Ugh.
2016-03-13 16:11:44 -07:00