]>
gitweb.factorcode.org Git - factor.git/log
John Benediktsson [Tue, 15 Mar 2016 02:34:20 +0000 (19:34 -0700)]
rename license.txt to LICENSE.txt to be more standard.
Doug Coleman [Tue, 15 Mar 2016 05:51:11 +0000 (22:51 -0700)]
run-desc: not sure what this is for.
Doug Coleman [Tue, 15 Mar 2016 05:47:36 +0000 (22:47 -0700)]
update: move to unmaintained.
John Benediktsson [Tue, 15 Mar 2016 02:31:27 +0000 (19:31 -0700)]
mason.release.tidy: inline the cleanup file into the one place it was used.
John Benediktsson [Mon, 14 Mar 2016 15:42:54 +0000 (08:42 -0700)]
io.sockets.unix: using getsockopt doesn't need to recurse.
John Benediktsson [Mon, 14 Mar 2016 03:02:09 +0000 (20:02 -0700)]
splitting: fix docs for string-lines.
John Benediktsson [Mon, 14 Mar 2016 03:01:58 +0000 (20:01 -0700)]
http: fix tests for string-lines.
John Benediktsson [Mon, 14 Mar 2016 03:01:33 +0000 (20:01 -0700)]
html.templates.fhtml: fix tests for string-lines.
John Benediktsson [Mon, 14 Mar 2016 02:58:53 +0000 (19:58 -0700)]
txon: fix for string-lines.
John Benediktsson [Mon, 14 Mar 2016 00:01:38 +0000 (17:01 -0700)]
documents: whoops, doc-lines conflicts with doc-lines.
John Benediktsson [Sun, 13 Mar 2016 23:56:23 +0000 (16:56 -0700)]
splitting: fix using.
Doug Coleman [Sun, 13 Mar 2016 23:10:43 +0000 (16:10 -0700)]
io.sockets.secure.windows: Add some code for loading the certificates on
windows. Still disabled, and the CA certificates are duplicated.
Doug Coleman [Sun, 13 Mar 2016 23:10:04 +0000 (16:10 -0700)]
openssl.libssl: Use libcrypto on Windows instead of libeay or ssleay and
add a few more functions. Ugh.
John Benediktsson [Sun, 13 Mar 2016 22:46:04 +0000 (15:46 -0700)]
splitting: make string-lines more correctly handle line terminator.
John Benediktsson [Sun, 13 Mar 2016 20:43:57 +0000 (13:43 -0700)]
io.sockets.unix: don't need these imports.
John Benediktsson [Sun, 13 Mar 2016 20:34:29 +0000 (13:34 -0700)]
io.sockets.unix: refactor getsockopt into get-socket-option.
John Benediktsson [Sun, 13 Mar 2016 20:15:45 +0000 (13:15 -0700)]
io.sockets.unix: adding tests for connection refused.
John Benediktsson [Sun, 13 Mar 2016 20:08:26 +0000 (13:08 -0700)]
io.sockets.unix: use getsockopt to check connect success.
John Benediktsson [Sun, 13 Mar 2016 20:08:07 +0000 (13:08 -0700)]
unix.ffi: adding getsockopt and some socket options.
John Benediktsson [Sun, 13 Mar 2016 14:57:11 +0000 (07:57 -0700)]
windows.crypt32: adding platforms.txt.
Doug Coleman [Sun, 13 Mar 2016 09:53:22 +0000 (01:53 -0800)]
windows.types: fix using
Doug Coleman [Sun, 13 Mar 2016 09:45:52 +0000 (01:45 -0800)]
io.sockets.secure.openssl: Fix docs.
Doug Coleman [Sun, 13 Mar 2016 09:34:22 +0000 (01:34 -0800)]
openssl.libssl: Adding some functions to work with certificates.
Doug Coleman [Sun, 13 Mar 2016 09:33:40 +0000 (01:33 -0800)]
windows: Adding crypt32 api for SSL certificate loading.
Doug Coleman [Sun, 13 Mar 2016 09:32:05 +0000 (01:32 -0800)]
windows.types: LPSTR is a utf8 string. Add LPTCSTR.
Björn Lindqvist [Sun, 13 Mar 2016 07:36:31 +0000 (08:36 +0100)]
FUEL: fix factor-symbol-at-point so it counts " as a symbol character
Björn Lindqvist [Sun, 13 Mar 2016 06:37:49 +0000 (07:37 +0100)]
compiler.codegen.relocation.tests: fix test so it works on windows too
Björn Lindqvist [Sun, 13 Mar 2016 06:37:20 +0000 (07:37 +0100)]
Docs: doc updates
Doug Coleman [Sun, 13 Mar 2016 04:18:19 +0000 (20:18 -0800)]
io.sockets.secure.openssl: Fix subject-name-match? for wildcard domains.
Also remove duplicate names before checking.
Benjamin Pollack [Sat, 12 Mar 2016 14:27:31 +0000 (09:27 -0500)]
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
Doug Coleman [Sat, 12 Mar 2016 06:29:31 +0000 (22:29 -0800)]
xml.write: Fix xml for spacing change.
Benjamin Pollack [Fri, 11 Mar 2016 21:18:29 +0000 (16:18 -0500)]
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.
Benjamin Pollack [Fri, 11 Mar 2016 16:16:18 +0000 (11:16 -0500)]
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.
Benjamin Pollack [Fri, 11 Mar 2016 18:12:26 +0000 (13:12 -0500)]
chloe: make self-closing tags support more idiomatic Factor
Benjamin Pollack [Fri, 11 Mar 2016 17:20:39 +0000 (12:20 -0500)]
command-line: document memory sizes as mebibytes/kibibytes
Benjamin Pollack [Fri, 11 Mar 2016 16:01:22 +0000 (11:01 -0500)]
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.)
Björn Lindqvist [Fri, 11 Mar 2016 09:01:27 +0000 (10:01 +0100)]
compiler.graphviz: this vocab can be removed I think
The compiler.cfg.graphviz vocab implements all its features and is more complete.
Björn Lindqvist [Fri, 11 Mar 2016 08:44:42 +0000 (09:44 +0100)]
graphviz.dot: fix escaping logic
It used escape the escape char \, but it shouldn't do that because it
leads to double escaping.
Björn Lindqvist [Fri, 11 Mar 2016 06:36:23 +0000 (07:36 +0100)]
FUEL: improved fontlocking
INTERSECTION: and SPECIALIZED-ARRAYS: should be highlighted better and
REQUIRE: and REQUIRES: is old removed syntax
Björn Lindqvist [Fri, 11 Mar 2016 06:11:47 +0000 (07:11 +0100)]
math.vectors.simd.intrinsics: the syntax for declaring simd intrinsics
isn't needed so it can be removed afaict
Björn Lindqvist [Fri, 11 Mar 2016 04:17:04 +0000 (05:17 +0100)]
Build: never dynlink with gui libs
Björn Lindqvist [Thu, 10 Mar 2016 03:11:23 +0000 (04:11 +0100)]
io.sockets.tests: these needs to be conditional, in case you are ipv4 only
Björn Lindqvist [Wed, 9 Mar 2016 07:53:16 +0000 (08:53 +0100)]
compiler.*: new tests
Björn Lindqvist [Wed, 9 Mar 2016 07:52:48 +0000 (08:52 +0100)]
compiler.cfg.*: new doc files
Björn Lindqvist [Tue, 8 Mar 2016 15:33:08 +0000 (16:33 +0100)]
compiler.cfg.intrinsics.fixnum: more docs and tests
Björn Lindqvist [Tue, 8 Mar 2016 15:30:25 +0000 (16:30 +0100)]
compiler.cfg.builder.blocks: removes assignments to basic-block variable
Now it isn't used at all in the cfg creation step.
Björn Lindqvist [Tue, 8 Mar 2016 13:38:48 +0000 (14:38 +0100)]
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.
Björn Lindqvist [Mon, 7 Mar 2016 05:40:27 +0000 (06:40 +0100)]
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.
Björn Lindqvist [Mon, 7 Mar 2016 03:42:28 +0000 (04:42 +0100)]
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.
Björn Lindqvist [Sat, 5 Mar 2016 07:30:00 +0000 (08:30 +0100)]
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.
Björn Lindqvist [Tue, 1 Mar 2016 17:04:12 +0000 (18:04 +0100)]
compiler.units: changes dynamic vars so that they are stack parameters instead
Benjamin Pollack [Wed, 9 Mar 2016 18:23:50 +0000 (13:23 -0500)]
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.
Doug Coleman [Wed, 9 Mar 2016 00:36:45 +0000 (16:36 -0800)]
tools.deploy: increase sizes for linux32
Jon Harper [Tue, 8 Mar 2016 14:05:37 +0000 (15:05 +0100)]
math.statistics, add docs for cum-sum0, add cum-product1 for symmetry
Jon Harper [Tue, 8 Mar 2016 14:04:57 +0000 (15:04 +0100)]
sequences-docs, improve consistency
Jon Harper [Tue, 8 Mar 2016 14:04:35 +0000 (15:04 +0100)]
rename math.statistics:cum-map to sequences:accumulate*
Doug Coleman [Tue, 8 Mar 2016 20:48:45 +0000 (12:48 -0800)]
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
Doug Coleman [Tue, 8 Mar 2016 18:01:50 +0000 (10:01 -0800)]
math.cpp: Fix two warnings. Fixes #1549.
Doug Coleman [Tue, 8 Mar 2016 17:21:28 +0000 (09:21 -0800)]
io.sockets: Default make-sockaddr-outgoing to make-sockaddr.
Jon Harper [Wed, 7 Oct 2015 22:08:34 +0000 (00:08 +0200)]
math.parser: simplify fix-float (from
16c93c78741 )
Jon Harper [Sun, 5 Jul 2015 19:53:14 +0000 (21:53 +0200)]
formatting, format numbers with C locale and document that it's english only
Jon Harper [Sun, 5 Jul 2015 19:52:41 +0000 (21:52 +0200)]
primitive_format_float, return empty string on bad locale instead of C++ exception
Jon Harper [Mon, 15 Jun 2015 22:29:02 +0000 (00:29 +0200)]
prettyprinter, locale independant float printing
Doug Coleman [Tue, 8 Mar 2016 12:45:55 +0000 (04:45 -0800)]
io.sockets.unix: Fix ipv6 sends for udp on osx.
Doug Coleman [Tue, 8 Mar 2016 10:24:09 +0000 (02:24 -0800)]
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.
Doug Coleman [Tue, 8 Mar 2016 00:58:56 +0000 (16:58 -0800)]
io.sockets: Fix send-once for inet6.
Doug Coleman [Mon, 7 Mar 2016 22:31:40 +0000 (14:31 -0800)]
Revert "io.sockets: Windows doesn't recognize 0.0.0.0. Add a method for"
This reverts commit
2c82dfb51ba6923c2e7dcf3fac5109ae9da528f2 .
Doug Coleman [Mon, 7 Mar 2016 21:59:17 +0000 (13:59 -0800)]
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.
Doug Coleman [Mon, 7 Mar 2016 21:23:24 +0000 (13:23 -0800)]
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.
Doug Coleman [Mon, 7 Mar 2016 21:21:30 +0000 (13:21 -0800)]
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.
Doug Coleman [Mon, 7 Mar 2016 19:56:39 +0000 (11:56 -0800)]
forestdb.lib: Got it compiled for win32. ``cmake -G "Visual Studio 14"
..`` vs ``cmake -G "Visual Studio 14 Win64" ..``
Doug Coleman [Sat, 5 Mar 2016 23:34:15 +0000 (15:34 -0800)]
alien.syntax: Add ENUM: example with c basetype.
Doug Coleman [Sat, 5 Mar 2016 23:15:43 +0000 (15:15 -0800)]
forestdb: Default config changed, change it back for Factor. Add more comments.
Caught up to commit
cce989f8ed66f1221fd57905123df79e35d5ff39
Doug Coleman [Sat, 5 Mar 2016 21:25:14 +0000 (13:25 -0800)]
forestdb.ffi: Add C types to the ENUM:s.
Doug Coleman [Sat, 5 Mar 2016 19:42:26 +0000 (11:42 -0800)]
README: https links instead of http.
John Benediktsson [Sat, 5 Mar 2016 17:51:37 +0000 (09:51 -0800)]
ip-parser: some cleanup, move ipv6 parsing here.
John Benediktsson [Sat, 5 Mar 2016 15:44:37 +0000 (07:44 -0800)]
libtls.ffi: fix platforms file to not have empty line.
Benjamin Pollack [Sat, 5 Mar 2016 14:56:18 +0000 (09:56 -0500)]
Import a few extra JSON tests from Jansson
Fixes #1189
Benjamin Pollack [Sat, 5 Mar 2016 14:11:56 +0000 (09:11 -0500)]
Make <inet4> and <ipv4> use ip-parser:parse-ipv4
Fixes #1209
Doug Coleman [Sat, 5 Mar 2016 11:02:38 +0000 (03:02 -0800)]
libtls.ffi: Depends on unix.types, fix Windows.
Doug Coleman [Sat, 5 Mar 2016 10:57:39 +0000 (02:57 -0800)]
io.sockets.secure.windows: Try to fix compile error.
Benjamin Pollack [Thu, 3 Mar 2016 19:24:54 +0000 (14:24 -0500)]
Allow specifying vocabulary roots on the command line
Fixes #1498
Benjamin Pollack [Fri, 4 Mar 2016 18:34:42 +0000 (13:34 -0500)]
Use proper SI prefixes in memory flag docs
Doug Coleman [Fri, 4 Mar 2016 18:42:35 +0000 (18:42 +0000)]
openssl: More ciphers.
Doug Coleman [Fri, 4 Mar 2016 18:05:09 +0000 (10:05 -0800)]
openssl: call SSL_CTX_set_ecdh_auto() for forward secrecy.
Doug Coleman [Fri, 4 Mar 2016 18:05:02 +0000 (10:05 -0800)]
openssl.libssl: Add more constants.
Doug Coleman [Fri, 4 Mar 2016 17:19:08 +0000 (09:19 -0800)]
openssl: support more protocols for forward secrecy.
Doug Coleman [Fri, 4 Mar 2016 17:15:12 +0000 (09:15 -0800)]
openssl: Prefer tls1.2. Only use secure ciphers.
Doug Coleman [Fri, 4 Mar 2016 17:14:49 +0000 (09:14 -0800)]
alien.libraries: Add a way to see if a dll has a function.
Doug Coleman [Fri, 4 Mar 2016 01:28:53 +0000 (17:28 -0800)]
command-line: More consistent command-line docs, fix MB -> kb for callback heap size
Doug Coleman [Fri, 4 Mar 2016 00:53:24 +0000 (16:53 -0800)]
command-line.startup: document more command line flags. we already have -nosignals, but it was hidden in the source code. Fix spacing for default image. Closes #1514.
Doug Coleman [Fri, 4 Mar 2016 00:15:11 +0000 (16:15 -0800)]
urls: fix docs
John Benediktsson [Thu, 3 Mar 2016 22:36:48 +0000 (14:36 -0800)]
hashtables: remove 2hashtable (not really used).
Doug Coleman [Thu, 3 Mar 2016 22:21:12 +0000 (14:21 -0800)]
urls: fix unit test
Benjamin Pollack [Thu, 3 Mar 2016 21:40:50 +0000 (16:40 -0500)]
Do not attempt to set an SNI hostname on a server
Doug Coleman [Thu, 3 Mar 2016 19:54:33 +0000 (11:54 -0800)]
core: I messed up the refactoring. with-scope should go away, but so should with-variables with an empty hashtable too.
Benjamin Pollack [Thu, 3 Mar 2016 17:45:03 +0000 (12:45 -0500)]
Add an SNI-based http.client test
Benjamin Pollack [Wed, 2 Mar 2016 23:29:59 +0000 (18:29 -0500)]
Add SNI support to Factor
Fixes #1527
Doug Coleman [Thu, 3 Mar 2016 01:18:42 +0000 (17:18 -0800)]
core: Don't use with-scope. H{ } clone [ ] with-variables is the same thing and is more explicit.
Doug Coleman [Thu, 3 Mar 2016 01:16:05 +0000 (17:16 -0800)]
hashtables: add a 2hashtable word that is like associate but for two key/value pairs.