Commit Graph

11865 Commits (2cfa457258d93ea14a132a256fc96cf5c8d95c92)

Author SHA1 Message Date
John Benediktsson 2d0e716362 ryu: minor locals cleanup, don't use 5drop. 2019-01-03 21:29:53 -08:00
John Benediktsson aa67ab6ec4 ryu: faster and simpler using number>string for integer conversion. 2019-01-03 21:13:55 -08:00
Alexander Iljin b26fa1b318 ryu: accept some lint vocab suggestions 2019-01-03 17:05:12 -08:00
Alexander Iljin 47c3f7d56d lint: add suggestion to replace "-roll -roll" with 2swap 2019-01-03 15:36:34 -08:00
John Benediktsson d66ea1e09c base32: adding Douglas Crockford's Base 32 encoding/decoding. 2019-01-03 12:27:11 -08:00
Alexander Iljin bb1e6943e6 ulid: new vocab
This corresponds to commit 1bd3b5681bf1ba7155a42e75a937ec4b2520a202 of the
original repository at https://github.com/AlexIljin/ulid.
2019-01-01 14:22:52 -06:00
Alexander Iljin 94af9254bd 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).
2018-12-30 19:14:29 -06:00
Doug Coleman 1e2bb358c2 zoneinfo: Remove dumb unit test 2018-12-30 14:45:31 -06:00
Doug Coleman 5e710fa9f9 zoneinfo: Add updated files. 2018-12-30 14:26:17 -06:00
Alexander Iljin 738b17e143 totp: add new vocab 2018-12-30 12:23:17 -08:00
Doug Coleman 0f996e9342 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
2018-12-29 13:27:41 -06:00
Doug Coleman b73f1bd8b1 mason.test: Help travisci complete the testing without false errors. 2018-12-24 19:23:53 -06:00
Alexander Iljin 2f605617a1 sodium: the add essential crypto-box-* words and a unit-test 2018-12-24 00:51:08 +01:00
Alexander Iljin 0f57380074 sodium: prepare some code for reuse 2018-12-24 00:51:08 +01:00
Alexander Iljin ce6f4ee249 sodium: move some words into the <PRIVATE> section 2018-12-24 00:51:08 +01:00
Alexander Iljin c84410f3c6 sodium.ffi: add the remaining APIs 2018-12-24 00:31:23 +01:00
Alexander Iljin edbe701626 sodium.ffi: add the year 2018 to the copyright notice 2018-12-24 00:31:22 +01:00
Alexander Iljin 682817bef8 sodium.ffi: fix source code formatting for consistency 2018-12-24 00:31:22 +01:00
Doug Coleman 9c29759775 sequences.extras: Allow row variables in loop>array etc. 2018-12-16 13:30:55 -06:00
Doug Coleman 17ed798178 *.txt: Add newlines, fix some spacing 2018-12-16 12:04:35 -06:00
Doug Coleman 00fd59aa39 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.
2018-12-16 11:38:14 -06:00
Doug Coleman f77d46f0c8 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
2018-11-21 19:27:42 -06:00
John Benediktsson d82ce045ea metar: fix for timestamps like "2124" meaning "2200". 2018-11-20 11:41:18 -08:00
Craig Allen 9804c3c744 fix absolute path on windows
append-path ignores the first argument if the second is an absolute path, breaks the vocab on windows
2018-10-24 09:46:48 -07:00
Doug Coleman 5a420cabc3 websites.concatenative: Update recaptcha to work with v2. 2018-09-26 02:23:47 +00:00
Doug Coleman e427f0f34e zealot.cli-test-changed-vocabs: Fix using and stack effect.
I changed the code in the wrong branch.
2018-08-26 20:24:45 -05:00
Doug Coleman faae03cdba zealot.cli-test-changed-vocabs: The ``test`` word tests all child vocabs in the hierarchy, ``test-vocab`` tests only the specific vocabulary.
This should test fewer vocabularies and find more bugs where vocabularies are expected to be loaded but aren't loaded.
2018-08-26 16:53:38 -05:00
Alexander Iljin 0637557cca *-docs: remove extra space character at the end of paragraghs 2018-08-21 10:45:52 -07:00
Alexander Iljin 6b23c7c6d6 rosetta-code.ternary-logic: add a missing type cast to t= 2018-08-21 10:44:23 -07:00
Alexander Iljin f56ed221d7 rosetta-code.ternary-logic: remove useless type casts before drops 2018-08-21 10:44:22 -07:00
Doug Coleman 3f19ade4d3 webapps.help: All docs.factorcode.org traffic should go to https.
Per request on irc.
2018-08-12 17:54:17 -05:00
John Benediktsson 62fd7e3bbd tools.wc: use re-decode here also. 2018-08-01 21:03:40 -07:00
John Benediktsson ed9df3303d tools.cat: use re-encode/re-decode. 2018-08-01 14:25:25 -07:00
John Benediktsson 5e9b804d66 tools.cat: significant performance improvement using binary.
Before (using strings): 77MiB/s
After (using byte-arrays): 3.06GiB/s
2018-08-01 12:52:33 -07:00
John Benediktsson dbb9bb42ca odbc: add windows platform.txt. 2018-07-31 18:12:54 -07:00
Doug Coleman 102fe6154e ci.run-process platforms: getting uid/gid, so unix only for now 2018-07-21 15:28:43 -05:00
Doug Coleman 0655ed4e00 ci: Start new vocabs.
Add ci.docker for running commands in docker.
Add ci.run-process for running commands and capturing everything from their run.

USE: ci.docker USE: ci.run-process
{ "run" "hello-world" } "docker" find-in-standard-login-path prefix
ci-run-process>autopsy autopsy.
2018-07-21 15:27:25 -05:00
Doug Coleman 279acbc53e io.launcher: Add process-lines word. 2018-07-16 21:02:11 -05:00
Doug Coleman 4b614cc15b factor: Make source files/resources 644 instead of 755. 2018-07-13 20:36:50 -05:00
Doug Coleman 7209d53c83 Revert "gpu: Load all the links for the docs to not error with: ``Help article does not exist name "gpu.textures"``"
This reverts commit 76f4678a96.

This breaks ``"cuda" load`` with circularity.
2018-07-10 02:06:54 -05:00
Doug Coleman f140d48e24 help.lint.coverage: Clean up test a bit. Hopefully this fixes an error on macOS in travisci. 2018-07-07 15:40:33 -05:00
Doug Coleman 0b0ead5135 yaml: Docs don't help-lint unless the yaml library is present.
We need a better docs system, after .98
2018-07-07 12:48:39 -05:00
Doug Coleman 76f4678a96 gpu: Load all the links for the docs to not error with: ``Help article does not exist name "gpu.textures"``
There might be a better way.
2018-07-07 12:33:08 -05:00
Doug Coleman 70537e86e4 fuel.help: Help test requires io.servers to be loaded, so load it. 2018-07-07 12:27:11 -05:00
Doug Coleman 79db3ca594 docs: fix docs for help-lint 2018-07-07 08:24:20 -05:00
Doug Coleman dadf462661 help.lint.coverage: Add yet another sanity test, clean up broken words after lint test. 2018-07-07 02:03:55 -05:00
Doug Coleman 4e9d383fe5 docs: Fix help-lint-all mistakes. 2018-07-07 01:13:19 -05:00
Doug Coleman ff466b894a zealot.factor: Test against the clean branch if we are pushing to master. 2018-07-07 01:13:19 -05:00
Doug Coleman 9d911fab73 cli.git: Fix parameter order. 2018-07-06 21:22:26 -05:00
John Benediktsson 6e89e4ecab sequences.extras: fix bug in count-head, add some tests. 2018-07-06 08:07:11 -07:00