]>
gitweb.factorcode.org Git - factor.git/log
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.
John Benediktsson [Sat, 16 Jul 2016 23:21:45 +0000 (16:21 -0700)]
vocabs.loader: one vocab-exists? word.
John Benediktsson [Sat, 16 Jul 2016 17:53:36 +0000 (10:53 -0700)]
using ``H{ } zip-index-as``.
instead of ``<enum> [ swap ] H{ } assoc-map-as``.
John Benediktsson [Sat, 16 Jul 2016 17:16:29 +0000 (10:16 -0700)]
ui: some more dark theme polish.
John Benediktsson [Sat, 16 Jul 2016 14:37:15 +0000 (07:37 -0700)]
ui.gadgets.panes: fix #1661.
Using old "split-lines" behavior that was needed by documents vocabulary,
rather than the new "string-lines" behavior that doesn't indicate if the
string is newline terminated.
Björn Lindqvist [Wed, 13 Jul 2016 15:34:40 +0000 (17:34 +0200)]
FUEL: fix name of customization variable
Björn Lindqvist [Wed, 13 Jul 2016 15:34:08 +0000 (17:34 +0200)]
FUEL: add (require 'smie), fixes #1672
John Benediktsson [Tue, 12 Jul 2016 16:07:10 +0000 (09:07 -0700)]
project-euler.265: fix bad refactor.
John Benediktsson [Tue, 12 Jul 2016 04:09:11 +0000 (21:09 -0700)]
math.approx: fix typo in docs.
John Benediktsson [Tue, 12 Jul 2016 04:01:03 +0000 (21:01 -0700)]
using [ ... ] [ drop ] if* instead of dup [ ... ] [ 2drop ] if.
John Benediktsson [Tue, 12 Jul 2016 02:51:28 +0000 (19:51 -0700)]
checksums.sha: speedup, still more to do.
John Benediktsson [Tue, 12 Jul 2016 02:50:37 +0000 (19:50 -0700)]
using [ ] [ ... ] ?if instead of [ nip ] [ ... ] if*.
John Benediktsson [Mon, 11 Jul 2016 21:02:33 +0000 (14:02 -0700)]
checksums.md5: minor thing.
John Benediktsson [Mon, 11 Jul 2016 21:00:53 +0000 (14:00 -0700)]
random: no need to zero bytes in M\ object random-bytes*.
John Benediktsson [Mon, 11 Jul 2016 21:00:15 +0000 (14:00 -0700)]
random.mersenne-twister: simplify seed-random.
John Benediktsson [Mon, 11 Jul 2016 03:28:46 +0000 (20:28 -0700)]
use ?delete-file instead of [ delete-file ] ignore-errors.
John Benediktsson [Mon, 11 Jul 2016 03:28:28 +0000 (20:28 -0700)]
math.integers: use must-fail instead of ignore-errors.
John Benediktsson [Mon, 11 Jul 2016 01:18:41 +0000 (18:18 -0700)]
unicode: add the number of tests...
...so we don't accidentally stop testing things that should be tested.
John Benediktsson [Sun, 10 Jul 2016 23:54:02 +0000 (16:54 -0700)]
unicode.normalize: better tests that don't spam the console.
John Benediktsson [Sun, 10 Jul 2016 23:36:14 +0000 (16:36 -0700)]
unicode.collation: better tests that don't spam the console.
John Benediktsson [Sun, 10 Jul 2016 22:44:54 +0000 (15:44 -0700)]
http.server.responses: less dynamic but equal.
John Benediktsson [Sun, 10 Jul 2016 22:26:58 +0000 (15:26 -0700)]
http.server.responses: load trivial responses from a text file.
Doug Coleman [Sun, 10 Jul 2016 16:40:16 +0000 (11:40 -0500)]
checksums.common: don't need next-level anymore thanks to cleanup.
John Benediktsson [Sun, 10 Jul 2016 03:58:14 +0000 (20:58 -0700)]
checksums.common: simplify add-checksum-bytes.
Doug Coleman [Sat, 9 Jul 2016 21:59:15 +0000 (16:59 -0500)]
checksums: Ugly fix for incremental checksums. Add randomized unit tests to ensure that varying length payloads are the same incrementally or all at once.
Doug Coleman [Sat, 9 Jul 2016 19:17:59 +0000 (14:17 -0500)]
checksums: Really fix... only add the number of extra bytes in the last unchecksummed block.
Doug Coleman [Sat, 9 Jul 2016 18:53:30 +0000 (13:53 -0500)]
checksums.common: Checksums was calculating the new length based on the entire array, not on the number of recently added bytes.
Reported by Александр Ilin.
Jon Harper [Sun, 26 Jun 2016 18:35:25 +0000 (20:35 +0200)]
http.server.static: add sorts on columns
Jon Harper [Wed, 22 Jun 2016 21:20:48 +0000 (23:20 +0200)]
http.server.static, html table listings
Björn Lindqvist [Sat, 2 Jul 2016 13:27:33 +0000 (15:27 +0200)]
FUEL: readding factor-method-definition-regex
It is needed by the fuel-refactor--def-word function.
Björn Lindqvist [Sat, 2 Jul 2016 13:26:41 +0000 (15:26 +0200)]
FUEL: unused function removed
Björn Lindqvist [Sat, 2 Jul 2016 01:28:19 +0000 (03:28 +0200)]
FUEL: better symbol-capturing regexp and support for X-FUNCTION
Björn Lindqvist [Sat, 2 Jul 2016 01:24:46 +0000 (03:24 +0200)]
FUEL: new indentation system based on smie
smie makes writing the indentation code much simpler. It also takes care
of some corner cases that led to bad indentation before like stack
effects split over multiple lines.
See: http://emacs.
1067599 .n5.nabble.com/SMIE-examples-or-guides-td400784.html
Björn Lindqvist [Thu, 30 Jun 2016 11:44:18 +0000 (13:44 +0200)]
VM: fixing small style issues
Like aligning comments and changing //-comments to /* */
John Benediktsson [Fri, 1 Jul 2016 14:55:50 +0000 (07:55 -0700)]
windows.ole32: use sets in tests.
John Benediktsson [Thu, 30 Jun 2016 21:50:47 +0000 (14:50 -0700)]
hashcash: quick fix for string argument to checksum-bytes.
John Benediktsson [Thu, 30 Jun 2016 21:47:18 +0000 (14:47 -0700)]
checksums: fix test using.
John Benediktsson [Thu, 30 Jun 2016 21:11:24 +0000 (14:11 -0700)]
io.backend: remove unused normalize-directory word.
John Benediktsson [Thu, 30 Jun 2016 19:34:36 +0000 (12:34 -0700)]
checksums: remove doc for stream-checksum.
John Benediktsson [Thu, 30 Jun 2016 18:41:27 +0000 (11:41 -0700)]
checksums: some cleanup.
- define checksum-bytes and checksum-stream in terms of each other
- delete stream-checksum now that it's no longer needed
- move checksum-state stuff into checksums.common
- add a block-checksum that uses the checksum-state stuff
- change checksums.openssl to not use the checksum-state
John Benediktsson [Thu, 30 Jun 2016 18:36:08 +0000 (11:36 -0700)]
io.encodings.binary: move to core.
John Benediktsson [Thu, 30 Jun 2016 18:13:51 +0000 (11:13 -0700)]
checksums.common: some cleanup, remove unused stuff.
Björn Lindqvist [Thu, 30 Jun 2016 00:42:23 +0000 (02:42 +0200)]
FUEL: makes accessors and tuple slots with backslashes highlight correctly
Björn Lindqvist [Wed, 29 Jun 2016 23:00:42 +0000 (01:00 +0200)]
FUEL: fix highlighting of strings escaping quote characters
(modify-syntax-entry ?\\ "_" table) was wrong, instead a bigger regexp
is needed.
John Benediktsson [Wed, 29 Jun 2016 21:31:32 +0000 (14:31 -0700)]
checksums.openssl: make evp-md-context private.