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
John Benediktsson
ef2ae9c360
splitting: make string-lines more correctly handle line terminator.
2016-03-13 15:46:04 -07:00
John Benediktsson
a58a2ff7b0
io.sockets.unix: don't need these imports.
2016-03-13 13:43:57 -07:00
John Benediktsson
cd90435588
io.sockets.unix: refactor getsockopt into get-socket-option.
2016-03-13 13:34:29 -07:00
John Benediktsson
b3fbafcf92
io.sockets.unix: adding tests for connection refused.
2016-03-13 13:15:45 -07:00
John Benediktsson
3fdbbe0fea
io.sockets.unix: use getsockopt to check connect success.
2016-03-13 13:08:26 -07:00
John Benediktsson
5b3987a26f
unix.ffi: adding getsockopt and some socket options.
2016-03-13 13:08:07 -07:00
John Benediktsson
2845fb47c1
windows.crypt32: adding platforms.txt.
2016-03-13 07:57:11 -07:00
Doug Coleman
c906148e29
windows.types: fix using
2016-03-13 01:53:22 -08:00
Doug Coleman
460555785c
io.sockets.secure.openssl: Fix docs.
2016-03-13 01:45:52 -08:00
Doug Coleman
2398800829
openssl.libssl: Adding some functions to work with certificates.
2016-03-13 01:42:53 -08:00
Doug Coleman
f3eca53bf5
windows: Adding crypt32 api for SSL certificate loading.
2016-03-13 01:42:52 -08:00
Doug Coleman
aac36d1af8
windows.types: LPSTR is a utf8 string. Add LPTCSTR.
2016-03-13 01:42:51 -08:00
Björn Lindqvist
d62240a0a2
compiler.codegen.relocation.tests: fix test so it works on windows too
2016-03-13 07:37:49 +01:00
Björn Lindqvist
db4c4665f3
Docs: doc updates
2016-03-13 07:37:20 +01:00
Doug Coleman
df3f58ae61
io.sockets.secure.openssl: Fix subject-name-match? for wildcard domains.
...
Also remove duplicate names before checking.
2016-03-12 20:22:47 -08:00
Benjamin Pollack
b0d62bcdc3
io.sockets.secure: add SNI support for Windows
...
M: secure ((client)) is identical between Unix and Windows, so this probably
could be moved out of the platform-specific vocab, but doing it sanely would
require a refactor I'm not excited about, so punting on that for now.
Fixes #1551
2016-03-12 09:27:31 -05:00
Doug Coleman
8ce3ff3fab
xml.write: Fix xml for spacing change.
2016-03-11 22:29:31 -08:00
Benjamin Pollack
2ad91ce941
xml.writer: do not include meaningless extra whitespace in doctype
...
This is theoretically merely annoying, but since we're using the XML vocab in
tons of places as an overenthusiastic HTML generator, and HTML5 technically
mandates that the first token needs to be `<!DOCTYPE html>` full-stop, this had
to get fixed.
2016-03-11 18:20:55 -05:00
Benjamin Pollack
4ef42357e1
chloe/html: switch to HTML5 templates
...
Since XHTML is dead, and HTML5 isn't, switch to HTML5 templates for Chloe and
other key parts of our HTML subsystems. As part of this, I went through and
added DOCTYPE declarations to some of our examples as well.
2016-03-11 18:20:55 -05:00
Benjamin Pollack
512014a436
chloe: make self-closing tags support more idiomatic Factor
2016-03-11 13:13:43 -05:00
Benjamin Pollack
bbc5fe4b5b
command-line: document memory sizes as mebibytes/kibibytes
2016-03-11 12:31:48 -05:00
Benjamin Pollack
ed1ccc4448
chloe: ensure self-closing tags are self-closing
...
This gets us much closer to HTML5 compatibility, while not breaking the
existing XHTML functionality. (Indeed, the entire reason this is necessary is
that XHTML, being an XML derivative, treats `<foo></foo>` and `<foo />`
equivalently, whereas HTML5 does not.)
2016-03-11 11:01:22 -05:00
Björn Lindqvist
a0dba498aa
math.vectors.simd.intrinsics: the syntax for declaring simd intrinsics
...
isn't needed so it can be removed afaict
2016-03-11 07:11:47 +01:00
Björn Lindqvist
2713153273
io.sockets.tests: these needs to be conditional, in case you are ipv4 only
2016-03-10 04:11:23 +01:00
Björn Lindqvist
076abf04ce
compiler.*: new tests
2016-03-09 23:24:43 +01:00