]>
gitweb.factorcode.org Git - factor.git/log
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!
John Benediktsson [Mon, 24 Aug 2015 17:21:35 +0000 (10:21 -0700)]
locals.parser: change docs for with-lambda-scope.
Björn Lindqvist [Mon, 24 Aug 2015 07:47:36 +0000 (09:47 +0200)]
VM: merge memory_protection_error() with memory_signal_handler_impl()
Björn Lindqvist [Mon, 24 Aug 2015 06:58:03 +0000 (08:58 +0200)]
VM: new function set_safepoint_guard to replace the functions (un)guard_safepoint
Björn Lindqvist [Mon, 24 Aug 2015 06:47:36 +0000 (08:47 +0200)]
VM: new function set_memory_locked(true/false)
it wraps the mprotect/VirtualProtect platform differences and makes it
so you can unify some windows/unix code path forks
Björn Lindqvist [Sat, 22 Aug 2015 16:22:28 +0000 (18:22 +0200)]
io.files: command line params is in the system's native encoding
Björn Lindqvist [Fri, 21 Aug 2015 05:42:03 +0000 (07:42 +0200)]
VM: make the debug output a little prettier
Björn Lindqvist [Fri, 21 Aug 2015 05:23:05 +0000 (07:23 +0200)]
VM: the windows_image_path method is unused
Doug Coleman [Sun, 23 Aug 2015 20:48:20 +0000 (13:48 -0700)]
words: cleaning up word-props
Doug Coleman [Sun, 23 Aug 2015 20:32:24 +0000 (13:32 -0700)]
classes.parser: add a create-class word.
Doug Coleman [Mon, 24 Aug 2015 05:39:00 +0000 (22:39 -0700)]
factor.sh: Prefer clang to gcc and stop special-casing mac.
Add deps-dnf command to install all Fedora packages.
Add full-report command to see what's installed.
John Benediktsson [Mon, 24 Aug 2015 01:43:36 +0000 (18:43 -0700)]
vocabs.metadata: add some tests.
John Benediktsson [Mon, 24 Aug 2015 01:37:34 +0000 (18:37 -0700)]
vocabs.metadata: fix for error refactoring.
Björn Lindqvist [Tue, 18 Aug 2015 07:47:11 +0000 (09:47 +0200)]
VM: merge the compute_dlsym_toc_address() with the
compute_dlsym_address() method
it makes the code slightly more cluttered but you get rid of a lot of
special casing for the ppc platform
Björn Lindqvist [Tue, 18 Aug 2015 06:18:41 +0000 (08:18 +0200)]
VM: make allot_alien() and ffi_dlsym() use cell instead of void*
this way we get rid of a bunch of superfluous casts
Björn Lindqvist [Tue, 18 Aug 2015 05:58:44 +0000 (07:58 +0200)]
VM: gc required here because we are iterating all objects
Björn Lindqvist [Tue, 18 Aug 2015 05:55:36 +0000 (07:55 +0200)]
VM: new iteration method each_object_each_slot()
used by find_data_references() and dump_edges() instead of the functor structs
Björn Lindqvist [Mon, 17 Aug 2015 09:37:24 +0000 (11:37 +0200)]
VM: removing the get_datastack/retainstack/callstack primitives
they can all be implemented using the
datastack/retainstack/callstack-for primitives and the less primitives
the better!
Doug Coleman [Wed, 19 Aug 2015 22:20:45 +0000 (17:20 -0500)]
ui.baseline-alignment: Don't divide f by 2. Also, can't put ``0 or`` after
``max-cap-height`` because it breaks something else.
Doug Coleman [Wed, 19 Aug 2015 06:22:55 +0000 (23:22 -0700)]
ui.backend.cocoa.views: Don't throw an error on weird mouse buttons. Fixes #1453.
John Benediktsson [Tue, 18 Aug 2015 03:48:48 +0000 (20:48 -0700)]
more cleanup.
John Benediktsson [Tue, 18 Aug 2015 03:32:28 +0000 (20:32 -0700)]
minor cleanup.
John Benediktsson [Tue, 18 Aug 2015 02:49:12 +0000 (19:49 -0700)]
strings.parser: finish removing triple-strings.
parse-string => parse-short-string (on the same line)
parse-multiline-string-until => parse-full-string
Doug Coleman [Mon, 17 Aug 2015 18:23:11 +0000 (13:23 -0500)]
factor.cmd: git pull from http doesn't update my local master to remote's
master. using git:// instead.
John Benediktsson [Mon, 17 Aug 2015 16:43:54 +0000 (09:43 -0700)]
slides: make it work on windows (no gradients).