]> gitweb.factorcode.org Git - factor.git/log
factor.git
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.

6 years agonamed-tuples: mention assocs in summary.txt.
John Benediktsson [Sat, 17 Feb 2018 18:02:45 +0000 (10:02 -0800)]
named-tuples: mention assocs in summary.txt.

6 years agonamed-tuples: experiment to treat some tuples as sequences/assocs.
John Benediktsson [Sat, 17 Feb 2018 18:00:34 +0000 (10:00 -0800)]
named-tuples: experiment to treat some tuples as sequences/assocs.

6 years agoui.gadgets.worlds: rethrow error so traceback is more obvious.
John Benediktsson [Sat, 17 Feb 2018 00:19:51 +0000 (16:19 -0800)]
ui.gadgets.worlds: rethrow error so traceback is more obvious.

6 years agominesweeper: better smiley faces.
John Benediktsson [Sat, 17 Feb 2018 00:14:39 +0000 (16:14 -0800)]
minesweeper: better smiley faces.

6 years agominesweeper: better fix for hand click.
John Benediktsson [Fri, 16 Feb 2018 23:48:36 +0000 (15:48 -0800)]
minesweeper: better fix for hand click.

6 years agominesweeper: fix bug when running before ever clicking on anything.
John Benediktsson [Fri, 16 Feb 2018 23:09:00 +0000 (15:09 -0800)]
minesweeper: fix bug when running before ever clicking on anything.

6 years agosequences.extras: fix test case for interleaved/join-with.
John Benediktsson [Fri, 16 Feb 2018 22:48:00 +0000 (14:48 -0800)]
sequences.extras: fix test case for interleaved/join-with.

6 years agosequences.extras: making evens/odds mutable sequences.
John Benediktsson [Fri, 16 Feb 2018 17:21:05 +0000 (09:21 -0800)]
sequences.extras: making evens/odds mutable sequences.

6 years agoassoc-heaps: removing unused and uncompleted vocab.
John Benediktsson [Fri, 16 Feb 2018 16:50:31 +0000 (08:50 -0800)]
assoc-heaps: removing unused and uncompleted vocab.

6 years agosequences.extras: rename join-with to interleaved.
John Benediktsson [Fri, 16 Feb 2018 16:42:07 +0000 (08:42 -0800)]
sequences.extras: rename join-with to interleaved.

6 years agosequences.extra: make evens/odds virtual sequences.
John Benediktsson [Fri, 16 Feb 2018 16:40:57 +0000 (08:40 -0800)]
sequences.extra: make evens/odds virtual sequences.

6 years agosequences.repeating: cleanup repeats.
John Benediktsson [Fri, 16 Feb 2018 16:31:22 +0000 (08:31 -0800)]
sequences.repeating: cleanup repeats.

6 years agosequences.extras: fix evens/odds to not cache length.
John Benediktsson [Fri, 16 Feb 2018 16:25:57 +0000 (08:25 -0800)]
sequences.extras: fix evens/odds to not cache length.

6 years agosequences.interleaved: use 2/ (shift) instead of 2 / (divide).
John Benediktsson [Fri, 16 Feb 2018 15:06:50 +0000 (07:06 -0800)]
sequences.interleaved: use 2/ (shift) instead of 2 / (divide).

6 years agosequences.interleaved: adding a interleaved sequence.
John Benediktsson [Fri, 16 Feb 2018 01:33:34 +0000 (17:33 -0800)]
sequences.interleaved: adding a interleaved sequence.

6 years agosequences.extras: adding join-with-as, test with strings.
John Benediktsson [Fri, 16 Feb 2018 00:56:37 +0000 (16:56 -0800)]
sequences.extras: adding join-with-as, test with strings.

6 years agoenglish: use ?pluralize in count-of-things.
John Benediktsson [Thu, 15 Feb 2018 23:15:58 +0000 (15:15 -0800)]
english: use ?pluralize in count-of-things.

6 years agosequences.extras: faster join-with.
John Benediktsson [Thu, 15 Feb 2018 23:03:28 +0000 (15:03 -0800)]
sequences.extras: faster join-with.

If we initialize the array with the glue, then we just set every
other element from the input sequence.

6 years agoenglish: use join-with.
John Benediktsson [Thu, 15 Feb 2018 22:46:57 +0000 (14:46 -0800)]
english: use join-with.

6 years agosequences.extras: adding join-with.
John Benediktsson [Thu, 15 Feb 2018 22:46:19 +0000 (14:46 -0800)]
sequences.extras: adding join-with.

6 years agoenglish: simplify or-markup-example.
John Benediktsson [Thu, 15 Feb 2018 22:12:42 +0000 (14:12 -0800)]
english: simplify or-markup-example.

6 years agohelp.lint.coverage: fix help-lint with english changes.
John Benediktsson [Thu, 15 Feb 2018 21:53:29 +0000 (13:53 -0800)]
help.lint.coverage: fix help-lint with english changes.

Longer term maybe easier if it just help-lint-coverage on itself?

6 years agoenglish: fix up docs.
John Benediktsson [Thu, 15 Feb 2018 21:50:53 +0000 (13:50 -0800)]
english: fix up docs.

6 years agoenglish: change comma-list to fit my brain better.
John Benediktsson [Thu, 15 Feb 2018 21:47:23 +0000 (13:47 -0800)]
english: change comma-list to fit my brain better.

We can always map-index in the caller if you want it before passing the parts in.

6 years agoSquashed commit of the following:
John Benediktsson [Thu, 15 Feb 2018 21:21:27 +0000 (13:21 -0800)]
Squashed commit of the following:

commit 429917d51c569b28d43b64f3b116e6b750e77c72
Author: Cat Stevens <catb0t@protonmail.ch>
Date:   Thu Feb 15 15:54:50 2018 -0500

    fix <PRIVATE> inside ARTICLE: ?!?!

commit b93243511c40ca7fd06120d089ead172df46c8b7
Author: Cat Stevens <catb0t@protonmail.ch>
Date:   Wed Feb 14 18:11:26 2018 -0500

    pluralize definition fix

commit e461c08166f98b974ae0e9075331dd388c1bcb48
Author: Cat Stevens <catb0t@protonmail.ch>
Date:   Wed Feb 14 16:28:05 2018 -0500

    update some words

commit 573ba01d6310d64788d13685dfc46099ffddb01b
Author: Cat Stevens <catb0t@protonmail.ch>
Date:   Wed Feb 14 16:06:42 2018 -0500

    remove a useless comment

commit 7733ade275a904449a3c691f4142329aaf73081e
Author: Cat Stevens <catb0t@protonmail.ch>
Date:   Wed Feb 14 14:30:06 2018 -0500

    extra/help.lint.coverage: update doctests because of new 100% coverage in basis/english

commit 9f89d2f5a261188dbd030b868323e3a0e95fb6c8
Author: Cat Stevens <catb0t@protonmail.ch>
Date:   Tue Feb 13 18:51:33 2018 -0500

    basis/english: new words; full help and test coverage

6 years agofix some tests broken by previous commit.
John Benediktsson [Thu, 15 Feb 2018 21:16:39 +0000 (13:16 -0800)]
fix some tests broken by previous commit.

6 years agomore test IN: cleanup.
John Benediktsson [Thu, 15 Feb 2018 17:20:01 +0000 (09:20 -0800)]
more test IN: cleanup.

6 years agomore test IN: cleanup.
John Benediktsson [Thu, 15 Feb 2018 16:45:08 +0000 (08:45 -0800)]
more test IN: cleanup.

6 years agofix some test usings broken in the cleanup yesterday.
John Benediktsson [Thu, 15 Feb 2018 15:14:56 +0000 (07:14 -0800)]
fix some test usings broken in the cleanup yesterday.

6 years agoproject-euler.186: simpler with if instead of 2unless?.
John Benediktsson [Thu, 15 Feb 2018 03:46:26 +0000 (19:46 -0800)]
project-euler.186: simpler with if instead of 2unless?.

Not sure why I'm still working on this.

6 years agoproject-euler.186: merge next/advance.
John Benediktsson [Thu, 15 Feb 2018 03:38:37 +0000 (19:38 -0800)]
project-euler.186: merge next/advance.

6 years agoproject-euler.186: the build bots can handle it.
John Benediktsson [Thu, 15 Feb 2018 03:34:15 +0000 (19:34 -0800)]
project-euler.186: the build bots can handle it.

6 years agoproject-euler: removing unnecessary IN: in -tests.
John Benediktsson [Thu, 15 Feb 2018 01:16:47 +0000 (17:16 -0800)]
project-euler: removing unnecessary IN: in -tests.

6 years agoproject-euler.186: fix, I guess it's been broken for awhile.
John Benediktsson [Thu, 15 Feb 2018 01:15:43 +0000 (17:15 -0800)]
project-euler.186: fix, I guess it's been broken for awhile.

6 years agoextra: remove some unneeded IN: in -tests.
John Benediktsson [Thu, 15 Feb 2018 01:01:11 +0000 (17:01 -0800)]
extra: remove some unneeded IN: in -tests.

6 years agosudoku: better tests.
John Benediktsson [Thu, 15 Feb 2018 01:00:51 +0000 (17:00 -0800)]
sudoku: better tests.

6 years agoassoc-heaps: adding / fixing test case.
John Benediktsson [Thu, 15 Feb 2018 00:52:53 +0000 (16:52 -0800)]
assoc-heaps: adding / fixing test case.

6 years agotyped: cleanup using.
John Benediktsson [Thu, 15 Feb 2018 00:22:04 +0000 (16:22 -0800)]
typed: cleanup using.

6 years agoio.directories.search: use fry instead of curry in find-file.
John Benediktsson [Thu, 15 Feb 2018 00:21:50 +0000 (16:21 -0800)]
io.directories.search: use fry instead of curry in find-file.

6 years agotools.deprecation: use none?.
John Benediktsson [Wed, 14 Feb 2018 19:57:55 +0000 (11:57 -0800)]
tools.deprecation: use none?.

6 years agomisc/vim: update syntax file for none? addition.
John Benediktsson [Wed, 14 Feb 2018 19:57:05 +0000 (11:57 -0800)]
misc/vim: update syntax file for none? addition.

6 years agocore/basis/extra: use none?.
John Benediktsson [Wed, 14 Feb 2018 19:56:31 +0000 (11:56 -0800)]
core/basis/extra: use none?.

6 years agosequences: moving none? to core.
John Benediktsson [Wed, 14 Feb 2018 19:23:03 +0000 (11:23 -0800)]
sequences: moving none? to core.

6 years agodb.sqlite: remove unused "db-table" namespace variable.
John Benediktsson [Wed, 14 Feb 2018 18:40:07 +0000 (10:40 -0800)]
db.sqlite: remove unused "db-table" namespace variable.

6 years agodb.tuples: simplify count-tuples.
John Benediktsson [Wed, 14 Feb 2018 18:39:55 +0000 (10:39 -0800)]
db.tuples: simplify count-tuples.

6 years agodb.queries: set the "table-name" inside a with-variables.
John Benediktsson [Wed, 14 Feb 2018 18:39:20 +0000 (10:39 -0800)]
db.queries: set the "table-name" inside a with-variables.

6 years agodb.errors: cleanup using.
John Benediktsson [Wed, 14 Feb 2018 18:39:09 +0000 (10:39 -0800)]
db.errors: cleanup using.

6 years agodb.tuples: use fry instead of curry, fix stack effect of check-columns.
John Benediktsson [Wed, 14 Feb 2018 17:49:27 +0000 (09:49 -0800)]
db.tuples: use fry instead of curry, fix stack effect of check-columns.

6 years agodb.tuples: more efficient with-disposals if sequence passed in.
John Benediktsson [Wed, 14 Feb 2018 17:42:19 +0000 (09:42 -0800)]
db.tuples: more efficient with-disposals if sequence passed in.

6 years agodb.types: simplify filter-ignores.
John Benediktsson [Wed, 14 Feb 2018 17:19:21 +0000 (09:19 -0800)]
db.types: simplify filter-ignores.

6 years agocore/combinators docs: fix unclearness in case help
Cat Stevens [Tue, 13 Feb 2018 19:52:19 +0000 (14:52 -0500)]
core/combinators docs: fix unclearness in case help

6 years agofix couple more typos in docs.
John Benediktsson [Tue, 13 Feb 2018 19:44:32 +0000 (11:44 -0800)]
fix couple more typos in docs.

6 years agodocuments: simplify text+loc.
John Benediktsson [Tue, 13 Feb 2018 01:45:48 +0000 (17:45 -0800)]
documents: simplify text+loc.

6 years agofix another typo.
John Benediktsson [Tue, 13 Feb 2018 01:17:44 +0000 (17:17 -0800)]
fix another typo.

6 years agofix more typos in docs.
John Benediktsson [Tue, 13 Feb 2018 00:43:08 +0000 (16:43 -0800)]
fix more typos in docs.

6 years agofix some typos in docs.
John Benediktsson [Tue, 13 Feb 2018 00:22:49 +0000 (16:22 -0800)]
fix some typos in docs.

6 years agofix a typo in compiler.tree.propagation.constraints documentation
Cat Stevens [Mon, 12 Feb 2018 19:41:41 +0000 (14:41 -0500)]
fix a typo in compiler.tree.propagation.constraints documentation

6 years agorepair overwritten changes
Cat Stevens [Mon, 12 Feb 2018 04:22:19 +0000 (23:22 -0500)]
repair overwritten changes

6 years agofinal fixups
Cat Stevens [Mon, 12 Feb 2018 03:48:24 +0000 (22:48 -0500)]
final fixups