]>
gitweb.factorcode.org Git - factor.git/log
Jon Harper [Wed, 2 Mar 2016 18:10:10 +0000 (19:10 +0100)]
docs, smpt-gmail: fix for people not using 2FA + formatting
Benjamin Pollack [Wed, 2 Mar 2016 00:42:08 +0000 (19:42 -0500)]
Dump everything before TLSv1
All versions of SSL are deprecated and have major security issues. Just
kill the whole thing. If you want to deliberately expose yourself to
POODLE, you can do it on your own time.
Doug Coleman [Tue, 1 Mar 2016 22:02:47 +0000 (14:02 -0800)]
io.sockets.secure.openssl: Nuke RSA.
Doug Coleman [Tue, 1 Mar 2016 21:07:37 +0000 (13:07 -0800)]
alien.syntax: Fix CALLBACK: syntax again in another place
Doug Coleman [Tue, 1 Mar 2016 20:42:17 +0000 (12:42 -0800)]
alien.syntax: Fix docs for CALLBACK: (no semi)
Doug Coleman [Tue, 1 Mar 2016 20:40:11 +0000 (12:40 -0800)]
forestdb.ffi: Update ffi.
Björn Lindqvist [Sun, 28 Feb 2016 17:49:41 +0000 (18:49 +0100)]
bootstrap.image: docs
Doug Coleman [Tue, 1 Mar 2016 08:19:43 +0000 (00:19 -0800)]
vm/contexts.cpp: We are only deleting half the contexts because we increment the iter twice per loop! Fixes #1534. Thanks clang!
Björn Lindqvist [Sun, 28 Feb 2016 00:23:59 +0000 (01:23 +0100)]
VM: nitpick fix of filenames in comments
Björn Lindqvist [Sun, 28 Feb 2016 00:10:12 +0000 (01:10 +0100)]
VM: simplifies factor_vm::determine_inline_cache_type
Björn Lindqvist [Sun, 28 Feb 2016 00:01:38 +0000 (01:01 +0100)]
compiler.*: more docs
Doug Coleman [Sat, 27 Feb 2016 00:28:58 +0000 (00:28 +0000)]
unix.linux.proc: add bugs line.
John Benediktsson [Fri, 26 Feb 2016 16:56:25 +0000 (08:56 -0800)]
Fix "doesnt" typo.
Doug Coleman [Wed, 24 Feb 2016 02:45:25 +0000 (18:45 -0800)]
editors.visual-studio-code: Try to find ``Code`` executable on linux.
Doug Coleman [Wed, 24 Feb 2016 02:24:41 +0000 (18:24 -0800)]
openssl.libssl: Add some more constants. Move things around a little and add SSL_ctrl() binding.
Benjamin Pollack [Tue, 23 Feb 2016 13:09:07 +0000 (08:09 -0500)]
openssl: only set RSA keys if required to do so
Modern OpenSSL and LibreSSL both do not require SSL_CTX_set_tmp_rsa to
be called unless SSL_CTX_need_tmp_rsa returns true, and LibreSSL and
OpenSSL compiled with deprecation warnings both will fail if this
happens. This commit resolves that.
With this change, it becomes possible to use LibreSSL in place of
OpenSSL with Factor.
Benjamin Pollack [Mon, 22 Feb 2016 18:37:54 +0000 (13:37 -0500)]
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.
Doug Coleman [Sun, 21 Feb 2016 02:37:08 +0000 (18:37 -0800)]
io.sockets: remove send-n-times, broadcast-n-times.
Doug Coleman [Sat, 20 Feb 2016 03:22:19 +0000 (19:22 -0800)]
forestdb.lib: fix using
Doug Coleman [Sat, 20 Feb 2016 02:58:43 +0000 (18:58 -0800)]
io.sockets: Add more utility words for working with udp.
Doug Coleman [Sat, 20 Feb 2016 01:58:37 +0000 (17:58 -0800)]
forestdb: allow setting byte-arrays.
Doug Coleman [Fri, 19 Feb 2016 21:48:00 +0000 (13:48 -0800)]
factor: update repository location to factor/factor
Benjamin Pollack [Thu, 18 Feb 2016 19:29:54 +0000 (14:29 -0500)]
Add support for LibreSSL's libtls library
These are just the low-level FFI bindings; high-level bindings (and
maybe an alternative implementation of io.sockets.secure) will come in
a later commit.
Doug Coleman [Thu, 18 Feb 2016 18:09:44 +0000 (10:09 -0800)]
forestdb: Update for new apis. Fix a bug with iteration, fix a test case that changed behavior.
Doug Coleman [Wed, 17 Feb 2016 23:50:32 +0000 (17:50 -0600)]
json.prettyprint: Add a simple json prettyprinter.
Benjamin Pollack [Wed, 17 Feb 2016 17:23:09 +0000 (12:23 -0500)]
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.
Benjamin Pollack [Mon, 15 Feb 2016 20:42:31 +0000 (15:42 -0500)]
Make Visual Studio Code integration go directly to lines
Benjamin Pollack [Fri, 12 Feb 2016 15:06:50 +0000 (10:06 -0500)]
Add Mac support for Visual Studio Code
John Benediktsson [Sun, 10 Jan 2016 00:16:58 +0000 (16:16 -0800)]
x11.xim: fix "cannot execute a word before it has been compiled" bug.
Jon Harper [Sat, 9 Jan 2016 17:30:35 +0000 (18:30 +0100)]
docs, ffi: more explicit c-string conversions docs
Jon Harper [Sat, 9 Jan 2016 17:27:46 +0000 (18:27 +0100)]
docs, wrapping structs: add links to memory>struct and <direct-T-array>
Jon Harper [Sat, 9 Jan 2016 16:22:49 +0000 (17:22 +0100)]
ffi docs, C unions are UNION-STRUCT: in factor
Jon Harper [Sat, 9 Jan 2016 19:21:13 +0000 (20:21 +0100)]
x11.xim: lookup-string, always use same buf and simplify
Jon Harper [Sat, 9 Jan 2016 18:06:26 +0000 (19:06 +0100)]
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
John Benediktsson [Wed, 30 Dec 2015 20:49:34 +0000 (12:49 -0800)]
tools.deploy: bump size.
John Benediktsson [Wed, 30 Dec 2015 17:40:58 +0000 (09:40 -0800)]
checksums: speedup add-checksum-bytes by using the slice.
John Benediktsson [Sun, 27 Dec 2015 18:00:22 +0000 (10:00 -0800)]
uu: simplify a little bit.
John Benediktsson [Sat, 26 Dec 2015 05:11:21 +0000 (21:11 -0800)]
tools.deploy: add a MAIN:.
Björn Lindqvist [Thu, 17 Dec 2015 22:49:57 +0000 (23:49 +0100)]
tools.test: makes <test-failure> public
Sankaranarayanan Viswanathan [Thu, 17 Dec 2015 19:29:22 +0000 (00:59 +0530)]
fuel: fix doc on starting fuel server
Björn Lindqvist [Thu, 17 Dec 2015 17:57:52 +0000 (18:57 +0100)]
benchmark: wrap the error in <test-failure>
Piggybacks on the test-failure error. word so that we get a traceback if
an error occurs during benchmarking. To make it easier to debug the "No
suitable arithmetic method" random error #1484
Björn Lindqvist [Thu, 17 Dec 2015 16:09:00 +0000 (17:09 +0100)]
benchmark: refactoring to not use dynamic variables + unit tests
John Benediktsson [Mon, 14 Dec 2015 18:21:35 +0000 (10:21 -0800)]
tools.deploy: bump sizes, sigh.
Björn Lindqvist [Mon, 14 Dec 2015 12:56:35 +0000 (13:56 +0100)]
bootstrap.image.tests: I screwed up the test case values -- fix them
Björn Lindqvist [Mon, 14 Dec 2015 08:29:18 +0000 (09:29 +0100)]
vm: remove vm-field-offset and context-field-offset
Shorter to just write "vm offset-of" and "context offset-of"
Björn Lindqvist [Mon, 14 Dec 2015 05:53:05 +0000 (06:53 +0100)]
bootstrap.image.tests: new tests & fix for 32bit test failure
John Benediktsson [Sun, 13 Dec 2015 22:25:45 +0000 (14:25 -0800)]
tools.deploy: bump deploy test sizes.
John Benediktsson [Sun, 13 Dec 2015 19:46:13 +0000 (11:46 -0800)]
tools.image-analyzer: fix help-lint docs.
John Benediktsson [Sun, 13 Dec 2015 17:02:39 +0000 (09:02 -0800)]
tools.deploy: bump test sizes.
Björn Lindqvist [Sun, 13 Dec 2015 12:38:40 +0000 (13:38 +0100)]
system-info.linux.tests: fix test, linux is at 4.2.x now
Björn Lindqvist [Sun, 13 Dec 2015 07:23:55 +0000 (08:23 +0100)]
VM: removes a few methods related to relocation handling
They are only used once, so it is simpler to "inline" them
Björn Lindqvist [Sun, 13 Dec 2015 07:20:20 +0000 (08:20 +0100)]
VM: the compute_vm_address method can be removed
Björn Lindqvist [Sun, 13 Dec 2015 07:10:36 +0000 (08:10 +0100)]
VM: more fine-grained control over which special objects to save
It removes a few roots that doesn't need to be saved in the image and
can save a few hundred bytes.
Björn Lindqvist [Sun, 13 Dec 2015 06:59:39 +0000 (07:59 +0100)]
tools.image-analyzer.graphviz: output the root nodes in a graph cluster, looks pretty neat
Björn Lindqvist [Sun, 13 Dec 2015 06:54:04 +0000 (07:54 +0100)]
tools.image-analyzer: now also loads absolute relocation pointers
Björn Lindqvist [Sat, 12 Dec 2015 11:03:08 +0000 (12:03 +0100)]
tools.image-analyzer: now relocation pointers are decoded too -> nicer graphs
Björn Lindqvist [Sat, 12 Dec 2015 03:02:53 +0000 (04:02 +0100)]
VM: the rel_type() and rel_offset() accessors in instruction_operand can be removed
John Benediktsson [Sat, 12 Dec 2015 01:05:45 +0000 (17:05 -0800)]
docs: using $maybe.
Björn Lindqvist [Thu, 10 Dec 2015 09:07:57 +0000 (10:07 +0100)]
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.
Björn Lindqvist [Wed, 9 Dec 2015 20:31:13 +0000 (21:31 +0100)]
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.
Björn Lindqvist [Tue, 8 Dec 2015 08:46:30 +0000 (09:46 +0100)]
ui.backend.gtk: only run the tests on linux
Björn Lindqvist [Tue, 8 Dec 2015 03:21:32 +0000 (04:21 +0100)]
io.encodings: doc fix
Björn Lindqvist [Tue, 8 Dec 2015 01:16:51 +0000 (02:16 +0100)]
compiler.tests.callstack-overflow: disable test for os x 64, see #1478
Björn Lindqvist [Tue, 8 Dec 2015 01:12:30 +0000 (02:12 +0100)]
tools.image-analyzer: test failure fix
Björn Lindqvist [Mon, 7 Dec 2015 08:06:12 +0000 (09:06 +0100)]
tools.image-analyzer.graphviz: new vocab for making graphs of the loaded heaps
Björn Lindqvist [Mon, 7 Dec 2015 07:37:08 +0000 (08:37 +0100)]
graphviz.dot: better string escaping using unparse-string
Björn Lindqvist [Mon, 7 Dec 2015 03:20:43 +0000 (04:20 +0100)]
tools.image-analyzer.*: wrap read objects in heap-node tuples with their addresses
Björn Lindqvist [Sat, 5 Dec 2015 15:34:46 +0000 (16:34 +0100)]
Docs: more docs for vocabs in core/
Björn Lindqvist [Thu, 3 Dec 2015 11:00:40 +0000 (12:00 +0100)]
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.
Björn Lindqvist [Fri, 4 Dec 2015 12:57:57 +0000 (13:57 +0100)]
VM: refactors the prepare_boot_image method
easier to read if the methods compile_all_words and
initialize_all_quotations which are only used once are "inlined"
Björn Lindqvist [Fri, 4 Dec 2015 12:29:29 +0000 (13:29 +0100)]
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.
Björn Lindqvist [Fri, 4 Dec 2015 12:16:21 +0000 (13:16 +0100)]
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.
Björn Lindqvist [Fri, 4 Dec 2015 11:43:01 +0000 (12:43 +0100)]
FUEL: slightly improved font-locking for alien functions and aliases
Björn Lindqvist [Thu, 3 Dec 2015 23:57:19 +0000 (00:57 +0100)]
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.
Björn Lindqvist [Wed, 2 Dec 2015 23:46:21 +0000 (00:46 +0100)]
Build: fix semver_into so that it doesnt misparse versions like "2.3.4"
Sankaranarayanan Viswanathan [Wed, 2 Dec 2015 08:06:48 +0000 (13:36 +0530)]
snake-game: refactor and restruture
Sankaranarayanan Viswanathan [Tue, 1 Dec 2015 18:03:15 +0000 (23:33 +0530)]
Added extra:snake-game
Björn Lindqvist [Tue, 1 Dec 2015 12:43:45 +0000 (13:43 +0100)]
compiler.cfg.intrinsics: fix doc and make tests work on 32bit
Björn Lindqvist [Tue, 1 Dec 2015 10:01:34 +0000 (11:01 +0100)]
ui.gestures: fix gesture docs, #1509
Björn Lindqvist [Tue, 1 Dec 2015 03:49:36 +0000 (04:49 +0100)]
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
Björn Lindqvist [Mon, 30 Nov 2015 22:23:46 +0000 (23:23 +0100)]
Build: simpler version# parsing logic (parsing gcc --version failed on my system)
Björn Lindqvist [Sat, 28 Nov 2015 00:55:12 +0000 (01:55 +0100)]
compiler.cfg.intrinsics.slots: refactor + docs & tests
Björn Lindqvist [Fri, 27 Nov 2015 12:15:17 +0000 (13:15 +0100)]
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
Björn Lindqvist [Wed, 25 Nov 2015 17:12:55 +0000 (18:12 +0100)]
VM: can't go through the accessor here because it triggers the assert
Björn Lindqvist [Tue, 24 Nov 2015 15:00:50 +0000 (16:00 +0100)]
VM: refactor tagged.hpp so it's not dependent on the factor_vm class
this way untag<byte_array>(relocation) can be used in code_blocks.hpp
John Benediktsson [Mon, 23 Nov 2015 18:42:49 +0000 (10:42 -0800)]
tools.deploy: small bump in sizes.
Björn Lindqvist [Mon, 23 Nov 2015 15:32:01 +0000 (16:32 +0100)]
compiler.cfg.builder.blocks: help-lint fix
Björn Lindqvist [Mon, 23 Nov 2015 01:27:22 +0000 (02:27 +0100)]
VM: fixes to use the TAG macro over tagged<object>(obj).type()
Björn Lindqvist [Sun, 22 Nov 2015 22:07:18 +0000 (23:07 +0100)]
VM: refactoring to use the TAG macro directly over the tagged struct
eg. TAG(obj) is equivalent to tagged<object>(obj).type()
Björn Lindqvist [Sun, 22 Nov 2015 00:06:11 +0000 (01:06 +0100)]
compiler.cfg.*: more fixes to pass basic-block on the stack than in a
dynamic variable
Björn Lindqvist [Wed, 18 Nov 2015 23:53:46 +0000 (00:53 +0100)]
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
Björn Lindqvist [Wed, 18 Nov 2015 11:35:13 +0000 (12:35 +0100)]
compiler.tree.dead-code.simple: small refactoring and docs
Björn Lindqvist [Tue, 17 Nov 2015 09:11:09 +0000 (10:11 +0100)]
compiler.tree.propagation.recursive: better counter-class
John Benediktsson [Fri, 20 Nov 2015 17:15:19 +0000 (09:15 -0800)]
html.templates: use unless* instead of or.
John Benediktsson [Thu, 19 Nov 2015 16:50:30 +0000 (08:50 -0800)]
urls: only create linked-hash if query is f.
Björn Lindqvist [Mon, 16 Nov 2015 11:30:24 +0000 (12:30 +0100)]
compiler.tree.propagation.info: better code for wrap-interval
Björn Lindqvist [Mon, 16 Nov 2015 10:41:21 +0000 (11:41 +0100)]
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
Björn Lindqvist [Sun, 15 Nov 2015 10:10:03 +0000 (11:10 +0100)]
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.
John Benediktsson [Wed, 4 Nov 2015 23:16:36 +0000 (15:16 -0800)]
urls.encoding: make query>assoc docs have checked example.
John Benediktsson [Wed, 4 Nov 2015 21:35:40 +0000 (13:35 -0800)]
yahoo: fix tests for LH{ } change.