]>
gitweb.factorcode.org Git - factor.git/log
Doug Coleman [Sat, 9 Feb 2019 20:59:57 +0000 (20:59 +0000)]
dragonflybsd: Initial support.
Doug Coleman [Sat, 9 Feb 2019 19:39:25 +0000 (19:39 +0000)]
vm: Add freebsd32 support for completeness.
We need gmake on freebsd.
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.
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.
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.
Jack Lucas [Sat, 9 Feb 2019 23:43:51 +0000 (18:43 -0500)]
Fix typo in monitor file
Jack Lucas [Sat, 9 Feb 2019 23:38:20 +0000 (18:38 -0500)]
Fix monitor errors on startup
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).
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.
Jack Lucas [Sat, 9 Feb 2019 01:19:10 +0000 (20:19 -0500)]
Fix merge error
Jack Lucas [Sat, 9 Feb 2019 00:20:20 +0000 (19:20 -0500)]
Remove one mistaken author file
Jack Lucas [Sat, 9 Feb 2019 00:17:30 +0000 (19:17 -0500)]
Re-add Freebsd Support
Alexander Iljin [Wed, 2 Jan 2019 08:49:30 +0000 (09:49 +0100)]
ulid-docs: format errors with $errors
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
Doug Coleman [Sun, 3 Feb 2019 19:51:59 +0000 (14:51 -0500)]
assocs: Add ?delete-at.
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...
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
John Benediktsson [Mon, 28 Jan 2019 05:34:49 +0000 (21:34 -0800)]
hamurabi: fix #percent-died.
Doug Coleman [Sat, 26 Jan 2019 11:49:03 +0000 (05:49 -0600)]
tools: Fix some issues and use base85.
John Benediktsson [Sat, 26 Jan 2019 15:14:09 +0000 (07:14 -0800)]
base85: simpler pad math.
John Benediktsson [Sat, 26 Jan 2019 05:14:11 +0000 (21:14 -0800)]
base85: change to not pad encoding, fix output bug.
John Benediktsson [Fri, 25 Jan 2019 03:21:00 +0000 (19:21 -0800)]
base85: fix a bug with accidental extra characters in alphabet.
Doug Coleman [Mon, 21 Jan 2019 21:08:07 +0000 (15:08 -0600)]
mime.multipart: Simplify the code a bit.
Fixes #2107
Doug Coleman [Sat, 19 Jan 2019 16:07:29 +0000 (10:07 -0600)]
webapps.planet: Trim using list.
Doug Coleman [Sat, 19 Jan 2019 16:06:35 +0000 (10:06 -0600)]
math.blas.matrices: Fix for equal?
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.
Doug Coleman [Sun, 13 Jan 2019 00:06:03 +0000 (18:06 -0600)]
syndication: Remove dead code I added on accident..
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
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.
Doug Coleman [Sat, 12 Jan 2019 21:28:36 +0000 (15:28 -0600)]
webapps.pastebin: Fix quotation effect so deleting annotations works.
Doug Coleman [Sat, 12 Jan 2019 16:43:34 +0000 (10:43 -0600)]
io.serial: Fix using list.
John Benediktsson [Fri, 11 Jan 2019 16:19:59 +0000 (08:19 -0800)]
io.monitors: cleanup using.
John Benediktsson [Fri, 11 Jan 2019 16:19:50 +0000 (08:19 -0800)]
heaps: cleanup using.
John Benediktsson [Fri, 11 Jan 2019 05:41:34 +0000 (21:41 -0800)]
models.delay: cache the timer, bug with restart-timer.
John Benediktsson [Fri, 11 Jan 2019 05:39:24 +0000 (21:39 -0800)]
classes.tuple: use integer>fixnum in tuple-hashcode.
John Benediktsson [Fri, 11 Jan 2019 04:35:32 +0000 (20:35 -0800)]
io.streams.duplex: use >duplex-stream<.
John Benediktsson [Fri, 11 Jan 2019 04:34:58 +0000 (20:34 -0800)]
io.serial: use io.streams.duplex:with-stream.
John Benediktsson [Fri, 11 Jan 2019 00:47:45 +0000 (16:47 -0800)]
heaps: fix minor doc typo.
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.
Jon Harper [Thu, 10 Jan 2019 20:50:50 +0000 (21:50 +0100)]
heaps: add comments referring to pypy's heapq.py
Jon Harper [Wed, 9 Jan 2019 17:43:40 +0000 (18:43 +0100)]
heaps: fix heap delete: sometimes we need to sift-down
Jon Harper [Wed, 9 Jan 2019 16:37:26 +0000 (17:37 +0100)]
heaps.tests: remove dead code
Jon Harper [Wed, 9 Jan 2019 16:36:20 +0000 (17:36 +0100)]
heaps: check heap invariant during tests
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
Doug Coleman [Sat, 5 Jan 2019 20:27:42 +0000 (14:27 -0600)]
units: Add exponentiation operator and a d-cube.
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`.
John Benediktsson [Fri, 4 Jan 2019 05:29:53 +0000 (21:29 -0800)]
ryu: minor locals cleanup, don't use 5drop.
John Benediktsson [Fri, 4 Jan 2019 05:13:55 +0000 (21:13 -0800)]
ryu: faster and simpler using number>string for integer conversion.
Alexander Iljin [Thu, 3 Jan 2019 22:41:28 +0000 (23:41 +0100)]
ryu: accept some lint vocab suggestions
Alexander Iljin [Thu, 3 Jan 2019 22:46:13 +0000 (23:46 +0100)]
lint: add suggestion to replace "-roll -roll" with 2swap
Alexander Iljin [Thu, 27 Dec 2018 13:57:12 +0000 (14:57 +0100)]
syntax-docs: add a couple of missing CHAR: syntax examples
John Benediktsson [Thu, 3 Jan 2019 20:39:37 +0000 (12:39 -0800)]
db.sqlite: make sure select-tuple throws sql-table-missing etc.
John Benediktsson [Thu, 3 Jan 2019 20:26:47 +0000 (12:26 -0800)]
base32: adding Douglas Crockford's Base 32 encoding/decoding.
Alexander Iljin [Mon, 24 Dec 2018 22:54:36 +0000 (23:54 +0100)]
db.tuples[{-docs,-tests}]: add reject-tuples
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.
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 .
Alexander Iljin [Mon, 24 Dec 2018 22:54:36 +0000 (23:54 +0100)]
db.tuples[{-docs,-tests}]: add reject-tuples
Doug Coleman [Mon, 31 Dec 2018 01:20:39 +0000 (19:20 -0600)]
tools.directory-to-file: Fix using
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).
Doug Coleman [Thu, 27 Dec 2018 22:56:20 +0000 (16:56 -0600)]
directory-to-file: Better nested syntax.
John Benediktsson [Sun, 30 Dec 2018 20:50:49 +0000 (12:50 -0800)]
ui.tools.inspector: string inspection shows characters.
Doug Coleman [Sun, 30 Dec 2018 20:45:31 +0000 (14:45 -0600)]
zoneinfo: Remove dumb unit test
Doug Coleman [Sun, 30 Dec 2018 20:26:27 +0000 (14:26 -0600)]
travis: Disable windows for now. Can't find the compiler...help?
Doug Coleman [Sun, 30 Dec 2018 20:25:48 +0000 (14:25 -0600)]
zoneinfo: Add updated files.
Alexander Iljin [Sat, 29 Dec 2018 17:07:35 +0000 (18:07 +0100)]
totp: add new vocab
Doug Coleman [Sat, 29 Dec 2018 22:29:40 +0000 (16:29 -0600)]
build.sh: Add the correct travis platform.
Doug Coleman [Sat, 29 Dec 2018 22:27:12 +0000 (16:27 -0600)]
travis.yml: Run ``uname -s`` to find the right platform string.
Doug Coleman [Sat, 29 Dec 2018 22:24:33 +0000 (16:24 -0600)]
build.sh: Add target for TravisCI Windows.
Doug Coleman [Sat, 29 Dec 2018 22:18:08 +0000 (16:18 -0600)]
travis: Don't build udis 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
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
Doug Coleman [Tue, 25 Dec 2018 01:23:53 +0000 (19:23 -0600)]
mason.test: Help travisci complete the testing without false errors.
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.
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.
Doug Coleman [Mon, 24 Dec 2018 23:23:29 +0000 (17:23 -0600)]
travis.yml: Wow, ordering. install gnupg before trying to use it
Doug Coleman [Mon, 24 Dec 2018 23:13:20 +0000 (17:13 -0600)]
travis: Try to fix rvm on macos.
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
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.
Alexander Iljin [Sun, 23 Dec 2018 23:29:39 +0000 (00:29 +0100)]
sodium: the add essential crypto-box-* words and a unit-test
Alexander Iljin [Sun, 23 Dec 2018 23:50:20 +0000 (00:50 +0100)]
sodium: prepare some code for reuse
Alexander Iljin [Sun, 23 Dec 2018 23:48:01 +0000 (00:48 +0100)]
sodium: move some words into the <PRIVATE> section
Alexander Iljin [Sun, 23 Dec 2018 20:53:47 +0000 (21:53 +0100)]
sodium.ffi: add the remaining APIs
Alexander Iljin [Sun, 23 Dec 2018 20:15:28 +0000 (21:15 +0100)]
sodium.ffi: add the year 2018 to the copyright notice
Alexander Iljin [Sun, 23 Dec 2018 20:14:59 +0000 (21:14 +0100)]
sodium.ffi: fix source code formatting for consistency
Doug Coleman [Sun, 16 Dec 2018 19:30:55 +0000 (13:30 -0600)]
sequences.extras: Allow row variables in loop>array etc.
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
Doug Coleman [Sun, 16 Dec 2018 17:54:52 +0000 (11:54 -0600)]
*.txt: Add newlines, fix some spacing
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.
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.
Alexander Iljin [Sat, 15 Sep 2018 14:18:57 +0000 (16:18 +0200)]
stack-checker-docs: fix articles "a" -> "an"
Alexander Iljin [Sat, 15 Sep 2018 14:18:13 +0000 (16:18 +0200)]
stack-checker-docs: fix a typo
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
John Benediktsson [Tue, 20 Nov 2018 19:41:18 +0000 (11:41 -0800)]
metar: fix for timestamps like "2124" meaning "2200".
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
John Benediktsson [Sat, 20 Oct 2018 05:28:15 +0000 (22:28 -0700)]
xdg: remove memoize.
Doug Coleman [Wed, 26 Sep 2018 02:23:47 +0000 (02:23 +0000)]
websites.concatenative: Update recaptcha to work with v2.
Benjamin Pollack [Sat, 15 Sep 2018 19:39:51 +0000 (15:39 -0400)]
Support PUT and PATCH requests
Resolves #1431
Benjamin Pollack [Wed, 15 Aug 2018 00:07:04 +0000 (20:07 -0400)]
furance.recaptcha: update to reCAPTCHA2
John Benediktsson [Wed, 12 Sep 2018 14:01:23 +0000 (07:01 -0700)]
ui.gadgets.frames: default filled-cell to { 0 0 }.
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.