]> gitweb.factorcode.org Git - factor.git/log
factor.git
15 months agolistener: remove extra $nl
John Benediktsson [Wed, 1 Feb 2023 23:11:25 +0000 (15:11 -0800)]
listener: remove extra $nl

15 months agounrolled-lists: fix empty list popping (#2729)
razetime [Wed, 1 Feb 2023 04:53:26 +0000 (10:23 +0530)]
unrolled-lists: fix empty list popping (#2729)
Added documentation for the unrolled-list class,
and added new tests for the issue fix.

15 months agohelp.markup: tests for $code change
John Benediktsson [Tue, 31 Jan 2023 21:01:43 +0000 (13:01 -0800)]
help.markup: tests for $code change

15 months agohelp: minor doc fixes
John Benediktsson [Tue, 31 Jan 2023 19:46:14 +0000 (11:46 -0800)]
help: minor doc fixes

15 months agohelp.html: more default html output
John Benediktsson [Tue, 31 Jan 2023 19:40:46 +0000 (11:40 -0800)]
help.html: more default html output

15 months agohelp.markup: add more spacing around $code
John Benediktsson [Tue, 31 Jan 2023 19:35:41 +0000 (11:35 -0800)]
help.markup: add more spacing around $code

15 months agohelp.tour: minor formatting
John Benediktsson [Tue, 31 Jan 2023 19:34:31 +0000 (11:34 -0800)]
help.tour: minor formatting

15 months agohelp.tutorial: remove unnecessary $nl
John Benediktsson [Tue, 31 Jan 2023 19:29:06 +0000 (11:29 -0800)]
help.tutorial: remove unnecessary $nl

15 months agoRevert "html.streams: make more spans"
John Benediktsson [Tue, 31 Jan 2023 16:17:10 +0000 (08:17 -0800)]
Revert "html.streams: make more spans"

This reverts commit 554b2834debc1a4fe7d529b5b05db5ef17d6abd4.

15 months agocpu.arm.assembler: Optimize shifting immediates, qualify immediates
Giftpflanze [Tue, 31 Jan 2023 17:16:09 +0000 (17:16 +0000)]
cpu.arm.assembler: Optimize shifting immediates, qualify immediates

15 months agohelp.html: some table fixes
John Benediktsson [Tue, 31 Jan 2023 07:02:47 +0000 (23:02 -0800)]
help.html: some table fixes

15 months agohelp.html: some style fixes
John Benediktsson [Tue, 31 Jan 2023 06:09:58 +0000 (22:09 -0800)]
help.html: some style fixes

15 months agohtml.streams: make more spans
John Benediktsson [Tue, 31 Jan 2023 05:54:49 +0000 (21:54 -0800)]
html.streams: make more spans

15 months agohelp.vocabs: just code-style for files.
John Benediktsson [Tue, 31 Jan 2023 05:46:56 +0000 (21:46 -0800)]
help.vocabs: just code-style for files.

15 months agocpu.arm.assembler: Fix instructions
Giftpflanze [Tue, 31 Jan 2023 02:53:38 +0000 (02:53 +0000)]
cpu.arm.assembler: Fix instructions

Bump SIGNAL_HANDLER_STACK_FRAME_SIZE

15 months agovm/os-macosx-arm64: add the same arm64 fields as linux to make it compile on mac
Doug Coleman [Tue, 31 Jan 2023 01:51:41 +0000 (19:51 -0600)]
vm/os-macosx-arm64: add the same arm64 fields as linux to make it compile on mac

We might just put these in the arm64 file if they're the same.

15 months agovm/os-linux-arm.64.hpp: Update constants
Giftpflanze [Tue, 31 Jan 2023 00:20:35 +0000 (01:20 +0100)]
vm/os-linux-arm.64.hpp: Update constants

15 months agovm/quotations.hpp: Fix arm64 segfault
Giftpflanze [Tue, 31 Jan 2023 00:19:09 +0000 (01:19 +0100)]
vm/quotations.hpp: Fix arm64 segfault

15 months agoARM64: Simplify, refactor, reorder
Giftpflanze [Mon, 30 Jan 2023 19:37:33 +0000 (19:37 +0000)]
ARM64: Simplify, refactor, reorder

15 months agoui.tools: tweak the ui-cocoa article
John Benediktsson [Mon, 30 Jan 2023 16:42:22 +0000 (08:42 -0800)]
ui.tools: tweak the ui-cocoa article

15 months agoui.backend.cocoa.tools: use auto-use and eval-with-stack in "Evalute Selection".
John Benediktsson [Mon, 30 Jan 2023 16:40:33 +0000 (08:40 -0800)]
ui.backend.cocoa.tools: use auto-use and eval-with-stack in "Evalute Selection".

15 months agohelp.html: inverse dashed colors
John Benediktsson [Mon, 30 Jan 2023 06:53:37 +0000 (22:53 -0800)]
help.html: inverse dashed colors

15 months agococoa.messages: add a word to get all objc class names
Doug Coleman [Mon, 30 Jan 2023 00:49:52 +0000 (18:49 -0600)]
cocoa.messages: add a word to get all objc class names

15 months agohelp.html: fix css whoops
John Benediktsson [Mon, 30 Jan 2023 00:41:36 +0000 (16:41 -0800)]
help.html: fix css whoops

15 months agococoa.message: better unknown objc type with class/method names
Doug Coleman [Sun, 29 Jan 2023 22:34:04 +0000 (16:34 -0600)]
cocoa.message: better unknown objc type with class/method names

15 months agowebapps.wiki: remove unnecessary font-size change in dark theme
John Benediktsson [Sun, 29 Jan 2023 19:35:44 +0000 (11:35 -0800)]
webapps.wiki: remove unnecessary font-size change in dark theme

15 months agohelp.html: make search box bigger
John Benediktsson [Sun, 29 Jan 2023 19:34:11 +0000 (11:34 -0800)]
help.html: make search box bigger

15 months agotools.crossref: using short-circuit
John Benediktsson [Sun, 29 Jan 2023 18:56:57 +0000 (10:56 -0800)]
tools.crossref: using short-circuit

15 months agocompiler: some cleanup
John Benediktsson [Sun, 29 Jan 2023 18:56:46 +0000 (10:56 -0800)]
compiler: some cleanup

15 months agoranges: add some slot types
John Benediktsson [Sun, 29 Jan 2023 18:56:36 +0000 (10:56 -0800)]
ranges: add some slot types

15 months agoARM64: Finish implementation
Giftpflanze [Sun, 29 Jan 2023 06:40:04 +0000 (06:40 +0000)]
ARM64: Finish implementation

15 months agococoa.messages: fix typo and print to stderr
John Benediktsson [Sun, 29 Jan 2023 04:18:20 +0000 (20:18 -0800)]
cocoa.messages: fix typo and print to stderr

15 months agofurnace.auth.login: Username
John Benediktsson [Sun, 29 Jan 2023 04:15:42 +0000 (20:15 -0800)]
furnace.auth.login: Username

15 months agotools.scaffold: minor tweak
John Benediktsson [Sun, 29 Jan 2023 02:02:32 +0000 (18:02 -0800)]
tools.scaffold: minor tweak

15 months agococoa.messages: with-out-parameters has a local alloc error, so don't use it..
Doug Coleman [Sun, 29 Jan 2023 03:43:37 +0000 (21:43 -0600)]
cocoa.messages: with-out-parameters has a local alloc error, so don't use it..

15 months agococoa.messages: Don't import if we don't know the type
Doug Coleman [Sun, 29 Jan 2023 03:33:57 +0000 (21:33 -0600)]
cocoa.messages: Don't import if we don't know the type

cmi_simdInt2ValueForKey:defaultValue:found: supposedly returns type "4" which is not published

when bootstrapping, NSDictionary imports 193 methods. when reloading, it imports 460, some of which aren't googleable

just punt if we don't understand the types

! To see the bad type, do this:

"NSDictionary" objc-class
[ nip dup . [ method-name dup "cmi_simdInt2ValueForKey:defaultValue:found:" = [ B ] when . ] [ method-arg-types . ] [ method-return-type . ] tri nl ] each-method-in-class

Related to #2754

15 months agotools.scaffold: using io.pathnames words now
John Benediktsson [Sun, 29 Jan 2023 01:56:40 +0000 (17:56 -0800)]
tools.scaffold: using io.pathnames words now

15 months agoeditors: adding some platforms files
John Benediktsson [Sun, 29 Jan 2023 01:51:36 +0000 (17:51 -0800)]
editors: adding some platforms files

15 months agoio.pathnames: adding home-path and >pathname
John Benediktsson [Sun, 29 Jan 2023 01:48:51 +0000 (17:48 -0800)]
io.pathnames: adding home-path and >pathname

15 months agoio.streams.ansi: simplify
John Benediktsson [Sun, 29 Jan 2023 01:47:07 +0000 (17:47 -0800)]
io.streams.ansi: simplify

15 months agoio.streams.256color: simplify
John Benediktsson [Sun, 29 Jan 2023 01:46:59 +0000 (17:46 -0800)]
io.streams.256color: simplify

15 months agoio.streams.256color: fix test
John Benediktsson [Sun, 29 Jan 2023 01:45:53 +0000 (17:45 -0800)]
io.streams.256color: fix test

15 months agoeditors: only supported-platforms are available-editors
John Benediktsson [Sun, 29 Jan 2023 01:28:36 +0000 (17:28 -0800)]
editors: only supported-platforms are available-editors

15 months agoeditors: refactor print note
Doug Coleman [Sat, 28 Jan 2023 05:15:39 +0000 (23:15 -0600)]
editors: refactor print note

15 months agoeditors: SET-EDITOR: -> EDITOR:, use SINGLETON: again
Doug Coleman [Sat, 28 Jan 2023 04:56:22 +0000 (22:56 -0600)]
editors: SET-EDITOR: -> EDITOR:, use SINGLETON: again

15 months agoeditors: Throw a restart with instructions on how to use SET-EDITOR:
Doug Coleman [Sat, 28 Jan 2023 04:39:32 +0000 (22:39 -0600)]
editors: Throw a restart with instructions on how to use SET-EDITOR:

15 months agotools.scaffold: refactor to get a home-path word to use in editors
Doug Coleman [Sat, 28 Jan 2023 04:39:14 +0000 (22:39 -0600)]
tools.scaffold: refactor to get a home-path word to use in editors

15 months agoparser.notes: Use `if` instead of `drop` after
Doug Coleman [Sat, 28 Jan 2023 04:33:11 +0000 (22:33 -0600)]
parser.notes: Use `if` instead of `drop` after

15 months agoeditors: use EDITOR: to register editors.
Doug Coleman [Sat, 28 Jan 2023 01:34:46 +0000 (19:34 -0600)]
editors: use EDITOR: to register editors.

loading an EDITOR: does not set it as your editor; calling SET-EDITOR: does this.

"editors.ui" run ! will also set/change your editor

Recommended editor setup:

scaffold-factor-boot-rc

USE: editors
SET-EDITOR: visual-studio-code

15 months agoeditors: define EDITOR: and SET-EDITOR:
Doug Coleman [Sat, 28 Jan 2023 01:04:59 +0000 (19:04 -0600)]
editors: define EDITOR: and SET-EDITOR:

15 months agosyntax: redo INITIALIZE: as INITIALIZED-SYMBOL:
Doug Coleman [Sat, 28 Jan 2023 00:22:14 +0000 (18:22 -0600)]
syntax: redo INITIALIZE: as INITIALIZED-SYMBOL:

INITIALIZE: doesn't make much sense to me, but `INITIALIZED-SYMBOL: foo [ 10 ]`
seems better

15 months agofurnace.auth: add padding
John Benediktsson [Sat, 28 Jan 2023 03:32:45 +0000 (19:32 -0800)]
furnace.auth: add padding

15 months agoRevert "furnace.auth.login: adding some padding"
John Benediktsson [Sat, 28 Jan 2023 03:32:03 +0000 (19:32 -0800)]
Revert "furnace.auth.login: adding some padding"

This reverts commit 49017e7325318290f2e674711b6cd3c589bec261.

15 months agowebapps.mason: add some padding
John Benediktsson [Sat, 28 Jan 2023 03:18:23 +0000 (19:18 -0800)]
webapps.mason: add some padding

15 months agofurnace.auth.login: adding some padding
John Benediktsson [Sat, 28 Jan 2023 03:18:13 +0000 (19:18 -0800)]
furnace.auth.login: adding some padding

15 months agostrings.tables: add format-box test
John Benediktsson [Sat, 28 Jan 2023 00:34:52 +0000 (16:34 -0800)]
strings.tables: add format-box test

15 months agoio.streams.ansi: fix reset
John Benediktsson [Sat, 28 Jan 2023 00:30:18 +0000 (16:30 -0800)]
io.streams.ansi: fix reset

15 months agoio.streams.256color: faster color conversion, fix reset
John Benediktsson [Sat, 28 Jan 2023 00:28:13 +0000 (16:28 -0800)]
io.streams.256color: faster color conversion, fix reset

15 months agocore-foundation.fonts: my metadata files were there but i didnt commit them
Doug Coleman [Fri, 27 Jan 2023 23:18:16 +0000 (17:18 -0600)]
core-foundation.fonts: my metadata files were there but i didnt commit them

🧐

15 months agocore-foundation.fonts: adding platforms.txt
John Benediktsson [Fri, 27 Jan 2023 22:21:54 +0000 (14:21 -0800)]
core-foundation.fonts: adding platforms.txt

15 months agococoa: add NSFontManager and some words to use it
Doug Coleman [Fri, 27 Jan 2023 19:03:00 +0000 (13:03 -0600)]
cocoa: add NSFontManager and some words to use it

15 months agobootstrap.assembler.arm.windows: Need these symbols to bootstrap
Doug Coleman [Fri, 27 Jan 2023 00:37:09 +0000 (18:37 -0600)]
bootstrap.assembler.arm.windows: Need these symbols to bootstrap

15 months agocpu.arm.assembler: fix tests, add url to check arm64 opcode compilation
Doug Coleman [Thu, 26 Jan 2023 21:05:32 +0000 (15:05 -0600)]
cpu.arm.assembler: fix tests, add url to check arm64 opcode compilation

15 months agomodern.html: fix tests
Doug Coleman [Thu, 26 Jan 2023 20:05:06 +0000 (14:05 -0600)]
modern.html: fix tests

15 months agomodern.html: support cdata, support whitespace in child nodes
Doug Coleman [Thu, 26 Jan 2023 19:27:53 +0000 (13:27 -0600)]
modern.html: support cdata, support whitespace in child nodes

the following xml has a whitespace in the children that is significant:
`"resource:basis/xmode/modes/css.xml" utf8 [ string>html html>string ] rewrite-file`

15 months agoxmode.rules: throw error if there is no character for the string-matcher
Doug Coleman [Thu, 26 Jan 2023 18:18:53 +0000 (12:18 -0600)]
xmode.rules: throw error if there is no character for the string-matcher

good case before this:
<SEQ TYPE="NULL" DELEGATE="MAIN"> </SEQ>

bad case before this:
<SEQ TYPE="NULL" DELEGATE="MAIN"></SEQ>

Now both seem to work.

15 months agomodern: add a rewrite-file word
Doug Coleman [Thu, 26 Jan 2023 01:44:37 +0000 (19:44 -0600)]
modern: add a rewrite-file word

15 months agoARM64: Some more work
Giftpflanze [Thu, 26 Jan 2023 19:32:43 +0000 (19:32 +0000)]
ARM64: Some more work

bootstrap.assembler/arm.64:
Fix `jit-call`, `jit-call-quot` and retainstack primitives
Flesh out some more words

cpu.arm.assembler:
Fix branch instructions
64: Add `ADDr`, `LDRl32` and `MOVsp` instructions
opcodes: Delete ADDs-encode (does not exist)

vm/contexts.hpp: Align `callstack_bottom` to 16-byte boundary

15 months agowebapps.help: fix tabs on dark mode
John Benediktsson [Thu, 26 Jan 2023 19:25:57 +0000 (11:25 -0800)]
webapps.help: fix tabs on dark mode

15 months agohelp.tour: smaller channel ids
John Benediktsson [Thu, 26 Jan 2023 17:39:13 +0000 (09:39 -0800)]
help.tour: smaller channel ids

15 months agochannels.remote: 128 random-bits should be enough.
John Benediktsson [Thu, 26 Jan 2023 17:38:12 +0000 (09:38 -0800)]
channels.remote: 128 random-bits should be enough.

15 months agobase16/32/64: adding test cases from RFC 4648.
John Benediktsson [Thu, 26 Jan 2023 06:06:26 +0000 (22:06 -0800)]
base16/32/64: adding test cases from RFC 4648.

15 months agohelp.tour: specify mac keybindings
John Benediktsson [Thu, 26 Jan 2023 03:29:18 +0000 (19:29 -0800)]
help.tour: specify mac keybindings

15 months agowebapps.help: fix label width a different way
John Benediktsson [Thu, 26 Jan 2023 01:55:48 +0000 (17:55 -0800)]
webapps.help: fix label width a different way

15 months agographviz.render: ?delete-file already exists
Doug Coleman [Thu, 26 Jan 2023 00:11:17 +0000 (18:11 -0600)]
graphviz.render: ?delete-file already exists

15 months agobuild-from-source: delete some output files when we copy *.dll
Doug Coleman [Thu, 26 Jan 2023 00:11:03 +0000 (18:11 -0600)]
build-from-source: delete some output files when we copy *.dll

15 months agobuild-from-source.windows: build cairo as part of building all
Doug Coleman [Wed, 25 Jan 2023 22:46:08 +0000 (16:46 -0600)]
build-from-source.windows: build cairo as part of building all

15 months agobuild-from-source.windows: use dll names as the libraries themselves
Doug Coleman [Wed, 25 Jan 2023 20:58:06 +0000 (14:58 -0600)]
build-from-source.windows: use dll names as the libraries themselves
build them

15 months agoffi: remove lib from names since they build that way
Doug Coleman [Wed, 25 Jan 2023 20:50:39 +0000 (14:50 -0600)]
ffi: remove lib from names since they build that way

15 months agobuild-from-source.windows: compile cairo dll
Doug Coleman [Wed, 25 Jan 2023 20:48:36 +0000 (14:48 -0600)]
build-from-source.windows: compile cairo dll

15 months agoeditors.visual-studio-code: last one loaded wins
Doug Coleman [Wed, 25 Jan 2023 20:46:58 +0000 (14:46 -0600)]
editors.visual-studio-code: last one loaded wins

my win32 load-all loaded the vscode-exploration version and i was
stuck with it til i debugged

15 months agowebapps.planet: less blockquote margins on mobile
John Benediktsson [Thu, 26 Jan 2023 00:38:04 +0000 (16:38 -0800)]
webapps.planet: less blockquote margins on mobile

15 months agomongodb: fix bson usings
John Benediktsson [Thu, 26 Jan 2023 00:29:43 +0000 (16:29 -0800)]
mongodb: fix bson usings

15 months agowebapps.help: tabs on mobile are better
John Benediktsson [Thu, 26 Jan 2023 00:26:41 +0000 (16:26 -0800)]
webapps.help: tabs on mobile are better

15 months agojson: fix a few usings
John Benediktsson [Thu, 26 Jan 2023 00:04:32 +0000 (16:04 -0800)]
json: fix a few usings

15 months agobase64: use while*
John Benediktsson [Thu, 26 Jan 2023 00:04:06 +0000 (16:04 -0800)]
base64: use while*

15 months agoquiz: slightly rename
John Benediktsson [Wed, 25 Jan 2023 23:22:35 +0000 (15:22 -0800)]
quiz: slightly rename

15 months agoci.run-process: rename to process-autopsy
John Benediktsson [Wed, 25 Jan 2023 19:18:37 +0000 (11:18 -0800)]
ci.run-process: rename to process-autopsy

15 months agoci.docker: move to docker vocab
John Benediktsson [Wed, 25 Jan 2023 19:12:04 +0000 (11:12 -0800)]
ci.docker: move to docker vocab

15 months agojson: merging reader/writer for simplicity
John Benediktsson [Wed, 25 Jan 2023 19:10:23 +0000 (11:10 -0800)]
json: merging reader/writer for simplicity

15 months agoquiz: some cleanup, adding country-name quizzes
John Benediktsson [Wed, 25 Jan 2023 19:09:48 +0000 (11:09 -0800)]
quiz: some cleanup, adding country-name quizzes

15 months agobson: merging reader/writer for simplicity
John Benediktsson [Wed, 25 Jan 2023 19:03:36 +0000 (11:03 -0800)]
bson: merging reader/writer for simplicity

15 months agounicode.flags: adding country>flag and flag>country
John Benediktsson [Wed, 25 Jan 2023 18:38:25 +0000 (10:38 -0800)]
unicode.flags: adding country>flag and flag>country

15 months agowrite_barrier: fix typo
Doug Coleman [Wed, 25 Jan 2023 15:37:30 +0000 (09:37 -0600)]
write_barrier: fix typo

15 months agoslot_visitor: oops case statement
Doug Coleman [Wed, 25 Jan 2023 15:37:21 +0000 (09:37 -0600)]
slot_visitor: oops case statement

15 months agoslot_visitor: back to how we found it yesterday
Doug Coleman [Wed, 25 Jan 2023 15:26:14 +0000 (09:26 -0600)]
slot_visitor: back to how we found it yesterday

15 months agolayouts.hpp: Fix off-by-on comment; header is 6bits, hashcode is the rest
Doug Coleman [Wed, 25 Jan 2023 14:58:08 +0000 (08:58 -0600)]
layouts.hpp: Fix off-by-on comment; header is 6bits, hashcode is the rest

(don't skip a bit)

15 months agovocabs.prettyprint: minor aesthetics
John Benediktsson [Wed, 25 Jan 2023 14:40:27 +0000 (06:40 -0800)]
vocabs.prettyprint: minor aesthetics

15 months agoPrint auto-use message to stderr
Bubbler-4 [Wed, 25 Jan 2023 06:38:55 +0000 (06:38 +0000)]
Print auto-use message to stderr

15 months agocpu.arm.assembler: move the tests around to 64bit arm
Doug Coleman [Wed, 25 Jan 2023 14:17:34 +0000 (08:17 -0600)]
cpu.arm.assembler: move the tests around to 64bit arm