]> gitweb.factorcode.org Git - factor.git/log
factor.git
6 years agowindows.kernel32: add the FILE_* constants for GetVolumeInformation 1965/head
Alexander Iljin [Sun, 4 Mar 2018 15:18:07 +0000 (16:18 +0100)]
windows.kernel32: add the FILE_* constants for GetVolumeInformation

6 years agodb.types-docs: mention the +primary-key+ in the appropriate help section
Alexander Iljin [Sun, 25 Feb 2018 10:43:24 +0000 (11:43 +0100)]
db.types-docs: mention the +primary-key+ in the appropriate help section

6 years agodb.sqlite: support the +primary-key+ modifier
Alexander Iljin [Sun, 25 Feb 2018 10:42:21 +0000 (11:42 +0100)]
db.sqlite: support the +primary-key+ modifier

6 years agomultiline-docs: amend the help for /*
Alexander Iljin [Tue, 23 Jan 2018 12:51:48 +0000 (13:51 +0100)]
multiline-docs: amend the help for /*

6 years agogobject-introspection: cleanup using.
John Benediktsson [Sun, 4 Mar 2018 00:14:48 +0000 (16:14 -0800)]
gobject-introspection: cleanup using.

6 years agogobject-introspection: using xdg vocab.
John Benediktsson [Sun, 4 Mar 2018 00:13:23 +0000 (16:13 -0800)]
gobject-introspection: using xdg vocab.

6 years agochecksums.metrohash: fix using in tests.
John Benediktsson [Sun, 4 Mar 2018 00:11:33 +0000 (16:11 -0800)]
checksums.metrohash: fix using in tests.

6 years agochecksums.metrohash: adding a first version of MetroHash algorithm.
John Benediktsson [Sat, 3 Mar 2018 22:17:45 +0000 (14:17 -0800)]
checksums.metrohash: adding a first version of MetroHash algorithm.

6 years agoio.encodings.8-bit: adding KZ-1048 and KOI8-U.
John Benediktsson [Sat, 3 Mar 2018 00:09:21 +0000 (16:09 -0800)]
io.encodings.8-bit: adding KZ-1048 and KOI8-U.

6 years agoio.encodings.8-bit: adding cp424.
John Benediktsson [Thu, 1 Mar 2018 18:48:08 +0000 (10:48 -0800)]
io.encodings.8-bit: adding cp424.

6 years agominesweeper: adding deploy file.
John Benediktsson [Thu, 1 Mar 2018 18:45:32 +0000 (10:45 -0800)]
minesweeper: adding deploy file.

right now it includes too much stuff so the file sizes are a little big.

6 years agoio.encodings.detect: fix tests.
John Benediktsson [Wed, 28 Feb 2018 23:10:43 +0000 (15:10 -0800)]
io.encodings.detect: fix tests.

6 years agoquoted-printable: whoops tests needs latin2, not latin1.
John Benediktsson [Wed, 28 Feb 2018 19:08:45 +0000 (11:08 -0800)]
quoted-printable: whoops tests needs latin2, not latin1.

6 years agoio.encodings.8-bit: reimplement M\ 8-bit encode-string.
John Benediktsson [Wed, 28 Feb 2018 18:35:33 +0000 (10:35 -0800)]
io.encodings.8-bit: reimplement M\ 8-bit encode-string.

6 years agoio.encodings.latin1: re-implement M\ latin1 encode-string.
John Benediktsson [Wed, 28 Feb 2018 18:35:23 +0000 (10:35 -0800)]
io.encodings.latin1: re-implement M\ latin1 encode-string.

6 years agoio.encodings.8-bit: save 37% memory space by "compressing" codetable.
John Benediktsson [Wed, 28 Feb 2018 18:22:13 +0000 (10:22 -0800)]
io.encodings.8-bit: save 37% memory space by "compressing" codetable.

Instead of a biassoc with from/to hashtables, we make a from array that
is 256 length, using indexing instead of hashing since we know 8-bit
characters are [0,255] and the to hashtable.

6 years agodbf: use substitute instead of replace in parse-numeric.
John Benediktsson [Wed, 28 Feb 2018 17:56:12 +0000 (09:56 -0800)]
dbf: use substitute instead of replace in parse-numeric.

6 years agoio.encodings.8-bit: remove latin1 help for now.
John Benediktsson [Wed, 28 Feb 2018 17:56:04 +0000 (09:56 -0800)]
io.encodings.8-bit: remove latin1 help for now.

6 years agoalien.strings: remove latin1 dependency.
John Benediktsson [Wed, 28 Feb 2018 16:58:30 +0000 (08:58 -0800)]
alien.strings: remove latin1 dependency.

6 years agoRevert "tools.deploy: bump image sizes."
John Benediktsson [Wed, 28 Feb 2018 16:55:46 +0000 (08:55 -0800)]
Revert "tools.deploy: bump image sizes."

This reverts commit 980b42676030c349f28368c7cea7c5ed3ae740ff.

6 years agoio.encodings: use new latin1 instead of 8-bit encoding from file.
John Benediktsson [Wed, 28 Feb 2018 16:55:15 +0000 (08:55 -0800)]
io.encodings: use new latin1 instead of 8-bit encoding from file.

6 years agoio.encodings.latin1: adding a memory efficient latin1 encoding.
John Benediktsson [Wed, 28 Feb 2018 16:54:50 +0000 (08:54 -0800)]
io.encodings.latin1: adding a memory efficient latin1 encoding.

6 years agoio.encodings.euc: make encoding table read-only.
John Benediktsson [Wed, 28 Feb 2018 16:52:15 +0000 (08:52 -0800)]
io.encodings.euc: make encoding table read-only.

6 years agotools.test: improved docs
Björn Lindqvist [Sun, 25 Feb 2018 21:22:52 +0000 (22:22 +0100)]
tools.test: improved docs

6 years agomachine-learning.data-sets: renaming slots in the data-set tuple
Björn Lindqvist [Sun, 25 Feb 2018 14:24:53 +0000 (15:24 +0100)]
machine-learning.data-sets: renaming slots in the data-set tuple

"features" is a better name for the slot than "data"

6 years agomath.affine-transforms: some docs for the vocab
Björn Lindqvist [Sun, 25 Feb 2018 14:11:59 +0000 (15:11 +0100)]
math.affine-transforms: some docs for the vocab

6 years agotools.scaffold.windows: handle rename of touch.
John Benediktsson [Tue, 27 Feb 2018 04:45:14 +0000 (20:45 -0800)]
tools.scaffold.windows: handle rename of touch.

6 years agoproject-euler.060: solution for #60.
John Benediktsson [Tue, 27 Feb 2018 04:43:35 +0000 (20:43 -0800)]
project-euler.060: solution for #60.

6 years agocleanup a few resource paths.
John Benediktsson [Tue, 27 Feb 2018 01:38:07 +0000 (17:38 -0800)]
cleanup a few resource paths.

6 years agofix a couple more tilde paths.
John Benediktsson [Tue, 27 Feb 2018 01:33:36 +0000 (17:33 -0800)]
fix a couple more tilde paths.

6 years agohelp.pdf: use tilde paths.
John Benediktsson [Tue, 27 Feb 2018 01:29:10 +0000 (17:29 -0800)]
help.pdf: use tilde paths.

6 years agotools.scaffold: rename ``touch.`` to ``scaffold-file``.
John Benediktsson [Tue, 27 Feb 2018 01:21:27 +0000 (17:21 -0800)]
tools.scaffold: rename ``touch.`` to ``scaffold-file``.

6 years agouse tilde paths instead of home append-path.
John Benediktsson [Tue, 27 Feb 2018 01:17:15 +0000 (17:17 -0800)]
use tilde paths instead of home append-path.

6 years agoio.files.trash.unix: use xdg vocab.
John Benediktsson [Tue, 27 Feb 2018 01:16:43 +0000 (17:16 -0800)]
io.files.trash.unix: use xdg vocab.

6 years agoio.encodings.8-bit: simplify by not implementing encode-string.
John Benediktsson [Mon, 26 Feb 2018 23:19:53 +0000 (15:19 -0800)]
io.encodings.8-bit: simplify by not implementing encode-string.

6 years agoio.encodings.japanese: not used.
John Benediktsson [Mon, 26 Feb 2018 23:02:44 +0000 (15:02 -0800)]
io.encodings.japanese: not used.

6 years agoRevert "io.encodings.8-bit: adding CP874."
John Benediktsson [Mon, 26 Feb 2018 20:30:11 +0000 (12:30 -0800)]
Revert "io.encodings.8-bit: adding CP874."

This reverts commit 9cccb4de9531715d813805112f942f29cf9c2466.

6 years agotools.deploy: bump image sizes.
John Benediktsson [Mon, 26 Feb 2018 20:13:35 +0000 (12:13 -0800)]
tools.deploy: bump image sizes.

6 years agoio.encodings.8-bit: adding CP874.
John Benediktsson [Mon, 26 Feb 2018 19:45:11 +0000 (11:45 -0800)]
io.encodings.8-bit: adding CP874.

6 years agominesweeper: ignore space keypress for hint cheat.
John Benediktsson [Mon, 26 Feb 2018 19:32:04 +0000 (11:32 -0800)]
minesweeper: ignore space keypress for hint cheat.

6 years agodbf: beginning to parse dBase database files.
John Benediktsson [Mon, 26 Feb 2018 18:32:53 +0000 (10:32 -0800)]
dbf: beginning to parse dBase database files.

6 years agoio.encodings.8-bit: more encodings, and reduce hierarchy.
John Benediktsson [Mon, 26 Feb 2018 18:21:35 +0000 (10:21 -0800)]
io.encodings.8-bit: more encodings, and reduce hierarchy.

6 years agoio.encodings.iana: need IN: form for tests.
John Benediktsson [Mon, 26 Feb 2018 04:25:37 +0000 (20:25 -0800)]
io.encodings.iana: need IN: form for tests.

6 years agomore test IN: cleanup.
John Benediktsson [Sun, 25 Feb 2018 23:44:16 +0000 (15:44 -0800)]
more test IN: cleanup.

6 years agovocabs.refresh: slight cleanup.
John Benediktsson [Sun, 25 Feb 2018 22:12:54 +0000 (14:12 -0800)]
vocabs.refresh: slight cleanup.

6 years agovocabs.refresh: changing ``changed-vocabs`` to a hash-set.
John Benediktsson [Sun, 25 Feb 2018 20:00:07 +0000 (12:00 -0800)]
vocabs.refresh: changing ``changed-vocabs`` to a hash-set.

6 years agoclasses.error: adding a summary.txt.
John Benediktsson [Sun, 25 Feb 2018 19:38:58 +0000 (11:38 -0800)]
classes.error: adding a summary.txt.

6 years agohelp.vocabs: continue using convert-prefixes in $vocabs.
John Benediktsson [Sun, 25 Feb 2018 02:11:26 +0000 (18:11 -0800)]
help.vocabs: continue using convert-prefixes in $vocabs.

6 years agotools.scaffold: revert previous commit.
John Benediktsson [Sun, 25 Feb 2018 02:01:55 +0000 (18:01 -0800)]
tools.scaffold: revert previous commit.

6 years agotools.scaffold: include vocab-root in error message.
John Benediktsson [Sun, 25 Feb 2018 00:07:24 +0000 (16:07 -0800)]
tools.scaffold: include vocab-root in error message.

6 years agotools.scaffold: make sure vocab does not exist.
John Benediktsson [Sat, 24 Feb 2018 23:49:32 +0000 (15:49 -0800)]
tools.scaffold: make sure vocab does not exist.

6 years agohelp.html: cleanup using list.
John Benediktsson [Sat, 24 Feb 2018 23:44:44 +0000 (15:44 -0800)]
help.html: cleanup using list.

6 years agohelp.html: "no-roots no-prefixes" has a name, "filter-vocabs".
John Benediktsson [Sat, 24 Feb 2018 23:43:18 +0000 (15:43 -0800)]
help.html: "no-roots no-prefixes" has a name, "filter-vocabs".

6 years agohelp.html: remove funky vocab-prefix hack.
John Benediktsson [Sat, 24 Feb 2018 23:40:23 +0000 (15:40 -0800)]
help.html: remove funky vocab-prefix hack.

6 years agomachine-learning.decision-trees: more thorough tests
Björn Lindqvist [Sat, 24 Feb 2018 20:24:54 +0000 (21:24 +0100)]
machine-learning.decision-trees: more thorough tests

6 years agomath.statistics: the sample and population mean is the same
Björn Lindqvist [Sat, 24 Feb 2018 19:09:36 +0000 (20:09 +0100)]
math.statistics: the sample and population mean is the same

Afaik, the mean word works both for population data and for
samples. Which is different from standard deviations, where you have
different formulas for population and sample std.

6 years agomath.matrices: rename for consistency
Björn Lindqvist [Fri, 23 Feb 2018 22:47:55 +0000 (23:47 +0100)]
math.matrices: rename for consistency

Getting the sample cov matrix is actually much more common than getting
the population one.

6 years agoFUEL: this defcustom is unused
Björn Lindqvist [Fri, 23 Feb 2018 21:07:37 +0000 (22:07 +0100)]
FUEL: this defcustom is unused

6 years agominesweeper: minor doc edits.
John Benediktsson [Sat, 24 Feb 2018 21:01:17 +0000 (13:01 -0800)]
minesweeper: minor doc edits.

6 years ago.gitattributes: add the eol=lf attribute to html-files (fixes #1916)
Alexander Iljin [Sat, 24 Feb 2018 20:28:05 +0000 (21:28 +0100)]
.gitattributes: add the eol=lf attribute to html-files (fixes #1916)

6 years agominesweeper: adding some help docs and cap timer at 999 seconds.
John Benediktsson [Sat, 24 Feb 2018 20:20:00 +0000 (12:20 -0800)]
minesweeper: adding some help docs and cap timer at 999 seconds.

6 years agominesweeper: simpler hint mode, type more to disable.
John Benediktsson [Sat, 24 Feb 2018 17:49:38 +0000 (09:49 -0800)]
minesweeper: simpler hint mode, type more to disable.

6 years agominesweeper: adding XYZZY hint like the original.
John Benediktsson [Sat, 24 Feb 2018 16:15:56 +0000 (08:15 -0800)]
minesweeper: adding XYZZY hint like the original.

6 years agominesweeper: some fixes to keep correct flag when winning/losing.
John Benediktsson [Sat, 24 Feb 2018 16:13:30 +0000 (08:13 -0800)]
minesweeper: some fixes to keep correct flag when winning/losing.

6 years agominesweeper: grid sizes were off by one.
John Benediktsson [Sat, 24 Feb 2018 04:46:05 +0000 (20:46 -0800)]
minesweeper: grid sizes were off by one.

6 years agodb.tuples: use natural-sort in test case.
John Benediktsson [Thu, 22 Feb 2018 22:23:22 +0000 (14:23 -0800)]
db.tuples: use natural-sort in test case.

6 years agodb.tuples: simplify recreate-table.
John Benediktsson [Thu, 22 Feb 2018 18:19:50 +0000 (10:19 -0800)]
db.tuples: simplify recreate-table.

6 years agoshapefiles: add tests verifying roundtrip save-and-load.
John Benediktsson [Thu, 22 Feb 2018 18:15:03 +0000 (10:15 -0800)]
shapefiles: add tests verifying roundtrip save-and-load.

6 years agoshapefiles: implement save-shapes.
John Benediktsson [Thu, 22 Feb 2018 18:14:20 +0000 (10:14 -0800)]
shapefiles: implement save-shapes.

6 years agoshapefiles: reorganize a bit, and add ``load-shapes``.
John Benediktsson [Thu, 22 Feb 2018 17:45:36 +0000 (09:45 -0800)]
shapefiles: reorganize a bit, and add ``load-shapes``.

6 years agodb.tuples: use recreate-table in tests.
John Benediktsson [Thu, 22 Feb 2018 16:46:39 +0000 (08:46 -0800)]
db.tuples: use recreate-table in tests.

6 years agodb.tuples: fix tests for select-me table not exists.
John Benediktsson [Thu, 22 Feb 2018 16:26:28 +0000 (08:26 -0800)]
db.tuples: fix tests for select-me table not exists.

the first time run, the table can't be dropped because it doesn't exist.

6 years agodb.tuples-tests: add tests for each-tuple and update-tuples
Alexander Iljin [Wed, 21 Feb 2018 17:25:04 +0000 (18:25 +0100)]
db.tuples-tests: add tests for each-tuple and update-tuples

6 years agodb.tuples[-docs]: update copyright headers
Alexander Iljin [Wed, 14 Feb 2018 14:28:02 +0000 (15:28 +0100)]
db.tuples[-docs]: update copyright headers

6 years agodb.tuples[-docs]: add update-tuples
Alexander Iljin [Wed, 14 Feb 2018 13:00:42 +0000 (14:00 +0100)]
db.tuples[-docs]: add update-tuples

6 years agodb.tuples[-docs]: add each-tuple
Alexander Iljin [Wed, 14 Feb 2018 14:26:28 +0000 (15:26 +0100)]
db.tuples[-docs]: add each-tuple

6 years agodb.{tuples,types}-docs: fix an indefinite article
Alexander Iljin [Wed, 14 Feb 2018 12:59:21 +0000 (13:59 +0100)]
db.{tuples,types}-docs: fix an indefinite article

Replace "a SQL" with "an SQL".

6 years agoio.streams.string: implement stream-tell for sbufs.
John Benediktsson [Mon, 19 Feb 2018 17:46:33 +0000 (09:46 -0800)]
io.streams.string: implement stream-tell for sbufs.

6 years agoio.streams.byte-array: implement stream-tell for byte-vector.
John Benediktsson [Mon, 19 Feb 2018 17:46:18 +0000 (09:46 -0800)]
io.streams.byte-array: implement stream-tell for byte-vector.

6 years agoassocs.extras: fry can easily curry the top item of the stack.
Doug Coleman [Tue, 20 Feb 2018 07:21:28 +0000 (01:21 -0600)]
assocs.extras: fry can easily curry the top item of the stack.

6 years agowindows: Add some words that would be useful for Windows notifications.
Doug Coleman [Tue, 20 Feb 2018 05:46:30 +0000 (23:46 -0600)]
windows: Add some words that would be useful for Windows notifications.

6 years agoui.backend.windows: Refactoring how messages are handled a bit.
Doug Coleman [Tue, 20 Feb 2018 05:45:21 +0000 (23:45 -0600)]
ui.backend.windows: Refactoring how messages are handled a bit.

This is using a word from extra/

6 years agoassocs.extras: go nuts on the crazy assoc words.
Doug Coleman [Tue, 20 Feb 2018 04:36:48 +0000 (22:36 -0600)]
assocs.extras: go nuts on the crazy assoc words.

6 years agopython: Fix docs for when python dll is missing.
Doug Coleman [Mon, 19 Feb 2018 23:09:59 +0000 (17:09 -0600)]
python: Fix docs for when python dll is missing.

6 years agopython: Fix like three thinko bugs but it works now.
Doug Coleman [Mon, 19 Feb 2018 22:32:25 +0000 (16:32 -0600)]
python: Fix like three thinko bugs but it works now.

6 years agopython: Fix unit tests -- only test when library is loaded.
Doug Coleman [Mon, 19 Feb 2018 21:01:08 +0000 (15:01 -0600)]
python: Fix unit tests -- only test when library is loaded.

Also reformat some unit tests that have a quot as the stack output.

6 years agopython: Only call the init if python is actually present.
Doug Coleman [Mon, 19 Feb 2018 16:41:46 +0000 (10:41 -0600)]
python: Only call the init if python is actually present.

Fixes #1952

6 years agoalien.libraries: load-library is misnamed, refactor library-dll.
Doug Coleman [Mon, 19 Feb 2018 16:34:06 +0000 (10:34 -0600)]
alien.libraries: load-library is misnamed, refactor library-dll.

load-library implies that dlopen() is called, which is totally not the
case. add-library calls dlopen() and load-library just looks the opened
library up in the ``libraries`` global. What load-library did is now
library-dll.

If we want to do it right, add-library should be a declarative top-level
form that tries to call a real load-library on demand instead of
memoizing the first try which would fix the case where the library is
not found, is moved into position by the user and Factor declines to
look it up again.

6 years agoshapefiles: reorder words to match read-shape enum list.
John Benediktsson [Mon, 19 Feb 2018 16:13:00 +0000 (08:13 -0800)]
shapefiles: reorder words to match read-shape enum list.

6 years agoshapefiles: fix stacke effect names in read-shp.
John Benediktsson [Mon, 19 Feb 2018 00:12:31 +0000 (16:12 -0800)]
shapefiles: fix stacke effect names in read-shp.

6 years agoshapefiles: use null-shape singleton for... null shapes.
John Benediktsson [Mon, 19 Feb 2018 00:08:18 +0000 (16:08 -0800)]
shapefiles: use null-shape singleton for... null shapes.

6 years agoshapefiles: more cleanup.
John Benediktsson [Mon, 19 Feb 2018 00:06:42 +0000 (16:06 -0800)]
shapefiles: more cleanup.

6 years agoshapefiles: cleanup, simplify a bit.
John Benediktsson [Sun, 18 Feb 2018 23:54:39 +0000 (15:54 -0800)]
shapefiles: cleanup, simplify a bit.

6 years agoshapefiles: adding parser for ESRI Shapefiles.
John Benediktsson [Sun, 18 Feb 2018 23:48:21 +0000 (15:48 -0800)]
shapefiles: adding parser for ESRI Shapefiles.

6 years agonamed-tuples: few more test cases.
John Benediktsson [Sun, 18 Feb 2018 16:17:10 +0000 (08:17 -0800)]
named-tuples: few more test cases.

6 years agonamed-tuples: make work with bignum indices.
John Benediktsson [Sun, 18 Feb 2018 02:34:32 +0000 (18:34 -0800)]
named-tuples: make work with bignum indices.

6 years agosequences.modified: little bit more cleanup.
John Benediktsson [Sun, 18 Feb 2018 01:08:24 +0000 (17:08 -0800)]
sequences.modified: little bit more cleanup.

6 years agosequences.modified: simplify M\ summed modified-nth.
John Benediktsson [Sun, 18 Feb 2018 01:03:39 +0000 (17:03 -0800)]
sequences.modified: simplify M\ summed modified-nth.

6 years agonamed-tuples: use ?offset-of-slot in M\ named-tuple at*.
John Benediktsson [Sat, 17 Feb 2018 20:56:43 +0000 (12:56 -0800)]
named-tuples: use ?offset-of-slot in M\ named-tuple at*.

6 years agoclasses.tuple: adding ?offset-of-slot that returns n/f.
John Benediktsson [Sat, 17 Feb 2018 20:56:27 +0000 (12:56 -0800)]
classes.tuple: adding ?offset-of-slot that returns n/f.