]> gitweb.factorcode.org Git - factor.git/log
factor.git
3 years agoREADME: adding travis graphic.
John Benediktsson [Wed, 18 Nov 2020 21:12:35 +0000 (13:12 -0800)]
README: adding travis graphic.

3 years ago.travis.yml: fix.
John Benediktsson [Wed, 18 Nov 2020 20:45:59 +0000 (12:45 -0800)]
.travis.yml: fix.

3 years agosequences.generalizations: adding docs to ?firstn.
John Benediktsson [Wed, 18 Nov 2020 19:09:17 +0000 (11:09 -0800)]
sequences.generalizations: adding docs to ?firstn.

3 years ago.travis.yml: use vocabs.loader for core vocabs.
John Benediktsson [Wed, 18 Nov 2020 19:05:30 +0000 (11:05 -0800)]
.travis.yml: use vocabs.loader for core vocabs.

3 years agosequences.generalizations: adding ?firstn.
John Benediktsson [Wed, 18 Nov 2020 18:46:13 +0000 (10:46 -0800)]
sequences.generalizations: adding ?firstn.

3 years agoeditors.visual-studio-code-exploration: Add yet another vscode version.
Doug Coleman [Wed, 18 Nov 2020 00:21:25 +0000 (18:21 -0600)]
editors.visual-studio-code-exploration: Add yet another vscode version.

This one is the Apple M1 experimental version.

3 years agoraylib.ffi: can lookup-library instead of find-library.
John Benediktsson [Tue, 17 Nov 2020 19:49:15 +0000 (11:49 -0800)]
raylib.ffi: can lookup-library instead of find-library.

3 years agoopenssl: doesn't require full paths.
John Benediktsson [Tue, 17 Nov 2020 18:36:32 +0000 (10:36 -0800)]
openssl: doesn't require full paths.

3 years agoopenssl.libcrypto: fix for macos.
John Benediktsson [Tue, 17 Nov 2020 18:33:09 +0000 (10:33 -0800)]
openssl.libcrypto: fix for macos.

3 years agoio.pathnames: add missing linux branch in test
masweeney [Tue, 23 Aug 2016 16:25:24 +0000 (12:25 -0400)]
io.pathnames: add missing linux branch in test

3 years agoio.pathnames: fix separator when appending paths in windows
masweeney [Tue, 23 Aug 2016 16:20:06 +0000 (12:20 -0400)]
io.pathnames: fix separator when appending paths in windows

Includes updated tests

3 years agocontributors: merge the known contributor aliases
Alexander Iljin [Sun, 23 Aug 2020 15:26:25 +0000 (17:26 +0200)]
contributors: merge the known contributor aliases

3 years agomodels.arrow: fix docs.
John Benediktsson [Sun, 15 Nov 2020 15:48:59 +0000 (07:48 -0800)]
models.arrow: fix docs.

3 years agomodels.arrow: Add <?arrow> and <?smart-arrow>
timor [Sun, 15 Nov 2020 12:35:02 +0000 (13:35 +0100)]
models.arrow: Add <?arrow> and <?smart-arrow>

Like `<arrow>` and `<smart-arrow>`, but using `?set-model` instead of `set-model`.

3 years agoeditors.smultron: adding Smultron support.
John Benediktsson [Sun, 15 Nov 2020 03:38:02 +0000 (19:38 -0800)]
editors.smultron: adding Smultron support.

3 years agocombinators.extras: rename new ?call word to chain.
John Benediktsson [Sat, 14 Nov 2020 20:16:23 +0000 (12:16 -0800)]
combinators.extras: rename new ?call word to chain.

3 years agoeditors.visual-studio-code: try and simplify.
John Benediktsson [Sat, 14 Nov 2020 19:10:41 +0000 (11:10 -0800)]
editors.visual-studio-code: try and simplify.

multi-methods might be more expressive, but this is easier to read
with current syntax.

3 years agomodels: fix docs for compute-model.
John Benediktsson [Sat, 14 Nov 2020 18:46:31 +0000 (10:46 -0800)]
models: fix docs for compute-model.

3 years agomodels: Add word to force recomputation of model values
timor [Sat, 14 Nov 2020 17:17:37 +0000 (18:17 +0100)]
models: Add word to force recomputation of model values

3 years agoeditors.visual-studio-code: Fix windows.
Doug Coleman [Sat, 14 Nov 2020 01:53:16 +0000 (19:53 -0600)]
editors.visual-studio-code: Fix windows.

3 years agoui.images: support image tuples as well as image-names
timor [Fri, 13 Nov 2020 19:20:58 +0000 (20:20 +0100)]
ui.images: support image tuples as well as image-names

Allows objects created by <image> to be used with <image-pen>, using the
image-texture-cache.

3 years agosystem-info.macosx: report 10.16 as Big Sur.
John Benediktsson [Fri, 13 Nov 2020 17:18:23 +0000 (09:18 -0800)]
system-info.macosx: report 10.16 as Big Sur.

Binaries compiled against older libraries will report this way.

3 years agocombinators.extras: a few more tests for ?call.
John Benediktsson [Fri, 13 Nov 2020 04:41:44 +0000 (20:41 -0800)]
combinators.extras: a few more tests for ?call.

3 years agocombinators.extras: adding ?call.
John Benediktsson [Fri, 13 Nov 2020 04:35:07 +0000 (20:35 -0800)]
combinators.extras: adding ?call.

this is kind of like an optional chained operation.

3 years ago.travis.yml: use -run=tools.test --only.
John Benediktsson [Tue, 10 Nov 2020 22:05:57 +0000 (14:05 -0800)]
.travis.yml: use -run=tools.test --only.

3 years agozealot.help-lint: use require instead of load.
John Benediktsson [Tue, 10 Nov 2020 22:05:43 +0000 (14:05 -0800)]
zealot.help-lint: use require instead of load.

3 years agotools.test: allow --only command-line option.
John Benediktsson [Tue, 10 Nov 2020 22:02:42 +0000 (14:02 -0800)]
tools.test: allow --only command-line option.

When specified, this will require and test only the vocabularies
specified on the command-line.

3 years agoeditors.nova: adding support for Panic's Nova editor.
John Benediktsson [Tue, 10 Nov 2020 21:13:28 +0000 (13:13 -0800)]
editors.nova: adding support for Panic's Nova editor.

3 years ago.travis.yml: stop using windows for now.
John Benediktsson [Tue, 10 Nov 2020 19:18:26 +0000 (11:18 -0800)]
.travis.yml: stop using windows for now.

3 years ago.travis.yml: wrap with string to fix yaml parsing.
John Benediktsson [Tue, 10 Nov 2020 16:55:09 +0000 (08:55 -0800)]
.travis.yml: wrap with string to fix yaml parsing.

3 years ago.travis.yml: syntax fix.
John Benediktsson [Tue, 10 Nov 2020 16:13:15 +0000 (08:13 -0800)]
.travis.yml: syntax fix.

3 years ago.travis.yml: need ./paths.
John Benediktsson [Tue, 10 Nov 2020 05:13:30 +0000 (21:13 -0800)]
.travis.yml: need ./paths.

3 years ago.travis.yml: try brew update-reset to fix the services bug.
John Benediktsson [Tue, 10 Nov 2020 05:05:38 +0000 (21:05 -0800)]
.travis.yml: try brew update-reset to fix the services bug.

3 years ago.travis.yml: try and use addons/homebrew.
John Benediktsson [Tue, 10 Nov 2020 05:00:07 +0000 (21:00 -0800)]
.travis.yml: try and use addons/homebrew.

3 years ago.travis.yml: inline the important apt-get deps.
John Benediktsson [Tue, 10 Nov 2020 04:54:58 +0000 (20:54 -0800)]
.travis.yml: inline the important apt-get deps.

3 years ago.travis.yml: experiment with windows builders.
John Benediktsson [Tue, 10 Nov 2020 04:37:53 +0000 (20:37 -0800)]
.travis.yml: experiment with windows builders.

3 years ago.travis.yml: see if this is simpler to maintain.
John Benediktsson [Tue, 10 Nov 2020 04:18:57 +0000 (20:18 -0800)]
.travis.yml: see if this is simpler to maintain.

3 years ago.travis.yml: fix syntax maybe.
John Benediktsson [Tue, 10 Nov 2020 04:03:20 +0000 (20:03 -0800)]
.travis.yml: fix syntax maybe.

3 years ago.travis.yml: disable testing changed vocabs for right now.
John Benediktsson [Mon, 9 Nov 2020 21:59:57 +0000 (13:59 -0800)]
.travis.yml: disable testing changed vocabs for right now.

3 years ago.travis.yml: disable RVM for now, update brew.
John Benediktsson [Mon, 9 Nov 2020 21:42:36 +0000 (13:42 -0800)]
.travis.yml: disable RVM for now, update brew.

3 years agoRevert "http: only test using ipv4."
John Benediktsson [Mon, 9 Nov 2020 21:09:21 +0000 (13:09 -0800)]
Revert "http: only test using ipv4."

This reverts commit a8a095ca9fd919821742d4d5ac2b1c9bfe5e8feb.

3 years agourls: fix set-url-addr to work with inet6.
John Benediktsson [Mon, 9 Nov 2020 21:08:50 +0000 (13:08 -0800)]
urls: fix set-url-addr to work with inet6.

3 years agohttp: only test using ipv4.
John Benediktsson [Mon, 9 Nov 2020 20:37:51 +0000 (12:37 -0800)]
http: only test using ipv4.

3 years agomemory: mark two tests as long since they are slow on Travis.
John Benediktsson [Mon, 9 Nov 2020 20:23:53 +0000 (12:23 -0800)]
memory: mark two tests as long since they are slow on Travis.

3 years ago.travis.yml: make sure to only test core-vocabs, not their children.
John Benediktsson [Mon, 9 Nov 2020 20:19:18 +0000 (12:19 -0800)]
.travis.yml: make sure to only test core-vocabs, not their children.

3 years agoui: fix some $slots help-lint warnings.
John Benediktsson [Mon, 9 Nov 2020 18:47:53 +0000 (10:47 -0800)]
ui: fix some $slots help-lint warnings.

3 years agohelp.lint.checks: add a help-lint check for bad $slot tables.
John Benediktsson [Mon, 9 Nov 2020 16:40:51 +0000 (08:40 -0800)]
help.lint.checks: add a help-lint check for bad $slot tables.

3 years agocompiler.cfg: fix $slots table for basic-block.
John Benediktsson [Mon, 9 Nov 2020 16:40:30 +0000 (08:40 -0800)]
compiler.cfg: fix $slots table for basic-block.

3 years agoimages.viewer: removing stop-control and start-control.
John Benediktsson [Sun, 8 Nov 2020 16:15:25 +0000 (08:15 -0800)]
images.viewer: removing stop-control and start-control.

3 years agoimages.viewer: Don't override model activation/deactivation
timor [Sun, 8 Nov 2020 14:13:44 +0000 (15:13 +0100)]
images.viewer: Don't override model activation/deactivation

`image-control` implements model activation/deactivation in graft*/ungraft*, while
this should be done already in `notify` for all gadgets.

This commit removes that code.

3 years agobacktrack-docs: add main article and some usage examples, fix a typo
Alexander Iljin [Sat, 7 Nov 2020 23:05:31 +0000 (00:05 +0100)]
backtrack-docs: add main article and some usage examples, fix a typo

3 years agoassocs: mark the delete-at words as related
Alexander Iljin [Sun, 23 Aug 2020 20:45:33 +0000 (22:45 +0200)]
assocs: mark the delete-at words as related

3 years agocalendar: Fix unit test for holidays.
Doug Coleman [Sat, 7 Nov 2020 19:28:38 +0000 (13:28 -0600)]
calendar: Fix unit test for holidays.

3 years agohttp.client: fix test cases broken by schema:path url parsing change.
John Benediktsson [Sat, 7 Nov 2020 17:29:26 +0000 (09:29 -0800)]
http.client: fix test cases broken by schema:path url parsing change.

3 years agocalendar.holidays.us: Update nth day of week for base 0.
Doug Coleman [Sat, 7 Nov 2020 01:14:01 +0000 (19:14 -0600)]
calendar.holidays.us: Update nth day of week for base 0.

3 years agocalendar: More refactoring, add some new words.
Doug Coleman [Sat, 7 Nov 2020 01:13:43 +0000 (19:13 -0600)]
calendar: More refactoring, add some new words.

3 years agoformatting: Add some unit tests for what strftime thinks is right.
Doug Coleman [Sat, 7 Nov 2020 01:12:30 +0000 (19:12 -0600)]
formatting: Add some unit tests for what strftime thinks is right.

3 years agooauth1: fix for urls change.
John Benediktsson [Thu, 5 Nov 2020 21:47:27 +0000 (13:47 -0800)]
oauth1: fix for urls change.

3 years agobittorrent: fix read-messages.
John Benediktsson [Thu, 5 Nov 2020 19:50:11 +0000 (11:50 -0800)]
bittorrent: fix read-messages.

3 years agoarrays.shaped: adding get words.
John Benediktsson [Thu, 5 Nov 2020 17:50:42 +0000 (09:50 -0800)]
arrays.shaped: adding get words.

3 years agozoneinfo: Add words to get weekdays relative to day of month.
Doug Coleman [Thu, 5 Nov 2020 07:05:16 +0000 (01:05 -0600)]
zoneinfo: Add words to get weekdays relative to day of month.

3 years agocalendar: Add words to get days of the week relative to another day.
Doug Coleman [Thu, 5 Nov 2020 07:03:54 +0000 (01:03 -0600)]
calendar: Add words to get days of the week relative to another day.

3 years agotime: rename set-time to set-system-time. Add calendar words.
Doug Coleman [Thu, 5 Nov 2020 03:46:56 +0000 (21:46 -0600)]
time: rename set-time to set-system-time. Add calendar words.

3 years agocalendar: Refactoring and adding funny calendar terms.
Doug Coleman [Thu, 5 Nov 2020 02:24:47 +0000 (20:24 -0600)]
calendar: Refactoring and adding funny calendar terms.

3 years agocalendar: Always do calculation for datetimes.
Doug Coleman [Wed, 4 Nov 2020 23:35:06 +0000 (17:35 -0600)]
calendar: Always do calculation for datetimes.

If you put 10k seconds into a timestamp, when you add 0s you want it to be normalized.

Rename beginning -> start
Add more words.

3 years agocalendar: Simplify ymd>ordinal a bit.
Doug Coleman [Wed, 4 Nov 2020 05:52:45 +0000 (23:52 -0600)]
calendar: Simplify ymd>ordinal a bit.

3 years agomath.extras: fix for math.ranges.private refactor.
John Benediktsson [Wed, 4 Nov 2020 22:46:50 +0000 (14:46 -0800)]
math.extras: fix for math.ranges.private refactor.

3 years agobittorrent: remove debug for now.
John Benediktsson [Wed, 4 Nov 2020 19:13:18 +0000 (11:13 -0800)]
bittorrent: remove debug for now.

3 years agocombinators.tuples: fix docs for 1make-tuple.
John Benediktsson [Wed, 4 Nov 2020 19:07:03 +0000 (11:07 -0800)]
combinators.tuples: fix docs for 1make-tuple.

3 years agomath.ranges: experiment with some new syntax.
John Benediktsson [Wed, 4 Nov 2020 18:58:18 +0000 (10:58 -0800)]
math.ranges: experiment with some new syntax.

define aliases so old syntax can still work.

[a,b] => [a..b]
[a,b) => [a..b)
(a,b] => (a..b]
(a,b) => (a..b)
[0,b] => [0..b]
[1,b] => [1..b]
[0,b) => [0..b)
[1,b) => [1..b)

3 years agosequence.padded: use nth-unsafe in padded-head.
John Benediktsson [Wed, 4 Nov 2020 18:27:30 +0000 (10:27 -0800)]
sequence.padded: use nth-unsafe in padded-head.

3 years agosequences.padded: adding virtual padded sequences.
John Benediktsson [Wed, 4 Nov 2020 18:25:53 +0000 (10:25 -0800)]
sequences.padded: adding virtual padded sequences.

3 years agounicode.collation: commit the CollationTest_SHIFTED.txt file zipped.
John Benediktsson [Wed, 4 Nov 2020 17:33:14 +0000 (09:33 -0800)]
unicode.collation: commit the CollationTest_SHIFTED.txt file zipped.

3 years agozoneinfo: Add word to parse zone.
Doug Coleman [Wed, 4 Nov 2020 05:19:55 +0000 (23:19 -0600)]
zoneinfo: Add word to parse zone.

3 years agocalendar: Add word for getting dates from ordinals.
Doug Coleman [Wed, 4 Nov 2020 05:17:38 +0000 (23:17 -0600)]
calendar: Add word for getting dates from ordinals.

3 years agoui.backend.cocoa: The handle can be ``f`` sometimes, handle this case.
Doug Coleman [Wed, 4 Nov 2020 02:27:55 +0000 (20:27 -0600)]
ui.backend.cocoa: The handle can be ``f`` sometimes, handle this case.

3 years agosplitting.extras: Add split-head split-tail and slices.
Doug Coleman [Wed, 4 Nov 2020 02:21:57 +0000 (20:21 -0600)]
splitting.extras: Add split-head split-tail and slices.

3 years agocombinators.tuple: rename make-tuple to 1make-tuple.
John Benediktsson [Wed, 4 Nov 2020 01:26:59 +0000 (17:26 -0800)]
combinators.tuple: rename make-tuple to 1make-tuple.

3 years agocombinators.extras: fix stack-effect for plox.
John Benediktsson [Wed, 4 Nov 2020 01:10:43 +0000 (17:10 -0800)]
combinators.extras: fix stack-effect for plox.

3 years agobittorrent: adding some client handling.
John Benediktsson [Tue, 3 Nov 2020 21:14:19 +0000 (13:14 -0800)]
bittorrent: adding some client handling.

3 years agoclasses.tuple: refactor out make-tuple for re-use.
John Benediktsson [Tue, 3 Nov 2020 21:09:50 +0000 (13:09 -0800)]
classes.tuple: refactor out make-tuple for re-use.

3 years agostack-checker.dependencies: simplify depends-on.
John Benediktsson [Tue, 3 Nov 2020 21:08:32 +0000 (13:08 -0800)]
stack-checker.dependencies: simplify depends-on.

3 years agopunycode: change IRL to keep all params decoded (for now).
John Benediktsson [Tue, 3 Nov 2020 21:06:31 +0000 (13:06 -0800)]
punycode: change IRL to keep all params decoded (for now).

3 years agourls: support IPV6 urls.
John Benediktsson [Tue, 3 Nov 2020 21:02:37 +0000 (13:02 -0800)]
urls: support IPV6 urls.

3 years agoeditors.visual-studio-code-insiders: Add a separate vocabulary for insiders builds.
Doug Coleman [Tue, 3 Nov 2020 20:57:54 +0000 (14:57 -0600)]
editors.visual-studio-code-insiders: Add a separate vocabulary for insiders builds.

3 years agopeg.ebnf: Allow ] in character classes. 2359/head
Doug Coleman [Tue, 3 Nov 2020 19:47:32 +0000 (13:47 -0600)]
peg.ebnf: Allow ] in character classes.

3 years agopunycode: simplify ebnf, and handle iquery.
John Benediktsson [Mon, 2 Nov 2020 19:12:32 +0000 (11:12 -0800)]
punycode: simplify ebnf, and handle iquery.

3 years agourls: move a test for parse-host from http.client, simplify parse-url ebnf.
John Benediktsson [Mon, 2 Nov 2020 19:12:03 +0000 (11:12 -0800)]
urls: move a test for parse-host from http.client, simplify parse-url ebnf.

3 years agoescape-strings.ui: Typo..
Doug Coleman [Sat, 31 Oct 2020 00:14:02 +0000 (19:14 -0500)]
escape-strings.ui: Typo..

3 years agoescape-strings.ui: Add a demo of a string enclosed by its own checksum.
Doug Coleman [Fri, 30 Oct 2020 23:56:28 +0000 (18:56 -0500)]
escape-strings.ui: Add a demo of a string enclosed by its own checksum.

3 years agozoneinfo: Construct timezone abbrevs and more cleanup.
Doug Coleman [Fri, 30 Oct 2020 06:13:16 +0000 (01:13 -0500)]
zoneinfo: Construct timezone abbrevs and more cleanup.

3 years agozoneinfo: Update the data files.
Doug Coleman [Thu, 29 Oct 2020 23:28:24 +0000 (18:28 -0500)]
zoneinfo: Update the data files.

3 years agocalendar: Add some more words that should exist.
Doug Coleman [Thu, 29 Oct 2020 23:17:06 +0000 (18:17 -0500)]
calendar: Add some more words that should exist.

Clean up some of the clone/setter code.

Inspiration from Luxon JS.

3 years agopunycode: adding an initial version of an IRL.
John Benediktsson [Thu, 29 Oct 2020 21:40:04 +0000 (14:40 -0700)]
punycode: adding an initial version of an IRL.

Probably needs to use irl-decode in query>assoc.

3 years agoExtending Url Parsing (#2354)
David Mindlin [Thu, 29 Oct 2020 14:15:52 +0000 (07:15 -0700)]
Extending Url Parsing (#2354)

* added new test cases for urls

* Parsing URLs that do not have a authority component

* Increasing the robustness of the URL parser for passwords

* Rewrote the no authority case for urls and updated prettyprinting to
reflect the change.

* fixed matching empty port

* added upper bound for port number

* Updated the url parsing to accept an empty username.

* check if port is valid

* Updated the url tests to test new extensions to the url library.

* Updating the style for recently added extensions to urls.factor.

* removed sanity check for port, want to allow for IPvX support

Co-authored-by: David Flores <dflores0818@gmail.com>
3 years agoJSON reader improvements (#2353)
Abtin Molavi [Mon, 26 Oct 2020 16:08:26 +0000 (10:08 -0600)]
JSON reader improvements (#2353)

* added counter

* removed old first-json-object word

* added tests

* cleaning up namespace

* spacing

* minor comment revision

* one more formatting change

3 years agoescape-strings.ui: use editors so copy/paste works better.
John Benediktsson [Thu, 22 Oct 2020 16:14:53 +0000 (09:14 -0700)]
escape-strings.ui: use editors so copy/paste works better.

3 years agoescape-strings.ui: use scroller for long texts.
John Benediktsson [Tue, 20 Oct 2020 19:44:30 +0000 (12:44 -0700)]
escape-strings.ui: use scroller for long texts.

3 years agoescape-strings.ui: simplify using arrow models.
John Benediktsson [Tue, 20 Oct 2020 19:38:45 +0000 (12:38 -0700)]
escape-strings.ui: simplify using arrow models.

3 years agoescape-strings.ui: Add proof of concept ui for escape-strings.
Doug Coleman [Mon, 19 Oct 2020 16:04:04 +0000 (11:04 -0500)]
escape-strings.ui: Add proof of concept ui for escape-strings.