]>
gitweb.factorcode.org Git - factor.git/log
Doug Coleman [Fri, 10 Jun 2022 21:52:29 +0000 (16:52 -0500)]
html5: It parses a basic html doc without <title> tags!
Just the structure, chars are emitted but not inserted yet.
[[ <!DOCTYPE html>
<html>
<head> </head>
<body>
<!-- the comment -->
The content
</body>
</html>]] parse-html5
Doug Coleman [Fri, 10 Jun 2022 18:58:06 +0000 (13:58 -0500)]
html5: do wrong algorithm to get a basic nested tag structure
same as modern.html5, but no error handling yet
Doug Coleman [Fri, 10 Jun 2022 18:57:46 +0000 (13:57 -0500)]
sequences: move shorten* to sequences.extras
Doug Coleman [Fri, 10 Jun 2022 18:06:42 +0000 (13:06 -0500)]
html5: make ´ parser compile
Doug Coleman [Fri, 26 Mar 2021 23:09:47 +0000 (18:09 -0500)]
html5: starting on dom insertion
Doug Coleman [Tue, 11 Aug 2020 23:54:06 +0000 (18:54 -0500)]
html5: make it load
Doug Coleman [Sat, 9 May 2020 04:58:29 +0000 (23:58 -0500)]
html5: working on named characters
Doug Coleman [Thu, 7 May 2020 04:33:16 +0000 (23:33 -0500)]
html5: handle attributes a little.
Doug Coleman [Thu, 7 May 2020 03:37:25 +0000 (22:37 -0500)]
html5: Fix some tag name code and doctype state.
Doug Coleman [Thu, 7 May 2020 02:52:45 +0000 (21:52 -0500)]
html5: some code for every state!
now to figure out emitting for the dom and clean up return-state, temporary-state, tag emits, everything else..
Doug Coleman [Thu, 7 May 2020 00:46:43 +0000 (19:46 -0500)]
html5: implementing more and restructuring
Doug Coleman [Fri, 10 Jun 2022 17:43:08 +0000 (12:43 -0500)]
html5: Initial checkin.
Doug Coleman [Fri, 10 Jun 2022 16:05:12 +0000 (11:05 -0500)]
shuffle.extras: Add words to keep args and move the result above the kept args.
Doug Coleman [Fri, 10 Jun 2022 17:35:34 +0000 (12:35 -0500)]
html5: Initial checkin.
Doug Coleman [Fri, 10 Jun 2022 01:07:01 +0000 (20:07 -0500)]
combinators.extras: add 4tri*, 4quad, 4tri@
Doug Coleman [Thu, 9 Jun 2022 03:35:41 +0000 (22:35 -0500)]
modern: simplify string parser
Doug Coleman [Thu, 9 Jun 2022 02:10:20 +0000 (21:10 -0500)]
modern.html: remove all the stack shuffling with dip-1up etc
Doug Coleman [Thu, 9 Jun 2022 02:10:08 +0000 (21:10 -0500)]
shuffle.extras: rename dip1 to dip-1up etc
Doug Coleman [Tue, 7 Jun 2022 16:25:23 +0000 (11:25 -0500)]
modern.html: fix using
Doug Coleman [Tue, 7 Jun 2022 04:04:08 +0000 (23:04 -0500)]
factorcode: remove rackspace.jpg
Doug Coleman [Tue, 7 Jun 2022 02:05:58 +0000 (21:05 -0500)]
html.templates.chloe.syntax: Rename tags to chloe-tags.
tags word is generic and all the other words that deal with
chloe tags have chloe in the name.
Doug Coleman [Mon, 6 Jun 2022 03:17:24 +0000 (22:17 -0500)]
modern.html: allow parsing <% %> for .fhtml files
John Benediktsson [Mon, 6 Jun 2022 19:08:22 +0000 (12:08 -0700)]
system-info.macosx: adding macOS Ventura.
John Benediktsson [Mon, 6 Jun 2022 00:48:28 +0000 (17:48 -0700)]
misc/vim: update for recent syntax additions.
Doug Coleman [Sat, 4 Jun 2022 18:10:18 +0000 (13:10 -0500)]
shuffle.extras: Exploring some dip combinators that bring the result to the top of the stack.
Doug Coleman [Sat, 4 Jun 2022 18:09:36 +0000 (13:09 -0500)]
modern: allow DOCTYPE and doctype etc. Add another find-links
Doug Coleman [Fri, 3 Jun 2022 03:33:08 +0000 (22:33 -0500)]
modern: treat tab as whitespace and add test case.
Doug Coleman [Fri, 3 Jun 2022 03:33:26 +0000 (22:33 -0500)]
modern.html: Add walk-html helper function
Example:
USE: modern.html
"https://en.wikipedia.org/w/index.php?title=Factor_(programming_language)&offset=&limit=500&action=history" http-get
nip string>html
[
[
dup tag? [ props>> [ drop >lower "href" = ] assoc-find [ nip , ] [ 2drop ] if ] [ drop ] if
] walk-html
] { } make [ payload>> ] map
Doug Coleman [Fri, 3 Jun 2022 02:35:02 +0000 (21:35 -0500)]
modern.html: Fix a bug in parsing factor's wikipedia history
Doug Coleman [Sat, 28 May 2022 20:29:13 +0000 (15:29 -0500)]
io.styles: Add blink style.
Try in terminal:
rlwrap ./factor
USING: system io.styles colors literals threads calendar colors.flex-hex hashtables io.streams.ansi random ; [
"hello"
named-colors random parse-color foreground associate
named-colors random parse-color background pick set-at
{ underline blink bold-italic } font-style pick set-at format
] with-ansi
John Benediktsson [Fri, 27 May 2022 23:01:44 +0000 (16:01 -0700)]
metar: adding relative humidity calculation.
John Benediktsson [Fri, 27 May 2022 20:49:14 +0000 (13:49 -0700)]
base32hex: adding Base32 with Extended Hex Alphabet.
John Benediktsson [Thu, 26 May 2022 21:06:28 +0000 (14:06 -0700)]
strings.tables: adding box formatting
Doug Coleman [Wed, 25 May 2022 03:43:08 +0000 (22:43 -0500)]
unicode: Update Unicode version from 13.0 to 14.0
John Benediktsson [Thu, 19 May 2022 04:17:52 +0000 (21:17 -0700)]
webapps.pastebin: update css
John Benediktsson [Thu, 19 May 2022 04:10:45 +0000 (21:10 -0700)]
webapps.pastebin: better dark mode
John Benediktsson [Thu, 19 May 2022 04:08:42 +0000 (21:08 -0700)]
websites: better dark mode headings
John Benediktsson [Thu, 19 May 2022 04:07:39 +0000 (21:07 -0700)]
websites: better darkmode for headings
John Benediktsson [Thu, 19 May 2022 04:03:10 +0000 (21:03 -0700)]
help.html: simplify dark mode code
John Benediktsson [Wed, 18 May 2022 04:04:12 +0000 (21:04 -0700)]
colors: fix parse-colors
John Benediktsson [Wed, 18 May 2022 03:41:21 +0000 (20:41 -0700)]
ui.theme.base16: fix parse-colors
John Benediktsson [Wed, 18 May 2022 03:28:21 +0000 (20:28 -0700)]
help.html: fix using
John Benediktsson [Wed, 18 May 2022 03:21:19 +0000 (20:21 -0700)]
help.html: lowercase colors
John Benediktsson [Wed, 18 May 2022 03:09:57 +0000 (20:09 -0700)]
help.html: dark mode
John Benediktsson [Wed, 18 May 2022 03:07:30 +0000 (20:07 -0700)]
colors: fix shadowing of parse-color
John Benediktsson [Tue, 17 May 2022 18:37:12 +0000 (11:37 -0700)]
webapps.wiki: fix pre dark mode
John Benediktsson [Tue, 17 May 2022 17:56:52 +0000 (10:56 -0700)]
webapps.planet: dark mode
John Benediktsson [Tue, 17 May 2022 17:50:06 +0000 (10:50 -0700)]
webapps.wiki: dark mode
John Benediktsson [Tue, 17 May 2022 17:39:33 +0000 (10:39 -0700)]
websites.factorcode: dark mode
John Benediktsson [Wed, 11 May 2022 01:00:13 +0000 (18:00 -0700)]
webapps.wiki: fix positioning of nav.
John Benediktsson [Tue, 10 May 2022 23:51:05 +0000 (16:51 -0700)]
webapps.wiki: smaller hamburger menu.
Alexander Ilin [Tue, 10 May 2022 07:54:37 +0000 (09:54 +0200)]
lists.circular: new vocab
Closes #2607.
Doug Coleman [Fri, 29 Apr 2022 00:51:34 +0000 (19:51 -0500)]
zealot.factor: Use `arch -x86_64` on mac
Doug Coleman [Thu, 28 Apr 2022 04:14:59 +0000 (23:14 -0500)]
zealot: Allow building from branch or checksum.
Doug Coleman [Thu, 28 Apr 2022 04:14:28 +0000 (23:14 -0500)]
cli.git: rename git-checkout-existing-branch to git-checkout-existing
Doug Coleman [Mon, 4 Apr 2022 00:22:14 +0000 (19:22 -0500)]
color-table: case insensitive sort
gifti258 [Tue, 29 Mar 2022 12:42:50 +0000 (14:42 +0200)]
mediawiki.api: Add missing action parameter
John Benediktsson [Mon, 28 Mar 2022 00:35:25 +0000 (17:35 -0700)]
tools.wc: remove dependency on formatting, handle not found
John Benediktsson [Mon, 28 Mar 2022 00:31:04 +0000 (17:31 -0700)]
tools.cat: remove dependency on formatting, flush properly
Giftpflanze [Sun, 27 Mar 2022 19:59:10 +0000 (21:59 +0200)]
mediawiki.api: Fix documentation, improvements
Giftpflanze [Sun, 27 Mar 2022 12:47:00 +0000 (14:47 +0200)]
mediawiki.api: Add MediaWiki API
Giftpflanze [Sun, 27 Mar 2022 13:04:15 +0000 (15:04 +0200)]
db.mysql: Add low-level MySQL support
John Benediktsson [Sat, 26 Mar 2022 18:32:58 +0000 (11:32 -0700)]
LICENSE.txt: updating to 2022
Doug Coleman [Sat, 26 Mar 2022 00:50:10 +0000 (19:50 -0500)]
assocs.extras: Add a histogram-diff for fun.
Doug Coleman [Sat, 26 Mar 2022 00:48:42 +0000 (19:48 -0500)]
unicode.data: Fix confusing error with unknown unicode char names.
I had `CHAR: green` instead of `COLOR: green` but the caret pointed to
the whitespace and the message was "Invalid character" like there
was some weird unicode code point it was choking on.
John Benediktsson [Fri, 25 Mar 2022 20:04:38 +0000 (13:04 -0700)]
slides: minor tweak
John Benediktsson [Fri, 25 Mar 2022 03:51:57 +0000 (20:51 -0700)]
slides: better wrapping
John Benediktsson [Thu, 24 Mar 2022 18:33:49 +0000 (11:33 -0700)]
codebase-analyzer: minor fixes
John Benediktsson [Fri, 18 Mar 2022 21:01:44 +0000 (14:01 -0700)]
math.parser: adding >dec alias to number>string
John Benediktsson [Sat, 5 Mar 2022 17:34:33 +0000 (09:34 -0800)]
ui.gadgets.panes: scroll-pane so it respects the scrolls slot
John Benediktsson [Sat, 5 Mar 2022 17:34:10 +0000 (09:34 -0800)]
Revert "ui.gadgets.panes: remove scrolls? slot and make scrolling default behavior"
This reverts commit
331dddb8ed37035be9b2869d614a55290f52f2e6 .
John Benediktsson [Sat, 5 Mar 2022 15:02:15 +0000 (07:02 -0800)]
ui.backend.cocoa: support automatic changing of themes
John Benediktsson [Sat, 5 Mar 2022 15:01:23 +0000 (07:01 -0800)]
ui.theme.switching: split out ui.tools themeing
John Benediktsson [Fri, 4 Mar 2022 17:25:47 +0000 (09:25 -0800)]
wikipedia: fix article link broken by last patch
John Benediktsson [Fri, 4 Mar 2022 17:23:15 +0000 (09:23 -0800)]
wikipedia: fix links
John Benediktsson [Fri, 4 Mar 2022 17:21:05 +0000 (09:21 -0800)]
wikipedia: adding a command-line version
John Benediktsson [Fri, 4 Mar 2022 17:03:58 +0000 (09:03 -0800)]
wikipedia: fix for nested structure changes
John Benediktsson [Fri, 4 Mar 2022 04:22:04 +0000 (20:22 -0800)]
ui.tools.listener: pressing enter should scroll to the bottom.
John Benediktsson [Fri, 4 Mar 2022 03:18:26 +0000 (19:18 -0800)]
ui.gadgets.panes: remove scrolls? slot and make scrolling default behavior
John Benediktsson [Thu, 3 Mar 2022 23:04:15 +0000 (15:04 -0800)]
ui.gadgets.panes: make sure walker scrolls to the bottom
John Benediktsson [Thu, 3 Mar 2022 22:53:34 +0000 (14:53 -0800)]
ui.tools: change scrolling behavior
When we are already to the bottom, keep scrolling to show new input.
When we are not, just add the input and keep the scroll position.
John Benediktsson [Mon, 28 Feb 2022 18:01:06 +0000 (10:01 -0800)]
html.streams: use color>hex
Alex Maestas [Thu, 24 Feb 2022 16:11:43 +0000 (16:11 +0000)]
update readme for discord, irc
Alex Maestas [Sun, 20 Feb 2022 19:18:42 +0000 (19:18 +0000)]
add color>hex
found basically the same thing in the color-table extra, but this one can
round-trip an alpha channel.
Alex Maestas [Wed, 23 Feb 2022 19:05:50 +0000 (19:05 +0000)]
put show-error-list in the touchbar
Doug Coleman [Mon, 21 Feb 2022 18:25:05 +0000 (12:25 -0600)]
zoneinfo: Trying to make some sensible words for zones/rules
Doug Coleman [Mon, 21 Feb 2022 18:18:29 +0000 (12:18 -0600)]
sequences.extras: add another heap slurping combinator
Fix tests..
Doug Coleman [Mon, 21 Feb 2022 18:16:39 +0000 (12:16 -0600)]
sequences.extras: Add a map-with-previous to let map see the previous iter's value
Doug Coleman [Mon, 21 Feb 2022 18:07:34 +0000 (12:07 -0600)]
shuffle: Add 5roll, 2reach, nipdd
Doug Coleman [Sun, 20 Feb 2022 07:16:07 +0000 (01:16 -0600)]
zoneinfo: Fix tests and tz/country map words
Doug Coleman [Sun, 20 Feb 2022 01:28:39 +0000 (19:28 -0600)]
zoneinfo: get countries from zone or zone from countries
Doug Coleman [Sun, 20 Feb 2022 01:28:13 +0000 (19:28 -0600)]
assocs.extras: Add collect-key-by and collect-value-by
Doug Coleman [Sat, 19 Feb 2022 20:31:12 +0000 (14:31 -0600)]
zoneinfo: Fix zome timezone parsing.
Doug Coleman [Wed, 16 Feb 2022 23:48:10 +0000 (17:48 -0600)]
zoneinfo: upgrade
John Benediktsson [Wed, 16 Feb 2022 04:59:18 +0000 (20:59 -0800)]
help.syntax: trim common whitespace from code examples
John Benediktsson [Wed, 16 Feb 2022 04:34:55 +0000 (20:34 -0800)]
help.syntax: use split-lines for now.
Perhaps we remove common blank prefixes instead so that indentation is
still supported.
Doug Coleman [Wed, 16 Feb 2022 00:55:23 +0000 (18:55 -0600)]
io.sockets.secure.unix: Disable bad unit test for libssl3
John Benediktsson [Tue, 15 Feb 2022 20:56:23 +0000 (12:56 -0800)]
bootstrap: change array-capacity coercer
John Benediktsson [Tue, 15 Feb 2022 20:55:47 +0000 (12:55 -0800)]
Revert "vm: set array_size_max to fixnum_max."
This reverts commit
df89e18996f440a61cbdb01204e3654e5642fae6 .
John Benediktsson [Tue, 15 Feb 2022 20:55:40 +0000 (12:55 -0800)]
Revert "layouts: change max-array-capacity to most-positive-fixnum"
This reverts commit
ffad6a8dc8e33cf9811d08a02cd46aa3fcce8ee0 .