]> gitweb.factorcode.org Git - factor.git/log
factor.git
8 years agoGNUMakefile: The previous patch doesn't work with g++.
Doug Coleman [Thu, 5 May 2016 23:55:28 +0000 (16:55 -0700)]
GNUMakefile: The previous patch doesn't work with g++.
https://stackoverflow.com/questions/19774778/when-is-it-necessary-to-use-use-the-flag-stdlib-libstdc

8 years agoGNUMakefile: Explicitly ask for stdlib=libc++ because clang downgrades the version...
Doug Coleman [Thu, 5 May 2016 23:48:40 +0000 (16:48 -0700)]
GNUMakefile: Explicitly ask for stdlib=libc++ because clang downgrades the version silently if you use backward compatibility mode with OSX 10.5 and then shrink_to_fit() doesn't work.
Config.macosx: Support for shrink_to_fit() is claimed to be in 10.7 and later, but 10.7 and 10.8 both throw this huge error:
https://paste.factorcode.org/paste?id=3872

Fixes #1624.

8 years agotools.deploy.shaker: dont strip the "layout" property
Björn Lindqvist [Thu, 5 May 2016 13:46:22 +0000 (15:46 +0200)]
tools.deploy.shaker: dont strip the "layout" property

Stripping it was a bad idea. It is required for constructing tuples.

8 years agoVM: The C++11 method shrink_to_fit() can be used to release memory
Björn Lindqvist [Thu, 5 May 2016 12:22:57 +0000 (14:22 +0200)]
VM: The C++11 method shrink_to_fit() can be used to release memory

8 years agoVM: the (clear-samples) primitive is unused
Björn Lindqvist [Thu, 5 May 2016 00:33:35 +0000 (02:33 +0200)]
VM: the (clear-samples) primitive is unused

8 years agoVM: using a c++ lambda over a struct
Björn Lindqvist [Wed, 4 May 2016 23:57:52 +0000 (01:57 +0200)]
VM: using a c++ lambda over a struct

8 years agoVM: don't end the gc event in start_gc_again, fixes #659
Björn Lindqvist [Wed, 4 May 2016 20:47:50 +0000 (22:47 +0200)]
VM: don't end the gc event in start_gc_again, fixes #659

8 years agoVM: removes the collector class
Björn Lindqvist [Wed, 4 May 2016 15:52:04 +0000 (17:52 +0200)]
VM: removes the collector class

The cheneys_algorithm() method can be moved to slot_visitor (because it
kind of visists objects), and then there is no need for the collector
class.

8 years agoVM: moving collector methods to slot_visitor methods
Björn Lindqvist [Tue, 3 May 2016 22:32:17 +0000 (00:32 +0200)]
VM: moving collector methods to slot_visitor methods

collector::trace_cards moved to slot_visitor::visit_cards and
collector::trace_code_heap_roots moved to
slot_visitor::visit_code_heap_roots. Both those methods are pointer visitors

8 years agotools.deploy.tests: guess we need to bump the size again
Björn Lindqvist [Mon, 2 May 2016 23:21:03 +0000 (01:21 +0200)]
tools.deploy.tests: guess we need to bump the size again

8 years agocompiler.cfg.*: new slots ds-height and rs-height
Björn Lindqvist [Mon, 2 May 2016 23:16:50 +0000 (01:16 +0200)]
compiler.cfg.*: new slots ds-height and rs-height

They are used when recording the blocks stacks height instead of the
ds-heights and rs-heights variables. It makes the code a bit simpler.

8 years agoVM: SNPRINTF macro is not used
Björn Lindqvist [Mon, 2 May 2016 13:01:49 +0000 (15:01 +0200)]
VM: SNPRINTF macro is not used

8 years agoVM: method compute_identity_hashcode is not needed
Björn Lindqvist [Mon, 2 May 2016 12:05:01 +0000 (14:05 +0200)]
VM: method compute_identity_hashcode is not needed

8 years agoVM: the start_factor method isn't needed
Björn Lindqvist [Sun, 1 May 2016 21:36:41 +0000 (23:36 +0200)]
VM: the start_factor method isn't needed

8 years agocolor-table: adding hex color column.
John Benediktsson [Sat, 30 Apr 2016 22:06:14 +0000 (15:06 -0700)]
color-table: adding hex color column.

8 years agocolor-table: 5 decimal places.
John Benediktsson [Sat, 30 Apr 2016 21:34:14 +0000 (14:34 -0700)]
color-table: 5 decimal places.

8 years agocolor-table: add column filled with respective colors 1621/head
Alexander Iljin [Sat, 30 Apr 2016 14:01:28 +0000 (17:01 +0300)]
color-table: add column filled with respective colors

Side note: it would be better to simply set the cell background color.
Unfortunately, no such mechanism exists at the moment.

8 years agocolors-docs: fix wording
Alexander Iljin [Tue, 19 Apr 2016 19:48:45 +0000 (22:48 +0300)]
colors-docs: fix wording

8 years agosequences-docs: fix wording
Alexander Iljin [Sun, 10 Apr 2016 16:08:18 +0000 (19:08 +0300)]
sequences-docs: fix wording

8 years agocompiler.cfg.builder.*: the when* checks aren't needed
Björn Lindqvist [Sat, 30 Apr 2016 07:27:27 +0000 (09:27 +0200)]
compiler.cfg.builder.*: the when* checks aren't needed

8 years agotools.deploy.tests: changes name of the test file to local-license.txt so it is more...
Björn Lindqvist [Thu, 28 Apr 2016 15:27:38 +0000 (17:27 +0200)]
tools.deploy.tests: changes name of the test file to local-license.txt so it is more unique

8 years agotools.deploy.shaker: Revert from f488f77
Björn Lindqvist [Thu, 28 Apr 2016 15:12:43 +0000 (17:12 +0200)]
tools.deploy.shaker: Revert from f488f77

8 years agoui.tools.listener: fix introduction font sizes.
John Benediktsson [Sat, 30 Apr 2016 01:30:59 +0000 (18:30 -0700)]
ui.tools.listener: fix introduction font sizes.

(should be smaller than default-style)

8 years agosuccessor: new vocab.
John Benediktsson [Fri, 29 Apr 2016 03:51:39 +0000 (20:51 -0700)]
successor: new vocab.

8 years agolocals.parser: fix docs.
John Benediktsson [Fri, 29 Apr 2016 01:36:39 +0000 (18:36 -0700)]
locals.parser: fix docs.

8 years agotext-analysis: vocab to analyze English text.
John Benediktsson [Fri, 29 Apr 2016 01:02:36 +0000 (18:02 -0700)]
text-analysis: vocab to analyze English text.

8 years agotools.deploy.shaker: vocabs.loader hooks is required to resolve "vocab:"-paths
Björn Lindqvist [Thu, 28 Apr 2016 01:24:09 +0000 (03:24 +0200)]
tools.deploy.shaker: vocabs.loader hooks is required to resolve "vocab:"-paths

8 years agotools.deploy.shaker: a bunch more word properties which appear safe to
Björn Lindqvist [Sun, 24 Apr 2016 20:57:42 +0000 (22:57 +0200)]
tools.deploy.shaker: a bunch more word properties which appear safe to
strip

Help-related properties and the "layout" property of tuples

8 years agotools.deploy.shaker: fix startup hook stripping
Björn Lindqvist [Sun, 24 Apr 2016 20:48:03 +0000 (22:48 +0200)]
tools.deploy.shaker: fix startup hook stripping

cpu.x86 -> cpu.x86.features and some more hooks that are safe to strip

8 years agotools.deploy.shaker: docs
Björn Lindqvist [Sun, 24 Apr 2016 19:27:00 +0000 (21:27 +0200)]
tools.deploy.shaker: docs

8 years agotools.deploy.shaker: use ignore-errors to prevent a possible infinite loop
Björn Lindqvist [Sun, 24 Apr 2016 14:22:00 +0000 (16:22 +0200)]
tools.deploy.shaker: use ignore-errors to prevent a possible infinite loop

8 years agoVM: all the started_<blah>() replaced with reset_timer()
Björn Lindqvist [Sun, 24 Apr 2016 13:21:17 +0000 (15:21 +0200)]
VM: all the started_<blah>() replaced with reset_timer()

8 years agoVM: oops, fix compilation error i caused
Björn Lindqvist [Sun, 24 Apr 2016 13:18:45 +0000 (15:18 +0200)]
VM: oops, fix compilation error i caused

8 years agoVM: object_size, compute_entry_point_address, code_block_owner made into
Björn Lindqvist [Sun, 24 Apr 2016 12:45:03 +0000 (14:45 +0200)]
VM: object_size, compute_entry_point_address, code_block_owner made into
functions

It is to make the vm class less heavy

8 years agoVM: make return_takes_param() a function
Björn Lindqvist [Sun, 24 Apr 2016 12:19:35 +0000 (14:19 +0200)]
VM: make return_takes_param() a function

8 years agoVM: merge of fixup_data & fixup_code into a new method fixup_heaps
Björn Lindqvist [Fri, 22 Apr 2016 23:07:25 +0000 (01:07 +0200)]
VM: merge of fixup_data & fixup_code into a new method fixup_heaps

8 years agoinverse: remove ?word-prop which is the same as word-prop?.
John Benediktsson [Sat, 23 Apr 2016 21:13:56 +0000 (14:13 -0700)]
inverse: remove ?word-prop which is the same as word-prop?.

8 years agovlists: fix >alist so pprint works properly for valist.
John Benediktsson [Sat, 23 Apr 2016 20:00:03 +0000 (13:00 -0700)]
vlists: fix >alist so pprint works properly for valist.

8 years agoRevert "boids: population needs to be an integer for slicing."
John Benediktsson [Sat, 23 Apr 2016 19:43:15 +0000 (12:43 -0700)]
Revert "boids: population needs to be an integer for slicing."

This reverts commit dec9becf65d95134845e491b061b06701d44a18d.

8 years agoui.gadgets.sliders: this fixes the previous test failure.
John Benediktsson [Sat, 23 Apr 2016 19:41:12 +0000 (12:41 -0700)]
ui.gadgets.sliders: this fixes the previous test failure.

8 years agoRevert "ui.gadgets.scrollers: fix tests for scrollbar change."
John Benediktsson [Sat, 23 Apr 2016 19:41:08 +0000 (12:41 -0700)]
Revert "ui.gadgets.scrollers: fix tests for scrollbar change."

This reverts commit 4c7eed5812474114591552e76e4a0d98144548e9.

8 years agoui.gadgets.scrollers: fix tests for scrollbar change.
John Benediktsson [Sat, 23 Apr 2016 19:25:13 +0000 (12:25 -0700)]
ui.gadgets.scrollers: fix tests for scrollbar change.

8 years agohelp.stylesheet: increased font size to 13pt
Nicolas Pénet [Sat, 16 Apr 2016 14:26:29 +0000 (16:26 +0200)]
help.stylesheet: increased font size to 13pt

8 years agoboids: population needs to be an integer for slicing.
John Benediktsson [Sat, 23 Apr 2016 17:19:42 +0000 (10:19 -0700)]
boids: population needs to be an integer for slicing.

8 years agoui.gadgets.sliders: restoring the arrows (temporarily?).
John Benediktsson [Sat, 23 Apr 2016 17:04:46 +0000 (10:04 -0700)]
ui.gadgets.sliders: restoring the arrows (temporarily?).

8 years agoui.gadgets.scrollers: 4 space indentation.
John Benediktsson [Sat, 23 Apr 2016 16:49:45 +0000 (09:49 -0700)]
ui.gadgets.scrollers: 4 space indentation.

8 years agoMade scrollers disappear when disabled
nicolas-p [Sat, 23 Apr 2016 08:47:52 +0000 (10:47 +0200)]
Made scrollers disappear when disabled

8 years agoui.gadgets.sliders: removed buttons
nicolas-p [Sat, 23 Apr 2016 08:46:45 +0000 (10:46 +0200)]
ui.gadgets.sliders: removed buttons

8 years agocompiler.cfg.*: new system for emitting spill/reloads for gc calls (#1471)
Björn Lindqvist [Fri, 22 Apr 2016 16:35:10 +0000 (18:35 +0200)]
compiler.cfg.*: new system for emitting spill/reloads for gc calls (#1471)

GC calls were treated as sync points so all registers were spilled
around them. But if the gc call isn't triggered, it is unnecessary to
spill. This commit fixes that by handling ##call-gc specially and
putting ##spill and ##reloads in the same block as the gc call itself.

8 years agoDocs: ui and compiler
Björn Lindqvist [Fri, 22 Apr 2016 16:23:02 +0000 (18:23 +0200)]
Docs: ui and compiler

8 years agocpu.x86.assembler: fix small help-lint problem
Björn Lindqvist [Fri, 22 Apr 2016 16:10:59 +0000 (18:10 +0200)]
cpu.x86.assembler: fix small help-lint problem

8 years agogame.worlds: Fixing the GAME: syntax word that broke due to renames
Björn Lindqvist [Fri, 22 Apr 2016 13:21:56 +0000 (15:21 +0200)]
game.worlds: Fixing the GAME: syntax word that broke due to renames

8 years agostyle fixes - indenting slots and word bodies
Björn Lindqvist [Fri, 22 Apr 2016 11:03:51 +0000 (13:03 +0200)]
style fixes - indenting slots and word bodies

8 years agocpu.*: more docs
Björn Lindqvist [Fri, 22 Apr 2016 11:00:46 +0000 (13:00 +0200)]
cpu.*: more docs

8 years agocpu.x86: better code without locals
Björn Lindqvist [Fri, 22 Apr 2016 10:59:21 +0000 (12:59 +0200)]
cpu.x86: better code without locals

8 years agocompiler.*: more compiler docs
Björn Lindqvist [Fri, 22 Apr 2016 10:56:46 +0000 (12:56 +0200)]
compiler.*: more compiler docs

8 years agocompiler.*: more compiler tests
Björn Lindqvist [Fri, 22 Apr 2016 10:44:25 +0000 (12:44 +0200)]
compiler.*: more compiler tests

8 years agocompiler.cfg.ssa.interference.live-ranges: Docs
Björn Lindqvist [Fri, 22 Apr 2016 10:33:39 +0000 (12:33 +0200)]
compiler.cfg.ssa.interference.live-ranges: Docs

8 years agocompiler.cfg.linear-scan.allocation.splitting: Docs
Björn Lindqvist [Fri, 22 Apr 2016 10:16:46 +0000 (12:16 +0200)]
compiler.cfg.linear-scan.allocation.splitting: Docs

8 years agocompiler.cfg.linear-scan.allocation: removes no-free-registers?
Björn Lindqvist [Fri, 22 Apr 2016 10:04:22 +0000 (12:04 +0200)]
compiler.cfg.linear-scan.allocation: removes no-free-registers?

8 years agoVM: the factor_vm::code_blocks() method isn't needed
Björn Lindqvist [Tue, 12 Apr 2016 00:48:24 +0000 (02:48 +0200)]
VM: the factor_vm::code_blocks() method isn't needed

8 years agoVM: merge of free_list_allocator.hpp into free_list.hpp
Björn Lindqvist [Mon, 11 Apr 2016 23:47:40 +0000 (01:47 +0200)]
VM: merge of free_list_allocator.hpp into free_list.hpp

It's better if all the free list stuff is in a single header.

8 years agoVM: nr of code blocks scanned always = points_to_<gen>.size()
Björn Lindqvist [Sun, 10 Apr 2016 23:31:43 +0000 (01:31 +0200)]
VM: nr of code blocks scanned always = points_to_<gen>.size()

8 years agoVM: parent and code attrs in collector struct is not used
Björn Lindqvist [Sun, 10 Apr 2016 23:25:23 +0000 (01:25 +0200)]
VM: parent and code attrs in collector struct is not used

8 years agouse MAIN-WINDOW: in a few places.
John Benediktsson [Fri, 22 Apr 2016 00:00:06 +0000 (17:00 -0700)]
use MAIN-WINDOW: in a few places.

8 years agodecimals: cleanup.
John Benediktsson [Thu, 21 Apr 2016 23:59:56 +0000 (16:59 -0700)]
decimals: cleanup.

8 years agoui: adding a WINDOW: that is like MAIN-WINDOW: but without making the word a main...
John Benediktsson [Thu, 21 Apr 2016 17:13:57 +0000 (10:13 -0700)]
ui: adding a WINDOW: that is like MAIN-WINDOW: but without making the word a main word.

8 years agoctags.etags: cleanup.
John Benediktsson [Tue, 19 Apr 2016 15:40:42 +0000 (08:40 -0700)]
ctags.etags: cleanup.

8 years agomoney: more of this should be public.
John Benediktsson [Tue, 19 Apr 2016 14:29:42 +0000 (07:29 -0700)]
money: more of this should be public.

8 years agoio.encodings.iso2022: stop using sets:unique.
John Benediktsson [Tue, 19 Apr 2016 04:10:17 +0000 (21:10 -0700)]
io.encodings.iso2022: stop using sets:unique.

8 years ago24-game: cleanup.
John Benediktsson [Tue, 19 Apr 2016 03:48:20 +0000 (20:48 -0700)]
24-game: cleanup.

8 years agoctags: whoops, forgot this.
John Benediktsson [Tue, 19 Apr 2016 03:25:21 +0000 (20:25 -0700)]
ctags: whoops, forgot this.

8 years agoctags: cleanup docs and tests.
John Benediktsson [Tue, 19 Apr 2016 03:24:42 +0000 (20:24 -0700)]
ctags: cleanup docs and tests.

8 years agomoney: cleanup.
John Benediktsson [Tue, 19 Apr 2016 03:16:33 +0000 (20:16 -0700)]
money: cleanup.

8 years agoctags: simplify.
John Benediktsson [Tue, 19 Apr 2016 00:21:30 +0000 (17:21 -0700)]
ctags: simplify.

8 years agolists: more cleanup.
John Benediktsson [Mon, 18 Apr 2016 16:46:29 +0000 (09:46 -0700)]
lists: more cleanup.

8 years agoui.debugger: don't rethrow at all. it just makes an infinite loop.
Doug Coleman [Mon, 18 Apr 2016 16:27:32 +0000 (09:27 -0700)]
ui.debugger: don't rethrow at all. it just makes an infinite loop.

8 years agolists: first pass at some cleanup.
John Benediktsson [Sun, 17 Apr 2016 20:08:32 +0000 (13:08 -0700)]
lists: first pass at some cleanup.

Now lists.lazy:lmap-lazy and lists.lazy:lappend-lazy names differentiate
from their non-lazy counterparts in lists.

8 years agoAtom package: update paths
Friedrich von Never [Sun, 17 Apr 2016 15:21:28 +0000 (22:21 +0700)]
Atom package: update paths

8 years agourls: remove unnecessary >secure-addr indirection.
John Benediktsson [Sun, 17 Apr 2016 00:11:01 +0000 (17:11 -0700)]
urls: remove unnecessary >secure-addr indirection.

8 years agosoundex: make implementation private.
John Benediktsson [Sat, 16 Apr 2016 23:38:42 +0000 (16:38 -0700)]
soundex: make implementation private.

8 years agosoundex: fix soundex to handle test cases from wikipedia.
John Benediktsson [Sat, 16 Apr 2016 23:37:44 +0000 (16:37 -0700)]
soundex: fix soundex to handle test cases from wikipedia.

8 years agoreplace some 1 head* with but-last.
John Benediktsson [Sat, 16 Apr 2016 22:54:23 +0000 (15:54 -0700)]
replace some 1 head* with but-last.

8 years agosuffix-arrays.words: removing, not that useful.
John Benediktsson [Sat, 16 Apr 2016 16:17:05 +0000 (09:17 -0700)]
suffix-arrays.words: removing, not that useful.

8 years agosuffix-arrays: remove docs of removed private word.
John Benediktsson [Fri, 15 Apr 2016 23:02:11 +0000 (16:02 -0700)]
suffix-arrays: remove docs of removed private word.

8 years agoftp.server: Don't fetch to the same directory we serve from or else it will overwrite...
Doug Coleman [Fri, 15 Apr 2016 22:52:06 +0000 (15:52 -0700)]
ftp.server: Don't fetch to the same directory we serve from or else it will overwrite the file. Race condition, only shows up on Windows for some reason.

8 years agosuffix-arrays: simplify a bit.
John Benediktsson [Fri, 15 Apr 2016 20:20:11 +0000 (13:20 -0700)]
suffix-arrays: simplify a bit.

8 years agodelegate: use string word-prop keys.
John Benediktsson [Fri, 15 Apr 2016 03:19:54 +0000 (20:19 -0700)]
delegate: use string word-prop keys.

8 years agomemory: no need to use memory.private.
John Benediktsson [Fri, 15 Apr 2016 03:06:27 +0000 (20:06 -0700)]
memory: no need to use memory.private.

8 years agosource-files: simplify, remove unnecessary error.
John Benediktsson [Fri, 15 Apr 2016 00:21:05 +0000 (17:21 -0700)]
source-files: simplify, remove unnecessary error.

8 years agoslots: silly formatting change.
John Benediktsson [Thu, 14 Apr 2016 23:59:33 +0000 (16:59 -0700)]
slots: silly formatting change.

8 years agobootstrap.image.upload: use vm-git-id.
John Benediktsson [Thu, 14 Apr 2016 23:59:23 +0000 (16:59 -0700)]
bootstrap.image.upload: use vm-git-id.

8 years agosystem: can use value-at, don't need to split.
John Benediktsson [Thu, 14 Apr 2016 23:59:08 +0000 (16:59 -0700)]
system: can use value-at, don't need to split.

8 years agopoker: simplify a bit.
John Benediktsson [Thu, 14 Apr 2016 21:07:37 +0000 (14:07 -0700)]
poker: simplify a bit.

8 years agoparser: make scan-class assert result is a classoid like it used to.
John Benediktsson [Wed, 13 Apr 2016 23:41:48 +0000 (16:41 -0700)]
parser: make scan-class assert result is a classoid like it used to.

8 years agoclasses: unset defining-class in define-class.
John Benediktsson [Wed, 13 Apr 2016 23:41:42 +0000 (16:41 -0700)]
classes: unset defining-class in define-class.

8 years agoclasses.algebra: removing valid-classoid? (enforced in constructors).
John Benediktsson [Wed, 13 Apr 2016 21:29:24 +0000 (14:29 -0700)]
classes.algebra: removing valid-classoid? (enforced in constructors).

8 years agoclasses.maybe: this restriction isn't necessary anymore.
John Benediktsson [Wed, 13 Apr 2016 21:20:00 +0000 (14:20 -0700)]
classes.maybe: this restriction isn't necessary anymore.

8 years agoeffects: swap got expected.
John Benediktsson [Wed, 13 Apr 2016 20:16:59 +0000 (13:16 -0700)]
effects: swap got expected.

8 years agoRevert "ftp.server: make sure the test file returns a normalized path."
John Benediktsson [Wed, 13 Apr 2016 20:06:05 +0000 (13:06 -0700)]
Revert "ftp.server: make sure the test file returns a normalized path."

This reverts commit fda3024fe96129b81b4fab270ae478d8e705e0b3.