]> gitweb.factorcode.org Git - factor.git/log
factor.git
6 years agobasis/extra: removing '[ @ ] in favor of _ for fried quotations.
John Benediktsson [Sat, 20 Jan 2018 07:40:23 +0000 (23:40 -0800)]
basis/extra: removing '[ @ ] in favor of _ for fried quotations.

6 years agoui.backend.cocoa.views: use world get-global in touchbar-commands.
John Benediktsson [Fri, 19 Jan 2018 23:39:52 +0000 (15:39 -0800)]
ui.backend.cocoa.views: use world get-global in touchbar-commands.

6 years agosnake-game.ui: load game textures in graft, dispose in ungraft.
John Benediktsson [Fri, 19 Jan 2018 23:11:41 +0000 (15:11 -0800)]
snake-game.ui: load game textures in graft, dispose in ungraft.

Use find-gl-context to fix dispose bug that was corrupting UI on macOS.

6 years agocap: use find-gl-context.
John Benediktsson [Fri, 19 Jan 2018 23:09:48 +0000 (15:09 -0800)]
cap: use find-gl-context.

6 years agoui.gadgets.worlds: don't need world with-variable.
John Benediktsson [Fri, 19 Jan 2018 23:09:27 +0000 (15:09 -0800)]
ui.gadgets.worlds: don't need world with-variable.

with-gl-context already does world set-global.

6 years agosnake-game: some more cleanup.
John Benediktsson [Fri, 19 Jan 2018 22:34:52 +0000 (14:34 -0800)]
snake-game: some more cleanup.

6 years agorosetta-code.bitmap-bezier: use assocs.
John Benediktsson [Fri, 19 Jan 2018 22:24:18 +0000 (14:24 -0800)]
rosetta-code.bitmap-bezier: use assocs.

6 years agosnake-game: some cleanup.
John Benediktsson [Fri, 19 Jan 2018 20:16:05 +0000 (12:16 -0800)]
snake-game: some cleanup.

6 years agorosetta-code.bitmap-bezier: use zip.
John Benediktsson [Fri, 19 Jan 2018 20:14:17 +0000 (12:14 -0800)]
rosetta-code.bitmap-bezier: use zip.

6 years agoporter-stemmer: use zip.
John Benediktsson [Fri, 19 Jan 2018 20:13:58 +0000 (12:13 -0800)]
porter-stemmer: use zip.

6 years agogame.input.x11: use zip-as.
John Benediktsson [Fri, 19 Jan 2018 20:13:35 +0000 (12:13 -0800)]
game.input.x11: use zip-as.

6 years agowindows.gdiplus: remove extra whitespace.
John Benediktsson [Fri, 19 Jan 2018 17:22:39 +0000 (09:22 -0800)]
windows.gdiplus: remove extra whitespace.

6 years agoboids: remove extra whitespace.
John Benediktsson [Fri, 19 Jan 2018 17:22:29 +0000 (09:22 -0800)]
boids: remove extra whitespace.

6 years agoboids: hang the touchbar stuff onto a boids-frame.
John Benediktsson [Fri, 19 Jan 2018 17:19:04 +0000 (09:19 -0800)]
boids: hang the touchbar stuff onto a boids-frame.

6 years agoui.gadgets.worlds: revert back to 1 track-add.
John Benediktsson [Fri, 19 Jan 2018 17:18:49 +0000 (09:18 -0800)]
ui.gadgets.worlds: revert back to 1 track-add.

6 years agoboids: adding a deploy.factor file.
John Benediktsson [Fri, 19 Jan 2018 06:32:54 +0000 (22:32 -0800)]
boids: adding a deploy.factor file.

6 years agochecksums: fix doctest for checksum-file.
John Benediktsson [Fri, 19 Jan 2018 06:24:24 +0000 (22:24 -0800)]
checksums: fix doctest for checksum-file.

6 years agoui.backend.cocoa.views: use queued-gesture for touchbar commands.
John Benediktsson [Fri, 19 Jan 2018 06:20:27 +0000 (22:20 -0800)]
ui.backend.cocoa.views: use queued-gesture for touchbar commands.

6 years agoui.gadgets.worlds: use constraints for single gadget in window.
John Benediktsson [Fri, 19 Jan 2018 05:30:34 +0000 (21:30 -0800)]
ui.gadgets.worlds: use constraints for single gadget in window.

6 years agoboids: when randomized, relayout.
John Benediktsson [Fri, 19 Jan 2018 05:18:24 +0000 (21:18 -0800)]
boids: when randomized, relayout.

6 years agoboids: add touchbar buttons.
John Benediktsson [Fri, 19 Jan 2018 05:14:53 +0000 (21:14 -0800)]
boids: add touchbar buttons.

6 years agoui.gadgets.worlds: world-attributes can specify fill and orientation.
John Benediktsson [Fri, 19 Jan 2018 05:14:24 +0000 (21:14 -0800)]
ui.gadgets.worlds: world-attributes can specify fill and orientation.

6 years agoLICENSE.txt: update year.
John Benediktsson [Fri, 19 Jan 2018 04:12:24 +0000 (20:12 -0800)]
LICENSE.txt: update year.

6 years agomisc/vim/syntax: update factor syntax.
John Benediktsson [Thu, 18 Jan 2018 23:32:23 +0000 (15:32 -0800)]
misc/vim/syntax: update factor syntax.

6 years agowebsites.factorcode: fix examples usage of <iota>.
John Benediktsson [Thu, 18 Jan 2018 23:04:07 +0000 (15:04 -0800)]
websites.factorcode: fix examples usage of <iota>.

6 years agoREADME.md: fix <iota> in example.
John Benediktsson [Thu, 18 Jan 2018 23:03:36 +0000 (15:03 -0800)]
README.md: fix <iota> in example.

6 years agoui.backend.gtk: set the source priority to idle, fixes #1879
Björn Lindqvist [Thu, 18 Jan 2018 22:24:48 +0000 (23:24 +0100)]
ui.backend.gtk: set the source priority to idle, fixes #1879

6 years agoformatting: better error messages for unknown directives.
John Benediktsson [Thu, 18 Jan 2018 16:53:29 +0000 (08:53 -0800)]
formatting: better error messages for unknown directives.

6 years agoui: undoing 9e9b70005b9cea57b87cd9bfbee94cee600b50c1
Björn Lindqvist [Thu, 18 Jan 2018 16:30:51 +0000 (17:30 +0100)]
ui: undoing 9e9b70005b9cea57b87cd9bfbee94cee600b50c1

The ui-thread variable absolutely is needed to ensure that only one UI
thread is running at the same time. If more than one UI thread runs,
they will be competing for events which causes all sorts of problems.

6 years agoui.*: lets rename ui-running to with-ui-running
Björn Lindqvist [Thu, 18 Jan 2018 03:24:27 +0000 (04:24 +0100)]
ui.*: lets rename ui-running to with-ui-running

Because it is really annoying with global variables having the same name
as words.

6 years agoui.*: doc updates
Björn Lindqvist [Thu, 18 Jan 2018 02:43:32 +0000 (03:43 +0100)]
ui.*: doc updates

6 years agomath.combinatorics: make selections use change-nth-unsafe again.
John Benediktsson [Wed, 17 Jan 2018 22:17:44 +0000 (14:17 -0800)]
math.combinatorics: make selections use change-nth-unsafe again.

6 years agomath.combinatorics: fix selections bug, geez.
John Benediktsson [Wed, 17 Jan 2018 21:59:22 +0000 (13:59 -0800)]
math.combinatorics: fix selections bug, geez.

6 years agomath.combinatorics: fix selections bug that went missing before previous commit.
John Benediktsson [Wed, 17 Jan 2018 21:55:05 +0000 (13:55 -0800)]
math.combinatorics: fix selections bug that went missing before previous commit.

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