]> gitweb.factorcode.org Git - factor.git/log
factor.git
6 years agoREADME.md: think it's nice to also explain the manual bootstrap procedure
Björn Lindqvist [Tue, 16 Jan 2018 19:57:28 +0000 (20:57 +0100)]
README.md: think it's nice to also explain the manual bootstrap procedure

6 years agoui.gadgets.panes.tests: better than hardcoding values
Björn Lindqvist [Tue, 16 Jan 2018 20:32:17 +0000 (21:32 +0100)]
ui.gadgets.panes.tests: better than hardcoding values

6 years agomath.combinatorics: speed up selections word.
John Benediktsson [Wed, 17 Jan 2018 18:36:12 +0000 (10:36 -0800)]
math.combinatorics: speed up selections word.

6 years agomath.combinatorics: remove memoize of factorial.
John Benediktsson [Tue, 16 Jan 2018 22:57:17 +0000 (14:57 -0800)]
math.combinatorics: remove memoize of factorial.

If lots of large factorials are computed could use too much memory.

6 years agoconcurrency.messaging-docs: add a missing parenthesis
Alexander Iljin [Mon, 4 Sep 2017 22:50:21 +0000 (01:50 +0300)]
concurrency.messaging-docs: add a missing parenthesis

6 years agoconcurrency.messaging-docs: add help for handle-synchronous
Alexander Iljin [Thu, 4 Jan 2018 21:59:27 +0000 (00:59 +0300)]
concurrency.messaging-docs: add help for handle-synchronous

6 years agoconcurrency.distributed-docs: add a note about send-synchronous
Alexander Iljin [Sat, 6 Jan 2018 19:35:25 +0000 (22:35 +0300)]
concurrency.distributed-docs: add a note about send-synchronous

6 years agoconcurrency.distributed-docs: shorten some sample code
Alexander Iljin [Thu, 4 Jan 2018 22:00:15 +0000 (01:00 +0300)]
concurrency.distributed-docs: shorten some sample code

6 years agoconcurrency.distributed-tests: add test for send-/reply-synchronous
Alexander Iljin [Wed, 3 Jan 2018 00:44:12 +0000 (03:44 +0300)]
concurrency.distributed-tests: add test for send-/reply-synchronous

6 years agoconcurrency.distributed-docs: fix an error in port number specification
Alexander Iljin [Tue, 19 Dec 2017 23:06:21 +0000 (00:06 +0100)]
concurrency.distributed-docs: fix an error in port number specification

6 years agoconcurrency.distributed-docs: update an example code
Alexander Iljin [Tue, 19 Dec 2017 22:44:01 +0000 (23:44 +0100)]
concurrency.distributed-docs: update an example code

6 years agoio.servers-docs: fix link formatting
Alexander Iljin [Wed, 3 Jan 2018 00:04:07 +0000 (03:04 +0300)]
io.servers-docs: fix link formatting

6 years agoio.directories-docs: remove an extra character
Alexander Iljin [Thu, 16 Nov 2017 07:59:28 +0000 (08:59 +0100)]
io.directories-docs: remove an extra character

6 years agodb[.tuples|.types]-docs: replace "a SQL" with "an SQL"
Alexander Iljin [Thu, 2 Nov 2017 21:10:52 +0000 (22:10 +0100)]
db[.tuples|.types]-docs: replace "a SQL" with "an SQL"

6 years agodb-docs: add a missing space
Alexander Iljin [Mon, 25 Dec 2017 23:38:57 +0000 (00:38 +0100)]
db-docs: add a missing space

6 years agodb-docs: fix the documentation for query-each and query-map
Alexander Iljin [Thu, 2 Nov 2017 21:05:32 +0000 (22:05 +0100)]
db-docs: fix the documentation for query-each and query-map

6 years agocap: make sure to use GL context of world being screenshot.
John Benediktsson [Thu, 11 Jan 2018 22:16:58 +0000 (14:16 -0800)]
cap: make sure to use GL context of world being screenshot.

6 years agoextra/cap: add a summary and short docs to cap vocab
Cat Stevens [Fri, 5 Jan 2018 03:49:46 +0000 (22:49 -0500)]
extra/cap: add a summary and short docs to cap vocab

6 years agoextra/cap: clean up cap:screenshot, move non-public API to cap.private
Cat Stevens [Fri, 5 Jan 2018 03:49:20 +0000 (22:49 -0500)]
extra/cap: clean up cap:screenshot, move non-public API to cap.private

6 years agoextra/cap: if the GL scale is 2, actually enable 2x
Cat Stevens [Thu, 4 Jan 2018 23:26:39 +0000 (18:26 -0500)]
extra/cap: if the GL scale is 2, actually enable 2x

6 years agoextra/cap: keep support for 2x GL scaling
Cat Stevens [Thu, 4 Jan 2018 23:18:28 +0000 (18:18 -0500)]
extra/cap: keep support for 2x GL scaling

6 years agoextra/cap: fix a bug where screenshots were incorrectly downscaled
Cat Stevens [Thu, 4 Jan 2018 20:10:44 +0000 (15:10 -0500)]
extra/cap: fix a bug where screenshots were incorrectly downscaled

6 years agoui.tools: enable touchbar commands.
John Benediktsson [Mon, 1 Jan 2018 23:06:20 +0000 (15:06 -0800)]
ui.tools: enable touchbar commands.

6 years agoui.backend.cocoa.views: allow up to 8 touchbar buttons.
John Benediktsson [Mon, 1 Jan 2018 23:06:01 +0000 (15:06 -0800)]
ui.backend.cocoa.views: allow up to 8 touchbar buttons.

6 years agococoa.touchbar: use arrays of strings instead of enums.
John Benediktsson [Mon, 1 Jan 2018 23:01:04 +0000 (15:01 -0800)]
cocoa.touchbar: use arrays of strings instead of enums.

6 years agotools.ps.windows: If we can't read the process command-line args, just
Doug Coleman [Sat, 30 Dec 2017 20:30:28 +0000 (20:30 +0000)]
tools.ps.windows: If we can't read the process command-line args, just
ignore the error.

Fixes #1788.

6 years agomason.child: Compile for Windows Vista+ in the build farm. Fixes 1867.
Doug Coleman [Sat, 30 Dec 2017 08:05:10 +0000 (00:05 -0800)]
mason.child: Compile for Windows Vista+ in the build farm. Fixes 1867.

We get Ctrl-Break if we compile for this target. Compiling for Windows XP should be a special-case now.

6 years agoimages.loader.gtk: Add with-destructors. Fixes #1893.
Doug Coleman [Fri, 29 Dec 2017 21:23:15 +0000 (15:23 -0600)]
images.loader.gtk: Add with-destructors. Fixes #1893.

Also did this on imac: cd /usr/local/lib && ln -s /opt/local/lib/libgobject-2.0.dylib .

6 years agomath.blas.vectors: Fix ancient typo
Doug Coleman [Fri, 29 Dec 2017 02:53:25 +0000 (18:53 -0800)]
math.blas.vectors: Fix ancient typo

6 years agopresent: add callable and pointer defs.
Doug Coleman [Fri, 29 Dec 2017 01:56:38 +0000 (17:56 -0800)]
present: add callable and pointer defs.

6 years agoui.gadgets.charts.lines: Fix using list.
Doug Coleman [Fri, 29 Dec 2017 01:54:14 +0000 (17:54 -0800)]
ui.gadgets.charts.lines: Fix using list.

Use ``SPECIALIZED-ARRAYS: float`` in order to create it if it doesnt exist.

6 years agotravis: group: deprecated-2017Q4 to keep using sudo and the "fast version" of the...
Doug Coleman [Thu, 28 Dec 2017 17:11:26 +0000 (09:11 -0800)]
travis: group: deprecated-2017Q4 to keep using sudo and the "fast version" of the images.

it seems linux is timing out after the recent travisci changes.

6 years agomath.functions: nan: -> NAN: oops
Doug Coleman [Thu, 28 Dec 2017 08:43:51 +0000 (00:43 -0800)]
math.functions: nan: -> NAN: oops

6 years agobuild.sh: change apt-get to apt
Doug Coleman [Thu, 28 Dec 2017 07:21:57 +0000 (23:21 -0800)]
build.sh: change apt-get to apt

6 years agomath.functions: disable a test.
Doug Coleman [Thu, 28 Dec 2017 06:28:20 +0000 (22:28 -0800)]
math.functions: disable a test.

6 years agocpu.arm.assembler: Use arrays for unit-tests
Doug Coleman [Sun, 24 Dec 2017 00:08:19 +0000 (16:08 -0800)]
cpu.arm.assembler: Use arrays for unit-tests

6 years agotravis: don't test fftw.
Doug Coleman [Fri, 22 Dec 2017 18:43:22 +0000 (12:43 -0600)]
travis: don't test fftw.

On mac it installs gcc. Also, it's just ffi calls, and if ffi calls break, we will notice elsewhere.

6 years agofactor: disable benchmarks in a better way to get travis and macs unstuck.
Doug Coleman [Fri, 22 Dec 2017 17:40:50 +0000 (11:40 -0600)]
factor: disable benchmarks in a better way to get travis and macs unstuck.

6 years agomason.child: 6 hour timeout! slow computer life
Doug Coleman [Mon, 18 Dec 2017 23:51:20 +0000 (17:51 -0600)]
mason.child: 6 hour timeout! slow computer life

6 years agoimap: Disable tests until we start using dovecot locally.
Doug Coleman [Mon, 18 Dec 2017 23:50:19 +0000 (17:50 -0600)]
imap: Disable tests until we start using dovecot locally.

These tests time out and are flaky.

6 years agoglib.ffi: look for glib-2.0.dylib not glib-2.0.0.dylib
Doug Coleman [Mon, 18 Dec 2017 23:02:06 +0000 (17:02 -0600)]
glib.ffi: look for glib-2.0.dylib not glib-2.0.0.dylib

6 years agomason.report: Last patch for travisci to work?
Doug Coleman [Mon, 18 Dec 2017 09:57:25 +0000 (03:57 -0600)]
mason.report: Last patch for travisci to work?

More benchmark spaghetti code to disable.

6 years agomason.child: Give mac 5 hours!
Doug Coleman [Mon, 18 Dec 2017 08:53:48 +0000 (02:53 -0600)]
mason.child: Give mac 5 hours!

6 years agomason.report: fix stack effect for output>array.
Doug Coleman [Mon, 18 Dec 2017 06:48:52 +0000 (00:48 -0600)]
mason.report: fix stack effect for output>array.

6 years agomason.report: try with get-global. the code seems to be running...
Doug Coleman [Mon, 18 Dec 2017 06:09:31 +0000 (00:09 -0600)]
mason.report: try with get-global. the code seems to be running...

6 years agomason.report: More benchmark code to skip.
Doug Coleman [Mon, 18 Dec 2017 05:05:29 +0000 (23:05 -0600)]
mason.report: More benchmark code to skip.

6 years agofactor: fix tests that depended on LICENSE.txt never changing.
Doug Coleman [Mon, 18 Dec 2017 03:45:10 +0000 (21:45 -0600)]
factor: fix tests that depended on LICENSE.txt never changing.

6 years agotools.deploy: cheat on file sizes.
Doug Coleman [Mon, 18 Dec 2017 03:44:57 +0000 (21:44 -0600)]
tools.deploy: cheat on file sizes.

6 years agomason.report: Crazy mason code sucks. So brittle. So fragile.
Doug Coleman [Mon, 18 Dec 2017 03:30:28 +0000 (21:30 -0600)]
mason.report: Crazy mason code sucks. So brittle. So fragile.

If we skip benchmarks, don't report them in the final email.

6 years agoio.socketes.secure: Use TLS 1.0 or TLS 1.2 certs.
Doug Coleman [Mon, 18 Dec 2017 02:02:29 +0000 (20:02 -0600)]
io.socketes.secure: Use TLS 1.0 or TLS 1.2 certs.

Fixes #1887.

6 years agoopenssl: Add TLS 1.0 test certs back for macOS 10.11.6.
Doug Coleman [Mon, 18 Dec 2017 02:01:27 +0000 (20:01 -0600)]
openssl: Add TLS 1.0 test certs back for macOS 10.11.6.

Fixes #1887.

6 years agoLICENSE.txt: Use the proper BSD2 license text so that github recognizes it. Fixes...
Doug Coleman [Mon, 18 Dec 2017 01:14:43 +0000 (19:14 -0600)]
LICENSE.txt: Use the proper BSD2 license text so that github recognizes it. Fixes #1876.

6 years agomason.test: Fix benchmarks for mason. Proper fix eventually...
Doug Coleman [Mon, 18 Dec 2017 00:48:33 +0000 (18:48 -0600)]
mason.test: Fix benchmarks for mason. Proper fix eventually...

6 years agoio.sockets.secure.unix: Stop these tests from hanging on errors.
Doug Coleman [Mon, 18 Dec 2017 00:49:52 +0000 (18:49 -0600)]
io.sockets.secure.unix: Stop these tests from hanging on errors.

Specifically, the server writes its port to a mailbox. On Mac 10.11.6, the last macOS for my old computers, TLS1.0 is the last supported SSL protocol, and there is a yet-undebugged error. This patch at least exposes the error for debugging.

6 years agoconcurrency.messaging: Fix a couple of confusing typos.
Doug Coleman [Mon, 18 Dec 2017 00:49:30 +0000 (18:49 -0600)]
concurrency.messaging: Fix a couple of confusing typos.

6 years agotravis.yml: Skip benchmarks on travis-ci.
Doug Coleman [Sun, 17 Dec 2017 23:10:07 +0000 (17:10 -0600)]
travis.yml: Skip benchmarks on travis-ci.

6 years agomason.test: Add option to skip benchmarks to mason.
Doug Coleman [Sun, 17 Dec 2017 23:09:43 +0000 (17:09 -0600)]
mason.test: Add option to skip benchmarks to mason.

6 years agomason.child: revert builder change for mac32/64.
Doug Coleman [Mon, 11 Dec 2017 23:30:42 +0000 (17:30 -0600)]
mason.child: revert builder change for mac32/64.

6 years agotravis: Don't test forestdb.
Doug Coleman [Sun, 10 Dec 2017 19:03:11 +0000 (13:03 -0600)]
travis: Don't test forestdb.

6 years agopython.syntax: Make a couple python tests long-unit-test.
Doug Coleman [Sat, 9 Dec 2017 22:31:21 +0000 (16:31 -0600)]
python.syntax: Make a couple python tests long-unit-test.

They take 5s or more.

6 years agoforestdb: Moving this to github.com/factor/factor-unmaintained because forestdb isn...
Doug Coleman [Sat, 9 Dec 2017 19:46:16 +0000 (13:46 -0600)]
forestdb: Moving this to github.com/factor/factor-unmaintained because forestdb isn't being worked on.

6 years agoui.gadgets.labeled: Fix a random failing unit test.
Doug Coleman [Sat, 9 Dec 2017 10:02:11 +0000 (04:02 -0600)]
ui.gadgets.labeled: Fix a random failing unit test.

6 years agomason.child: Remove unit tests since they're hard to maintain and if they
Doug Coleman [Sat, 9 Dec 2017 09:58:19 +0000 (03:58 -0600)]
mason.child: Remove unit tests since they're hard to maintain and if they
fail then the CI fails as well anyway.

6 years agomason.child: Also allow 32bit build on Windows.
Doug Coleman [Sat, 9 Dec 2017 09:49:43 +0000 (03:49 -0600)]
mason.child: Also allow 32bit build on Windows.

6 years agobuild.sh: Use the branch for downloading images, which was the entire point of these...
Doug Coleman [Sat, 9 Dec 2017 09:38:23 +0000 (09:38 +0000)]
build.sh: Use the branch for downloading images, which was the entire point of these patches.

6 years agobuild.sh: Use the TRAVIS_CI variable if it's provided.
Doug Coleman [Sat, 9 Dec 2017 09:22:13 +0000 (09:22 +0000)]
build.sh: Use the TRAVIS_CI variable if it's provided.

Travisci appears to work in a detached head, but commands like ``git symbolic-ref --short HEAD`` return ``HEAD`` instead of ``master`` in detached head states. At least if we're in travisci this should work.

https://stackoverflow.com/questions/6245570/how-to-get-the-current-branch-name-in-git

6 years agobuild.sh: Print current branch for travis-ci
Doug Coleman [Sat, 9 Dec 2017 08:54:34 +0000 (08:54 +0000)]
build.sh: Print current branch for travis-ci

6 years agofactor: latest -> master
Doug Coleman [Sat, 9 Dec 2017 07:56:12 +0000 (01:56 -0600)]
factor: latest -> master

6 years agobuild.cmd: Get boot images from the branch you're on.
Doug Coleman [Sat, 9 Dec 2017 07:42:55 +0000 (01:42 -0600)]
build.cmd: Get boot images from the branch you're on.

6 years agobootstrap.image.upload: Downloads moved.
Doug Coleman [Sat, 9 Dec 2017 06:25:17 +0000 (00:25 -0600)]
bootstrap.image.upload: Downloads moved.

6 years agomason.child: Use nmake instead of calling build.cmd
Doug Coleman [Sat, 9 Dec 2017 06:19:25 +0000 (00:19 -0600)]
mason.child: Use nmake instead of calling build.cmd

build.cmd takes about 15 minutes instead of 45 seconds on the Windows mason
machine. I'm not sure why, but running it from a cmd script takes a lot
longer.

6 years agoui.render: fix ghosting in gpu.demos.raytrace. fixes #1881.
John Benediktsson [Mon, 20 Nov 2017 23:02:39 +0000 (15:02 -0800)]
ui.render: fix ghosting in gpu.demos.raytrace. fixes #1881.

6 years agogopher.ui: open non-gopher urls using webbrowser vocab.
John Benediktsson [Sun, 19 Nov 2017 22:04:45 +0000 (14:04 -0800)]
gopher.ui: open non-gopher urls using webbrowser vocab.

6 years agoui.backend.x11, implement (fullscreen?)
Jon Harper [Sun, 19 Nov 2017 16:01:56 +0000 (17:01 +0100)]
ui.backend.x11, implement (fullscreen?)

6 years agoui.backend.cocoa.views: remove listener touchbar support (temporarily).
John Benediktsson [Sun, 29 Oct 2017 22:38:20 +0000 (15:38 -0700)]
ui.backend.cocoa.views: remove listener touchbar support (temporarily).

... it breaks deploys of other UI apps that aren't the listener.

6 years agoui.traverse: cleanup tests a little.
John Benediktsson [Thu, 26 Oct 2017 02:00:47 +0000 (19:00 -0700)]
ui.traverse: cleanup tests a little.

6 years agoui.traverse: some cleanup, use locals to understand logic better.
John Benediktsson [Thu, 26 Oct 2017 01:06:47 +0000 (18:06 -0700)]
ui.traverse: some cleanup, use locals to understand logic better.

6 years agoui.gadgets.slots: move to ui.tools.inspector.slots.
John Benediktsson [Wed, 25 Oct 2017 23:17:08 +0000 (16:17 -0700)]
ui.gadgets.slots: move to ui.tools.inspector.slots.

6 years agoui.tools.common: only save tool-dim when not fullscreen.
John Benediktsson [Wed, 25 Oct 2017 23:16:53 +0000 (16:16 -0700)]
ui.tools.common: only save tool-dim when not fullscreen.

6 years agoui.gadgets: remove dependence on ui.tools.common.
John Benediktsson [Wed, 25 Oct 2017 22:56:40 +0000 (15:56 -0700)]
ui.gadgets: remove dependence on ui.tools.common.

6 years agoui.gadgets.slots: use with-lines like other tools.
John Benediktsson [Wed, 25 Oct 2017 22:48:20 +0000 (15:48 -0700)]
ui.gadgets.slots: use with-lines like other tools.

6 years agoui.gadgets.search-tables: remove slot-protocol.
John Benediktsson [Wed, 25 Oct 2017 22:41:23 +0000 (15:41 -0700)]
ui.gadgets.search-tables: remove slot-protocol.

... too much complexity for not enough gain, I think.

6 years agomerger: remove platforms.txt.
John Benediktsson [Wed, 25 Oct 2017 22:06:03 +0000 (15:06 -0700)]
merger: remove platforms.txt.

6 years agoui.gadgets.labeled: cleanup labeled-gadget words.
John Benediktsson [Wed, 25 Oct 2017 22:00:22 +0000 (15:00 -0700)]
ui.gadgets.labeled: cleanup labeled-gadget words.

6 years agodocs: fix models-range article link.
John Benediktsson [Wed, 25 Oct 2017 21:59:57 +0000 (14:59 -0700)]
docs: fix models-range article link.

6 years agomerger: no idea what this does, but make it cross-platform.
John Benediktsson [Wed, 25 Oct 2017 20:58:13 +0000 (13:58 -0700)]
merger: no idea what this does, but make it cross-platform.

6 years agoui: use (poorly named) white-interior theme word in a few places.
John Benediktsson [Wed, 25 Oct 2017 20:57:35 +0000 (13:57 -0700)]
ui: use (poorly named) white-interior theme word in a few places.

6 years agotools.errors.model: remove in favor of ui.tools.error-list.
John Benediktsson [Wed, 25 Oct 2017 19:42:33 +0000 (12:42 -0700)]
tools.errors.model: remove in favor of ui.tools.error-list.

6 years agomodels: change some article names.
John Benediktsson [Wed, 25 Oct 2017 19:10:51 +0000 (12:10 -0700)]
models: change some article names.

6 years agocalendar.model: delete in favor of inline timers in lcd vocab.
John Benediktsson [Wed, 25 Oct 2017 18:53:37 +0000 (11:53 -0700)]
calendar.model: delete in favor of inline timers in lcd vocab.

6 years agoimages.testing: fix typo in docs.
John Benediktsson [Wed, 25 Oct 2017 18:19:22 +0000 (11:19 -0700)]
images.testing: fix typo in docs.

6 years agodocs: cleanup some article titles that can be strings.
John Benediktsson [Wed, 25 Oct 2017 18:11:44 +0000 (11:11 -0700)]
docs: cleanup some article titles that can be strings.

6 years agosource-files.errors: rename <definition-error> to new-source-file-error.
John Benediktsson [Wed, 25 Oct 2017 17:45:46 +0000 (10:45 -0700)]
source-files.errors: rename <definition-error> to new-source-file-error.

6 years agomath.similarity: adding weighted-cosine-similarity.
John Benediktsson [Wed, 25 Oct 2017 00:29:06 +0000 (17:29 -0700)]
math.similarity: adding weighted-cosine-similarity.

6 years agosequences.extras: adding 3each-from and 3map-reduce.
John Benediktsson [Wed, 25 Oct 2017 00:25:26 +0000 (17:25 -0700)]
sequences.extras: adding 3each-from and 3map-reduce.

6 years agosequences: rename setup-each to (each).
John Benediktsson [Wed, 25 Oct 2017 00:22:55 +0000 (17:22 -0700)]
sequences: rename setup-each to (each).

...to match (each-from), (2each), and (3each), etc.

6 years agocombinators.smart: using each-from.
John Benediktsson [Wed, 25 Oct 2017 00:05:23 +0000 (17:05 -0700)]
combinators.smart: using each-from.

6 years agomath: using ``v.`` instead of ``v* sum`` in a few places.
John Benediktsson [Tue, 24 Oct 2017 19:26:39 +0000 (12:26 -0700)]
math: using ``v.`` instead of ``v* sum`` in a few places.

6 years agomath.similarity: add another test for pearson-similarity.
John Benediktsson [Tue, 24 Oct 2017 18:46:44 +0000 (11:46 -0700)]
math.similarity: add another test for pearson-similarity.

6 years agomath.similarity: change cosine-similarity to match math formula.
John Benediktsson [Tue, 24 Oct 2017 18:45:03 +0000 (11:45 -0700)]
math.similarity: change cosine-similarity to match math formula.

Specifically, instead of returning values [0,1], we now return [-1,1]:

* −1 meaning exactly opposite
* 1 meaning exactly the same
* 0 indicating orthogonality (decorrelation)
* in-between values indicating intermediate similarity or dissimilarity.