]>
gitweb.factorcode.org Git - factor.git/log
Björn Lindqvist [Wed, 23 Nov 2016 03:00:08 +0000 (04:00 +0100)]
VM: removing array_to_stack() from the factor_vm class
John Benediktsson [Tue, 22 Nov 2016 17:18:04 +0000 (09:18 -0800)]
wikipedia: need to use string>xml since we do xml traversal.
Björn Lindqvist [Mon, 21 Nov 2016 21:30:20 +0000 (22:30 +0100)]
VM: removing the unused callstack-bounds primitive
Probably needs new boot images
Björn Lindqvist [Mon, 21 Nov 2016 19:40:25 +0000 (20:40 +0100)]
VM: better init of stdin, stdout and stderr
Björn Lindqvist [Mon, 21 Nov 2016 03:59:03 +0000 (04:59 +0100)]
python.tests: fix test that broke for unknown reason on python 2.7.12
Björn Lindqvist [Mon, 21 Nov 2016 03:47:48 +0000 (04:47 +0100)]
VM: ensuring all fields are initialized
Björn Lindqvist [Mon, 21 Nov 2016 03:04:04 +0000 (04:04 +0100)]
zeromq: let's see if the zeromq isssue is solved
it should be, knock on wood!
Björn Lindqvist [Sun, 20 Nov 2016 04:09:13 +0000 (05:09 +0100)]
Revert "Revert "urls: only create linked-hash if query is f." (#1513)"
This reverts commit
89d4f511f8b32a4d5928125ec6894856d41ded2e .
Björn Lindqvist [Sun, 20 Nov 2016 03:39:46 +0000 (04:39 +0100)]
zeromq.*: make the size of the zmq_msg_t buffer vary depending on library version
This could fix the mac 32bit failure. It maybe happened because the
buffer was too small and data was overwritten.
Björn Lindqvist [Sat, 19 Nov 2016 22:40:12 +0000 (23:40 +0100)]
io.sockets.secure.openssl.tests: fix so you dont get an error when test times out
Björn Lindqvist [Sat, 19 Nov 2016 22:24:51 +0000 (23:24 +0100)]
openssl.libssl.tests: removing stupid test that didn't work
you can't know beforehand which of the tls versions openssl supports.
Björn Lindqvist [Sat, 19 Nov 2016 18:05:53 +0000 (19:05 +0100)]
io.sockets.secure.openssl: set connected to t after do-ssl-accept
This should prevent the SSL_shutdown:shutdown while in init error we've
been seeing
Björn Lindqvist [Sat, 19 Nov 2016 17:04:17 +0000 (18:04 +0100)]
io.sockets.secure.openssl: second |dispose seem to be redundant
Björn Lindqvist [Sat, 19 Nov 2016 17:03:12 +0000 (18:03 +0100)]
openssl.libssl: new destructors, to make sure the tests doesnt leak
Björn Lindqvist [Sat, 19 Nov 2016 16:23:35 +0000 (17:23 +0100)]
openssl.libssl: trying to organize vocab a little better
like all the constants in one block, and functions grouped on their
method object
Björn Lindqvist [Sat, 19 Nov 2016 02:42:03 +0000 (03:42 +0100)]
openssl.libssl: remove the testing of SSLv2 and SSLv3
It caused spurious test errors on Arch and Ubuntu because they are
removing support for those protocols.
Björn Lindqvist [Sat, 19 Nov 2016 01:07:49 +0000 (02:07 +0100)]
io.files.info.unix.linux: handles the possible permission denied error in M: linux file-systems
Björn Lindqvist [Fri, 18 Nov 2016 22:39:53 +0000 (23:39 +0100)]
basis,extra: refactorings to use the ignore-error and ignore-error/f words
Björn Lindqvist [Fri, 18 Nov 2016 17:13:57 +0000 (18:13 +0100)]
continuations: new words for ignoring masked errors
it comes from the db.errors vocab but seems to be useful in lots of
situations
Björn Lindqvist [Fri, 18 Nov 2016 22:11:47 +0000 (23:11 +0100)]
mason.git: fix parsing of "git status" command
--porcelain option produces machine readable output. Then if the output
is empty, the working tree is clean. The exit code doesn't need to be
checked.
Björn Lindqvist [Fri, 18 Nov 2016 19:05:23 +0000 (20:05 +0100)]
couchdb: make it so couch-put and couch-post calls <json-post-data>
Björn Lindqvist [Fri, 18 Nov 2016 17:57:04 +0000 (18:57 +0100)]
couchdb: need to wrap in a <json-post-data> to send correct content-type
Björn Lindqvist [Fri, 18 Nov 2016 17:56:21 +0000 (18:56 +0100)]
couchdb.tests: use ensure-db so tests can be run multiple times
John Benediktsson [Fri, 18 Nov 2016 15:10:50 +0000 (07:10 -0800)]
sets.extras: rename duplicates-by to unique-by, hah.
John Benediktsson [Fri, 18 Nov 2016 14:59:07 +0000 (06:59 -0800)]
sets.extras: adding duplicates-by.
John Benediktsson [Wed, 16 Nov 2016 16:56:08 +0000 (08:56 -0800)]
zeromq: make "not tested" for right now, to test a theory.
John Benediktsson [Wed, 16 Nov 2016 04:52:07 +0000 (20:52 -0800)]
build.sh: print DEBUG.
Björn Lindqvist [Wed, 16 Nov 2016 04:23:54 +0000 (05:23 +0100)]
Revert "VM: cast to fixnum looks suspicious"
This reverts commit
5027830b0532f4d4905f64db19ef5bb410554879 .
Björn Lindqvist [Wed, 16 Nov 2016 03:02:58 +0000 (04:02 +0100)]
Revert "urls: only create linked-hash if query is f." (#1513)
This reverts commit
6d21a5a0731e6d5f0396673c5f7966434640a5c5 . Just
guessing here.
Björn Lindqvist [Tue, 15 Nov 2016 04:58:11 +0000 (05:58 +0100)]
VM: cast to fixnum looks suspicious
Björn Lindqvist [Tue, 15 Nov 2016 04:57:40 +0000 (05:57 +0100)]
VM: the else clause is not necessary
Björn Lindqvist [Tue, 15 Nov 2016 02:04:48 +0000 (03:04 +0100)]
compiler.cfg.linear-scan.assignment: correct representation used when spilling
Previously the rep-of word was used. But as the vregs representation can
change, you need to instead use the representation it uas as the spill
point.
Björn Lindqvist [Mon, 14 Nov 2016 21:56:33 +0000 (22:56 +0100)]
VM: next_block_after can be removed
Björn Lindqvist [Mon, 14 Nov 2016 02:21:34 +0000 (03:21 +0100)]
compiler.cfg.linear-scan: more tests
Björn Lindqvist [Mon, 14 Nov 2016 02:20:50 +0000 (03:20 +0100)]
compiler.cfg.*: more docs
Björn Lindqvist [Sun, 13 Nov 2016 17:46:13 +0000 (18:46 +0100)]
compiler.cfg.linear-scan.*: more tests
Björn Lindqvist [Sun, 13 Nov 2016 02:05:37 +0000 (03:05 +0100)]
compiler.cfg.linear-scan.allocation.spilling: <linked-hash>
John Benediktsson [Sun, 13 Nov 2016 20:38:09 +0000 (12:38 -0800)]
html.parser.printer: some improvements to text-printer.
- collapse spaces except within preformatted tags
- ignore <script> and <style> tags
- don't print dtd tags
Björn Lindqvist [Sat, 12 Nov 2016 23:22:21 +0000 (00:22 +0100)]
Revert "bootstrap: trying to undo changes from"
This reverts commit
7b3fb61ebd66f9872595e0c68c83b0899785ad59 .
John Benediktsson [Sat, 12 Nov 2016 15:56:55 +0000 (07:56 -0800)]
html.parser.printer: updated test.
John Benediktsson [Sat, 12 Nov 2016 15:49:09 +0000 (07:49 -0800)]
html.parser.printer: indent blockquote in text-printer.
Björn Lindqvist [Sat, 12 Nov 2016 00:52:43 +0000 (01:52 +0100)]
bootstrap: trying to undo changes from
a915d3bdb4eaaa12a85073a7e9abb1fe700d689b (#1513)
A lot of changes that built upon those changes had to be undone too. New
boot images is required.
Björn Lindqvist [Fri, 11 Nov 2016 23:19:52 +0000 (00:19 +0100)]
Björn Lindqvist [Fri, 11 Nov 2016 16:36:04 +0000 (17:36 +0100)]
Björn Lindqvist [Fri, 11 Nov 2016 12:18:10 +0000 (13:18 +0100)]
Chris Double [Thu, 10 Nov 2016 10:32:08 +0000 (23:32 +1300)]
Fix concurrency.distributed tests
Chris Double [Thu, 10 Nov 2016 09:23:41 +0000 (22:23 +1300)]
Fix serializing of remote threads in concurrency.distributed
The commit
f20ee7a53b264fda515d2a55c8fbea26261de016 broke
serialization of remote threads and removed the local node
aspect of distributed messaging. This corrects that.
John Benediktsson [Thu, 10 Nov 2016 23:38:47 +0000 (15:38 -0800)]
html.parser.printer: use with-variables instead of with-scope.
Björn Lindqvist [Thu, 10 Nov 2016 23:18:27 +0000 (00:18 +0100)]
compiler.tree.dead-code.simple: undo
e1b22e0af4e5fa6aff7551c3280bfe02e728caa3 (#1513)
This will likely cause some test failures. mac32 hopefully won't crash.
John Benediktsson [Thu, 10 Nov 2016 22:52:18 +0000 (14:52 -0800)]
html.parser.printer: tagstack isn't used here.
John Benediktsson [Thu, 10 Nov 2016 22:22:08 +0000 (14:22 -0800)]
html.entities: fix " unescape;
John Benediktsson [Thu, 10 Nov 2016 21:24:11 +0000 (13:24 -0800)]
colors.distances: needs to USE: math.trig.
John Benediktsson [Thu, 10 Nov 2016 18:34:08 +0000 (10:34 -0800)]
colors.hsv: make sure Hi is an integer.
John Benediktsson [Thu, 10 Nov 2016 18:23:10 +0000 (10:23 -0800)]
svg: fix tests to use deg>rad.
John Benediktsson [Thu, 10 Nov 2016 18:17:22 +0000 (10:17 -0800)]
math.trig: use deg>rad in a few places to reduce duplication.
John Benediktsson [Thu, 10 Nov 2016 17:08:29 +0000 (09:08 -0800)]
io.files.temp.unix: make default-cache-directory absolute-path.
John Benediktsson [Thu, 10 Nov 2016 04:24:49 +0000 (20:24 -0800)]
update Nmakefile to properly delete vm\factor.res.
John Benediktsson [Thu, 10 Nov 2016 00:50:14 +0000 (16:50 -0800)]
vocabs.cache: reset-cache only when vocabs forgotten, not created.
John Benediktsson [Thu, 10 Nov 2016 00:38:27 +0000 (16:38 -0800)]
vocabs: in create-vocab, notify-vocab-observers after updating dictionary.
John Benediktsson [Thu, 10 Nov 2016 00:28:49 +0000 (16:28 -0800)]
io.files.temp.unix: fix cache to be ~/.cache/factor.
John Benediktsson [Wed, 9 Nov 2016 23:41:54 +0000 (15:41 -0800)]
Revert "alien.parser: throw error if enum values don't fit c-type."
This reverts commit
2e326498a4ceca3eb6290dd969bc99d56777a526 .
John Benediktsson [Wed, 9 Nov 2016 23:39:59 +0000 (15:39 -0800)]
ui.tools.operations: making "See" an operation on words.
John Benediktsson [Wed, 9 Nov 2016 18:43:47 +0000 (10:43 -0800)]
io.buffers: refactor buffer-read-until to use buffer-find.
John Benediktsson [Wed, 9 Nov 2016 18:11:51 +0000 (10:11 -0800)]
io.buffers: adding another test of buffer-read-until.
John Benediktsson [Wed, 9 Nov 2016 17:56:34 +0000 (09:56 -0800)]
io.pipes: allow "|" separated strings in run-pipeline.
John Benediktsson [Wed, 9 Nov 2016 05:45:54 +0000 (21:45 -0800)]
alien.parser: throw error if enum values don't fit c-type.
John Benediktsson [Wed, 9 Nov 2016 05:37:51 +0000 (21:37 -0800)]
io.files.temp.unix: allowing TMPDIR to override /tmp.
John Benediktsson [Wed, 9 Nov 2016 05:24:34 +0000 (21:24 -0800)]
io.files.temp.unix: changing cache directory to use XDG spec.
Typically this means ~/.cache/factor.
John Benediktsson [Wed, 9 Nov 2016 05:23:22 +0000 (21:23 -0800)]
xdg: moving from extra/ to basis/.
John Benediktsson [Wed, 9 Nov 2016 05:10:58 +0000 (21:10 -0800)]
byte-arrays.hex: removing HEX{ ab cd ef } in favor of B{ 0xab 0xcd 0xef }.
John Benediktsson [Wed, 9 Nov 2016 04:57:26 +0000 (20:57 -0800)]
io.launcher: fix timeouts for process streams.
Björn Lindqvist [Wed, 9 Nov 2016 01:07:56 +0000 (02:07 +0100)]
John Benediktsson [Wed, 9 Nov 2016 00:05:26 +0000 (16:05 -0800)]
ui.theme: change deprecated background color also.
John Benediktsson [Tue, 8 Nov 2016 23:48:40 +0000 (15:48 -0800)]
ui.theme: make warning background color a light shade of red.
John Benediktsson [Tue, 8 Nov 2016 22:14:15 +0000 (14:14 -0800)]
progress-bars.models: rename <file-progress-display> to <progress-display>.
John Benediktsson [Tue, 8 Nov 2016 22:11:53 +0000 (14:11 -0800)]
progress-bars.models: fix typo in docs.
John Benediktsson [Tue, 8 Nov 2016 17:32:45 +0000 (09:32 -0800)]
db.sqlite: use temporary test.db for tests.
Björn Lindqvist [Tue, 8 Nov 2016 12:37:52 +0000 (13:37 +0100)]
Björn Lindqvist [Mon, 7 Nov 2016 22:43:50 +0000 (23:43 +0100)]
Björn Lindqvist [Mon, 7 Nov 2016 13:18:10 +0000 (14:18 +0100)]
John Benediktsson [Sun, 6 Nov 2016 20:08:58 +0000 (12:08 -0800)]
websites.factorcode: fix image-path example.
Björn Lindqvist [Sun, 6 Nov 2016 18:08:35 +0000 (19:08 +0100)]
compiler.tree.propagation.recursive: redoing
097b40ce4107e824acd83fdf1c024596e692f7d0 (#1513)
John Benediktsson [Wed, 2 Nov 2016 18:11:53 +0000 (11:11 -0700)]
gopher: use url encoding and decoding to work with weird filenames.
John Benediktsson [Wed, 2 Nov 2016 18:04:52 +0000 (11:04 -0700)]
ui.tools.listener: make all call-listener use with-ctrl-break.
John Benediktsson [Wed, 2 Nov 2016 18:00:23 +0000 (11:00 -0700)]
ui.gadgets.scrollers: minor cleanup using if*.
Alexander Iljin [Tue, 1 Nov 2016 22:56:18 +0000 (01:56 +0300)]
combinators.tuple-docs: add example code for make-tuple
Alexander Iljin [Tue, 1 Nov 2016 22:32:59 +0000 (01:32 +0300)]
Tag the spotlight vocab with the "macosx" platform
Alexander Iljin [Tue, 1 Nov 2016 21:54:10 +0000 (00:54 +0300)]
combinators.tuple-docs: fix wording
Alexander Iljin [Tue, 1 Nov 2016 18:51:37 +0000 (21:51 +0300)]
threads-docs: add a comment to the spawn article
Alexander Iljin [Tue, 1 Nov 2016 18:45:50 +0000 (21:45 +0300)]
threads-docs: drop the spawned thread in the example code
Alexander Iljin [Tue, 1 Nov 2016 17:34:34 +0000 (20:34 +0300)]
images.testing-docs: decapitalize "listener" for consistency
This was the only document that had "Listener" starting with capital "L".
Alexander Iljin [Tue, 1 Nov 2016 17:35:10 +0000 (20:35 +0300)]
listener-docs: fix wording
John Benediktsson [Wed, 2 Nov 2016 14:34:38 +0000 (07:34 -0700)]
Revert "alien.strings: change how string>{cpu,os} works."
This reverts commit
84fe3deff8e2b454c3dc936515597c1335590ea4 .
Probably doesn't work with deployed images that have stripped
word names, where name>> would return f.
John Benediktsson [Wed, 2 Nov 2016 03:21:12 +0000 (20:21 -0700)]
alien.strings: change how string>{cpu,os} works.
John Benediktsson [Wed, 2 Nov 2016 02:21:47 +0000 (19:21 -0700)]
vm: change where we set safepoints_fep to false to allow old Ctrl-C behavior.
John Benediktsson [Wed, 2 Nov 2016 02:21:36 +0000 (19:21 -0700)]
listener: minor formatting.
John Benediktsson [Wed, 2 Nov 2016 00:16:11 +0000 (17:16 -0700)]
system: adding new primitives.
Alexander Iljin [Tue, 1 Nov 2016 21:12:10 +0000 (00:12 +0300)]
listener-docs: document the Ctrl-Break handler support
Alexander Iljin [Tue, 1 Nov 2016 20:12:35 +0000 (23:12 +0300)]
system-docs: add article on Ctrl-Break handler
Alexander Iljin [Wed, 24 Aug 2016 00:27:07 +0000 (03:27 +0300)]
listener: don't activate the ctrl-break handler by default
To activate the ctrl-break handler, add the following code to your
.factor-rc:
USING: listener namespaces ; t handle-ctrl-break set-global