]>
gitweb.factorcode.org Git - factor.git/log
John Benediktsson [Thu, 22 Dec 2016 13:50:31 +0000 (05:50 -0800)]
webapps.calculator: fix using.
John Benediktsson [Wed, 21 Dec 2016 23:25:00 +0000 (15:25 -0800)]
google.charts: make the tests check more things.
Alexander Iljin [Tue, 13 Dec 2016 15:31:02 +0000 (18:31 +0300)]
Make sure URLs are cloned before using set-query-param on them
Alexander Iljin [Tue, 13 Dec 2016 13:41:38 +0000 (16:41 +0300)]
google.charts: fix side-effects of set-query-param, add tests
Alexander Iljin [Wed, 14 Dec 2016 13:40:49 +0000 (16:40 +0300)]
vocabs.loader: stop add-vocab-root spawning extra monitoring threads
This fixes issue #1758.
Björn Lindqvist [Sun, 18 Dec 2016 15:02:25 +0000 (16:02 +0100)]
graphviz.render: forgot to change open-file to open-item
Björn Lindqvist [Sun, 18 Dec 2016 03:13:37 +0000 (04:13 +0100)]
webbrowser.windows: calling absolute-path doesnt work on urls (#1759)
Björn Lindqvist [Sun, 18 Dec 2016 03:12:56 +0000 (04:12 +0100)]
tools.deploy.*: new word maybe-open-deploy-directory
Björn Lindqvist [Sun, 18 Dec 2016 02:23:24 +0000 (03:23 +0100)]
webbrowser: let's change the name open-file -> open-item
Because the word can open more stuff than just files.
Björn Lindqvist [Sun, 18 Dec 2016 01:58:04 +0000 (02:58 +0100)]
farkup,webbrowser: better url validation
Björn Lindqvist [Wed, 14 Dec 2016 23:49:38 +0000 (00:49 +0100)]
VM: undo
7d9bad465ca447dc5b407044a6ce4f49c4f40686
It cause the code heap to run out of memory to soon and without growth,
it crashed windows.
Björn Lindqvist [Wed, 14 Dec 2016 23:29:37 +0000 (00:29 +0100)]
VM: this struct isn't used anymore
Björn Lindqvist [Fri, 9 Dec 2016 10:53:59 +0000 (11:53 +0100)]
tools.memory: moving the code-block types to the vm vocab
Björn Lindqvist [Fri, 9 Dec 2016 10:37:37 +0000 (11:37 +0100)]
tools.memory: fix code-room. word, no more profiling stubs
Björn Lindqvist [Tue, 6 Dec 2016 21:19:02 +0000 (22:19 +0100)]
stack-checker.dependencies: moving the add-depends-on-class word + new docs
John Benediktsson [Wed, 7 Dec 2016 00:31:33 +0000 (16:31 -0800)]
tools.deprecation: use filter-word-defs.
Björn Lindqvist [Tue, 6 Dec 2016 08:08:42 +0000 (09:08 +0100)]
parser.tests: fix test that broke
Björn Lindqvist [Mon, 5 Dec 2016 16:08:23 +0000 (17:08 +0100)]
compiler.*: places where filter-word-defs can be used
Björn Lindqvist [Mon, 5 Dec 2016 16:01:39 +0000 (17:01 +0100)]
classes.*: new words contained-classes and all-contained-classes
it is to generalize the logic used for checking if union classes
self-references
John Benediktsson [Tue, 6 Dec 2016 00:00:37 +0000 (16:00 -0800)]
locals.parser: use with-variables instead of with-scope.
John Benediktsson [Mon, 5 Dec 2016 23:56:30 +0000 (15:56 -0800)]
locals.parser: maybe we can use unuse-words.
John Benediktsson [Mon, 5 Dec 2016 18:38:26 +0000 (10:38 -0800)]
xml.entities: use with-variable in with-entities.
John Benediktsson [Mon, 5 Dec 2016 18:35:01 +0000 (10:35 -0800)]
xmode.loader: use with-variable instead of with-scope.
Björn Lindqvist [Mon, 5 Dec 2016 08:40:29 +0000 (09:40 +0100)]
webapps.calculator: using run-test-httpd word
Björn Lindqvist [Mon, 5 Dec 2016 07:55:32 +0000 (08:55 +0100)]
compiler.units: utility word filter-word-defs
requires new boot images
Björn Lindqvist [Mon, 5 Dec 2016 07:49:31 +0000 (08:49 +0100)]
linked-assocs: fixing stack effect
Björn Lindqvist [Sat, 3 Dec 2016 14:50:55 +0000 (15:50 +0100)]
stack-checker.dependencies: removing the add-depends-on-<blah> words
Björn Lindqvist [Sat, 3 Dec 2016 12:16:08 +0000 (13:16 +0100)]
basis/,extra/: using parse-array-def in a bunch of places
Björn Lindqvist [Sat, 3 Dec 2016 11:56:47 +0000 (12:56 +0100)]
parser: new parsing word parse-array-def
The idea behind this word is that in many cases parsing to an array is
much more convenient than parsing to a quotation.
Björn Lindqvist [Thu, 1 Dec 2016 18:52:02 +0000 (19:52 +0100)]
compiler.cfg.builder.alien.tests: fix test that broke windows
Björn Lindqvist [Wed, 30 Nov 2016 18:10:53 +0000 (19:10 +0100)]
alien.libraries.tests: fix for test that broke windows
John Benediktsson [Wed, 30 Nov 2016 17:21:42 +0000 (09:21 -0800)]
images.loader.gtk: remove call to deprecated g_type_init.
Björn Lindqvist [Wed, 30 Nov 2016 14:05:38 +0000 (15:05 +0100)]
cpu.*: docs
Björn Lindqvist [Wed, 30 Nov 2016 13:42:29 +0000 (14:42 +0100)]
compiler.cfg.*,compiler.tree.*: more docs and tests
Björn Lindqvist [Wed, 30 Nov 2016 13:34:28 +0000 (14:34 +0100)]
dlists,http,ui.gadgets.*: nicer formatting of tuples
Björn Lindqvist [Wed, 30 Nov 2016 13:28:39 +0000 (14:28 +0100)]
VM: don't need the data_roots here
Björn Lindqvist [Wed, 30 Nov 2016 15:34:53 +0000 (16:34 +0100)]
alien.libraries: word>dlsym was a stupid idea that didn't work
The def>> attribute is stripped when deploying. So return dlsym? and use
that.
Björn Lindqvist [Wed, 30 Nov 2016 10:57:14 +0000 (11:57 +0100)]
images.loader.gtk: startup hook for type registration
Björn Lindqvist [Wed, 30 Nov 2016 10:46:40 +0000 (11:46 +0100)]
io.sockets.secure,alien.libraries: new word word>dlsym to replace the dlsym? word
Björn Lindqvist [Tue, 29 Nov 2016 04:21:09 +0000 (05:21 +0100)]
compiler,stack-checker.dependencies: init-dependencies isn't needed
Björn Lindqvist [Mon, 28 Nov 2016 05:33:58 +0000 (06:33 +0100)]
compiler.crossref: changes the way in which dependencies are stored on words
Previosly, they were stored in three sequences in the properties
"conditional-dependencies" "effect-dependencies" and
"definition-dependencies". It seem to better to store all three
types in one big property called "dependencies".
John Benediktsson [Wed, 30 Nov 2016 03:01:36 +0000 (19:01 -0800)]
math.factorial: reverse-factorial only undo factorial.
The other way doesn't make sense.
John Benediktsson [Wed, 30 Nov 2016 01:02:01 +0000 (17:02 -0800)]
inverse: cleanup using.
John Benediktsson [Wed, 30 Nov 2016 00:56:48 +0000 (16:56 -0800)]
math.factorials: implement "undo" for factorials.
John Benediktsson [Tue, 29 Nov 2016 03:09:03 +0000 (19:09 -0800)]
math.factorials: adding reverse-factorial.
Alexander Iljin [Sun, 27 Nov 2016 21:36:25 +0000 (00:36 +0300)]
trails: stop the thread when gadget is no longer visible
Alexander Iljin [Sun, 27 Nov 2016 21:35:34 +0000 (00:35 +0300)]
trails: name the thread for debugging
John Benediktsson [Mon, 28 Nov 2016 17:38:44 +0000 (09:38 -0800)]
stack-checker.dependencies: +definition+ can't use $class-description.
Also, placeholders for +effect+ and +conditional+.
Björn Lindqvist [Mon, 28 Nov 2016 03:13:58 +0000 (04:13 +0100)]
compiler.crossref: better way to store the dependencies on words
Björn Lindqvist [Sat, 26 Nov 2016 15:09:16 +0000 (16:09 +0100)]
stack-checker.dependencies: docs
Björn Lindqvist [Sat, 26 Nov 2016 14:44:09 +0000 (15:44 +0100)]
stack-checker.dependencies: changes the names of the dependency constants
Now named using the +blah+ convention which we're using elsewhere for
symbolic constants.
Björn Lindqvist [Sat, 26 Nov 2016 11:58:09 +0000 (12:58 +0100)]
compiler.crossref: better code for getting dependencies-of + tests
Björn Lindqvist [Sat, 26 Nov 2016 08:40:54 +0000 (09:40 +0100)]
vocabs.metadata.resources,help.pdf: gather used
Björn Lindqvist [Sat, 26 Nov 2016 08:16:32 +0000 (09:16 +0100)]
classes.mixin: add-mixin-instance doesn't need to be generic
Björn Lindqvist [Fri, 25 Nov 2016 14:59:46 +0000 (15:59 +0100)]
compiler.codegen: we don't need the init-fixup word
Jon Harper [Sun, 27 Nov 2016 13:49:35 +0000 (14:49 +0100)]
trees.avl: fix it (broken since 2010)
rotate creates cycles in the tree and drops nodes...
This either breaks everything (infinite recursion) or silently
loses data.
Improve the tests to ensure rotate does what it's supposed to do.
This is a partial revert from
15226d8
Jon Harper [Sun, 27 Nov 2016 13:37:11 +0000 (14:37 +0100)]
trees.avl: fix typo in test
John Benediktsson [Sun, 27 Nov 2016 15:35:26 +0000 (07:35 -0800)]
io.launcher: wait for new processes faster.
This starts at 5 milliseconds, then backs off 5 milliseconds at a time,
until 100 milliseconds. In case the processes are short-lived, they
will be detected sooner, and long-running processes will still be checked
at intervals of 100 millseconds like before.
John Benediktsson [Sun, 27 Nov 2016 06:33:55 +0000 (22:33 -0800)]
help.tutorial: use arrays for test output in first-program.
John Benediktsson [Sun, 27 Nov 2016 06:01:03 +0000 (22:01 -0800)]
some cleanup.
John Benediktsson [Sun, 27 Nov 2016 05:13:12 +0000 (21:13 -0800)]
colors.hex: support varying length hex notations.
6 characters: rrggbb (1.0 alpha)
8 characters: rrggbbaa
3 characters: rgb (1.0 alpha)
4 characters: rgba
Björn Lindqvist [Thu, 24 Nov 2016 04:11:46 +0000 (05:11 +0100)]
kernel.private: adding OBJ-SAMPLE-CALLSTACKS + test case
Björn Lindqvist [Thu, 24 Nov 2016 04:00:12 +0000 (05:00 +0100)]
FUEL: fix smie indentation of some syntax words
Björn Lindqvist [Wed, 23 Nov 2016 17:56:03 +0000 (18:56 +0100)]
compiler.cfg.debugger: also print the instruction number
it's useful to see when debugging some compiler passes
Björn Lindqvist [Wed, 23 Nov 2016 09:20:09 +0000 (10:20 +0100)]
VM: the unimplemented error isn't used anymore
Cause all the primitives are implemented so it can never ever be
thrown. Probably requires new boot images.
Björn Lindqvist [Wed, 23 Nov 2016 08:44:17 +0000 (09:44 +0100)]
VM: storing some sample data in the heap (#337)
This is the first half of it. In the second half the samples array
should also be stored in the heap.
Björn Lindqvist [Wed, 23 Nov 2016 07:17:39 +0000 (08:17 +0100)]
VM: here, going through the data_root isn't needed
Björn Lindqvist [Wed, 23 Nov 2016 05:01:57 +0000 (06:01 +0100)]
VM: better to use a "normal" for-loop here
Björn Lindqvist [Wed, 23 Nov 2016 02:25:07 +0000 (03:25 +0100)]
VM: replacing the copy assignment operators of the smart pointers
Little more to write, but much easier to see what is going on with
methods rather than assignment operator overloading.
Björn Lindqvist [Wed, 23 Nov 2016 02:50:28 +0000 (03:50 +0100)]
VM: removing factor_vm::init_contexts()
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