]>
gitweb.factorcode.org Git - factor.git/log
Björn Lindqvist [Sun, 4 Oct 2015 00:26:02 +0000 (02:26 +0200)]
furnace.recaptcha: logic in recaptcha-url was wrong, fix and test case
Björn Lindqvist [Sat, 3 Oct 2015 23:25:11 +0000 (01:25 +0200)]
io.sockets.secure.debug: use <test-secure-config> in some places
the word can be reused in a few places when setting up ssl. it removes
some duplicated code
John Benediktsson [Fri, 2 Oct 2015 18:32:20 +0000 (11:32 -0700)]
http.server.static: better fix for cgi-docs issue.
John Benediktsson [Fri, 2 Oct 2015 18:25:36 +0000 (11:25 -0700)]
http.server.cgi: different fix maybe.
John Benediktsson [Fri, 2 Oct 2015 18:12:56 +0000 (11:12 -0700)]
Revert "http.server.cgi: fix for the dependency cycle http.server.cgi <=>"
This reverts commit
51c5484e24bb8aaebccc22a661e205b2bfd10621 .
Björn Lindqvist [Fri, 2 Oct 2015 12:19:47 +0000 (14:19 +0200)]
http.server.cgi: fix for the dependency cycle http.server.cgi <=>
http.server.static (#1311)
Björn Lindqvist [Fri, 2 Oct 2015 11:14:26 +0000 (13:14 +0200)]
furnace.auth.login: name of the realm is already set in the <login-realm> constructor
Doug Coleman [Thu, 1 Oct 2015 17:04:13 +0000 (17:04 +0000)]
vm: MoveFileEx returns BOOL which needs help converting to C++ bool.
John Benediktsson [Thu, 1 Oct 2015 15:15:14 +0000 (08:15 -0700)]
debugger: adding strerror of the errno to io-error.
Björn Lindqvist [Thu, 1 Oct 2015 13:52:51 +0000 (15:52 +0200)]
io.directories.unix,environment.unix: better to use
native-string-encoding over hardcoding utf8
John Benediktsson [Thu, 1 Oct 2015 02:03:39 +0000 (19:03 -0700)]
vm: fix signature for safe_fopen.
John Benediktsson [Wed, 30 Sep 2015 04:25:11 +0000 (21:25 -0700)]
math: use "i/f" for stack effect.
Björn Lindqvist [Wed, 30 Sep 2015 21:31:47 +0000 (23:31 +0200)]
VM: make save-image throw exception on error (#1090)
Björn Lindqvist [Tue, 29 Sep 2015 21:08:45 +0000 (23:08 +0200)]
VM: fix move_file called from save_image
save_image() shouldn't throw exceptions because if the 'then_die'
argument is t it would leave factor in an inconsistent state. So
therefore move_file() should be fixed and raw_fclose() called instead of
safe_fclose().
Björn Lindqvist [Tue, 29 Sep 2015 20:59:58 +0000 (22:59 +0200)]
VM: simplified save_image, goto works here!
Björn Lindqvist [Tue, 29 Sep 2015 20:21:26 +0000 (22:21 +0200)]
VM: looks like ERROR_C_STRING is never thrown, so it can be removed
John Benediktsson [Tue, 29 Sep 2015 19:16:44 +0000 (12:16 -0700)]
html.entities: cleanup using.
John Benediktsson [Tue, 29 Sep 2015 19:15:00 +0000 (12:15 -0700)]
html.entities: faster html-escape by going through string once.
John Benediktsson [Tue, 29 Sep 2015 16:19:00 +0000 (09:19 -0700)]
build-support: add deps-dnf to help.
Alexander Iljin [Tue, 29 Sep 2015 13:21:54 +0000 (16:21 +0300)]
Update links to mameworld.net.
Alexander Iljin [Tue, 29 Sep 2015 12:39:20 +0000 (15:39 +0300)]
Fix a word in some old documentation on lazy lists.
Alexander Iljin [Wed, 16 Sep 2015 15:09:03 +0000 (18:09 +0300)]
Minor documentation fixes.
John Benediktsson [Mon, 28 Sep 2015 21:48:20 +0000 (14:48 -0700)]
ui.backend.gtk: small typo fix.
Björn Lindqvist [Mon, 28 Sep 2015 13:33:36 +0000 (15:33 +0200)]
ui.backend.gtk: make it so configure-im is called after realize (#1307)
gtk_im_context_set_client_window must be called with a realized window
otherwise IM won't work,
http://lists.maemo.org/pipermail//maemo-developers/2006-January/002337.html
Doug Coleman [Sun, 27 Sep 2015 07:19:44 +0000 (00:19 -0700)]
.gitignore: ignore more .gch files
e.g. vm/master.hpp.gch-
1e696822
Doug Coleman [Sun, 27 Sep 2015 05:18:01 +0000 (22:18 -0700)]
factor.sh: require high enough version of clang/gcc. Fixes #1440.
John Benediktsson [Thu, 24 Sep 2015 16:38:16 +0000 (09:38 -0700)]
classes.tuple: fix stack effect, didn't mean to commit change.
John Benediktsson [Thu, 24 Sep 2015 14:55:08 +0000 (07:55 -0700)]
classes.tuple: use class-of in tuple>array.
Björn Lindqvist [Thu, 24 Sep 2015 09:43:48 +0000 (11:43 +0200)]
logging: let's include the tb when logging errors, makes it way easier
to debug!
Björn Lindqvist [Thu, 24 Sep 2015 09:33:06 +0000 (11:33 +0200)]
webapps.mason.report: fix and tc for the stack underflow error in build reports
John Benediktsson [Thu, 24 Sep 2015 03:07:53 +0000 (20:07 -0700)]
io.ports: bring back file read performance, ignoring zeroes.
Doug Coleman [Thu, 24 Sep 2015 00:08:28 +0000 (17:08 -0700)]
io.standard-paths.unix: iterm2 integration has some spew before every bash command if you have enabled shell integration. these commands end in ascii 7, so find the last one, strip it off, and then split on ":". Fixes the mac graphviz install problem.
John Benediktsson [Thu, 24 Sep 2015 00:10:43 +0000 (17:10 -0700)]
stack-checker.inlining: fix help-lint.
Björn Lindqvist [Tue, 22 Sep 2015 07:03:16 +0000 (09:03 +0200)]
compiler.tree.propagation.tests: #1370 specific test
Björn Lindqvist [Tue, 22 Sep 2015 04:52:04 +0000 (06:52 +0200)]
Docs: fix a bunch of help-lint warnings
Björn Lindqvist [Mon, 21 Sep 2015 10:32:32 +0000 (12:32 +0200)]
compiler.*: even more compiler docs
Björn Lindqvist [Mon, 21 Sep 2015 10:29:29 +0000 (12:29 +0200)]
sequences: extra doc and test for 2all?
Björn Lindqvist [Mon, 21 Sep 2015 10:27:34 +0000 (12:27 +0200)]
compiler.*: random doc and tests updates
Björn Lindqvist [Mon, 21 Sep 2015 10:24:22 +0000 (12:24 +0200)]
compiler.tree.propagation.slots: looks like you can do without the
constructor-output-class word
Björn Lindqvist [Mon, 21 Sep 2015 09:31:33 +0000 (11:31 +0200)]
compiler.tree.propagation.slots: docs & tests for the vocab
Björn Lindqvist [Mon, 21 Sep 2015 07:44:13 +0000 (09:44 +0200)]
compiler.tree.propagation.info: better logic for comparing value-infos
Now the slots of the value infos only matter if the class of the first
info is at least as large as the class of the second info
Björn Lindqvist [Sun, 20 Sep 2015 12:31:34 +0000 (14:31 +0200)]
compiler.tree.propagation.info: fixed value-info<= so that it handles
slots correctly
if a slot is defined for a value-info, then it can't be <= a value-info
without that slot defined
Björn Lindqvist [Sun, 20 Sep 2015 10:09:27 +0000 (12:09 +0200)]
compiler.cfg.linear-scan.allocation.splitting: better def for split-uses
it seems to be just as fast as the wordier one
Björn Lindqvist [Sun, 20 Sep 2015 09:44:52 +0000 (11:44 +0200)]
compiler.tree.*: new tests
Björn Lindqvist [Sun, 20 Sep 2015 09:39:34 +0000 (11:39 +0200)]
compiler.tree.*: docs
Björn Lindqvist [Sun, 20 Sep 2015 09:35:05 +0000 (11:35 +0200)]
compiler.cfg.*: random doc updates
Björn Lindqvist [Sun, 20 Sep 2015 08:37:33 +0000 (10:37 +0200)]
compiler.tree.propagation.info: more docs and tests for the vocab
Björn Lindqvist [Fri, 18 Sep 2015 13:09:46 +0000 (15:09 +0200)]
compiler.tree.propagation.nodes: the loop-nesting variable appears unused
Björn Lindqvist [Fri, 18 Sep 2015 08:12:56 +0000 (10:12 +0200)]
compiler.tree.propagation.*: better to use 2array than the "cuter" /\ word
Björn Lindqvist [Fri, 18 Sep 2015 08:06:54 +0000 (10:06 +0200)]
compiler.tree.propagation.constraints: docs for this vocab
Björn Lindqvist [Wed, 16 Sep 2015 05:53:48 +0000 (07:53 +0200)]
compiler.cfg.linear-scan.ranges: merge adjacent ranges when adding them
this way, the number of live interval ranges you have to deal with is
much smaller
Björn Lindqvist [Wed, 16 Sep 2015 00:14:06 +0000 (02:14 +0200)]
compiler.cfg.linear-scan.ranges: remove the live-range definition and
use integer pairs instead
so instead of ranges being a sequence of live-ranges it is now a
sequence of integer pairs instead. That makes the
compiler.cfg.linear-scan.ranges simpler and easier to generalize
Björn Lindqvist [Tue, 15 Sep 2015 18:47:50 +0000 (20:47 +0200)]
compiler.cfg.linear-scan.ranges: new word ranges-endpoints and remove relevant-ranges
Björn Lindqvist [Tue, 15 Sep 2015 00:42:21 +0000 (02:42 +0200)]
compiler.cfg.linear-scan.ranges: move more range-related features into
this vocab
Björn Lindqvist [Mon, 14 Sep 2015 16:49:18 +0000 (18:49 +0200)]
compiler.cfg.linear-scan.live-intervals: the reg-class slot can be
removed
it's always the same as vreg>> rep-of reg-class-of so no need to store
that data twice
Björn Lindqvist [Mon, 14 Sep 2015 02:43:58 +0000 (04:43 +0200)]
compiler.cfg.linear-scan.*: move words for splitting and intersecting ranges to the compiler.cfg.linear-scan.ranges vocab
Björn Lindqvist [Sun, 13 Sep 2015 16:02:01 +0000 (18:02 +0200)]
compiler.cfg.linear-scan.ranges: new vocab to contain all the range
related stuff from live intervals
Björn Lindqvist [Sun, 13 Sep 2015 05:14:46 +0000 (07:14 +0200)]
compiler.cfg.linearization: number-blocks can set the number>> accessor
instead of using the numbers dynamic variable
Björn Lindqvist [Sun, 13 Sep 2015 01:31:37 +0000 (03:31 +0200)]
VM: workhorse attribute not used
John Benediktsson [Sun, 20 Sep 2015 16:45:05 +0000 (09:45 -0700)]
ui.gadgets.paragraphs: pref-dim of { 0 0 } if no children.
John Benediktsson [Sun, 20 Sep 2015 16:44:17 +0000 (09:44 -0700)]
wrap.words: make it work with empty input.
John Benediktsson [Wed, 16 Sep 2015 23:49:05 +0000 (16:49 -0700)]
processing.shapes: fix rectangle.
John Benediktsson [Tue, 15 Sep 2015 03:32:45 +0000 (20:32 -0700)]
html.streams: fix tests.
John Benediktsson [Mon, 14 Sep 2015 22:43:33 +0000 (15:43 -0700)]
help.html: cleanup extra spaces.
John Benediktsson [Mon, 14 Sep 2015 20:32:38 +0000 (13:32 -0700)]
help.html: simplify html by saving styles as classes.
We store the CSS classes in the HTML <style> tag.
John Benediktsson [Fri, 11 Sep 2015 00:53:04 +0000 (17:53 -0700)]
lexer: change shebang handling to be in skip-blank.
It previously required "#!" to be defined like "!", now it doesn't.
John Benediktsson [Thu, 10 Sep 2015 01:28:08 +0000 (18:28 -0700)]
syntax: removing #! as a comment character.
We don't need two types of comments and shebang (#!) is handled
natively by the lexer, so the original reason for #! is not valid.
John Benediktsson [Tue, 8 Sep 2015 23:21:06 +0000 (16:21 -0700)]
syntax: fix bad search-and-replace.
John Benediktsson [Tue, 8 Sep 2015 23:15:10 +0000 (16:15 -0700)]
Fix comments to be ! not #!.
John Benediktsson [Sun, 6 Sep 2015 15:23:17 +0000 (08:23 -0700)]
images.loader: use accessors in tests.
Björn Lindqvist [Sun, 6 Sep 2015 13:15:01 +0000 (15:15 +0200)]
images.loader.gdiplus: fix for the call to GdipBitmapLockBits
GdipBitmapLockBits might trigger gc so the GpRect struct must be copied
to stable stack memory so that the collector doesn't move it.
Björn Lindqvist [Thu, 3 Sep 2015 11:18:26 +0000 (13:18 +0200)]
bootstrap.image.tests: total 20 -> 18
John Benediktsson [Wed, 2 Sep 2015 20:12:14 +0000 (13:12 -0700)]
peg: some cleanup.
Björn Lindqvist [Wed, 2 Sep 2015 19:52:48 +0000 (21:52 +0200)]
VM: remove RT_EXCEPTION_HANDLER reference
Björn Lindqvist [Wed, 2 Sep 2015 13:04:21 +0000 (15:04 +0200)]
VM: for consistency, it is easier to put all functions in the exports file
Björn Lindqvist [Tue, 1 Sep 2015 12:40:32 +0000 (14:40 +0200)]
VM: always use undecorated names when loading ffi functions
For win32, Factor tries four different function names when loading
stdcall and fastcall functions, in case decorated names are used in the
dll. It seems to not be necessary because a dll meant for 3rd party use
will always export undecorated
names (http://blogs.msdn.com/b/oldnewthing/archive/2004/01/12/57833.aspx).
Björn Lindqvist [Mon, 31 Aug 2015 00:10:05 +0000 (02:10 +0200)]
VM: callback_entry_point() and update() can be removed
Björn Lindqvist [Mon, 31 Aug 2015 00:08:01 +0000 (02:08 +0200)]
compiler.cfg.intrinsics.misc: use the vm-special-object-offset word
Björn Lindqvist [Sun, 30 Aug 2015 10:44:33 +0000 (12:44 +0200)]
VM: give the exception handling special object a real name
Björn Lindqvist [Sun, 30 Aug 2015 10:21:20 +0000 (12:21 +0200)]
VM: get rid of the odd RT_EXCEPTION_HANDLER relocation
The address to the win32 relocation handler can be stored in a special
object and be accessed by jit-install-seh. Doing it that way is better
because you can remove a lot of special code related to that relocation
type.
Björn Lindqvist [Sun, 30 Aug 2015 10:15:22 +0000 (12:15 +0200)]
VM: clear commented out code
Björn Lindqvist [Sat, 29 Aug 2015 21:49:36 +0000 (23:49 +0200)]
compiler.constants: remove a bunch of constants that are unused
(or only used by the defunkt arm backend)
Björn Lindqvist [Sat, 29 Aug 2015 21:41:17 +0000 (23:41 +0200)]
Docs: reorg of the compiler.constants docs a little
Björn Lindqvist [Sat, 29 Aug 2015 21:09:01 +0000 (23:09 +0200)]
VM: nicer way of initializing those special objects that are aliens
Björn Lindqvist [Sat, 29 Aug 2015 16:29:06 +0000 (18:29 +0200)]
VM: the ffi-signal-handler and ffi-leaf-signal-handler primitives are unused
John Benediktsson [Wed, 2 Sep 2015 17:34:59 +0000 (10:34 -0700)]
peg: fix some old docs that referred to "p1".
Jon Harper [Mon, 24 Aug 2015 20:40:39 +0000 (22:40 +0200)]
formatting: fix docs for padding and use a better example
Make the padding number coherent between the example and the docs.
Also bump it from 3 to 10 because [[3.14 "%'#5f" printf]] is "3.140000"
because the default precision is 6.
Jon Harper [Mon, 24 Aug 2015 21:41:02 +0000 (23:41 +0200)]
peg.ebnf: support escaped double quote in a string
Doug Coleman [Fri, 28 Aug 2015 05:27:54 +0000 (22:27 -0700)]
vocabs.metadata: wrap test in a with-manifest to ensure there's a manifest. Fixes #1463.
Doug Coleman [Fri, 28 Aug 2015 01:51:40 +0000 (18:51 -0700)]
vocabs.metadata: Fix test so it stops trying to load the wrong platform vocabulary forever. Fixes #1463.
Doug Coleman [Thu, 27 Aug 2015 18:29:26 +0000 (11:29 -0700)]
windows.kernel32: add more bindings
Björn Lindqvist [Wed, 26 Aug 2015 18:15:42 +0000 (20:15 +0200)]
VM: better way to set signal_resumable
Björn Lindqvist [Wed, 26 Aug 2015 16:17:33 +0000 (18:17 +0200)]
VM: fix jit-signal-handler-prolog/epilog to account for the home space
Windows 64bit abi requires callers to reserve 32 bytes of home space in
the stack frame which the callee is free to clobber. Previous versions
of VS didn't compile code to take advantage of the home space so it
worked fined. VS2015 however, is using the home space which causes
registers and flags that were supposed to be saved to be
overwritten. The fix is to put a little extra empty space at the bottom
of the stack frame.
Björn Lindqvist [Wed, 26 Aug 2015 14:56:55 +0000 (16:56 +0200)]
VM: instead of enqueue_safepoint() just call set_safepoint_guard() directly
Björn Lindqvist [Wed, 26 Aug 2015 10:00:11 +0000 (12:00 +0200)]
VM: refactoring, new function get_thread_pc() and simpler logic in exception_handler()
Björn Lindqvist [Wed, 26 Aug 2015 09:58:39 +0000 (11:58 +0200)]
VM: signal_fault_pc probably should be set here...
Björn Lindqvist [Mon, 24 Aug 2015 20:44:30 +0000 (22:44 +0200)]
VM: LEAF_FRAME_SIZE is 16 bytes on all platforms so we can simplify it
Doug Coleman [Wed, 26 Aug 2015 04:58:42 +0000 (04:58 +0000)]
factor.sh: pass CC and CXX to make script.
Doug Coleman [Wed, 26 Aug 2015 04:11:19 +0000 (04:11 +0000)]
factor.sh: add g++ to deps-apt-get. Add all() function to make sure we have both gcc and g++ (since they install separately). Add any() function to tell which of the commands it finds. Fix bug with wget/curl where the function was not meant to accept multiple arguments.
John Benediktsson [Mon, 24 Aug 2015 17:27:00 +0000 (10:27 -0700)]
ui.gestures: update action gesture docs, thanks @jonenst!