Commit Graph

12791 Commits (8073c8a77ebe92afd120d8e3cb89fdab96d0dba1)

Author SHA1 Message Date
Benjamin Pollack 8073c8a77e Update OpenSSL calls to work with LibreSSL/newer OpenSSL
RSA_generate_key has been deprecated, and is not available in either
LibreSSL or newer OpenSSL that are not compiled with deprecated call
support. This commit switches to the still-supported
RSA_generate_key_ex, which is supported by both libraries.

Note that this is still insufficient for Factor to work under LibreSSL,
though we now get a call further than before.
2016-02-22 14:21:39 -08:00
Doug Coleman 69d5a3a276 io.sockets: remove send-n-times, broadcast-n-times. 2016-02-20 18:37:08 -08:00
Doug Coleman e4347f5254 io.sockets: Add more utility words for working with udp. 2016-02-19 19:21:13 -08:00
Doug Coleman 64db45c536 factor: update repository location to factor/factor 2016-02-19 13:51:58 -08:00
Doug Coleman 3f9ac2ad9f json.prettyprint: Add a simple json prettyprinter. 2016-02-17 18:36:21 -06:00
Benjamin Pollack 7d8d60ede3 Fix incorrect alien.syntax documentation for FUNCTION:
The library docs indicate that you need a semicolon at the end of
a `FUNCTION:` definition, but that's actually a syntax error. Likewise,
while the parentheses and commas may at one point have been optional,
they emphatically aren't anymore. This patch brings the documentation in
line with the code.
2016-02-17 09:33:33 -08:00
Benjamin Pollack 1887695d45 Make Visual Studio Code integration go directly to lines 2016-02-15 15:42:31 -05:00
Benjamin Pollack 97d1ec759e Add Mac support for Visual Studio Code 2016-02-12 10:06:50 -05:00
John Benediktsson fffb501486 x11.xim: fix "cannot execute a word before it has been compiled" bug. 2016-01-09 16:16:58 -08:00
Jon Harper 6ebf6ff53b docs, ffi: more explicit c-string conversions docs 2016-01-09 13:54:21 -08:00
Jon Harper 5b96d4d390 docs, wrapping structs: add links to memory>struct and <direct-T-array> 2016-01-09 13:54:21 -08:00
Jon Harper 53ce93a0da ffi docs, C unions are UNION-STRUCT: in factor 2016-01-09 13:54:21 -08:00
Jon Harper 3e84d30760 x11.xim: lookup-string, always use same buf and simplify 2016-01-09 20:21:13 +01:00
Jon Harper 2f92f29d2a x11 xlib, use Xutf8LookupString instead of XwcLookupString
XwcLookupString uses a locale dependant encoding, but was always
decoded using utf16. On my system, it was not utf16 that was used.
Xutf8LookupString always uses utf8 so it should work everywhere
2016-01-09 19:28:33 +01:00
John Benediktsson 7b28949331 tools.deploy: bump size. 2015-12-30 12:49:34 -08:00
John Benediktsson 7e40b60374 tools.deploy: add a MAIN:. 2015-12-25 21:11:21 -08:00
Björn Lindqvist 216a1234c2 tools.test: makes <test-failure> public 2015-12-17 23:50:49 +01:00
John Benediktsson 119f188423 tools.deploy: bump sizes, sigh. 2015-12-14 10:21:52 -08:00
Björn Lindqvist cbba6bbf95 bootstrap.image.tests: I screwed up the test case values -- fix them 2015-12-14 13:56:35 +01:00
Björn Lindqvist 7247906bf8 vm: remove vm-field-offset and context-field-offset
Shorter to just write "vm offset-of" and "context offset-of"
2015-12-14 09:29:18 +01:00
Björn Lindqvist 1378841c95 bootstrap.image.tests: new tests & fix for 32bit test failure 2015-12-14 06:54:12 +01:00
John Benediktsson 6ded345591 tools.deploy: bump deploy test sizes. 2015-12-13 14:25:45 -08:00
John Benediktsson 8cf8f023e2 tools.deploy: bump test sizes. 2015-12-13 09:02:55 -08:00
Björn Lindqvist b87dd9f6cb system-info.linux.tests: fix test, linux is at 4.2.x now 2015-12-13 13:56:37 +01:00
John Benediktsson 3affad7681 docs: using $maybe. 2015-12-11 17:05:45 -08:00
Björn Lindqvist 1a72f731e0 VM: now special-objects is used for -1, 0, 1 and t
The fields in the image_header aren't read or written to but I haven't
changed the format yet.
2015-12-10 10:22:38 +01:00
Björn Lindqvist 339b1b6466 VM: put the singletons t, -1, 0 and 1 in the special objects table
Having them there instead of as fields in the vm struct removes a bunch
of special handling. This commit just adds them and doesn't remove the
old ones to avoid potential chicken-and-egg bootstrap problems.
2015-12-09 21:31:13 +01:00
Björn Lindqvist d6a9122967 ui.backend.gtk: only run the tests on linux 2015-12-08 09:46:30 +01:00
Björn Lindqvist 24db8a5d7f compiler.tests.callstack-overflow: disable test for os x 64, see #1478 2015-12-08 02:16:51 +01:00
Björn Lindqvist 4551fdcb28 tools.test: print the callstack in test failures
So when mason reports a test failure it should include the whole
callstack. That should make it easier to catch the "No suitable
arithmetic method" random error that is hard to debug without a
callstack.
2015-12-04 16:57:40 +01:00
Björn Lindqvist bf8fe25271 bootstrap.*: fix for #1512, load docs after everything else
By making it so the help component is loaded almost last, all vocabs are loaded without docs and only then are they loaded. It should make it so you don't get cyclic dependency problems in doc files during bootstrapping.
2015-12-04 13:29:29 +01:00
Björn Lindqvist fc9eb0d5ac bootstrap.stage2: more logging output and fix for #1444
The error clearing needs to happen almost last so that an error is not
set in the image.
2015-12-04 13:16:21 +01:00
Björn Lindqvist 5deea76d55 ui.backend.gtk: set the active? to 100 in on-map, should fix #1506
what now happens is that configure events are skipped until the first
on-map signal is fired. seem to work fine in a variety of wm:s. if this
works well we can return active? to be plain boolean.
2015-12-04 00:57:19 +01:00
Björn Lindqvist a35895f222 compiler.cfg.intrinsics: fix doc and make tests work on 32bit 2015-12-01 13:43:45 +01:00
Björn Lindqvist 43f2592d1b ui.gestures: fix gesture docs, #1509 2015-12-01 11:01:34 +01:00
Björn Lindqvist 763b892a1d ui.*: move some of the gl initing to set-up-window, should fix #1510
it's also more efficent to run the check-extensions "1.0"
require-gl-version code only once when the window is created, rather
than once for each draw
2015-12-01 04:49:36 +01:00
Björn Lindqvist 02c80423ba compiler.cfg.intrinsics.slots: refactor + docs & tests 2015-11-28 01:55:12 +01:00
Björn Lindqvist 686975ec29 ui.tools.listener: only wait up to 5 seconds for the listener to start
otherwise unit tests can wait forever if there is an error in listener-thread
2015-11-27 13:15:17 +01:00
John Benediktsson e84e63fd0c tools.deploy: small bump in sizes. 2015-11-23 10:42:49 -08:00
Björn Lindqvist 6a2c36f5ec compiler.cfg.builder.blocks: help-lint fix 2015-11-23 16:32:01 +01:00
Björn Lindqvist 63fd4d25cf compiler.cfg.*: more fixes to pass basic-block on the stack than in a
dynamic variable
2015-11-22 01:06:11 +01:00
Björn Lindqvist 1421779c9e compiler.cfg.*: refactors words to take a block parameter instead of
using the basic-block dynamic variable

the idea is to make the code easier to follow by limiting the use of
dynamic variables
2015-11-22 00:37:34 +01:00
Björn Lindqvist e1b22e0af4 compiler.tree.dead-code.simple: small refactoring and docs 2015-11-22 00:37:33 +01:00
Björn Lindqvist 097b40ce41 compiler.tree.propagation.recursive: better counter-class 2015-11-22 00:37:33 +01:00
John Benediktsson 17b536c3a8 html.templates: use unless* instead of or. 2015-11-20 09:15:19 -08:00
John Benediktsson 6d21a5a073 urls: only create linked-hash if query is f. 2015-11-19 08:50:30 -08:00
Björn Lindqvist a3be724f5a compiler.tree.propagation.info: better code for wrap-interval 2015-11-16 12:30:24 +01:00
Björn Lindqvist 7301da0314 urls: fix for the test failure in the yahoo vocab
?set-at can't be used in set-query-param because it creates a normal
hashtable and we need a linked-assoc
2015-11-16 11:41:21 +01:00
Björn Lindqvist a915d3bdb4 stack-checker.known-words: nicer stack-effect declaration code
I think it looks better to put the primitives in groups and declare them
that way than one big block.
2015-11-15 11:10:03 +01:00
John Benediktsson a97f840daa urls.encoding: make query>assoc docs have checked example. 2015-11-04 15:16:36 -08:00