]> gitweb.factorcode.org Git - factor.git/log
factor.git
13 months agovm:remove w4 from nmakefile w4-warnings 2774/head
razetime [Wed, 15 Mar 2023 05:23:33 +0000 (10:53 +0530)]
vm:remove w4 from nmakefile

13 months agovm: nmakefile \W4 warning related changes
razetime [Wed, 15 Mar 2023 05:22:36 +0000 (10:52 +0530)]
vm: nmakefile \W4 warning related changes

14 months agovm: more descriptive renames 2762/head
Razetime [Tue, 28 Feb 2023 17:26:46 +0000 (22:56 +0530)]
vm: more descriptive renames

14 months agobasic shadowed name changes
Razetime [Sun, 12 Feb 2023 15:39:05 +0000 (21:09 +0530)]
basic shadowed name changes

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

15 months agobootstrap.assembler.arm.64: use 0xabcd instead of 9999 to see it in lldb
Doug Coleman [Wed, 25 Jan 2023 05:17:06 +0000 (23:17 -0600)]
bootstrap.assembler.arm.64: use 0xabcd instead of 9999 to see it in lldb

workflow from intel factor to qemu mac (set up ssh key):

USE: qw
"unix-arm.64" make-image
qw{ scp boot.unix-arm.64.image erg@192.168.64.4:factor } try-process

workflow on qemu mac:
lldb ./factor
run -i=boot.unix-arm.64.image

15 months agoarm: update gifti's changes to not have the "64" suffix
Doug Coleman [Wed, 25 Jan 2023 05:07:45 +0000 (23:07 -0600)]
arm: update gifti's changes to not have the "64" suffix

15 months agobootstrap: update for new arm64 conventions
Doug Coleman [Wed, 25 Jan 2023 04:44:24 +0000 (22:44 -0600)]
bootstrap: update for new arm64 conventions

15 months agocpu.arm.assembler: common code goes here, 32/64-specific code is in its own files
Doug Coleman [Wed, 25 Jan 2023 04:35:46 +0000 (22:35 -0600)]
cpu.arm.assembler: common code goes here, 32/64-specific code is in its own files

As suggested by gifti, we can have names for the assembler that correspond
to the opcodes and we can further remove the 32/64 split since most code
should only use one or the other.

15 months agocpu.arm.assembler.opcodes: there's is only one version of the LDPSW opcode not 32/64
Doug Coleman [Wed, 25 Jan 2023 04:34:25 +0000 (22:34 -0600)]
cpu.arm.assembler.opcodes: there's is only one version of the LDPSW opcode not 32/64

15 months agoit now compiles to something sensible
Giftpflanze [Wed, 25 Jan 2023 01:36:47 +0000 (01:36 +0000)]
it now compiles to something sensible

15 months agoMake it compile
Giftpflanze [Tue, 24 Jan 2023 15:37:36 +0000 (15:37 +0000)]
Make it compile

15 months agoCALLBACK-STUB: some literal translations
Giftpflanze [Mon, 23 Jan 2023 20:57:30 +0000 (20:57 +0000)]
CALLBACK-STUB: some literal translations

15 months agoslot_visitor: reorder to layouts.hpp order
Doug Coleman [Wed, 25 Jan 2023 00:02:55 +0000 (18:02 -0600)]
slot_visitor: reorder to layouts.hpp order

15 months agovm: Some of the slot_counts() are obviously wrong?
Doug Coleman [Wed, 25 Jan 2023 00:01:05 +0000 (18:01 -0600)]
vm: Some of the slot_counts() are obviously wrong?

15 months agoRevert "vm/slot_visitor: handle F_TYPE, the only unhandled type"
Doug Coleman [Tue, 24 Jan 2023 23:02:18 +0000 (17:02 -0600)]
Revert "vm/slot_visitor: handle F_TYPE, the only unhandled type"

This reverts commit f62df26e9463f718a2ed61fd704f167867871e80.

15 months agoRevert "vm/slot_visitor: also handle FIXNUM_TYPE"
Doug Coleman [Tue, 24 Jan 2023 23:02:12 +0000 (17:02 -0600)]
Revert "vm/slot_visitor: also handle FIXNUM_TYPE"

This reverts commit f28442bd9f1df68c3e0493b6554bdecbadea5f90.

15 months agosemver: tweak tests
John Benediktsson [Tue, 24 Jan 2023 22:31:11 +0000 (14:31 -0800)]
semver: tweak tests

15 months agosemver: nicer api
John Benediktsson [Tue, 24 Jan 2023 22:29:17 +0000 (14:29 -0800)]
semver: nicer api

15 months agosemver: default to -# prerelease releases
John Benediktsson [Tue, 24 Jan 2023 22:10:38 +0000 (14:10 -0800)]
semver: default to -# prerelease releases

15 months agocompression.inflate: use <array> instead of replicate
John Benediktsson [Tue, 24 Jan 2023 21:25:28 +0000 (13:25 -0800)]
compression.inflate: use <array> instead of replicate

15 months agosemver: more tests, some cleanup, simplify
John Benediktsson [Tue, 24 Jan 2023 21:24:54 +0000 (13:24 -0800)]
semver: more tests, some cleanup, simplify