]> gitweb.factorcode.org Git - factor.git/log
factor.git
5 years agodragonflybsd: Initial support. dragonfly
Doug Coleman [Sat, 9 Feb 2019 20:59:57 +0000 (20:59 +0000)]
dragonflybsd: Initial support.

5 years agovm: Add freebsd32 support for completeness.
Doug Coleman [Sat, 9 Feb 2019 19:39:25 +0000 (19:39 +0000)]
vm: Add freebsd32 support for completeness.

We need gmake on freebsd.

5 years agobasis: Load images.{tiff,png} by default for FreeBSD. Add platforms back.
Doug Coleman [Sat, 9 Feb 2019 18:50:15 +0000 (18:50 +0000)]
basis: Load images.{tiff,png} by default for FreeBSD. Add platforms back.

5 years agoconfig.freebsd: Link the UI libraries into the Factor VM.
Doug Coleman [Sat, 9 Feb 2019 18:49:29 +0000 (18:49 +0000)]
config.freebsd: Link the UI libraries into the Factor VM.

This should happen for other BSD platforms as well.

5 years agobuild.sh: Add a compile option to compile only.
Doug Coleman [Sat, 9 Feb 2019 18:48:42 +0000 (18:48 +0000)]
build.sh: Add a compile option to compile only.

Invoking ``gmake`` only should work, but it uses g++ on OpenBSD instead of clang++. We should fix this.

5 years agoFix typo in monitor file
Jack Lucas [Sat, 9 Feb 2019 23:43:51 +0000 (18:43 -0500)]
Fix typo in monitor file

5 years agoFix monitor errors on startup
Jack Lucas [Sat, 9 Feb 2019 23:38:20 +0000 (18:38 -0500)]
Fix monitor errors on startup

5 years agovm: Use the old FreeBSD os-freebsd.cpp so we don't need procfs installed (it's not...
Doug Coleman [Fri, 8 Feb 2019 22:01:12 +0000 (22:01 +0000)]
vm: Use the old FreeBSD os-freebsd.cpp so we don't need procfs installed (it's not mounted by default).

5 years agobuild.sh: Use gmake on FreeBSD and specify the number of cores.
Doug Coleman [Fri, 8 Feb 2019 21:21:53 +0000 (21:21 +0000)]
build.sh: Use gmake on FreeBSD and specify the number of cores.

5 years agoFix merge error
Jack Lucas [Sat, 9 Feb 2019 01:19:10 +0000 (20:19 -0500)]
Fix merge error

5 years agoRemove one mistaken author file
Jack Lucas [Sat, 9 Feb 2019 00:20:20 +0000 (19:20 -0500)]
Remove one mistaken author file

5 years agoRe-add Freebsd Support
Jack Lucas [Sat, 9 Feb 2019 00:17:30 +0000 (19:17 -0500)]
Re-add Freebsd Support

5 years agoulid-docs: format errors with $errors
Alexander Iljin [Wed, 2 Jan 2019 08:49:30 +0000 (09:49 +0100)]
ulid-docs: format errors with $errors

5 years agoprotocols.tftp: Fix some bugs.
Doug Coleman [Sun, 3 Feb 2019 23:09:34 +0000 (18:09 -0500)]
protocols.tftp: Fix some bugs.

- needed pack-be
- tftp clients seem to send an ACK even before receiving an error for a missing file
- handles directories now, "File not found"

to improve:
- use the client/server pair as a key maybe
- handle file writing
- throw errors that are not io-timeout once we have a cross-platform timeout error object

5 years agoassocs: Add ?delete-at.
Doug Coleman [Sun, 3 Feb 2019 19:51:59 +0000 (14:51 -0500)]
assocs: Add ?delete-at.

5 years agotftp: Implement a client/server for tftp.
Doug Coleman [Sun, 3 Feb 2019 18:37:56 +0000 (13:37 -0500)]
tftp: Implement a client/server for tftp.

The server needs to handle multiple clients. Refactoring...

5 years agopack: Implement write-c-string for tftp.
Doug Coleman [Sun, 3 Feb 2019 18:34:33 +0000 (13:34 -0500)]
pack: Implement write-c-string for tftp.

Ruby has hella more string directives we could implement:
https://apidock.com/ruby/Array/pack

5 years agohamurabi: fix #percent-died.
John Benediktsson [Mon, 28 Jan 2019 05:34:49 +0000 (21:34 -0800)]
hamurabi: fix #percent-died.

5 years agotools: Fix some issues and use base85.
Doug Coleman [Sat, 26 Jan 2019 11:49:03 +0000 (05:49 -0600)]
tools: Fix some issues and use base85.

5 years agobase85: simpler pad math.
John Benediktsson [Sat, 26 Jan 2019 15:14:09 +0000 (07:14 -0800)]
base85: simpler pad math.

5 years agobase85: change to not pad encoding, fix output bug.
John Benediktsson [Sat, 26 Jan 2019 05:14:11 +0000 (21:14 -0800)]
base85: change to not pad encoding, fix output bug.

5 years agobase85: fix a bug with accidental extra characters in alphabet.
John Benediktsson [Fri, 25 Jan 2019 03:21:00 +0000 (19:21 -0800)]
base85: fix a bug with accidental extra characters in alphabet.

5 years agomime.multipart: Simplify the code a bit.
Doug Coleman [Mon, 21 Jan 2019 21:08:07 +0000 (15:08 -0600)]
mime.multipart: Simplify the code a bit.

Fixes #2107

5 years agowebapps.planet: Trim using list.
Doug Coleman [Sat, 19 Jan 2019 16:07:29 +0000 (10:07 -0600)]
webapps.planet: Trim using list.

5 years agomath.blas.matrices: Fix for equal?
Doug Coleman [Sat, 19 Jan 2019 16:06:35 +0000 (10:06 -0600)]
math.blas.matrices: Fix for equal?

5 years agotimers: add test showing stopping timer doesn't stop a running quotation.
John Benediktsson [Wed, 16 Jan 2019 01:31:14 +0000 (17:31 -0800)]
timers: add test showing stopping timer doesn't stop a running quotation.

5 years agosyndication: Remove dead code I added on accident..
Doug Coleman [Sun, 13 Jan 2019 00:06:03 +0000 (18:06 -0600)]
syndication: Remove dead code I added on accident..

5 years agosyndication: Fix atom parsing.
Doug Coleman [Sat, 12 Jan 2019 23:52:55 +0000 (17:52 -0600)]
syndication: Fix atom parsing.

This is the problematic feed:
  https://rfc1149.net/blog/tag/factor/feed/

Here's the validator saying it's ok:
  https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Frfc1149.net%2Fblog%2Ftag%2Ffactor%2Ffeed%2F

5 years agoio.sockets: When we throw an error upon failing to resolve a host, report the host...
Doug Coleman [Sat, 12 Jan 2019 22:31:13 +0000 (16:31 -0600)]
io.sockets: When we throw an error upon failing to resolve a host, report the host name.

5 years agowebapps.pastebin: Fix quotation effect so deleting annotations works.
Doug Coleman [Sat, 12 Jan 2019 21:28:36 +0000 (15:28 -0600)]
webapps.pastebin: Fix quotation effect so deleting annotations works.

5 years agoio.serial: Fix using list.
Doug Coleman [Sat, 12 Jan 2019 16:43:34 +0000 (10:43 -0600)]
io.serial: Fix using list.

5 years agoio.monitors: cleanup using.
John Benediktsson [Fri, 11 Jan 2019 16:19:59 +0000 (08:19 -0800)]
io.monitors: cleanup using.

5 years agoheaps: cleanup using.
John Benediktsson [Fri, 11 Jan 2019 16:19:50 +0000 (08:19 -0800)]
heaps: cleanup using.

5 years agomodels.delay: cache the timer, bug with restart-timer.
John Benediktsson [Fri, 11 Jan 2019 05:41:34 +0000 (21:41 -0800)]
models.delay: cache the timer, bug with restart-timer.

5 years agoclasses.tuple: use integer>fixnum in tuple-hashcode.
John Benediktsson [Fri, 11 Jan 2019 05:39:24 +0000 (21:39 -0800)]
classes.tuple: use integer>fixnum in tuple-hashcode.

5 years agoio.streams.duplex: use >duplex-stream<.
John Benediktsson [Fri, 11 Jan 2019 04:35:32 +0000 (20:35 -0800)]
io.streams.duplex: use >duplex-stream<.

5 years agoio.serial: use io.streams.duplex:with-stream.
John Benediktsson [Fri, 11 Jan 2019 04:34:58 +0000 (20:34 -0800)]
io.serial: use io.streams.duplex:with-stream.

5 years agoheaps: fix minor doc typo.
John Benediktsson [Fri, 11 Jan 2019 00:47:45 +0000 (16:47 -0800)]
heaps: fix minor doc typo.

5 years agoheaps: simplify code a little, use locals to expose heap-delete logic.
John Benediktsson [Fri, 11 Jan 2019 00:44:22 +0000 (16:44 -0800)]
heaps: simplify code a little, use locals to expose heap-delete logic.

5 years agoheaps: add comments referring to pypy's heapq.py 2105/head
Jon Harper [Thu, 10 Jan 2019 20:50:50 +0000 (21:50 +0100)]
heaps: add comments referring to pypy's heapq.py

5 years agoheaps: fix heap delete: sometimes we need to sift-down
Jon Harper [Wed, 9 Jan 2019 17:43:40 +0000 (18:43 +0100)]
heaps: fix heap delete: sometimes we need to sift-down

5 years agoheaps.tests: remove dead code
Jon Harper [Wed, 9 Jan 2019 16:37:26 +0000 (17:37 +0100)]
heaps.tests: remove dead code

5 years agoheaps: check heap invariant during tests
Jon Harper [Wed, 9 Jan 2019 16:36:20 +0000 (17:36 +0100)]
heaps: check heap invariant during tests

5 years agoheaps: bring back data-compare as heapdata-compare
Jon Harper [Wed, 9 Jan 2019 19:18:30 +0000 (20:18 +0100)]
heaps: bring back data-compare as heapdata-compare

It is useful in several places. Change the name because
0d7233f2daa9c changed the convention and data-* words now
operate on the data directly

5 years agounits: Add exponentiation operator and a d-cube.
Doug Coleman [Sat, 5 Jan 2019 20:27:42 +0000 (14:27 -0600)]
units: Add exponentiation operator and a d-cube.

5 years agoFix bugs in heap-delete
Samuel Tardieu [Fri, 4 Jan 2019 15:15:45 +0000 (16:15 +0100)]
Fix bugs in heap-delete

When an entry is kept to be use later with `heap-delete`, its `index`
in the owning heap is automatically updated as the entry sifts up
or down.

However, if the entry is removed from the heap via either a `heap-pop`
or a `heap-delete` operation, its index is not invalidated and
the entry can still be used later with `heap-delete` and remove the
wrong element from the heap.

This patch invalidates entries when they leave the heap by setting
their index to `f`, and check the index in `entry>index`.

5 years agoryu: minor locals cleanup, don't use 5drop.
John Benediktsson [Fri, 4 Jan 2019 05:29:53 +0000 (21:29 -0800)]
ryu: minor locals cleanup, don't use 5drop.

5 years agoryu: faster and simpler using number>string for integer conversion.
John Benediktsson [Fri, 4 Jan 2019 05:13:55 +0000 (21:13 -0800)]
ryu: faster and simpler using number>string for integer conversion.

5 years agoryu: accept some lint vocab suggestions
Alexander Iljin [Thu, 3 Jan 2019 22:41:28 +0000 (23:41 +0100)]
ryu: accept some lint vocab suggestions

5 years agolint: add suggestion to replace "-roll -roll" with 2swap
Alexander Iljin [Thu, 3 Jan 2019 22:46:13 +0000 (23:46 +0100)]
lint: add suggestion to replace "-roll -roll" with 2swap

5 years agosyntax-docs: add a couple of missing CHAR: syntax examples
Alexander Iljin [Thu, 27 Dec 2018 13:57:12 +0000 (14:57 +0100)]
syntax-docs: add a couple of missing CHAR: syntax examples

5 years agodb.sqlite: make sure select-tuple throws sql-table-missing etc.
John Benediktsson [Thu, 3 Jan 2019 20:39:37 +0000 (12:39 -0800)]
db.sqlite: make sure select-tuple throws sql-table-missing etc.

5 years agobase32: adding Douglas Crockford's Base 32 encoding/decoding.
John Benediktsson [Thu, 3 Jan 2019 20:26:47 +0000 (12:26 -0800)]
base32: adding Douglas Crockford's Base 32 encoding/decoding.

5 years agodb.tuples[{-docs,-tests}]: add reject-tuples
Alexander Iljin [Mon, 24 Dec 2018 22:54:36 +0000 (23:54 +0100)]
db.tuples[{-docs,-tests}]: add reject-tuples

5 years agoulid: new vocab
Alexander Iljin [Tue, 1 Jan 2019 20:05:02 +0000 (21:05 +0100)]
ulid: new vocab

This corresponds to commit 1bd3b5681bf1ba7155a42e75a937ec4b2520a202 of the
original repository at https://github.com/AlexIljin/ulid.

5 years agoRevert "db.tuples[{-docs,-tests}]: add reject-tuples"
Doug Coleman [Mon, 31 Dec 2018 04:29:54 +0000 (22:29 -0600)]
Revert "db.tuples[{-docs,-tests}]: add reject-tuples"

This reverts commit 6cae2046b5df5ad975206a0eb09e3d64d56f9897.

5 years agodb.tuples[{-docs,-tests}]: add reject-tuples
Alexander Iljin [Mon, 24 Dec 2018 22:54:36 +0000 (23:54 +0100)]
db.tuples[{-docs,-tests}]: add reject-tuples

5 years agotools.directory-to-file: Fix using
Doug Coleman [Mon, 31 Dec 2018 01:20:39 +0000 (19:20 -0600)]
tools.directory-to-file: Fix using

5 years agoryu: add new vocab to convert double-precision floats to strings
Alexander Iljin [Mon, 31 Dec 2018 01:00:33 +0000 (02:00 +0100)]
ryu: add new vocab to convert double-precision floats to strings

This commit corresponds to commit 5e1591c3cbee3c667e400d936e924c0d25d55aeb
in the original repo https://github.com/AlexIljin/ryu (minus README.md).

5 years agodirectory-to-file: Better nested syntax.
Doug Coleman [Thu, 27 Dec 2018 22:56:20 +0000 (16:56 -0600)]
directory-to-file: Better nested syntax.

5 years agoui.tools.inspector: string inspection shows characters.
John Benediktsson [Sun, 30 Dec 2018 20:50:49 +0000 (12:50 -0800)]
ui.tools.inspector: string inspection shows characters.

5 years agozoneinfo: Remove dumb unit test
Doug Coleman [Sun, 30 Dec 2018 20:45:31 +0000 (14:45 -0600)]
zoneinfo: Remove dumb unit test

5 years agotravis: Disable windows for now. Can't find the compiler...help?
Doug Coleman [Sun, 30 Dec 2018 20:26:27 +0000 (14:26 -0600)]
travis: Disable windows for now. Can't find the compiler...help?

5 years agozoneinfo: Add updated files.
Doug Coleman [Sun, 30 Dec 2018 20:25:48 +0000 (14:25 -0600)]
zoneinfo: Add updated files.

5 years agototp: add new vocab
Alexander Iljin [Sat, 29 Dec 2018 17:07:35 +0000 (18:07 +0100)]
totp: add new vocab

5 years agobuild.sh: Add the correct travis platform.
Doug Coleman [Sat, 29 Dec 2018 22:29:40 +0000 (16:29 -0600)]
build.sh: Add the correct travis platform.

5 years agotravis.yml: Run ``uname -s`` to find the right platform string.
Doug Coleman [Sat, 29 Dec 2018 22:27:12 +0000 (16:27 -0600)]
travis.yml: Run ``uname -s`` to find the right platform string.

5 years agobuild.sh: Add target for TravisCI Windows.
Doug Coleman [Sat, 29 Dec 2018 22:24:33 +0000 (16:24 -0600)]
build.sh: Add target for TravisCI Windows.

5 years agotravis: Don't build udis on windows
Doug Coleman [Sat, 29 Dec 2018 22:18:08 +0000 (16:18 -0600)]
travis: Don't build udis on windows

5 years agotravisci: Test on Windows!
Doug Coleman [Sat, 29 Dec 2018 22:00:44 +0000 (16:00 -0600)]
travisci: Test on Windows!

Let's fix this til it's clean.

Blog post: https://blog.travis-ci.com/2018-10-11-windows-early-release

5 years agorandom.xoshiro: Implement xoshiro256starstar.
Doug Coleman [Sat, 29 Dec 2018 19:27:41 +0000 (13:27 -0600)]
random.xoshiro: Implement xoshiro256starstar.

It's rather slow because Factor doesn't have 64bit integers.

[
1,000,000 <iota>
1 2 3 4 <xoshiro-256-star-star> '[ drop _ next-256 ] map
] profile

Reference implementation: http://xoshiro.di.unimi.it/xoshiro256starstar.c
Debugging C code: https://paste.factorcode.org/paste?id=3949

Related issue: #1518

5 years agomason.test: Help travisci complete the testing without false errors.
Doug Coleman [Tue, 25 Dec 2018 01:23:53 +0000 (19:23 -0600)]
mason.test: Help travisci complete the testing without false errors.

5 years agotravis: Apparently we already had some code for this, but it needs the second key.
Doug Coleman [Tue, 25 Dec 2018 00:02:46 +0000 (18:02 -0600)]
travis: Apparently we already had some code for this, but it needs the second key.

5 years agotravis: Try the workaround since travis doesn't like the url to the gpg keys.
Doug Coleman [Mon, 24 Dec 2018 23:45:56 +0000 (17:45 -0600)]
travis: Try the workaround since travis doesn't like the url to the gpg keys.

5 years agotravis.yml: Wow, ordering. install gnupg before trying to use it
Doug Coleman [Mon, 24 Dec 2018 23:23:29 +0000 (17:23 -0600)]
travis.yml: Wow, ordering. install gnupg before trying to use it

5 years agotravis: Try to fix rvm on macos.
Doug Coleman [Mon, 24 Dec 2018 23:13:20 +0000 (17:13 -0600)]
travis: Try to fix rvm on macos.

5 years agoeditors.visual-studio-code: Don't memoize the vscode path and add code.cmd per melted...
Doug Coleman [Mon, 24 Dec 2018 19:12:53 +0000 (13:12 -0600)]
editors.visual-studio-code: Don't memoize the vscode path and add code.cmd per melted's suggestion:

https://github.com/factor/factor/pull/2078/commits/450730b612291eefd9edb12301200ce6d83343f9

5 years agoio.standard-paths: Add yet another path for Windows.
Doug Coleman [Mon, 24 Dec 2018 19:08:28 +0000 (13:08 -0600)]
io.standard-paths: Add yet another path for Windows.

My vscode is in ``C:\Users\erg\AppData\Local\Programs\Microsoft VS
Code`` for some reason and vscode stopped working. This fixes it.

5 years agosodium: the add essential crypto-box-* words and a unit-test 2086/head
Alexander Iljin [Sun, 23 Dec 2018 23:29:39 +0000 (00:29 +0100)]
sodium: the add essential crypto-box-* words and a unit-test

5 years agosodium: prepare some code for reuse
Alexander Iljin [Sun, 23 Dec 2018 23:50:20 +0000 (00:50 +0100)]
sodium: prepare some code for reuse

5 years agosodium: move some words into the <PRIVATE> section
Alexander Iljin [Sun, 23 Dec 2018 23:48:01 +0000 (00:48 +0100)]
sodium: move some words into the <PRIVATE> section

5 years agosodium.ffi: add the remaining APIs
Alexander Iljin [Sun, 23 Dec 2018 20:53:47 +0000 (21:53 +0100)]
sodium.ffi: add the remaining APIs

5 years agosodium.ffi: add the year 2018 to the copyright notice
Alexander Iljin [Sun, 23 Dec 2018 20:15:28 +0000 (21:15 +0100)]
sodium.ffi: add the year 2018 to the copyright notice

5 years agosodium.ffi: fix source code formatting for consistency
Alexander Iljin [Sun, 23 Dec 2018 20:14:59 +0000 (21:14 +0100)]
sodium.ffi: fix source code formatting for consistency

5 years agosequences.extras: Allow row variables in loop>array etc.
Doug Coleman [Sun, 16 Dec 2018 19:30:55 +0000 (13:30 -0600)]
sequences.extras: Allow row variables in loop>array etc.

5 years agofurnace.auth: Rather have clean builds than loaded docs.
Doug Coleman [Sun, 16 Dec 2018 18:34:54 +0000 (12:34 -0600)]
furnace.auth: Rather have clean builds than loaded docs.

Fixes #2068
Fixes #2077

5 years ago*.txt: Add newlines, fix some spacing
Doug Coleman [Sun, 16 Dec 2018 17:54:52 +0000 (11:54 -0600)]
*.txt: Add newlines, fix some spacing

5 years agonotifications.macos: Notifications for macOS.
Doug Coleman [Sun, 16 Dec 2018 17:35:12 +0000 (11:35 -0600)]
notifications.macos: Notifications for macOS.

They don't seem to always pop up. I think the delegate needs to be set to respond to a message to always show the notification.

5 years agoui.backend.cocoa.views: fix macOS mojave opengl issue with new windows.
John Benediktsson [Tue, 11 Dec 2018 23:40:41 +0000 (15:40 -0800)]
ui.backend.cocoa.views: fix macOS mojave opengl issue with new windows.

5 years agostack-checker-docs: fix articles "a" -> "an"
Alexander Iljin [Sat, 15 Sep 2018 14:18:57 +0000 (16:18 +0200)]
stack-checker-docs: fix articles "a" -> "an"

5 years agostack-checker-docs: fix a typo
Alexander Iljin [Sat, 15 Sep 2018 14:18:13 +0000 (16:18 +0200)]
stack-checker-docs: fix a typo

5 years agoimap: Add a word to list all folders and fix a couple issues.
Doug Coleman [Wed, 21 Nov 2018 22:58:01 +0000 (16:58 -0600)]
imap: Add a word to list all folders and fix a couple issues.
- Fix a bug where the regex assumes double-quotes around a string but Outlook doesn't put them.
- Fix all the \\ escapes in the regexps to look a little better.
- Cleaner looping for reading emails.

! Example query to get some spams
imap-settings get [
  "[Gmail]/Spam" select-folder
  "ALL" "" search-mails 10 head
  "(BODY[1] BODY[HEADER.FIELDS (SUBJECT TO FROM CC BCC)])" fetch-mails
] with-imap-settings

5 years agometar: fix for timestamps like "2124" meaning "2200".
John Benediktsson [Tue, 20 Nov 2018 19:41:18 +0000 (11:41 -0800)]
metar: fix for timestamps like "2124" meaning "2200".

5 years agofix absolute path on windows
Craig Allen [Mon, 22 Oct 2018 14:47:12 +0000 (15:47 +0100)]
fix absolute path on windows

append-path ignores the first argument if the second is an absolute path, breaks the vocab on windows

5 years agoxdg: remove memoize.
John Benediktsson [Sat, 20 Oct 2018 05:28:15 +0000 (22:28 -0700)]
xdg: remove memoize.

5 years agowebsites.concatenative: Update recaptcha to work with v2.
Doug Coleman [Wed, 26 Sep 2018 02:23:47 +0000 (02:23 +0000)]
websites.concatenative: Update recaptcha to work with v2.

5 years agoSupport PUT and PATCH requests
Benjamin Pollack [Sat, 15 Sep 2018 19:39:51 +0000 (15:39 -0400)]
Support PUT and PATCH requests

Resolves #1431

5 years agofurance.recaptcha: update to reCAPTCHA2 2049/head
Benjamin Pollack [Wed, 15 Aug 2018 00:07:04 +0000 (20:07 -0400)]
furance.recaptcha: update to reCAPTCHA2

5 years agoui.gadgets.frames: default filled-cell to { 0 0 }.
John Benediktsson [Wed, 12 Sep 2018 14:01:23 +0000 (07:01 -0700)]
ui.gadgets.frames: default filled-cell to { 0 0 }.

5 years agofurance.auth: fix some help-lint errors...
John Benediktsson [Fri, 7 Sep 2018 22:25:50 +0000 (15:25 -0700)]
furance.auth: fix some help-lint errors...

...if only loading furance.auth.