]>
gitweb.factorcode.org Git - factor.git/log
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.
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.
John Benediktsson [Mon, 9 Nov 2020 18:47:53 +0000 (10:47 -0800)]
ui: fix some $slots help-lint warnings.
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.
John Benediktsson [Mon, 9 Nov 2020 16:40:30 +0000 (08:40 -0800)]
compiler.cfg: fix $slots table for basic-block.
John Benediktsson [Sun, 8 Nov 2020 16:15:25 +0000 (08:15 -0800)]
images.viewer: removing stop-control and start-control.
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.
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
Alexander Iljin [Sun, 23 Aug 2020 20:45:33 +0000 (22:45 +0200)]
assocs: mark the delete-at words as related
Doug Coleman [Sat, 7 Nov 2020 19:28:38 +0000 (13:28 -0600)]
calendar: Fix unit test for holidays.
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.
Doug Coleman [Sat, 7 Nov 2020 01:14:01 +0000 (19:14 -0600)]
calendar.holidays.us: Update nth day of week for base 0.
Doug Coleman [Sat, 7 Nov 2020 01:13:43 +0000 (19:13 -0600)]
calendar: More refactoring, add some new words.
Doug Coleman [Sat, 7 Nov 2020 01:12:30 +0000 (19:12 -0600)]
formatting: Add some unit tests for what strftime thinks is right.
John Benediktsson [Thu, 5 Nov 2020 21:47:27 +0000 (13:47 -0800)]
oauth1: fix for urls change.
John Benediktsson [Thu, 5 Nov 2020 19:50:11 +0000 (11:50 -0800)]
bittorrent: fix read-messages.
John Benediktsson [Thu, 5 Nov 2020 17:50:42 +0000 (09:50 -0800)]
arrays.shaped: adding get words.
Doug Coleman [Thu, 5 Nov 2020 07:05:16 +0000 (01:05 -0600)]
zoneinfo: Add words to get weekdays relative to day of month.
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.
Doug Coleman [Thu, 5 Nov 2020 03:46:56 +0000 (21:46 -0600)]
time: rename set-time to set-system-time. Add calendar words.
Doug Coleman [Thu, 5 Nov 2020 02:24:47 +0000 (20:24 -0600)]
calendar: Refactoring and adding funny calendar terms.
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.
Doug Coleman [Wed, 4 Nov 2020 05:52:45 +0000 (23:52 -0600)]
calendar: Simplify ymd>ordinal a bit.
John Benediktsson [Wed, 4 Nov 2020 22:46:50 +0000 (14:46 -0800)]
math.extras: fix for math.ranges.private refactor.
John Benediktsson [Wed, 4 Nov 2020 19:13:18 +0000 (11:13 -0800)]
bittorrent: remove debug for now.
John Benediktsson [Wed, 4 Nov 2020 19:07:03 +0000 (11:07 -0800)]
combinators.tuples: fix docs for 1make-tuple.
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)
John Benediktsson [Wed, 4 Nov 2020 18:27:30 +0000 (10:27 -0800)]
sequence.padded: use nth-unsafe in padded-head.
John Benediktsson [Wed, 4 Nov 2020 18:25:53 +0000 (10:25 -0800)]
sequences.padded: adding virtual padded sequences.
John Benediktsson [Wed, 4 Nov 2020 17:33:14 +0000 (09:33 -0800)]
unicode.collation: commit the CollationTest_SHIFTED.txt file zipped.
Doug Coleman [Wed, 4 Nov 2020 05:19:55 +0000 (23:19 -0600)]
zoneinfo: Add word to parse zone.
Doug Coleman [Wed, 4 Nov 2020 05:17:38 +0000 (23:17 -0600)]
calendar: Add word for getting dates from ordinals.
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.
Doug Coleman [Wed, 4 Nov 2020 02:21:57 +0000 (20:21 -0600)]
splitting.extras: Add split-head split-tail and slices.
John Benediktsson [Wed, 4 Nov 2020 01:26:59 +0000 (17:26 -0800)]
combinators.tuple: rename make-tuple to 1make-tuple.
John Benediktsson [Wed, 4 Nov 2020 01:10:43 +0000 (17:10 -0800)]
combinators.extras: fix stack-effect for plox.
John Benediktsson [Tue, 3 Nov 2020 21:14:19 +0000 (13:14 -0800)]
bittorrent: adding some client handling.
John Benediktsson [Tue, 3 Nov 2020 21:09:50 +0000 (13:09 -0800)]
classes.tuple: refactor out make-tuple for re-use.
John Benediktsson [Tue, 3 Nov 2020 21:08:32 +0000 (13:08 -0800)]
stack-checker.dependencies: simplify depends-on.
John Benediktsson [Tue, 3 Nov 2020 21:06:31 +0000 (13:06 -0800)]
punycode: change IRL to keep all params decoded (for now).
John Benediktsson [Tue, 3 Nov 2020 21:02:37 +0000 (13:02 -0800)]
urls: support IPV6 urls.
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.
Doug Coleman [Tue, 3 Nov 2020 19:47:32 +0000 (13:47 -0600)]
peg.ebnf: Allow ] in character classes.
John Benediktsson [Mon, 2 Nov 2020 19:12:32 +0000 (11:12 -0800)]
punycode: simplify ebnf, and handle iquery.
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.
Doug Coleman [Sat, 31 Oct 2020 00:14:02 +0000 (19:14 -0500)]
escape-strings.ui: Typo..
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.
Doug Coleman [Fri, 30 Oct 2020 06:13:16 +0000 (01:13 -0500)]
zoneinfo: Construct timezone abbrevs and more cleanup.
Doug Coleman [Thu, 29 Oct 2020 23:28:24 +0000 (18:28 -0500)]
zoneinfo: Update the data files.
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.
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.
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>
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
John Benediktsson [Thu, 22 Oct 2020 16:14:53 +0000 (09:14 -0700)]
escape-strings.ui: use editors so copy/paste works better.
John Benediktsson [Tue, 20 Oct 2020 19:44:30 +0000 (12:44 -0700)]
escape-strings.ui: use scroller for long texts.
John Benediktsson [Tue, 20 Oct 2020 19:38:45 +0000 (12:38 -0700)]
escape-strings.ui: simplify using arrow models.
Doug Coleman [Mon, 19 Oct 2020 16:04:04 +0000 (11:04 -0500)]
escape-strings.ui: Add proof of concept ui for escape-strings.
Doug Coleman [Sat, 17 Oct 2020 21:19:14 +0000 (16:19 -0500)]
escape-strings: Add escape-number-string.
[==[ string delimiters grow linearly with the number of escapes needed.
[0[
[00[
[000[ delimiters grow logarithmically and you can even choose whichever numbers
you need, not just the lowest ones. e.g. for value numbering
John Benediktsson [Sun, 18 Oct 2020 00:28:19 +0000 (17:28 -0700)]
compiler.tree.propagation.call-effect: use kernel in test.
timor [Sat, 17 Oct 2020 17:24:46 +0000 (19:24 +0200)]
compiler.propagation.call-effect: handle class-info only value-infos
Checks if the `slots>>` value-info slot is non-empty before trying to infer
effect from non-literal value-info.
Fixes #2351
John Benediktsson [Thu, 15 Oct 2020 22:33:36 +0000 (15:33 -0700)]
combinators: move docs for recursive-hashcode.
John Benediktsson [Thu, 15 Oct 2020 22:27:25 +0000 (15:27 -0700)]
misc/vim: update generated syntax.
John Benediktsson [Thu, 15 Oct 2020 22:26:46 +0000 (15:26 -0700)]
combinators: move recursive-hashcode to kernel vocab.
It makes more sense there, since hashcode, hashcode* and other
related words are in kernel.
Fred Alger [Wed, 14 Oct 2020 05:45:34 +0000 (01:45 -0400)]
Add support for plan9port acme editor
John Benediktsson [Wed, 14 Oct 2020 00:01:00 +0000 (17:01 -0700)]
unicode.collation: fixes for unicode 13.0.
Fred Alger [Tue, 13 Oct 2020 22:47:24 +0000 (18:47 -0400)]
Update UCA data
Fred Alger [Tue, 13 Oct 2020 22:45:07 +0000 (18:45 -0400)]
Remove extraneous/outdated Unicode test data
Fred Alger [Tue, 13 Oct 2020 21:58:04 +0000 (17:58 -0400)]
Bump Unicode version in basis/unicode
Fred Alger [Mon, 12 Oct 2020 23:07:14 +0000 (19:07 -0400)]
Update unicode data to Unicode 13.0
John Benediktsson [Tue, 13 Oct 2020 18:35:06 +0000 (11:35 -0700)]
http.server: addng OPTIONS/PUT support to request-params.
John Benediktsson [Tue, 13 Oct 2020 18:31:32 +0000 (11:31 -0700)]
help: adding default help for alias.
John Benediktsson [Tue, 13 Oct 2020 18:26:51 +0000 (11:26 -0700)]
help: change default effect-help to produce $inputs and $outputs.
John Benediktsson [Tue, 13 Oct 2020 18:24:43 +0000 (11:24 -0700)]
command-line: strip all leading - from parameters.
this supports ./factor --help
but also
./factor ------------help
when you really need help
John Benediktsson [Tue, 13 Oct 2020 17:39:15 +0000 (10:39 -0700)]
alien.libraries.finder.linux: make ldconfig safe from runtime errors.
this helps on platforms like NixOS.
John Benediktsson [Tue, 13 Oct 2020 17:04:20 +0000 (10:04 -0700)]
misc: couple more examples for syntax-test.
John Benediktsson [Tue, 13 Oct 2020 17:02:10 +0000 (10:02 -0700)]
alien.libraries.finder.linux: search LD_LIBRARY_PATH if specified.
John Benediktsson [Sun, 11 Oct 2020 14:18:54 +0000 (07:18 -0700)]
game.worlds: adding tags.
John Benediktsson [Sat, 10 Oct 2020 14:33:44 +0000 (07:33 -0700)]
inverse: adding some syntax words to make it easier to use.
Doug Coleman [Fri, 9 Oct 2020 00:59:38 +0000 (19:59 -0500)]
math.statistics: Fix bug for ncdg division by zero.
Doug Coleman [Wed, 7 Oct 2020 03:36:39 +0000 (22:36 -0500)]
math.statistics: Add discounted cumulative gain and normalized dcg.
https://en.wikipedia.org/wiki/Discounted_cumulative_gain
Dusk [Thu, 1 Oct 2020 04:04:28 +0000 (21:04 -0700)]
misc/vim: fix slot names & tuples.
John Benediktsson [Tue, 29 Sep 2020 17:04:43 +0000 (10:04 -0700)]
misc/vim: some minor fixes.
- fix word definition to have dashes and other printables
- fix private to properly highlight and close the region
John Benediktsson [Mon, 28 Sep 2020 23:32:33 +0000 (16:32 -0700)]
misc/vim: remove TH{ syntax.
John Benediktsson [Mon, 28 Sep 2020 23:29:43 +0000 (16:29 -0700)]
Revert "core: Add TH{ for making assoc tuples."
This reverts commit
e93d8f82bcaee839d261235b85d42e2487feb2f4.
John Benediktsson [Mon, 28 Sep 2020 19:30:15 +0000 (12:30 -0700)]
sequences.extras: fix stack effect for filter-all-subseqs.
John Benediktsson [Sun, 27 Sep 2020 04:29:52 +0000 (21:29 -0700)]
bootstrap: rename layouts/layouts.factor to layouts.factor.
John Benediktsson [Sat, 26 Sep 2020 19:22:02 +0000 (12:22 -0700)]
classes.tuple: speed up slots>tuple a bit.
Only get the initial values that are needed to supplement provided values.
John Benediktsson [Sat, 26 Sep 2020 18:58:03 +0000 (11:58 -0700)]
talks.tc-lisp-talk: fix typo.
John Benediktsson [Sat, 26 Sep 2020 18:46:56 +0000 (11:46 -0700)]
vm: remove -console option, seems not necessary.
John Benediktsson [Sat, 26 Sep 2020 17:52:32 +0000 (10:52 -0700)]
command-line: cleanup some documentation, change terminology slightly.
Refer to "options" instead of "VM args" or "Factor arguments".
John Benediktsson [Sat, 26 Sep 2020 17:29:42 +0000 (10:29 -0700)]
compiler.tree.propagation.transforms: document not{ } as well.
John Benediktsson [Sat, 26 Sep 2020 17:29:25 +0000 (10:29 -0700)]
compiler.tree.propagation.known-words: fix type in comment.
John Benediktsson [Sat, 26 Sep 2020 17:28:35 +0000 (10:28 -0700)]
classes: update with quotation stack effects.
John Benediktsson [Fri, 25 Sep 2020 18:11:52 +0000 (11:11 -0700)]
hints: switch to using instance?.
John Benediktsson [Thu, 24 Sep 2020 02:49:35 +0000 (19:49 -0700)]
classes.builtin: remove bootstrap-type>class.
Not currently used, if adding more builtins maybe useful.
John Benediktsson [Thu, 24 Sep 2020 02:32:15 +0000 (19:32 -0700)]
classes.union: speed up instance? on unions of tuple-classes.
John Benediktsson [Tue, 22 Sep 2020 20:23:06 +0000 (13:23 -0700)]
tools.completion: re-add chars-matching, not sure how i removed it.
John Benediktsson [Tue, 22 Sep 2020 20:05:17 +0000 (13:05 -0700)]
fonts: simplify reverse-video-font
John Benediktsson [Tue, 22 Sep 2020 18:32:52 +0000 (11:32 -0700)]
benchmark.completion: fix use of name-completions.
John Benediktsson [Tue, 22 Sep 2020 18:30:43 +0000 (11:30 -0700)]
tools.completion: merge qualified and unqualified word completions.