8000 V4 rewrite by dominikwilkowski · Pull Request #90 · dominikwilkowski/cfonts · GitHub
[go: up one dir, main page]

Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
335 commits
Select commit Hold shift + click to select a range
b6f605a
added args for cli parsing, added all proc macro
dominikwilkowski Aug 9, 2026
06ac720
added macro for help, shut down text field as private, added first ou…
dominikwilkowski Aug 9, 2026
f27c24b
Added from_name and parse_argument, added skip to all macro
dominikwilkowski Aug 10, 2026
36c9630
moved cli into it’s own module, fixed up color parsing with mid-step …
dominikwilkowski Aug 11, 2026
2787cd3
started on parser
dominikwilkowski Aug 11, 2026
0461d79
fixed help and version flag, added helper tests
dominikwilkowski Aug 11, 2026
4cbfb06
fixed version and help in args
dominikwilkowski Aug 11, 2026
2ab16a6
short flags todo
dominikwilkowski Aug 11, 2026
52b1327
fxied clippy and test
dominikwilkowski Aug 11, 2026
65dd795
finished cli parser for short flags
dominikwilkowski Aug 11, 2026
4d3bd46
added back simple font
dominikwilkowski Aug 11, 2026
39533a4
added transition presets back into CLI
dominikwilkowski Aug 12, 2026
01aff96
added tests from old version to make sure things work
dominikwilkowski Aug 12, 2026
14e3f3f
made text not positional anymore
dominikwilkowski Aug 13, 2026
f14f4a2
added stdin flags
dominikwilkowski Aug 13, 2026
5268780
added help, fixed a bunch of bugs while going through it all
dominikwilkowski Aug 14, 2026
c55f566
fixed error messages to adhear to NO_COLOR and max column size
dominikwilkowski Aug 14, 2026
e3c4f6d
added raw mode support
dominikwilkowski Aug 14, 2026
53fa7f8
fmt
dominikwilkowski Aug 15, 2026
ebdb3e7
added error for stdin flag in block position
dominikwilkowski Aug 15, 2026
9029c49
removed debug flag
dominikwilkowski Aug 15, 2026
3d394d6
unified uppercasing of text, simplified CliBlockOptions without dupli…
dominikwilkowski Aug 16, 2026
6d4d8d2
unified color parsing into one place
dominikwilkowski Aug 16, 2026
97bb6ab
fixed max-length=0
dominikwilkowski Aug 16, 2026
06ad4ae
fixed --stdin bug for first block
dominikwilkowski Aug 16, 2026
3afac81
fixed color parsing, text error message improvements
dominikwilkowski Aug 16, 2026
6481f1b
fixed color support detection for errors, aligned node host with spec
dominikwilkowski Aug 16, 2026
8223a15
added error for short flags so error display is correct
dominikwilkowski Aug 10000 16, 2026
7928748
added docs, fixed pub/pub(crate)
dominikwilkowski Aug 17, 2026
1d48210
consolidated some parsing and helpers
dominikwilkowski Aug 17, 2026
d6aba1b
clean up comments
dominikwilkowski Aug 17, 2026
1081806
donty style emtpy text segments
dominikwilkowski Aug 17, 2026
116d2f5
restricted color types to crate only
dominikwilkowski Aug 18, 2026
acba042
EnvironmentKind for wasm
dominikwilkowski Aug 18, 2026
526e8f3
font tests
dominikwilkowski Aug 18, 2026
fc2fdce
fixed pallet glyph mixup
dominikwilkowski Aug 19, 2026
ec6649c
renamed API to align with CLI arguments
dominikwilkowski Aug 20, 2026
69ba51e
made supported characters and new line char public API
dominikwilkowski Aug 22, 2026
9eb9202
fixed bug where empty input in a block would add buffers
dominikwilkowski Aug 22, 2026
65c7157
fixed bug where gradient would break with two line breaks
dominikwilkowski Aug 22, 2026
5667cdf
added error for empty delimiter
dominikwilkowski Aug 22, 2026
e4f04cc
fixed error for broken pipes
dominikwilkowski Aug 22, 2026
72e8986
removed supports-color crate as it was buggy
dominikwilkowski Aug 23, 2026
8088762
merged color decision with detection and cleaned up
dominikwilkowski Aug 23, 2026
54dab9d
reordered fonts for help
dominikwilkowski Aug 25, 2026
cd673d6
fixed help to detect colors properly
dominikwilkowski Aug 26, 2026
5f0dc9c
fixed cube calculation for colors
dominikwilkowski Aug 26, 2026
e7de87c
fixed cfonts for broken pipes, added tests
dominikwilkowski Aug 26, 2026
6d875a7
fixed fmt warnings
dominikwilkowski Aug 26, 2026
e49ff87
fixed ratatui features
dominikwilkowski Aug 26, 2026
0e377ea
fixed one color that produced a funny conversion
dominikwilkowski Aug 26, 2026
5312471
made set_text pub
dominikwilkowski Aug 26, 2026
77b554e
renamed font tests as prefix was already in module path
dominikwilkowski Aug 26, 2026
30ca3b5
made ts API more pemissive
dominikwilkowski Aug 26, 2026
4896d7c
set MSRV
dominikwilkowski Aug 26, 2026
7fa7f5e
fixed up readme and lincense inclusion in all crates/package
dominikwilkowski Aug 26, 2026
bb0ed1b
fixed up helpers
dominikwilkowski Aug 27, 2026
daed882
consolidated helpers
dominikwilkowski Aug 27, 2026
c26295b
fixed ratatui example
dominikwilkowski Aug 27, 2026
e068db1
added binary end2end test
dominikwilkowski Aug 28, 2026
82d9d01
added terminal_canvas_width
dominikwilkowski Aug 28, 2026
e1fde53
removed dependency, added windows test
dominikwilkowski Aug 28, 2026
51b4d16
fixing windows test without local windows
dominikwilkowski Aug 28, 2026
81a8956
fixing windows, still
dominikwilkowski Aug 28, 2026
c700a05
fixed line height for console font
dominikwilkowski Aug 28, 2026
b224d4c
renamed glyph macro, added bubble font
dominikwilkowski Aug 29, 2026
f191332
added retro font, added empty color tag test
dominikwilkowski Aug 29, 2026
5f12b58
tweaked retro font glyphs
dominikwilkowski Aug 29, 2026
bd31aec
added test for fonts with colors per row
dominikwilkowski Aug 29, 2026
2ed3fb6
removed test that didn’t test anything
dominikwilkowski Aug 29, 2026
bc04af0
added braille font
dominikwilkowski Aug 29, 2026
639192a
added new font dense
dominikwilkowski Aug 30, 2026
c81b082
fixed slash in braille
dominikwilkowski Aug 30, 2026
c1aff0b
half finished board font
dominikwilkowski Aug 30, 2026
7a3f253
added more tests, finished board font
dominikwilkowski Aug 31, 2026
4f954b4
added comment
dominikwilkowski Sep 1, 2026
deba3d4
added edge font
dominikwilkowski Sep 1, 2026
970d32d
added thin, fixed edge char
dominikwilkowski Sep 1, 2026
3ac200b
Added depth font
dominikwilkowski Sep 3, 2026
3120b6f
added neat font
dominikwilkowski Sep 3, 2026
016f114
fixed small bugs in fonts
dominikwilkowski Sep 3, 2026
b23d473
more font fixes
dominikwilkowski Sep 3, 2026
6af9c11
another fix for simple 3d font
dominikwilkowski Sep 3, 2026
b753d7c
a few more fixes and two more tests
dominikwilkowski Sep 3, 2026
65a6760
added demo command
dominikwilkowski Sep 4, 2026
fbd99f3
fixed up demo
dominikwilkowski Sep 4, 2026
4924052
fixed up simpleBlock font height
dominikwilkowski Sep 4, 2026
8c2745c
demo help
dominikwilkowski Sep 4, 2026
5d9099c
removed simple3d font
dominikwilkowski Sep 5, 2026
1c6dea6
fixed depth glyphs
dominikwilkowski Sep 5, 2026
4f8611e
fixed demo help
dominikwilkowski Sep 5, 2026
cecd84f
changed howe gradients are set in the CLI, made help more helpful
dominikwilkowski Sep 6, 2026
9bf7006
tweaked help
dominikwilkowski Sep 6, 2026
8ce9565
fixed help test and reset
dominikwilkowski Sep 6, 2026
a51463f
added background with gradient, fixed imports
dominikwilkowski Sep 7, 2026
79edb0f
browser support for background gradients
dominikwilkowski Sep 7, 2026
00c4e8c
fixed up help
dominikwilkowski Sep 7, 2026
00a7a50
added bright colors for background gradients
dominikwilkowski Sep 7, 2026
945b6f9
fixed a comment
dominikwilkowski Sep 7, 2026
4a96f17
tweaked help
dominikwilkowski Sep 7, 2026
c4dde88
added background for code snippets
dominikwilkowski Sep 7, 2026
129e2ab
added background to wasm
dominikwilkowski Sep 7, 2026
dc557c4
cleaned up infos
dominikwilkowski Sep 7, 2026
ebaa815
added tests for helpers
dominikwilkowski Sep 8, 2026
70a4b45
working on tests
dominikwilkowski Sep 9, 2026
612074e
fixed node setters
dominikwilkowski Sep 9, 2026
0d3b926
finished node example file
dominikwilkowski Sep 9, 2026
1a335fc
aligned cli and API to use `next` instead of `new_text`
dominikwilkowski Sep 9, 2026
cfc0f38
added host overwrite example
dominikwilkowski Sep 9, 2026
4ecbf8b
finished nodejs examples
dominikwilkowski Sep 11, 2026
9c4cb01
added one comment around env vars
dominikwilkowski Sep 11, 2026
aed8122
bumped dependencies, added tests for more rust/node versions
dominikwilkowski Sep 12, 2026 10000
ae431a1
added bridge font
dominikwilkowski Sep 12, 2026
246d340
added rust example
dominikwilkowski Sep 12, 2026
6e2050c
aligned cli and node examples, fixed raw mode in node
dominikwilkowski Sep 13, 2026
4cf9fc1
removed examples not needed, fixed up ratatui example
dominikwilkowski Sep 14, 2026
9d45453
added seed to node API, added to examples
dominikwilkowski Sep 14, 2026
6594bb9
changes for browser example
dominikwilkowski Sep 14, 2026
7d4f3a0
added word-wrap drop of spaces
dominikwilkowski Sep 15, 2026
a365a08
improved the browser example
dominikwilkowski Sep 15, 2026
cfa0a18
added a heading to the tree
dominikwilkowski Sep 16, 2026
22be2fb
refreshed browser example
dominikwilkowski Sep 17, 2026
f93beb4
fixed browser demo
dominikwilkowski Sep 18, 2026
cea23c8
fixed up demo
dominikwilkowski Sep 18, 2026
2c9b05d
oops
dominikwilkowski Sep 18, 2026
0589d62
added forst font, slots_paint_only_their_material test
dominikwilkowski Sep 18, 2026
f897253
added wire font
dominikwilkowski Sep 19, 2026
962a214
added vision font
dominikwilkowski Sep 21, 2026
e8e5bc6
fixed up how to run examples
dominikwilkowski Sep 22, 2026
0de4eb0
fixed CI
dominikwilkowski Sep 22, 2026
04ea2ad
simplified the browser logo animation
dominikwilkowski Sep 25, 2026
79120e5
fixed up leptos example
dominikwilkowski Sep 26, 2026
12e2632
fixed depricated tsify call
dominikwilkowski Sep 28, 2026
759f26b
fixed order
dominikwilkowski Sep 29, 2026
f803ea3
aligned all components to use overrides consistently
dominikwilkowski Oct 1, 2026
86950bc
implemented color grammar into core
dominikwilkowski Oct 2, 2026
c7098eb
fixed hosts and env for consistency, massive change
dominikwilkowski Oct 3, 2026
e230a2a
added dixios example
dominikwilkowski Oct 3, 2026
9cbfb0b
added full test to make file
dominikwilkowski Oct 3, 2026
6d632e2
added gh-pages, updated dependencies in workflow file
dominikwilkowski Oct 3, 2026
facbae2
fixed inconsistencies between node and rust, added test for both, upd…
dominikwilkowski Oct 3, 2026
eb9f813
reducing wasm layer
dominikwilkowski Oct 4, 2026
7920c03
massive change in how colors are handled. I’m exhausted now
dominikwilkowski Oct 4, 2026
b4485a5
fixing up the WASM layer
dominikwilkowski Oct 5, 2026
10f12e7
comments
dominikwilkowski Oct 5, 2026
412bc4a
fixed a few node inconsistencies, simplified colors
dominikwilkowski Oct 6, 2026
bec40fa
added a topcoat example
dominikwilkowski Oct 7, 2026
03e811d
aligned ratatui example with others
dominikwilkowski Oct 7, 2026
1ab98e8
fixed ratatui component
dominikwilkowski Oct 7, 2026
9ac664a
moved to oxc toolchain
dominikwilkowski Oct 8, 2026
5637cac
fixed shade font bugs, added the right tests
dominikwilkowski Oct 9, 2026
f94af9b
fixed letter spacing
dominikwilkowski Oct 9, 2026
d53eab3
added perf
dominikwilkowski Oct 10, 2026
11cb1cf
working around allocations
dominikwilkowski Oct 10, 2026
a405bf4
new perf and compare data
dominikwilkowski Oct 10, 2026
3eed593
fixed compare cli output
dominikwilkowski Oct 10, 2026
83bd520
added flamegraph and release profile
dominikwilkowski Oct 10, 2026
c519ac1
made layout smaller
dominikwilkowski Oct 10, 2026
0ed446a
new font parsing, massive effort
dominikwilkowski Oct 11, 2026
3d0fc8c
make make help a little easier to read
dominikwilkowski Oct 11, 2026
8f96030
added tests for components
dominikwilkowski Oct 11, 2026
e659f4f
new compare data
dominikwilkowski Oct 11, 2026
92a6a1c
improved font lookup and release profile
dominikwilkowski Oct 12, 2026
348ced9
made letter spaces leaner
dominikwilkowski Oct 13, 2026
b604d18
skipped the gradient calculation on rows of the same width
dominikwilkowski Oct 14, 2026
02675bb
built no paint tables for renders that paint nuthin’
dominikwilkowski Oct 14, 2026
ebb3c5a
improved gray generation
dominikwilkowski Oct 16, 2026
f9db88d
compare styles before building them
dominikwilkowski Oct 17, 2026
38b75af
only do work on rows that could possibly have colors
dominikwilkowski Oct 17, 2026
4edfb75
removed two copies
dominikwilkowski Oct 17, 2026
a338ae0
renamed to target and Terminal
dominikwilkowski Oct 22, 2026
57423b0
updated npm script name
dominikwilkowski Oct 23, 2026
6ed7dfd
bumped dependencies
dominikwilkowski Oct 23, 2026
4d88f5a
moved process things into a process struct
dominikwilkowski Oct 24, 2026
a5749c4
organizing the wasm crate
dominikwilkowski Oct 24, 2026
b13fefc
cleaned up color modul
dominikwilkowski Oct 24, 2026
80ccd98
added a parse struct
dominikwilkowski Oct 24, 2026
4a38a8b
big cleaning
dominikwilkowski Oct 25, 2026
8735dcf
updated perf
dominikwilkowski Oct 25, 2026
432aa1a
tokens arm don’t check twice anymore
dominikwilkowski Oct 25, 2026
b8e13bd
use Cow for GradientState
dominikwilkowski Oct 25, 2026
66dd7c0
ramp is read once
dominikwilkowski Oct 25, 2026
cfc60e2
removed format macro calls from browser and browser_console targets
dominikwilkowski Oct 25, 2026
fae253c
added new perf profile
dominikwilkowski Oct 25, 2026
cffdcca
remove one allocation for delimiter search
dominikwilkowski Oct 25, 2026
09bcaba
found another allocation I could save :)
dominikwilkowski Oct 25, 2026
45a0dcc
simplified the gradient gap loop
dominikwilkowski Oct 25, 2026
340fb53
fixed len calls
dominikwilkowski Oct 25, 2026
1758ae9
new perf profile
dominikwilkowski Oct 25, 2026
9be39b1
one instead of two walks through domain
dominikwilkowski Oct 27, 2026
befc106
LayoutRow::span_columns owns the span column cursor
dominikwilkowski Oct 27, 2026
30d6ac0
Backdrop::Bare instead of Option<Backdrop>
dominikwilkowski Oct 27, 2026
e5a7354
One band lookup per row in render_rows
dominikwilkowski Oct 27, 2026
e4b221e
RowEvent lifetime on the impl so Self names the variants
dominikwilkowski Oct 28, 2026
3f4cad2
GradientPlans::paint_segment owns the window-paint-claim protocol
dominikwilkowski Oct 28, 2026
f1be9f2
GradientPlans::end_entry owns the entry-end claim
10000 dominikwilkowski Oct 29, 2026
a66b5d0
Module doc repeated the trait doc
dominikwilkowski Oct 29, 2026
cb0d775
A Layer enum for the terminal's two SGR layers, one push per code ope…
dominikwilkowski Oct 29, 2026
0cbe0de
One exit per web token hook
dominikwilkowski Oct 29, 2026
ed42736
A let chain instead of filter
dominikwilkowski Oct 29, 2026
b4f99bb
One joiner for the console's color and band
dominikwilkowski Oct 29, 2026
5b0d33d
Console declarations: one declaration home and a buffer sized once
dominikwilkowski Oct 29, 2026
bcd791c
The named color table leaves the terminal_rgb and terminal_color cycle
dominikwilkowski Oct 29, 2026
85dba63
Slot cells written directly in the plan's TerminalColor
dominikwilkowski Oct 29, 2026
0e99ead
Widget gradient cells through each_column and a direct cell write
dominikwilkowski Oct 29, 2026
1eee8e6
A blank run saturates like the alignment offset
dominikwilkowski Oct 29, 2026
c298c6a
Widget bands painted before the glyphs, the empty-composition special…
dominikwilkowski Oct 29, 2026
740653f
Hex parse without the throwaway String
dominikwilkowski Oct 29, 2026
2a77e98
One match for the hex fallback
dominikwilkowski Oct 29, 2026
2a132c5
The refusal asks for a slot-only name directly
dominikwilkowski Oct 29, 2026
706b595
to_rgb once, in impl<K: TakesSystem> Color<K>
dominikwilkowski Oct 29, 2026
f4117d3
ColorShape::Gradient hands the gradient over parsed
dominikwilkowski Oct 29, 2026
32e187b
Palette geometry spelled once
dominikwilkowski Oct 30, 2026
4ed44fb
NAMED_VALUES from the vocabulary instead of ANSI16
dominikwilkowski Oct 30, 2026
6e2106c
The banner's String is the screen
dominikwilkowski Oct 30, 2026
62579b0
removed string allocations from demo
dominikwilkowski Oct 30, 2026
a108980
compile_error! works in item and expression position
dominikwilkowski Oct 30, 2026
2e5cea4
a variant struct for the (String, Option<String>) pair
dominikwilkowski Oct 30, 2026
2cacada
the generated impl always lexes
dominikwilkowski Oct 30, 2026
f3b3bd7
LiteralText shared by both macros
dominikwilkowski Oct 30, 2026
98e9d4d
font!: prefix spelled once at the boundary
dominikwilkowski Oct 30, 2026
125b64f
fixed docs
dominikwilkowski Oct 30, 2026
dfa8109
Rendered::cross owns the crossing step
dominikwilkowski Oct 30, 2026
e8b181f
name lists collected straight into Vec
dominikwilkowski Oct 30, 2026
1b1274e
Self in the return types
dominikwilkowski Oct 30, 2026
7275687
infallible console write matched by the type
dominikwilkowski Oct 30, 2026
80687d7
wasm test cleaning and consolidation
dominikwilkowski Oct 30, 2026
75896c6
one environment lookup function, not a closure per render, docs
dominikwilkowski Oct 30, 2026
6babb3f
default trait for empty row
dominikwilkowski Oct 30, 2026
5f65f4e
removed LIST as duplicate
dominikwilkowski Oct 30, 2026
0784bc0
the font! pipeline at its entry
dominikwilkowski Oct 30, 2026
c52e663
target hooks take what they read: the level, not the context, paint d…
dominikwilkowski Oct 30, 2026
f48266a
RowEvent carries the row index and the row that ends
dominikwilkowski Oct 30, 2026
aed539f
only ANSI reset when needed
dominikwilkowski Oct 30, 2026
12f9d3a
Terminal stays inside the wasm crate
dominikwilkowski Oct 30, 2026
cc36ce0
All derive blames the token, not derive
dominikwilkowski Oct 30, 2026
5428795
Rendered crosses one way, the boundary test reads it the way JavaScri…
dominikwilkowski Oct 30, 2026
57b5876
staged block reads its height off the glyph
dominikwilkowski Oct 30, 2026
b391f54
preset are read from derived list
dominikwilkowski Oct 30, 2026
e0f36cf
All macro improvements
dominikwilkowski Oct 30, 2026
ceb40db
fixed Spelling borrow
dominikwilkowski Oct 30, 2026
0b715c2
row and wrapper hooks drop options
dominikwilkowski Oct 30, 2026
7a10e6e
added tests for macro
dominikwilkowski Oct 30, 2026
da88ef9
fixed overflow on large cli number input
dominikwilkowski Oct 31, 2026
560df43
improved help
dominikwilkowski Nov 1, 2026
cc0982f
cleaned up Blank
dominikwilkowski Nov 1, 2026
d8221ca
made too large error more generic
dominikwilkowski Nov 1, 2026
a6aa9d6
fixed force size env var type
dominikwilkowski Nov 1, 2026
045da1b
type is the same across and limit, no clampig
dominikwilkowski Nov 1, 2026
fd6170e
improved perf a little
dominikwilkowski Nov 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[registry]
global-min-publish-age = "48 hours"
30 changes: 30 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
version: 2

updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
day: monday
time: "06:00"
timezone: Australia/Brisbane
groups:
github-actions:
patterns:
- "*"

- package-ecosystem: cargo
directory: /
schedule:
interval: monthly
day: monday
time: "10:00"
timezone: Australia/Brisbane

- package-ecosystem: npm
directory: /
schedule:
interval: monthly
day: monday
time: "10:00"
timezone: Australia/Brisbane
Loading
Loading
0