]>
gitweb.factorcode.org Git - factor.git/log
Björn Lindqvist [Mon, 15 Aug 2016 13:13:30 +0000 (15:13 +0200)]
VM: removing the safepoint_state class
The code reads better if the safepoint_state methods and
attributes (sample_counts and safepoint_fep_p) are moved to the vm
class.
Björn Lindqvist [Sun, 14 Aug 2016 01:12:36 +0000 (03:12 +0200)]
VM: trying to simplify record_sample and the profiling_sample constructor
Björn Lindqvist [Sat, 13 Aug 2016 14:36:57 +0000 (16:36 +0200)]
compiler.prettyprint: new vocab for prettyprinting compiler types
The require-when ensures that the prettyprint methods are loaded when
both the compiler and prettyprint is loaded.
Björn Lindqvist [Sat, 13 Aug 2016 13:49:33 +0000 (15:49 +0200)]
alien.debugger: this vocab isn't needed
The summary methods doesn't need dedicated vocabs. Unlike prettyprint methods.
John Benediktsson [Sun, 14 Aug 2016 18:43:02 +0000 (11:43 -0700)]
etc-hosts: new vocab.
Björn Lindqvist [Fri, 12 Aug 2016 12:29:01 +0000 (14:29 +0200)]
compiler.*: moving all words only relevant for testing to compiler.test
Björn Lindqvist [Fri, 12 Aug 2016 12:14:13 +0000 (14:14 +0200)]
compiler.cfg.gvn.tests: this vocab in extra appears redundant
It is almost identical to the one in compiler.cfg.value-numbering.tests
so I think it can be removed.
Björn Lindqvist [Fri, 12 Aug 2016 12:06:19 +0000 (14:06 +0200)]
compiler.cfg.test-words: vocab is unused so we can remove it
Björn Lindqvist [Fri, 12 Aug 2016 11:55:10 +0000 (13:55 +0200)]
compiler.cfg.stacks.local: using compiler.cfg.debugger to ensure consistent prettyprint output
Björn Lindqvist [Thu, 11 Aug 2016 16:05:39 +0000 (18:05 +0200)]
cpu.*: new generic word enable-cpu-features
The word is used during bootstrap to enable available cpu specific
intrinsics.
Björn Lindqvist [Thu, 11 Aug 2016 15:32:02 +0000 (17:32 +0200)]
system: looks like the name>> accessor can be used here
So then the cpu>string and os>string words aren't needed.
Björn Lindqvist [Thu, 11 Aug 2016 13:25:46 +0000 (15:25 +0200)]
alien.c-types: c-type-string without using prettyprint words
Using prettyprint caused deploy-images to grow unnecessarily.
Alexander Iljin [Wed, 10 Aug 2016 22:47:20 +0000 (01:47 +0300)]
ui.gadgets.tables: implement cell-dim and draw-cell for the f class
John Benediktsson [Thu, 11 Aug 2016 02:42:41 +0000 (19:42 -0700)]
Revert "assocs-docs: mark assoc-partition and partition as related words"
This reverts commit
892e41c1ce207682c4c0d726451c39280fc1fadd .
Alexander Iljin [Wed, 10 Aug 2016 21:57:55 +0000 (00:57 +0300)]
colors.constants-docs: update the list of files with named colors
Alexander Iljin [Wed, 10 Aug 2016 21:43:06 +0000 (00:43 +0300)]
ui.gadgets.tables-docs: add row-value? to the renderer protocol
Alexander Iljin [Wed, 10 Aug 2016 21:37:10 +0000 (00:37 +0300)]
ui.gadgets.tables: fix a typo in a comment
Alexander Iljin [Thu, 4 Aug 2016 18:12:19 +0000 (21:12 +0300)]
assocs-docs: mark assoc-partition and partition as related words
Alexander Iljin [Thu, 4 Aug 2016 18:11:47 +0000 (21:11 +0300)]
ui.tools-docs: fix description of the context menu behavior
Alexander Iljin [Tue, 9 Aug 2016 23:00:45 +0000 (02:00 +0300)]
ui.gadgets.tracks-docs: minor documentation improvements
Alexander Iljin [Tue, 9 Aug 2016 22:56:44 +0000 (01:56 +0300)]
ui.commands-docs: improve define-command-map word description
Alexander Iljin [Tue, 9 Aug 2016 22:55:22 +0000 (01:55 +0300)]
ui.gadgets.toolbar-docs: fix <toolbar> word description
Alexander Iljin [Tue, 9 Aug 2016 21:34:51 +0000 (00:34 +0300)]
ui.render-docs: fix description of graft-state
Björn Lindqvist [Wed, 10 Aug 2016 12:26:09 +0000 (14:26 +0200)]
alien.*: moving the c-type-string word to the alien.c-types vocab
This way it can be used in alien.parser instead of return-type-name.
Björn Lindqvist [Wed, 10 Aug 2016 11:45:38 +0000 (13:45 +0200)]
alien.parser/prettyprint: moving the predicates
Björn Lindqvist [Tue, 9 Aug 2016 23:18:52 +0000 (01:18 +0200)]
alien.*: frontend varargs support! #1677
alien-invoke gets an extra parameter indicating if the call uses varargs
or not. In 99.9% of the cases, the parameter should be f, but is t if
varargs are indicated. E.g
: do-printf ( fmt d -- st ) int f "printf" { c-string double } t alien-invoke ;
Björn Lindqvist [Tue, 9 Aug 2016 20:50:16 +0000 (22:50 +0200)]
compiler.cfg.builder.alien: simpler caller-stack-frame word
Björn Lindqvist [Tue, 9 Aug 2016 10:19:27 +0000 (12:19 +0200)]
alien.parser: method object return-type-name is redundant
John Benediktsson [Tue, 9 Aug 2016 02:39:24 +0000 (19:39 -0700)]
cuckoo-filters: less duplication in cuckoo-insert.
John Benediktsson [Tue, 9 Aug 2016 00:01:53 +0000 (17:01 -0700)]
cuckoo-filters: change language to refer to fingerprints.
John Benediktsson [Mon, 8 Aug 2016 22:54:58 +0000 (15:54 -0700)]
cuckoo-filters: minor cleanup.
John Benediktsson [Mon, 8 Aug 2016 22:18:36 +0000 (15:18 -0700)]
cuckoo-filters: using alien deref in tag-index.
John Benediktsson [Mon, 8 Aug 2016 22:15:08 +0000 (15:15 -0700)]
cuckoo-filters: adding some documentation.
John Benediktsson [Mon, 8 Aug 2016 21:31:36 +0000 (14:31 -0700)]
cuckoo-filters: add tests for lookup each value also.
John Benediktsson [Mon, 8 Aug 2016 17:13:11 +0000 (10:13 -0700)]
cuckoo-filters: new vocabulary.
John Benediktsson [Mon, 8 Aug 2016 17:11:58 +0000 (10:11 -0700)]
bloom-filters: adding summary.txt.
Björn Lindqvist [Mon, 8 Aug 2016 09:03:20 +0000 (11:03 +0200)]
compiler.*: Backend implementation of varargs
It is turned off by default. Support for using it coming soon. :)
Björn Lindqvist [Mon, 8 Aug 2016 08:37:50 +0000 (10:37 +0200)]
cpu.architecture: new docs
Björn Lindqvist [Mon, 8 Aug 2016 08:29:17 +0000 (10:29 +0200)]
cpu.*: float-on-stack? word never used
Björn Lindqvist [Sat, 6 Aug 2016 17:04:41 +0000 (19:04 +0200)]
stack-checker.*: infer doesn't need to be generic
Björn Lindqvist [Sat, 6 Aug 2016 17:00:23 +0000 (19:00 +0200)]
stack-checker.alien: new word stack-shape which replaces alien-inputs/outputs
Björn Lindqvist [Fri, 5 Aug 2016 14:44:19 +0000 (16:44 +0200)]
compiler.*, stack-checker.*: fixes to make the tests work on 32bit too
Björn Lindqvist [Fri, 5 Aug 2016 13:29:17 +0000 (15:29 +0200)]
VM: new ffi_test functions added
Doug Coleman [Sun, 31 Jul 2016 21:51:13 +0000 (14:51 -0700)]
forestdb.ffi: update to latest .h files
Björn Lindqvist [Thu, 4 Aug 2016 23:50:54 +0000 (01:50 +0200)]
Build: adding c99 flag, in case compiler doesn't enable it by default
Björn Lindqvist [Thu, 4 Aug 2016 23:07:31 +0000 (01:07 +0200)]
terminfo: new platforms.txt
Björn Lindqvist [Thu, 4 Aug 2016 23:01:25 +0000 (01:01 +0200)]
compiler.cfg.builder.*: fix for tests that broke on windows
Björn Lindqvist [Wed, 15 Jun 2016 10:06:10 +0000 (12:06 +0200)]
io.sockets.windows: WSASocket-flags not needed
Björn Lindqvist [Thu, 4 Aug 2016 18:30:12 +0000 (20:30 +0200)]
stack-checker.*: new tests
Björn Lindqvist [Thu, 4 Aug 2016 16:21:54 +0000 (18:21 +0200)]
stack-checker.*: removes the in-d and out-d slots from the alien-node-params tuple
That data is already on the #alien-node tuple so it doesn't need to be
stored twice.
Björn Lindqvist [Thu, 4 Aug 2016 14:43:50 +0000 (16:43 +0200)]
stack-checker.*: change pop-literal stack effect to ( -- obj )
The rstate return value is never used so we can remove it
Björn Lindqvist [Thu, 4 Aug 2016 11:30:24 +0000 (13:30 +0200)]
stack-checker.*: init-known-values word not needed
Doug Coleman [Thu, 4 Aug 2016 16:28:50 +0000 (09:28 -0700)]
vm: fix typo from c++ comment patch causing compile failure.
Björn Lindqvist [Wed, 3 Aug 2016 08:53:48 +0000 (10:53 +0200)]
alien: replacing the alien-*-error family of errors with callsite-not-compiled
All the errors did the same thing anyway. Also adding a summary method
to it.
John Benediktsson [Wed, 3 Aug 2016 18:28:28 +0000 (11:28 -0700)]
tools.cal: adding the "cal" utility.
Example usage:
$ ./factor -run=tools.cal
August 2016
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
John Benediktsson [Wed, 3 Aug 2016 18:25:06 +0000 (11:25 -0700)]
sequences.extras: adding pad-center.
Alexander Iljin [Sat, 30 Jul 2016 02:23:10 +0000 (05:23 +0300)]
vm: replace line comments // with block comments /**/ for consintency
Fix #1651.
Björn Lindqvist [Tue, 2 Aug 2016 21:36:02 +0000 (23:36 +0200)]
compiler.tests.alien: tests for varargs calls
Björn Lindqvist [Tue, 2 Aug 2016 03:03:02 +0000 (05:03 +0200)]
cpu.x86.*: improved varargs support
Now on the x86.64 platform, we set the AL register to contain the nr of
floating point values passed to the function as required by the abi.
John Benediktsson [Tue, 2 Aug 2016 20:16:30 +0000 (13:16 -0700)]
checksums.crc32: verify checksum-state is working.
John Benediktsson [Tue, 2 Aug 2016 17:58:48 +0000 (10:58 -0700)]
checksums: fix stack effect of with-checksum-state.
Björn Lindqvist [Mon, 1 Aug 2016 23:28:49 +0000 (01:28 +0200)]
compiler.cfg.builder.alien.tests: fix for the test case i broke
John Benediktsson [Mon, 1 Aug 2016 22:46:30 +0000 (15:46 -0700)]
checksums: make checksum-state implement dispose.
Björn Lindqvist [Mon, 1 Aug 2016 19:51:40 +0000 (21:51 +0200)]
compiler.cfg.*: lots of new tests
Björn Lindqvist [Mon, 1 Aug 2016 19:50:30 +0000 (21:50 +0200)]
compiler.*: new docs
Björn Lindqvist [Mon, 1 Aug 2016 19:34:58 +0000 (21:34 +0200)]
compiler.cfg.builder.alien.params: refactors the next-reg-param and reg-class-full? words
Björn Lindqvist [Mon, 1 Aug 2016 18:56:21 +0000 (20:56 +0200)]
compiler.cfg.builder.alien.*: merge of with-param-regs and with-param-regs*
Björn Lindqvist [Mon, 1 Aug 2016 17:33:01 +0000 (19:33 +0200)]
cpu.*: removes the vector-regs hook
It is not needed for now as float-regs are always used for vector-reps.
Björn Lindqvist [Mon, 1 Aug 2016 04:05:38 +0000 (06:05 +0200)]
cpu.*: the %loop-entry word is unused
John Benediktsson [Mon, 1 Aug 2016 17:22:16 +0000 (10:22 -0700)]
io.sockets: adding docs and tests for port-protocol.
Björn Lindqvist [Sun, 31 Jul 2016 00:46:39 +0000 (02:46 +0200)]
urls: better parsing of the scheme component of urls
normalize to lowercase and a few more characters are allowed in the
protocol part.
John Benediktsson [Sat, 30 Jul 2016 18:12:40 +0000 (11:12 -0700)]
io.sockets: adding port-protocol to match protocol-port.
Björn Lindqvist [Sat, 30 Jul 2016 17:00:14 +0000 (19:00 +0200)]
FUEL: syntax fixes for MAIN-WINDOW:, LOG: and TUPLE: with initial values
Björn Lindqvist [Sat, 30 Jul 2016 16:58:03 +0000 (18:58 +0200)]
io.monitors.recursive: with-qualified-directory-files works here
Björn Lindqvist [Sat, 30 Jul 2016 16:16:29 +0000 (18:16 +0200)]
ui.tools.*: fix swapped argument order for set-tool-dim
Björn Lindqvist [Sat, 30 Jul 2016 15:30:51 +0000 (17:30 +0200)]
terminfo.tests: two sanity tests
Björn Lindqvist [Sat, 30 Jul 2016 15:28:09 +0000 (17:28 +0200)]
terminfo: makes it so terminfo files are looked up from a set of dirs
On Ubuntu, terminfo files are stored in /lib/terminfo, but they can also
be found in any of the other dirs listed in TERMINFO-DIRS.
Björn Lindqvist [Sat, 30 Jul 2016 13:02:37 +0000 (15:02 +0200)]
io.directories.*: move of the qualified directory listing words to io.directories
Björn Lindqvist [Fri, 29 Jul 2016 22:42:42 +0000 (00:42 +0200)]
ui.tools.*: new docs
Björn Lindqvist [Fri, 29 Jul 2016 22:41:30 +0000 (00:41 +0200)]
ui.tools.common: it's nicer to store the tool dims as word properties
John Benediktsson [Sat, 30 Jul 2016 16:31:10 +0000 (09:31 -0700)]
checksums: making "checksum-state" a universal concept.
I'm not super happy with the design yet, partly because OpenSSL doesn't
subclass ``checksum-state`` so all ``initialize-checksum-state`` will not
return a ``checksum-state`` instance. That could maybe be changed by making
``checksum-state`` a mixin, or perhaps some other way.
Alexander Iljin [Sun, 24 Jul 2016 23:02:40 +0000 (02:02 +0300)]
vm: add a comment on possible issues with QueryPerformanceCounter
Alexander Iljin [Tue, 26 Jul 2016 17:23:47 +0000 (20:23 +0300)]
combinators-docs: fix wording
Alexander Iljin [Thu, 28 Jul 2016 18:02:14 +0000 (21:02 +0300)]
math.functions-docs: fix wording for abs and absq
Those functions are not specific to complex numbers.
Alexander Iljin [Thu, 28 Jul 2016 17:41:02 +0000 (20:41 +0300)]
math: fix stack effect declaration for the neg? generic
Alexander Iljin [Thu, 28 Jul 2016 17:39:43 +0000 (20:39 +0300)]
docs: replace $description with $class-description for class words
Alexander Iljin [Fri, 22 Jul 2016 16:03:40 +0000 (19:03 +0300)]
calendar.format: add hm>timestamp
Alexander Iljin [Thu, 21 Jul 2016 07:14:44 +0000 (10:14 +0300)]
io.files.info-docs: fix links to file-info-tuple parameters
Alexander Iljin [Tue, 19 Jul 2016 10:24:12 +0000 (13:24 +0300)]
progress-bars.models-docs: fix example code for with-file-reader-progress
Alexander Iljin [Thu, 14 Jul 2016 13:58:05 +0000 (16:58 +0300)]
tools.scaffold-docs: add documentation for the scaffold-work word
Alexander Iljin [Tue, 28 Jun 2016 23:32:32 +0000 (02:32 +0300)]
Add EOL at EOF for all authors.txt files for consistency
In some instances replaced CR/LF with LF.
Alexander Iljin [Tue, 28 Jun 2016 21:11:51 +0000 (00:11 +0300)]
math-docs: fix a copy-paste error
Björn Lindqvist [Wed, 27 Jul 2016 12:19:05 +0000 (14:19 +0200)]
editors.emacs: pass alternative-editor param in case emacs isn't running
Björn Lindqvist [Mon, 25 Jul 2016 12:15:00 +0000 (14:15 +0200)]
cpu.x86.*: fix %prepare-var-args
EAX EAX XOR over RAX shaves off one byte
Alexander Iljin [Mon, 25 Jul 2016 16:29:25 +0000 (19:29 +0300)]
windows.fonts: call reset-memoized for windows-fonts on startup
Doug Coleman [Fri, 22 Jul 2016 15:19:54 +0000 (08:19 -0700)]
db.sqlite: Fix NULL returns for INTEGER columns in sqlite
The api for getting integer/double columns from sqlite3 returns a zero, but the value could still be NULL, so an extra api check for the sqlite type is required.
Fixes #1674.
John Benediktsson [Mon, 18 Jul 2016 17:05:38 +0000 (10:05 -0700)]
regexp.minimize: a little bit simpler, a little bit faster.
John Benediktsson [Sat, 16 Jul 2016 23:51:17 +0000 (16:51 -0700)]
help.lint.checks: adding linux and windows ui disposables.
John Benediktsson [Sat, 16 Jul 2016 23:28:04 +0000 (16:28 -0700)]
help.lint.checks: factored out to no-ui-disposables word.
John Benediktsson [Sat, 16 Jul 2016 23:22:06 +0000 (16:22 -0700)]
help.lint: use vocab-exists? and eliminate UI disposables from check.