Commit Graph

29723 Commits (b51617db16e33b39310f55fcd598b4b01612d7eb)

Author SHA1 Message Date
Björn Lindqvist 2ba659dcb1 io.sockets.secure,alien.libraries: new word word>dlsym to replace the dlsym? word 2016-11-30 11:51:54 +01:00
Björn Lindqvist b42668ebeb compiler,stack-checker.dependencies: init-dependencies isn't needed 2016-11-30 07:29:10 +01:00
Björn Lindqvist e629f7b289 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".
2016-11-30 07:29:10 +01:00
John Benediktsson ef269c493c math.factorial: reverse-factorial only undo factorial.
The other way doesn't make sense.
2016-11-29 19:01:36 -08:00
John Benediktsson 13807172d4 inverse: cleanup using. 2016-11-29 17:02:01 -08:00
John Benediktsson 8bdaf26d6b math.factorials: implement "undo" for factorials. 2016-11-29 16:56:48 -08:00
John Benediktsson 1e2e2dc9f7 math.factorials: adding reverse-factorial. 2016-11-28 19:09:03 -08:00
Alexander Iljin 54feb5df6c trails: stop the thread when gadget is no longer visible 2016-11-28 09:40:41 -08:00
Alexander Iljin 429cdf3343 trails: name the thread for debugging 2016-11-28 09:40:41 -08:00
John Benediktsson ae09790c7c stack-checker.dependencies: +definition+ can't use $class-description.
Also, placeholders for +effect+ and +conditional+.
2016-11-28 09:38:44 -08:00
Björn Lindqvist d6eb6f2c76 compiler.crossref: better way to store the dependencies on words 2016-11-28 04:13:58 +01:00
Björn Lindqvist e842e41f49 stack-checker.dependencies: docs 2016-11-28 02:04:28 +01:00
Björn Lindqvist 14e8688112 stack-checker.dependencies: changes the names of the dependency constants
Now named using the +blah+ convention which we're using elsewhere for
symbolic constants.
2016-11-28 02:04:28 +01:00
Björn Lindqvist 99653bab91 compiler.crossref: better code for getting dependencies-of + tests 2016-11-28 02:04:28 +01:00
Björn Lindqvist 581e2e2a62 vocabs.metadata.resources,help.pdf: gather used 2016-11-28 02:04:28 +01:00
Björn Lindqvist fe0f2902a0 classes.mixin: add-mixin-instance doesn't need to be generic 2016-11-28 02:04:28 +01:00
Björn Lindqvist 6c73529525 compiler.codegen: we don't need the init-fixup word 2016-11-28 02:04:28 +01:00
Jon Harper 3d60f7ad5a 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
2016-11-27 07:45:28 -08:00
Jon Harper eb46e23eab trees.avl: fix typo in test 2016-11-27 07:45:28 -08:00
John Benediktsson 7465bd0ed6 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.
2016-11-27 07:35:26 -08:00
John Benediktsson 463b57f7c9 help.tutorial: use arrays for test output in first-program. 2016-11-26 22:33:55 -08:00
John Benediktsson dadff2f062 some cleanup. 2016-11-26 22:01:03 -08:00
John Benediktsson 72cf4fec47 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
2016-11-26 21:13:12 -08:00
Björn Lindqvist 3b0d5bba15 kernel.private: adding OBJ-SAMPLE-CALLSTACKS + test case 2016-11-24 05:11:46 +01:00
Björn Lindqvist 209feb4cbb FUEL: fix smie indentation of some syntax words 2016-11-24 05:00:12 +01:00
Björn Lindqvist 79dcce8f39 compiler.cfg.debugger: also print the instruction number
it's useful to see when debugging some compiler passes
2016-11-23 18:56:03 +01:00
Björn Lindqvist d73666b9d0 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.
2016-11-23 10:24:52 +01:00
Björn Lindqvist 0590ebf914 VM: storing some sample data in the heap ()
This is the first half of it. In the second half the samples array
should also be stored in the heap.
2016-11-23 09:44:17 +01:00
Björn Lindqvist 90b7f9ceb3 VM: here, going through the data_root isn't needed 2016-11-23 08:17:39 +01:00
Björn Lindqvist 9927c92cbd VM: better to use a "normal" for-loop here 2016-11-23 06:42:06 +01:00
Björn Lindqvist 7661ed3b57 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.
2016-11-23 06:42:06 +01:00
Björn Lindqvist 3b3cc151e9 VM: removing factor_vm::init_contexts() 2016-11-23 06:42:06 +01:00
Björn Lindqvist 1a646d3379 VM: removing array_to_stack() from the factor_vm class 2016-11-23 06:42:06 +01:00
John Benediktsson 6955823107 wikipedia: need to use string>xml since we do xml traversal. 2016-11-22 09:18:04 -08:00
Björn Lindqvist c55a6ef873 VM: removing the unused callstack-bounds primitive
Probably needs new boot images
2016-11-21 22:30:20 +01:00
Björn Lindqvist e4bdbf1503 VM: better init of stdin, stdout and stderr 2016-11-21 20:40:25 +01:00
Björn Lindqvist 40c277499d python.tests: fix test that broke for unknown reason on python 2.7.12 2016-11-21 04:59:03 +01:00
Björn Lindqvist 9055ff5189 VM: ensuring all fields are initialized 2016-11-21 04:47:48 +01:00
Björn Lindqvist a76c951769 zeromq: let's see if the zeromq isssue is solved
it should be, knock on wood!
2016-11-21 04:04:04 +01:00
Björn Lindqvist 2a21052950 Revert "Revert "urls: only create linked-hash if query is f." ()"
This reverts commit 89d4f511f8.
2016-11-20 05:09:13 +01:00
Björn Lindqvist 0f989321b7 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.
2016-11-20 04:39:46 +01:00
Björn Lindqvist 0e7fd0340d io.sockets.secure.openssl.tests: fix so you dont get an error when test times out 2016-11-19 23:40:12 +01:00
Björn Lindqvist 861b0eacd7 openssl.libssl.tests: removing stupid test that didn't work
you can't know beforehand which of the tls versions openssl supports.
2016-11-19 23:24:51 +01:00
Björn Lindqvist c6361436bf 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
2016-11-19 19:05:53 +01:00
Björn Lindqvist 1b7b7e8260 io.sockets.secure.openssl: second |dispose seem to be redundant 2016-11-19 18:04:17 +01:00
Björn Lindqvist cc6f03f5b5 openssl.libssl: new destructors, to make sure the tests doesnt leak 2016-11-19 18:03:12 +01:00
Björn Lindqvist 317a832a86 openssl.libssl: trying to organize vocab a little better
like all the constants in one block, and functions grouped on their
method object
2016-11-19 17:27:50 +01:00
Björn Lindqvist 1448531b24 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.
2016-11-19 03:42:03 +01:00
Björn Lindqvist a1c503c6e4 io.files.info.unix.linux: handles the possible permission denied error in M: linux file-systems 2016-11-19 02:07:49 +01:00
Björn Lindqvist 00d4572e6c basis,extra: refactorings to use the ignore-error and ignore-error/f words 2016-11-18 23:41:36 +01:00