Directories
¶
| Path | Synopsis |
|---|---|
|
Package access is jamb's platform-neutral accessibility model.
|
Package access is jamb's platform-neutral accessibility model. |
|
accesstest
Package accesstest has helpers for tests that check an access tree: find a node by its role and name, and assert its role, name and states.
|
Package accesstest has helpers for tests that check an access tree: find a node by its role and name, and assert its role, name and states. |
|
Package actions holds the actions of jamb's text fields and text areas: the commands their keys run, such as Undo, Copy and MoveWordLeft, and those of a DataGrid, GridCopy and GridCopyWithHeaders.
|
Package actions holds the actions of jamb's text fields and text areas: the commands their keys run, such as Undo, Copy and MoveWordLeft, and those of a DataGrid, GridCopy and GridCopyWithHeaders. |
|
Package app runs a jamb application: it opens native windows, creates the GPU renderer and drives one ui runtime per window.
|
Package app runs a jamb application: it opens native windows, creates the GPU renderer and drives one ui runtime per window. |
|
Package charts draws charts with ui.Canvas: line, area, bar (grouped and stacked, vertical and horizontal), scatter, pie and donut, radar, candlestick and Sankey charts.
|
Package charts draws charts with ui.Canvas: line, area, bar (grouped and stacked, vertical and horizontal), scatter, pie and donut, radar, candlestick and Sankey charts. |
|
cmd
|
|
|
jamb
module
|
|
|
Package codeedit is a code editor for jamb: a multi-line text area for source code, with a line-indexed text buffer, undo and redo, several selections, find and replace, folding by indentation, and syntax highlighting.
|
Package codeedit is a code editor for jamb: a multi-line text area for source code, with a line-indexed text buffer, undo and redo, several selections, find and replace, folding by indentation, and syntax highlighting. |
|
highlight
Package highlight colors the text of a code editor with @pierre/highlights, a syntax highlighter of the Pierre Computer Company with a lexer for each of 76 languages, which runs in WebAssembly (see codeedit/internal/lexer).
|
Package highlight colors the text of a code editor with @pierre/highlights, a syntax highlighter of the Pierre Computer Company with a lexer for each of 76 languages, which runs in WebAssembly (see codeedit/internal/lexer). |
|
internal/lexer
Package lexer runs @pierre/highlights, the syntax highlighter of the Pierre Computer Company (https://github.com/pierrecomputer/pierre, Apache-2.0).
|
Package lexer runs @pierre/highlights, the syntax highlighter of the Pierre Computer Company (https://github.com/pierrecomputer/pierre, Apache-2.0). |
|
internal/lexer/update
command
Command update downloads a release of @pierre/highlights from the npm registry and writes its WebAssembly module, license and tables into the lexer package:
|
Command update downloads a release of @pierre/highlights from the npm registry and writes its WebAssembly module, license and tables into the lexer package: |
|
Package devtools links the development tools into an application: the visual inspector, the control channel, the state that survives jamb dev's restarts (package devtools/hot; not in a web build, see hot.go), and the scenes of package scene (see docs/tools.md, "Scenes").
|
Package devtools links the development tools into an application: the visual inspector, the control channel, the state that survives jamb dev's restarts (package devtools/hot; not in a web build, see hot.go), and the scenes of package scene (see docs/tools.md, "Scenes"). |
|
hot
Package hot keeps an app's state across the restarts of `jamb dev`: every signal the app makes with ui.NewSignal, and every ui.Local, has the value it had before the restart, with no code in the app.
|
Package hot keeps an app's state across the restarts of `jamb dev`: every signal the app makes with ui.NewSignal, and every ui.Local, has the value it had before the restart, with no code in the app. |
|
Package dialog describes the native dialogs an app opens from a window: file open, file save, folder pick and message boxes.
|
Package dialog describes the native dialogs an app opens from a window: file open, file save, folder pick and message boxes. |
|
Package ease has easing functions for animation.
|
Package ease has easing functions for animation. |
|
Package icons provides the Lucide icon set (https://lucide.dev, ISC license): every Lucide icon as icons.<CamelName>, such as icons.ArrowDown, and a rasterizer that draws them as anti-aliased coverage masks.
|
Package icons provides the Lucide icon set (https://lucide.dev, ISC license): every Lucide icon as icons.<CamelName>, such as icons.ArrowDown, and a rasterizer that draws them as anti-aliased coverage masks. |
|
Package input defines the platform-neutral input vocabulary shared by the platform adapters and the ui package: keys, mouse buttons, modifiers and cursor shapes.
|
Package input defines the platform-neutral input vocabulary shared by the platform adapters and the ui package: keys, mouse buttons, modifiers and cursor shapes. |
|
internal
|
|
|
changelog
command
Command changelog keeps the unreleased entries of CHANGELOG.md in fragment files, one per change, so that pull requests made at the same time never edit the same lines.
|
Command changelog keeps the unreleased entries of CHANGELOG.md in fragment files, one per change, so that pull requests made at the same time never edit the same lines. |
|
devhook
Package devhook connects the development tools to the packages they watch, without those packages importing the tools.
|
Package devhook connects the development tools to the packages they watch, without those packages importing the tools. |
|
dmabuf
Package dmabuf describes the hand-off of GPU-rendered frames to a window system as Linux dma-bufs.
|
Package dmabuf describes the hand-off of GPU-rendered frames to a window system as Linux dma-bufs. |
|
iconsheet
command
Command iconsheet renders every built-in icon to a PNG contact sheet:
|
Command iconsheet renders every built-in icon to a PNG contact sheet: |
|
inspect
Package inspect is the data of the visual inspector (see app/inspect.go): what it shows about an element of an inspected window, and the frame timings of the window.
|
Package inspect is the data of the visual inspector (see app/inspect.go): what it shows about an element of an inspected window, and the frame timings of the window. |
|
layout
Package layout is a small flexbox-style layout engine.
|
Package layout is a small flexbox-style layout engine. |
|
lucidegen
command
Command lucidegen writes the Lucide icons of the icons package from the SVG files of a pinned Lucide release.
|
Command lucidegen writes the Lucide icons of the icons package from the SVG files of a pinned Lucide release. |
|
notifyscheme
Package notifyscheme derives the URI scheme that a click on a jamb app's notification starts the app with.
|
Package notifyscheme derives the URI scheme that a click on a jamb app's notification starts the app with. |
|
platform
Package platform defines the framework-owned contract between the cross-platform core and an operating-system adapter.
|
Package platform defines the framework-owned contract between the cross-platform core and an operating-system adapter. |
|
platform/darwin
Package darwin will hold the macOS (Cocoa + Metal) adapter.
|
Package darwin will hold the macOS (Cocoa + Metal) adapter. |
|
platform/headless
Package headless is a platform adapter whose windows exist only in memory: nothing appears on the screen, no window takes the keyboard focus, and the CPU renderer (render/soft) draws each frame into a buffer the window owns.
|
Package headless is a platform adapter whose windows exist only in memory: nothing appears on the screen, no window takes the keyboard focus, and the CPU renderer (render/soft) draws each frame into a buffer the window owns. |
|
platform/linux
Package linux is the Linux platform adapter, for Wayland compositors.
|
Package linux is the Linux platform adapter, for Wayland compositors. |
|
platform/linux/wl
Package wl is a small Wayland client: the wire protocol over the compositor's Unix socket, in pure Go, with no libwayland.
|
Package wl is a small Wayland client: the wire protocol over the compositor's Unix socket, in pure Go, with no libwayland. |
|
platform/web
Package web is the platform adapter of a web page: a js build of an app, run in a browser.
|
Package web is the platform adapter of a web page: a js build of an app, run in a browser. |
|
platform/windows
Package windows is the Win32 platform adapter.
|
Package windows is the Win32 platform adapter. |
|
render
Package render defines the framework-owned renderer contract.
|
Package render defines the framework-owned renderer contract. |
|
render/d3d11
Package d3d11 is the Direct3D 11 backend for render.Renderer.
|
Package d3d11 is the Direct3D 11 backend for render.Renderer. |
|
render/rendertest
Package rendertest holds scenes that the renderers' tests and benchmarks draw, so the CPU and GPU renderers are measured and compared on the same frames.
|
Package rendertest holds scenes that the renderers' tests and benchmarks draw, so the CPU and GPU renderers are measured and compared on the same frames. |
|
render/soft
Package soft is a CPU renderer: it draws scene primitives into memory in pure Go, with no GPU and no system library.
|
Package soft is a CPU renderer: it draws scene primitives into memory in pure Go, with no GPU and no system library. |
|
render/vulkan
Package vulkan is the Vulkan backend for render.Renderer, for Linux.
|
Package vulkan is the Vulkan backend for render.Renderer, for Linux. |
|
render/webgl
Package webgl draws scenes with WebGL 2 into a canvas of a web page.
|
Package webgl draws scenes with WebGL 2 into a canvas of a web page. |
|
rope
Package rope implements a persistent rope for UTF-8 text, the text buffer behind a code editor.
|
Package rope implements a persistent rope for UTF-8 text, the text buffer behind a code editor. |
|
scene
Package scene holds the small set of GPU-friendly primitives the ui package paints into and a renderer draws from.
|
Package scene holds the small set of GPU-friendly primitives the ui package paints into and a renderer draws from. |
|
stylegen
command
Command stylegen writes ui/style_merge_gen.go: the mergeFrom and layered methods of each widget style type (a struct named ...Style whose fields are Styles, other widget style types, or float32 sizes).
|
Command stylegen writes ui/style_merge_gen.go: the mergeFrom and layered methods of each widget style type (a struct named ...Style whose fields are Styles, other widget style types, or float32 sizes). |
|
svg
Package svg draws static SVG images with internal/vector: shapes, paths, groups and use, transforms, fills and strokes with colors and linear and radial gradients, opacity, clip paths, and the presentation attributes, style attributes and simple style sheets that design tools write.
|
Package svg draws static SVG images with internal/vector: shapes, paths, groups and use, transforms, fills and strokes with colors and linear and radial gradients, opacity, clip paths, and the presentation attributes, style attributes and simple style sheets that design tools write. |
|
syntaxname
Package syntaxname finds the style of a syntax token name in a theme's syntax map, for the code editor and the Markdown view.
|
Package syntaxname finds the style of a syntax token name in a theme's syntax map, for the code editor and the Markdown view. |
|
text
Package text loads fonts, lays out and measures text, and rasterizes glyphs (and other coverage masks such as icons) into a shared atlas.
|
Package text loads fonts, lays out and measures text, and rasterizes glyphs (and other coverage masks such as icons) into a shared atlas. |
|
themegen
command
Command themegen converts the predefined themes of GPUI Kit (formerly gpui-component) into jamb themes.
|
Command themegen converts the predefined themes of GPUI Kit (formerly gpui-component) into jamb themes. |
|
uihost
Package uihost connects the app package to the methods of ui.Runtime that only a window host calls: the wake-up function, platform services, the cursor, window focus and the window areas of a custom title bar.
|
Package uihost connects the app package to the methods of ui.Runtime that only a window host calls: the wake-up function, platform services, the cursor, window focus and the window areas of a custom title bar. |
|
vector
Package vector draws paths into pixels on the CPU: fills with the nonzero or even-odd rule, strokes with joins, caps and dashes, solid colors and linear and radial gradients, clipping and group opacity.
|
Package vector draws paths into pixels on the CPU: fills with the nonzero or even-odd rule, strokes with joins, caps and dashes, solid colors and linear and radial gradients, clipping and group opacity. |
|
watch
Package watch reports changes to the files in a directory.
|
Package watch reports changes to the files in a directory. |
|
webcheck
command
Command webcheck draws a page of cards in a js build and prints a hash of its pixels, for the web build's CI job (scripts/web/check.sh).
|
Command webcheck draws a page of cards in a js build and prints a hash of its pixels, for the web build's CI job (scripts/web/check.sh). |
|
webcheck/fields
command
Command fields is a page of text fields for the web build's browser check (scripts/web/browser.cjs): on an iPhone, the editable element over each lays its text out as the field does, which the check compares, at every character boundary, with where the field puts its caret.
|
Command fields is a page of text fields for the web build's browser check (scripts/web/browser.cjs): on an iPhone, the editable element over each lays its text out as the field does, which the check compares, at every character boundary, with where the field puts its caret. |
|
win32
Package win32 is a minimal, cgo-free binding to the Win32 calls the Windows adapter needs.
|
Package win32 is a minimal, cgo-free binding to the Win32 calls the Windows adapter needs. |
|
Package keymap sets key bindings from JSON files, so users can change shortcuts without code.
|
Package keymap sets key bindings from JSON files, so users can change shortcuts without code. |
|
Package markdown shows Markdown as jamb elements: a read-only view of a document in CommonMark, with the GitHub extensions for tables, strikethrough, task lists, autolinks and footnotes.
|
Package markdown shows Markdown as jamb elements: a read-only view of a document in CommonMark, with the GitHub extensions for tables, strikethrough, task lists, autolinks and footnotes. |
|
mdcode
Package mdcode colors the code blocks of a Markdown view with the highlighter of jamb's code editor:
|
Package mdcode colors the code blocks of a Markdown view with the highlighter of jamb's code editor: |
|
Package proc starts other programs from an app without flashing console windows.
|
Package proc starts other programs from an app without flashing console windows. |
|
Package scene names starting states of an app's UI, such as an empty inbox, a long list or an error, so that development tools can open the app straight into one: `JAMB_SCENE=Inbox/Empty jamb dev`, `jamb ctl scene name=Inbox/Empty`, or a test that renders the scene's root.
|
Package scene names starting states of an app's UI, such as an empty inbox, a long list or an error, so that development tools can open the app straight into one: `JAMB_SCENE=Inbox/Empty jamb dev`, `jamb ctl scene name=Inbox/Empty`, or a test that renders the scene's root. |
|
uitest
Package uitest drives a jamb UI headlessly in tests: it renders a root component in a ui.Runtime of a given size, steps a clock of its own, finds elements by key, accessible name or role, acts on them as a user does, and reads what they show, their accessibility states and how they were drawn.
|
Package uitest drives a jamb UI headlessly in tests: it renders a root component in a ui.Runtime of a given size, steps a clock of its own, finds elements by key, accessible name or role, acts on them as a user does, and reads what they show, their accessibility states and how they were drawn. |
Click to show internal directories.
Click to hide internal directories.