]> gitweb.factorcode.org Git - factor.git/log
factor.git
2 years agofreebsd: declare posix_spawn-related types
Alex Maestas [Sat, 12 Feb 2022 22:34:39 +0000 (22:34 +0000)]
freebsd: declare posix_spawn-related types

Copied from OS X declarations as void pointers

2 years agobuild.sh: install bash on freebsd
Alex Maestas [Sat, 12 Feb 2022 22:33:54 +0000 (22:33 +0000)]
build.sh: install bash on freebsd

2 years agoreadline-listener: words are just strings, so display unique ones
John Benediktsson [Sat, 12 Feb 2022 18:55:05 +0000 (10:55 -0800)]
readline-listener: words are just strings, so display unique ones

2 years agoRevert "furnace.chloe-tags: change indexing now that empty strings are not included"
John Benediktsson [Sat, 12 Feb 2022 16:43:49 +0000 (08:43 -0800)]
Revert "furnace.chloe-tags: change indexing now that empty strings are not included"

This reverts commit 6898937ef68210561481777841b2cb4a86bd32dd.

2 years agoRevert "xml: Changing how we represent contained-tags"
John Benediktsson [Sat, 12 Feb 2022 16:43:24 +0000 (08:43 -0800)]
Revert "xml: Changing how we represent contained-tags"

This reverts commit b56d3314b12f7aa223925f97f56cc5faaa7da778.

2 years agofurnace.chloe-tags: change indexing now that empty strings are not included
John Benediktsson [Sat, 12 Feb 2022 16:41:48 +0000 (08:41 -0800)]
furnace.chloe-tags: change indexing now that empty strings are not included

2 years agoeval: another test for eval-with-stack>string
John Benediktsson [Sat, 12 Feb 2022 04:18:57 +0000 (20:18 -0800)]
eval: another test for eval-with-stack>string

2 years agoeval: adding test for eval-with-stack>string
John Benediktsson [Sat, 12 Feb 2022 04:17:58 +0000 (20:17 -0800)]
eval: adding test for eval-with-stack>string

2 years agoeval: don't with-file-vocabs in (eval-with-stack>string)
John Benediktsson [Sat, 12 Feb 2022 04:16:33 +0000 (20:16 -0800)]
eval: don't with-file-vocabs in (eval-with-stack>string)

2 years agoxmode.loader: fix parsing of nodes containing cdata
John Benediktsson [Sat, 12 Feb 2022 04:06:17 +0000 (20:06 -0800)]
xmode.loader: fix parsing of nodes containing cdata

2 years agohtml.templates.chloe: fix tests for script cdata change
John Benediktsson [Sat, 12 Feb 2022 03:57:39 +0000 (19:57 -0800)]
html.templates.chloe: fix tests for script cdata change

2 years agoRevert "io.directories.unix: switch to readdir(3) since readdir_r(3) is deprecated"
John Benediktsson [Sat, 12 Feb 2022 03:53:57 +0000 (19:53 -0800)]
Revert "io.directories.unix: switch to readdir(3) since readdir_r(3) is deprecated"

This reverts commit e0531ea85337e9d1e5af26568436ea23bdaf8e34.

2 years agofixups: fix compute-fixups which was resetting the error value
John Benediktsson [Sat, 12 Feb 2022 02:43:10 +0000 (18:43 -0800)]
fixups: fix compute-fixups which was resetting the error value

And then we got wrong stack traces.

2 years agoio.backend.unix.freebsd: fix bootstrap
John Benediktsson [Sat, 12 Feb 2022 02:26:25 +0000 (18:26 -0800)]
io.backend.unix.freebsd: fix bootstrap

2 years agoxml: Changing how we represent contained-tags
John Benediktsson [Sat, 12 Feb 2022 01:08:21 +0000 (17:08 -0800)]
xml: Changing how we represent contained-tags

If a tag is contained (e.g., <foo/>), then children is ``f``, but if a
tag is uncontained (e.g., <foo></foo>) then children is an empty
sequence.

2 years agowebapps.help: onload javascript to check radio
John Benediktsson [Fri, 11 Feb 2022 23:38:23 +0000 (15:38 -0800)]
webapps.help: onload javascript to check radio

2 years agohtml.templates.chloe: use cdata comment trick.
John Benediktsson [Fri, 11 Feb 2022 23:33:33 +0000 (15:33 -0800)]
html.templates.chloe: use cdata comment trick.

2 years agohtml.templates.chloe: need to do cdata differently
John Benediktsson [Fri, 11 Feb 2022 23:26:09 +0000 (15:26 -0800)]
html.templates.chloe: need to do cdata differently

2 years agohtml.templates.chloe: use CDATA for scripts
John Benediktsson [Fri, 11 Feb 2022 23:20:36 +0000 (15:20 -0800)]
html.templates.chloe: use CDATA for scripts

2 years agoxml: better support for CDATA tags
John Benediktsson [Fri, 11 Feb 2022 23:20:23 +0000 (15:20 -0800)]
xml: better support for CDATA tags

2 years agoui.gadgets.glass: constrain popup over viewport
John Benediktsson [Fri, 11 Feb 2022 22:18:29 +0000 (14:18 -0800)]
ui.gadgets.glass: constrain popup over viewport

2 years agovocabs.metadata: sort metadata-files by filename
John Benediktsson [Fri, 11 Feb 2022 21:41:24 +0000 (13:41 -0800)]
vocabs.metadata: sort metadata-files by filename

2 years agoreadline-listener: experiment with has-readline?
John Benediktsson [Fri, 11 Feb 2022 19:53:35 +0000 (11:53 -0800)]
readline-listener: experiment with has-readline?

if we can detect readline is available then we could use this as
a default listener in the future

2 years agolibclang: try to get return type
Doug Coleman [Fri, 11 Feb 2022 02:45:53 +0000 (20:45 -0600)]
libclang: try to get return type

2 years agolibclang: get args and add huge slow enums
Doug Coleman [Fri, 11 Feb 2022 02:24:24 +0000 (20:24 -0600)]
libclang: get args and add huge slow enums

2 years agoRevert "specialized-arrays: removing unnecessary >pprint-sequence"
John Benediktsson [Thu, 10 Feb 2022 22:25:07 +0000 (14:25 -0800)]
Revert "specialized-arrays: removing unnecessary >pprint-sequence"

This reverts commit bd32633c9272a0bd7b6da60a1533cf1d764cc67c.

2 years agocalendar: change the behavior of 1 months time+
John Benediktsson [Thu, 10 Feb 2022 22:11:49 +0000 (14:11 -0800)]
calendar: change the behavior of 1 months time+

Before, it would create an invalid date:

  IN: scratchpad 2021 1 30 <date> 1 months time+ .
  T{ timestamp
      { year 2021 }
      { month 2 }
      { day 30 }
      { gmt-offset T{ duration { hour -6 } } }
  }

After, it sets it to the last day of the month:

  IN: scratchpad 2021 1 30 <date> 1 months time+ .
  T{ timestamp
      { year 2021 }
      { month 2 }
      { day 28 }
      { gmt-offset T{ duration { hour -8 } } }
  }

2 years agodocuments: fix tests for each-doc-line rename
John Benediktsson [Thu, 10 Feb 2022 21:52:14 +0000 (13:52 -0800)]
documents: fix tests for each-doc-line rename

2 years agospecialized-arrays: removing unnecessary >pprint-sequence
John Benediktsson [Thu, 10 Feb 2022 21:49:19 +0000 (13:49 -0800)]
specialized-arrays: removing unnecessary >pprint-sequence

2 years agouuid: adding uuid-urn word
John Benediktsson [Thu, 10 Feb 2022 21:49:09 +0000 (13:49 -0800)]
uuid: adding uuid-urn word

2 years agoio.directories.unix: switch to readdir(3) since readdir_r(3) is deprecated
John Benediktsson [Thu, 10 Feb 2022 21:47:22 +0000 (13:47 -0800)]
io.directories.unix: switch to readdir(3) since readdir_r(3) is deprecated

2 years agoui.tools: setting current directory to "resource:"
John Benediktsson [Thu, 10 Feb 2022 21:46:58 +0000 (13:46 -0800)]
ui.tools: setting current directory to "resource:"

2 years agovm: os-macosx.mm don't changeCurrentDirectoryPath
John Benediktsson [Thu, 10 Feb 2022 21:44:56 +0000 (13:44 -0800)]
vm: os-macosx.mm don't changeCurrentDirectoryPath

2 years agoRefactor VM (untyped) defines into (typed) enum
nomennescio [Thu, 10 Feb 2022 15:50:59 +0000 (15:50 +0000)]
Refactor VM (untyped) defines into (typed) enum

static inline with static local will share static local among instances

2 years agocodebase-analyzer: Add some words to see file extensions, sizes, lines of code
Doug Coleman [Thu, 10 Feb 2022 02:39:36 +0000 (20:39 -0600)]
codebase-analyzer: Add some words to see file extensions, sizes, lines of code

2 years agolibclang: Add a really basic wrapper for libclang
Doug Coleman [Tue, 8 Feb 2022 06:59:32 +0000 (00:59 -0600)]
libclang: Add a really basic wrapper for libclang

We should use this stub to output ffi functions that
Factor can use.

2 years agoFix issue https://github.com/factor/factor/issues/2580
nomennescio [Mon, 7 Feb 2022 12:37:11 +0000 (13:37 +0100)]
Fix issue https://github.com/factor/factor/issues/2580

2 years agomodern.html: Less stack crap
Doug Coleman [Sun, 6 Feb 2022 22:04:07 +0000 (16:04 -0600)]
modern.html: Less stack crap

2 years agomodern.html: support <?xml a="b" ?> processing instructions
Doug Coleman [Sun, 6 Feb 2022 19:51:27 +0000 (13:51 -0600)]
modern.html: support <?xml a="b" ?> processing instructions

2 years agomodern.html: Fix parser for <div><div></div></div>
Doug Coleman [Sun, 6 Feb 2022 18:07:12 +0000 (12:07 -0600)]
modern.html: Fix parser for <div><div></div></div>

It was matching on fully closed tags

2 years agowebsites.factorcode: Add a lang="en" on html
Doug Coleman [Sat, 5 Feb 2022 19:12:17 +0000 (13:12 -0600)]
websites.factorcode: Add a lang="en" on html

2 years agowebsites.factorcode: Add some %20 in links, add closing />, remove Slack link
Doug Coleman [Sat, 5 Feb 2022 19:08:51 +0000 (13:08 -0600)]
websites.factorcode: Add some %20 in links, add closing />, remove Slack link

2 years agolistener: rename (listener) to listener-loop
John Benediktsson [Sat, 5 Feb 2022 05:31:07 +0000 (21:31 -0800)]
listener: rename (listener) to listener-loop

2 years agoeval: fix help-lint
John Benediktsson [Fri, 4 Feb 2022 23:56:51 +0000 (15:56 -0800)]
eval: fix help-lint

2 years agoeval: separate eval-with-stack and eval-with-stack>string
John Benediktsson [Fri, 4 Feb 2022 23:24:19 +0000 (15:24 -0800)]
eval: separate eval-with-stack and eval-with-stack>string

these might need better names?

2 years agolistener: use prettyprint:datastack.
John Benediktsson [Fri, 4 Feb 2022 23:24:05 +0000 (15:24 -0800)]
listener: use prettyprint:datastack.

2 years agoprettyprint: adding a datastack. word
John Benediktsson [Fri, 4 Feb 2022 23:23:30 +0000 (15:23 -0800)]
prettyprint: adding a datastack. word

since we use this in a few places

2 years agosyntax: fix docs for run-script.
John Benediktsson [Fri, 4 Feb 2022 06:13:34 +0000 (22:13 -0800)]
syntax: fix docs for run-script.

2 years agocommand-line: moving run-script to command-line.startup
John Benediktsson [Fri, 4 Feb 2022 06:03:16 +0000 (22:03 -0800)]
command-line: moving run-script to command-line.startup

2 years agocommand-line: print the remaining data stack on run-script
John Benediktsson [Fri, 4 Feb 2022 05:52:49 +0000 (21:52 -0800)]
command-line: print the remaining data stack on run-script

2 years agocommand-line.startup: use eval-with-stack, don't jump to listener
John Benediktsson [Fri, 4 Feb 2022 05:52:27 +0000 (21:52 -0800)]
command-line.startup: use eval-with-stack, don't jump to listener

2 years agoeval: adding eval-with-stack
John Benediktsson [Fri, 4 Feb 2022 05:51:56 +0000 (21:51 -0800)]
eval: adding eval-with-stack

2 years agocommand-line.startup: always eval and run-script with auto-use
John Benediktsson [Fri, 4 Feb 2022 04:29:40 +0000 (20:29 -0800)]
command-line.startup: always eval and run-script with auto-use

drop into a listener if there are restartable errors

2 years agodocuments: rename each-line to each-doc-line and map-lines to map-doc-lines
John Benediktsson [Fri, 4 Feb 2022 04:27:53 +0000 (20:27 -0800)]
documents: rename each-line to each-doc-line and map-lines to map-doc-lines

2 years agovocabs.platforms: Add words to possibly replace `cond require` for platforms
Doug Coleman [Fri, 4 Feb 2022 04:07:50 +0000 (22:07 -0600)]
vocabs.platforms: Add words to possibly replace `cond require` for platforms

2 years agomodels: remove double space in docs
John Benediktsson [Thu, 3 Feb 2022 18:54:34 +0000 (10:54 -0800)]
models: remove double space in docs

2 years agodocuments.elements: adding some documentation.
John Benediktsson [Thu, 3 Feb 2022 18:52:15 +0000 (10:52 -0800)]
documents.elements: adding some documentation.

2 years agoui.tools.button-list: use linked-assocs to keep buttons in order
John Benediktsson [Thu, 3 Feb 2022 18:46:03 +0000 (10:46 -0800)]
ui.tools.button-list: use linked-assocs to keep buttons in order

2 years agoui.gadgets.search-tables: remove delay
John Benediktsson [Thu, 3 Feb 2022 18:44:37 +0000 (10:44 -0800)]
ui.gadgets.search-tables: remove delay

2 years agovocabs.platforms: Add some more experimental USE: style words.
Doug Coleman [Thu, 3 Feb 2022 06:14:54 +0000 (00:14 -0600)]
vocabs.platforms: Add some more experimental USE: style words.

examples:

USE-IF: roman [ os macosx? ]

USE-UNIX: io.unix

USE-WINDOWS: windows

  old:
{
    { [ os windows? ] [ "alien.libraries.windows" ] }
    { [ os unix? ] [ "alien.libraries.unix" ] }
} cond require

  new:
USE-WINDOWS: alien.libraries.windows
USE-UNIX: alien.libraries.unix

2 years agosuccessor: fix typo in docs
Doug Coleman [Thu, 3 Feb 2022 05:55:10 +0000 (23:55 -0600)]
successor: fix typo in docs

2 years agodns: Fix dns query for "." and add more types
Doug Coleman [Thu, 3 Feb 2022 02:40:26 +0000 (20:40 -0600)]
dns: Fix dns query for "." and add more types

2 years agoalien.enums: Add values>enum word
Doug Coleman [Thu, 3 Feb 2022 02:18:52 +0000 (20:18 -0600)]
alien.enums: Add values>enum word

2 years agoui.tools.operations: Don't annotate regular objects, only words.
Doug Coleman [Wed, 2 Feb 2022 06:29:55 +0000 (00:29 -0600)]
ui.tools.operations: Don't annotate regular objects, only words.

2 years agoui.tools.operations: use without-limits for unparse and add copy object
Doug Coleman [Wed, 2 Feb 2022 06:14:04 +0000 (00:14 -0600)]
ui.tools.operations: use without-limits for unparse and add copy object

For large JSON objects, unparsing would show ~2600 more~ instead of all
of the text. Also realized I could add a copy command to unparse into
the clipboard directly

Use ... for prettyprint

2 years agojamshred: Fix specialized-arrays using
Doug Coleman [Wed, 2 Feb 2022 06:01:42 +0000 (00:01 -0600)]
jamshred: Fix specialized-arrays using

2 years agoRevert "classes.struct: Don't depend on smart combinators"
Doug Coleman [Mon, 31 Jan 2022 00:05:35 +0000 (18:05 -0600)]
Revert "classes.struct: Don't depend on smart combinators"

This reverts commit a3b906157a0a90b2cbc52dc74f012e7352226c28.

2 years agoclasses.struct: Don't depend on smart combinators
Doug Coleman [Sun, 30 Jan 2022 23:52:30 +0000 (17:52 -0600)]
classes.struct: Don't depend on smart combinators

2 years agotensors.tensor-slice: move step-slice to sequences.extras
John Benediktsson [Sun, 30 Jan 2022 21:25:12 +0000 (13:25 -0800)]
tensors.tensor-slice: move step-slice to sequences.extras

2 years agotensors: simplify using map-sum
John Benediktsson [Sun, 30 Jan 2022 21:20:47 +0000 (13:20 -0800)]
tensors: simplify using map-sum

2 years agozealot: fix rename vocab
Doug Coleman [Sun, 30 Jan 2022 20:20:51 +0000 (14:20 -0600)]
zealot: fix rename vocab

2 years agoprotocols.tftp: move to tftp
John Benediktsson [Sun, 30 Jan 2022 19:21:26 +0000 (11:21 -0800)]
protocols.tftp: move to tftp

2 years agohetzner, github: remove cloud/web-services prefixes
Doug Coleman [Sun, 30 Jan 2022 18:46:00 +0000 (12:46 -0600)]
hetzner, github: remove cloud/web-services prefixes

2 years agoyenc: adding yEnc format encoding/decoding
John Benediktsson [Sun, 30 Jan 2022 18:24:49 +0000 (10:24 -0800)]
yenc: adding yEnc format encoding/decoding

2 years agocloud.hetzner: Add basic hetzner http get commands
Doug Coleman [Sun, 30 Jan 2022 18:17:06 +0000 (12:17 -0600)]
cloud.hetzner: Add basic hetzner http get commands

2 years agoassocs.extras: add change values-of word to not sift
Doug Coleman [Sun, 30 Jan 2022 18:15:13 +0000 (12:15 -0600)]
assocs.extras: add change values-of word to not sift
fix using

2 years agounicode.flags.images: Only test on Mac for now
Doug Coleman [Sun, 30 Jan 2022 07:03:22 +0000 (01:03 -0600)]
unicode.flags.images: Only test on Mac for now

2 years agodns: handle dns aliases like paste.factorcode.org
Doug Coleman [Sat, 29 Jan 2022 06:35:20 +0000 (00:35 -0600)]
dns: handle dns aliases like paste.factorcode.org

"paste.factorcode.org" host

2 years agounicode.flags: add some more flags and a way to view the codepoints for fun
Doug Coleman [Fri, 28 Jan 2022 23:45:17 +0000 (17:45 -0600)]
unicode.flags: add some more flags and a way to view the codepoints for fun

I'm all flagged out for now

2 years agoroman: fix tests using
Doug Coleman [Fri, 28 Jan 2022 23:30:15 +0000 (17:30 -0600)]
roman: fix tests using

2 years agounicode.flags.images: cartesian product for aa..zz
Doug Coleman [Fri, 28 Jan 2022 23:23:45 +0000 (17:23 -0600)]
unicode.flags.images: cartesian product for aa..zz

2 years agoimages.http: set retina on the mac
John Benediktsson [Fri, 28 Jan 2022 22:43:25 +0000 (14:43 -0800)]
images.http: set retina on the mac

2 years agomath.combinatorics: factor out nCk-with-replacement
John Benediktsson [Fri, 28 Jan 2022 17:35:29 +0000 (09:35 -0800)]
math.combinatorics: factor out nCk-with-replacement

2 years agounicode.flags.images: use combinations-with-replacement
John Benediktsson [Fri, 28 Jan 2022 17:26:41 +0000 (09:26 -0800)]
unicode.flags.images: use combinations-with-replacement

2 years agomath.combinatorics: adding combinations-with-replacement
John Benediktsson [Fri, 28 Jan 2022 17:23:22 +0000 (09:23 -0800)]
math.combinatorics: adding combinations-with-replacement

2 years agocountries: adding exceptional and transitional reservations
John Benediktsson [Fri, 28 Jan 2022 16:58:12 +0000 (08:58 -0800)]
countries: adding exceptional and transitional reservations

2 years agounicode.flags: adding FLAG: syntax, why not
John Benediktsson [Fri, 28 Jan 2022 16:45:18 +0000 (08:45 -0800)]
unicode.flags: adding FLAG: syntax, why not

FLAG: US .

2 years agocountries: fix IN:
John Benediktsson [Fri, 28 Jan 2022 16:43:21 +0000 (08:43 -0800)]
countries: fix IN:

2 years agocountries: adding ISO 3166-1 country codes
John Benediktsson [Fri, 28 Jan 2022 16:37:38 +0000 (08:37 -0800)]
countries: adding ISO 3166-1 country codes

2 years agoquiz: Add country/flag quiz
Doug Coleman [Fri, 28 Jan 2022 04:16:38 +0000 (22:16 -0600)]
quiz: Add country/flag quiz

2 years agounicode.flags: fix test oops
Doug Coleman [Fri, 28 Jan 2022 03:55:28 +0000 (21:55 -0600)]
unicode.flags: fix test oops

2 years agounicode.flags: Add a way to get valid flags, fix using
Doug Coleman [Fri, 28 Jan 2022 03:52:54 +0000 (21:52 -0600)]
unicode.flags: Add a way to get valid flags, fix using

2 years agoflags: move to unicode.flags
John Benediktsson [Thu, 27 Jan 2022 22:01:36 +0000 (14:01 -0800)]
flags: move to unicode.flags

2 years agoflags: adding a unicode flags vocabulary
John Benediktsson [Thu, 27 Jan 2022 21:57:39 +0000 (13:57 -0800)]
flags: adding a unicode flags vocabulary

2 years agoalien.syntax: adding INITIALIZE-ALIEN:
John Benediktsson [Wed, 26 Jan 2022 18:54:23 +0000 (10:54 -0800)]
alien.syntax: adding INITIALIZE-ALIEN:

2 years agosyntax: adding documentation for STARTUP-HOOK: and SHUTDOWN-HOOK:
John Benediktsson [Wed, 26 Jan 2022 18:43:54 +0000 (10:43 -0800)]
syntax: adding documentation for STARTUP-HOOK: and SHUTDOWN-HOOK:

2 years agosyntax: adding INITIALIZE:
John Benediktsson [Wed, 26 Jan 2022 18:41:30 +0000 (10:41 -0800)]
syntax: adding INITIALIZE:

2 years agomisc/vim: fix syntax highlighting for help forms
John Benediktsson [Wed, 26 Jan 2022 18:34:50 +0000 (10:34 -0800)]
misc/vim: fix syntax highlighting for help forms

2 years agococoa.apple-script: fix tests for quote-apple-script
John Benediktsson [Wed, 26 Jan 2022 17:53:38 +0000 (09:53 -0800)]
cocoa.apple-script: fix tests for quote-apple-script

2 years agosequences.extras: using (each-index)
John Benediktsson [Wed, 26 Jan 2022 17:50:16 +0000 (09:50 -0800)]
sequences.extras: using (each-index)