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
Björn Lindqvist
b51bd79819
compiler.cfg.*: new doc files
2016-03-09 23:24:43 +01:00
Björn Lindqvist
442827ade9
compiler.cfg.intrinsics.fixnum: more docs and tests
2016-03-09 23:24:43 +01:00
Björn Lindqvist
b27634bff7
compiler.cfg.builder.blocks: removes assignments to basic-block variable
...
Now it isn't used at all in the cfg creation step.
2016-03-09 23:24:43 +01:00
Björn Lindqvist
9df955e199
compiler.cfg.*: big changes which removes the last basic-block uses
...
All intrinsic code generating words signatures are changed from ( node
-- ) to ( block node -- block' ) so the current block is now always
passed on the stack.
2016-03-09 23:24:42 +01:00
Björn Lindqvist
482998974b
compiler.cfg.*: more refactoring to remove basic-block get:s
...
Now almost all words pass around the current basic block on the
stack. Left is updating all intrinsics.
2016-03-09 23:24:42 +01:00
Björn Lindqvist
f9c6d7cc43
compiler.cfg.*: changes to remove basic-block variable
...
The emit-node generics signature is changed to ( block node -- block' )
so that it always returns the next block to operate on. Signature for a
lot of related words are changed similarily. Now there is only a few
basic-block usages left.
2016-03-09 23:24:42 +01:00
Björn Lindqvist
07adc2ecae
compiler.cfg.*: changed generic emit-node to take the current block as
...
stack parameter
The idea is to eventually completely remove the basic-block dynamic
variable from cfg construction.
2016-03-09 23:24:42 +01:00
Benjamin Pollack
915a7ec1e2
Make VSC work on OS X again
...
`-r` isn't an argument to `open`, and `-n` seems exactly the opposite of what
we want in most circumstances.
2016-03-09 13:23:50 -05:00
Doug Coleman
a1e3476617
tools.deploy: increase sizes for linux32
2016-03-08 16:36:45 -08:00
Jon Harper
43be523e31
math.statistics, add docs for cum-sum0, add cum-product1 for symmetry
2016-03-08 13:41:54 -08:00
Jon Harper
cb6ddb1735
rename math.statistics:cum-map to sequences:accumulate*
2016-03-08 13:41:54 -08:00
Doug Coleman
a4804621af
windows openssl, libtls: Use the libressl dlls for SSL.
...
http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/
http://downloads.factorcode.org/dlls/
libcrypt-37.dll
libssl-38.dll
libtls-10.dll
2016-03-08 12:48:45 -08:00
Doug Coleman
a1f3378365
io.sockets: Default make-sockaddr-outgoing to make-sockaddr.
2016-03-08 09:21:49 -08:00
Jon Harper
cac9b58f11
formatting, format numbers with C locale and document that it's english only
2016-03-08 07:55:25 -08:00
Jon Harper
19fadb6c96
prettyprinter, locale independant float printing
2016-03-08 07:55:25 -08:00
Doug Coleman
3cd2775855
io.sockets.unix: Fix ipv6 sends for udp on osx.
2016-03-08 04:46:26 -08:00
Doug Coleman
a12a56f777
io.sockets: Special-case 0.0.0.0 and f for outgoing sockets so we can use
...
them on windows. Add some tests that shouldn't fail. Fixes #85 .
2016-03-08 02:27:01 -08:00
Doug Coleman
027a9fb1a2
io.sockets: Fix send-once for inet6.
2016-03-07 16:58:56 -08:00
Doug Coleman
05a8ac2423
Revert "io.sockets: Windows doesn't recognize 0.0.0.0. Add a method for"
...
This reverts commit 2c82dfb51b
.
2016-03-07 14:31:40 -08:00
Doug Coleman
2c82dfb51b
io.sockets: Windows doesn't recognize 0.0.0.0. Add a method for
...
resolve-localhost for Windows, and make the default ipv4 make-sockaddr use
127.0.0.1 since we are making a sockaddr for ipv4 anyway and 127.0.0.1 is
cross-platform. Fixes #85 .
2016-03-07 14:07:01 -08:00
Doug Coleman
253de1dc8e
editors.visual-studio-code: msft changed the install directory to
...
c:\program files (x86). Now we don't need the platform-specific windows
file.
Also, add -r option to reuse existing windows.
2016-03-07 13:23:24 -08:00
Doug Coleman
334cc880ec
io.standard-paths.windows: We call >lower on the paths being compared, but
...
not on the original file we are looking for. So searching for something
like "Code.exe" would never find it. Fixed.
2016-03-07 13:21:30 -08:00
Doug Coleman
0f994c9924
alien.syntax: Add ENUM: example with c basetype.
2016-03-05 15:34:15 -08:00
John Benediktsson
ee134373f0
ip-parser: some cleanup, move ipv6 parsing here.
2016-03-05 09:51:37 -08:00
Benjamin Pollack
efd22a668f
Import a few extra JSON tests from Jansson
...
Fixes #1189
2016-03-05 07:03:12 -08:00
Benjamin Pollack
e707374085
Make <inet4> and <ipv4> use ip-parser:parse-ipv4
...
Fixes #1209
2016-03-05 09:11:56 -05:00
Doug Coleman
a303637850
io.sockets.secure.windows: Try to fix compile error.
2016-03-05 02:57:39 -08:00
Benjamin Pollack
37f047c1df
Allow specifying vocabulary roots on the command line
...
Fixes #1498
2016-03-04 10:51:21 -08:00
Benjamin Pollack
9a4fc29c07
Use proper SI prefixes in memory flag docs
2016-03-04 10:48:21 -08:00
Doug Coleman
c077ee91e9
openssl: More ciphers.
2016-03-04 18:42:35 +00:00
Doug Coleman
46c9143232
openssl: call SSL_CTX_set_ecdh_auto() for forward secrecy.
2016-03-04 10:05:09 -08:00
Doug Coleman
777528fd40
openssl.libssl: Add more constants.
2016-03-04 10:05:02 -08:00