]>
gitweb.factorcode.org Git - factor.git/log
Björn Lindqvist [Fri, 18 Mar 2016 19:21:51 +0000 (20:21 +0100)]
bootstrap.primitives: new predicate integer-array-capacity
It is to be used to declare values for better optimizations.
Björn Lindqvist [Fri, 18 Mar 2016 15:28:01 +0000 (16:28 +0100)]
compiler.tree.cleanup: more docs and a test
Björn Lindqvist [Fri, 18 Mar 2016 10:23:20 +0000 (11:23 +0100)]
compiler.tree.dead-code.simple: tests and more docs
John Benediktsson [Fri, 18 Mar 2016 17:57:54 +0000 (10:57 -0700)]
io.files.unique: change to create unique files and directories relative to the current-directory.
John Benediktsson [Fri, 18 Mar 2016 17:36:16 +0000 (10:36 -0700)]
io.monitors: change tests to not use unique because it only ever used temp-file.
John Benediktsson [Fri, 18 Mar 2016 17:32:49 +0000 (10:32 -0700)]
io.launcher.unix: simplify use of temp-directory.
Doug Coleman [Fri, 18 Mar 2016 05:50:13 +0000 (22:50 -0700)]
tools.deploy.test.19: case sensitive on linux.
John Benediktsson [Fri, 18 Mar 2016 00:51:36 +0000 (17:51 -0700)]
io.files.info: cleanup by using with-temp-directory.
John Benediktsson [Fri, 18 Mar 2016 00:11:59 +0000 (17:11 -0700)]
io.directories: simplify tests by using with-temp-directory.
John Benediktsson [Fri, 18 Mar 2016 00:00:32 +0000 (17:00 -0700)]
tools.deploy.test.19: make sure to test vocab urls.
Doug Coleman [Thu, 17 Mar 2016 09:39:38 +0000 (02:39 -0700)]
.gitignore: remove temp so that we can search io.files.temp. remove
_darcs.
Doug Coleman [Thu, 17 Mar 2016 09:36:34 +0000 (02:36 -0700)]
license rename: fix the rest of it.
John Benediktsson [Thu, 17 Mar 2016 04:40:25 +0000 (21:40 -0700)]
io.files.temp: use a startup hook as the temp directory could change from run to run.
Doug Coleman [Thu, 17 Mar 2016 04:25:19 +0000 (21:25 -0700)]
io.files.temp: Initialize symbols after the backends are loaded. Top level code sucks.
John Benediktsson [Wed, 16 Mar 2016 22:19:10 +0000 (15:19 -0700)]
io.files.temp: allow changing of current temp and cache directory.
John Benediktsson [Wed, 16 Mar 2016 19:36:08 +0000 (12:36 -0700)]
parser: fix docs typo.
John Benediktsson [Wed, 16 Mar 2016 19:11:14 +0000 (12:11 -0700)]
graphviz: use cleanup-unique-working-directory now.
John Benediktsson [Wed, 16 Mar 2016 17:13:25 +0000 (10:13 -0700)]
core: use $sequence help-markup in a few places.
John Benediktsson [Wed, 16 Mar 2016 17:12:48 +0000 (10:12 -0700)]
use the new bytes>hex-string.
John Benediktsson [Wed, 16 Mar 2016 17:02:25 +0000 (10:02 -0700)]
math.parser: adding bytes>hex-string and hex-string>bytes.
John Benediktsson [Wed, 16 Mar 2016 16:59:42 +0000 (09:59 -0700)]
Update tests for LICENSE.txt rename.
John Benediktsson [Wed, 16 Mar 2016 16:58:09 +0000 (09:58 -0700)]
Rename license.txt to LICENSE.txt.
Björn Lindqvist [Wed, 16 Mar 2016 15:29:49 +0000 (16:29 +0100)]
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.
Björn Lindqvist [Wed, 16 Mar 2016 15:18:23 +0000 (16:18 +0100)]
system: these words can't be foldable
Because they will return new values if you update the VM.
Björn Lindqvist [Wed, 16 Mar 2016 14:21:42 +0000 (15:21 +0100)]
compiler.cfg.stacks.*: new docs
Mostly from making comments into doc definitions
Björn Lindqvist [Wed, 16 Mar 2016 13:37:33 +0000 (14:37 +0100)]
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.
Björn Lindqvist [Wed, 16 Mar 2016 13:28:09 +0000 (14:28 +0100)]
Build: fix makefile to work with new script path
Björn Lindqvist [Wed, 16 Mar 2016 13:08:49 +0000 (14:08 +0100)]
compiler.cfg.builder.blocks: return the slots, they are absolutely
needed for bootstrap
Björn Lindqvist [Wed, 16 Mar 2016 11:26:03 +0000 (12:26 +0100)]
compiler.cfg.*: the make-kill-block word is not needed
Björn Lindqvist [Wed, 16 Mar 2016 10:48:31 +0000 (11:48 +0100)]
compiler.cfg.builder.blocks: some cleanup
Björn Lindqvist [Tue, 15 Mar 2016 23:09:55 +0000 (00:09 +0100)]
compiler.cfg.*: better stack effect for end-stack-analysis
Doug Coleman [Tue, 15 Mar 2016 07:22:01 +0000 (00:22 -0700)]
bitly: move from bit.ly to bitly.
John Benediktsson [Tue, 15 Mar 2016 23:12:37 +0000 (16:12 -0700)]
functors: don't leak the bindings.
John Benediktsson [Tue, 15 Mar 2016 17:41:14 +0000 (10:41 -0700)]
documents: rename string-lines to split-lines so I don't get restarts.
John Benediktsson [Tue, 15 Mar 2016 17:34:07 +0000 (10:34 -0700)]
locals.parser: move parse-binding to functors.
John Benediktsson [Tue, 15 Mar 2016 14:56:14 +0000 (07:56 -0700)]
Revert "rename license.txt to LICENSE.txt to be more standard."
This reverts commit
a1ea69ff7b216865898f73eb68d9d6c4bceb8a54 .
John Benediktsson [Tue, 15 Mar 2016 10:19:54 +0000 (03:19 -0700)]
mason.release.tidy: add build.(sh|cmd).
John Benediktsson [Tue, 15 Mar 2016 10:16:33 +0000 (03:16 -0700)]
moving build-support/factor.(sh|cmd) to ./build.(sh|cmd).
John Benediktsson [Tue, 15 Mar 2016 10:14:22 +0000 (03:14 -0700)]
mason.release.tidy: don't need with-resource-directory.
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