From b35075f8a436f6a856ea37bf9101260d5cc31f19 Mon Sep 17 00:00:00 2001 From: tannevaled Date: Mon, 9 Nov 2026 13:22:42 +0100 Subject: [PATCH] Modules: gpupainter, lineedit and shellterm; twenty-two modules Three modules were missing from the Modules page in all seven languages: gpupainter (v0.4.0, since 2026-11-05) and lineedit and shellterm (new today, go-widgets/toolkit#548). Each now cross-compiles for the six 64-bit Linux architectures and gates at 100 %, as the page promises, so the counts become twenty libraries and tools and twenty-two modules. toolkit moves to v0.362.1. Status keeps its 2026-10-10 figures as they were then and says what changed since. Co-Authored-By: Claude Opus 5.5 --- content/de/_index.md | 2 +- content/de/modules.md | 11 +++++++---- content/de/status.md | 9 ++++++--- content/en/_index.md | 2 +- content/en/modules.md | 11 +++++++---- content/en/status.md | 7 +++++-- content/es/_index.md | 2 +- content/es/modules.md | 11 +++++++---- content/es/status.md | 9 ++++++--- content/fr/_index.md | 2 +- content/fr/modules.md | 11 +++++++---- content/fr/status.md | 7 +++++-- content/ja/_index.md | 2 +- content/ja/modules.md | 11 +++++++---- content/ja/status.md | 2 +- content/ko/_index.md | 2 +- content/ko/modules.md | 11 +++++++---- content/ko/status.md | 6 ++++-- content/zh-cn/_index.md | 2 +- content/zh-cn/modules.md | 11 +++++++---- content/zh-cn/status.md | 2 +- 21 files changed, 84 insertions(+), 49 deletions(-) diff --git a/content/de/_index.md b/content/de/_index.md index 46dee04c..f420ba1f 100644 --- a/content/de/_index.md +++ b/content/de/_index.md @@ -68,7 +68,7 @@ Plattformen cross-kompilieren lässt. | [Android]({{< relref "/surfaces/android.md" >}}) | eine echte APK, gezeichnet von einem CGO-freien Prozess | | [Snapshots]({{< relref "/surfaces/snapshots.md" >}}) | ein Widget als SVG oder PNG | | [Regeln, die die CI durchsetzt]({{< relref "/guard-rails/_index.md" >}}) | `mvvmlint` und `bricolint` | -| [Module]({{< relref "/modules.md" >}}) | alle neunzehn, mit ihren Quellen und Referenzen | +| [Module]({{< relref "/modules.md" >}}) | alle zweiundzwanzig, mit ihren Quellen und Referenzen | | [Stand]({{< relref "/status.md" >}}) | was wo geprüft ist und was noch fehlt | ## Lizenz {#licence} diff --git a/content/de/modules.md b/content/de/modules.md index 91bd15d8..7960a985 100644 --- a/content/de/modules.md +++ b/content/de/modules.md @@ -1,7 +1,7 @@ --- title: "Module" weight: 50 -description: "Die neunzehn Module von go-widgets, wofür jedes da ist und wo seine Quellen und seine API-Referenz liegen." +description: "Die zweiundzwanzig Module von go-widgets, wofür jedes da ist und wo seine Quellen und seine API-Referenz liegen." tags: [module] --- @@ -13,11 +13,14 @@ Schreibens – maßgeblich ist die Tag-Liste des jeweiligen Repositorys. | Modul | Tag | Was es ist | Referenz | |---|---|---|---| | [`painter`](https://github.com/go-widgets/painter) | v0.17.0 | [die Zeichenschnittstelle]({{< relref "/rendering/painter.md" >}}): Pixel- und Zellen-Painter | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/painter) | -| [`toolkit`](https://github.com/go-widgets/toolkit) | v0.361.0 | [der Widget-Satz]({{< relref "/rendering/toolkit.md" >}}), Themes, Layouts, Text | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/toolkit) | +| [`toolkit`](https://github.com/go-widgets/toolkit) | v0.362.1 | [der Widget-Satz]({{< relref "/rendering/toolkit.md" >}}), Themes, Layouts, Text | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/toolkit) | | [`skin`](https://github.com/go-widgets/skin) | v0.3.0 | [Widgets als Daten beschrieben]({{< relref "/rendering/skin.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/skin) | +| [`gpupainter`](https://github.com/go-widgets/gpupainter) | v0.4.0 | ein `painter.Painter`, der ein Bild für die GPU aufzeichnet (go-gfx/gpu2d): [Metal oder WebGPU]({{< relref "/surfaces/browser.md" >}}), bytegleich mit dem CPU-Painter | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/gpupainter) | +| [`shellterm`](https://github.com/go-widgets/shellterm) | v0.1.0 | ein zeilenorientiertes Terminal: das `Terminal` des Toolkits und ein Zeileneditor vor einer Shell, die Sie mitbringen | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/shellterm) | | [`isoicons`](https://github.com/go-widgets/isoicons) | v0.4.0 | isometrische Icon-Pakete (Cloud-native, AWS) für die isometrischen Diagramme des Toolkits | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/isoicons) | | [`mvvm`](https://github.com/go-widgets/mvvm) | v0.15.0 | [Observables, Commands, Binder, Rückgängig]({{< relref "/state/mvvm.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/mvvm) | | [`mvvmtk`](https://github.com/go-widgets/mvvmtk) | v0.15.0 | [Binder mit einem Aufruf für Toolkit-Widgets]({{< relref "/state/mvvm.md#mvvmtk-one-call-per-widget" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/mvvmtk) | +| [`lineedit`](https://github.com/go-widgets/lineedit) | v0.1.1 | ein Zeileneditor als reines Modell: Verlauf, Rückwärtssuche, Tab-Vervollständigung; nur die Standardbibliothek | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/lineedit) | | [`data`](https://github.com/go-widgets/data) | v0.4.0 | [typisierte Datensätze, Abfragen, ein lokaler oder entfernter Speicher]({{< relref "/state/data.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/data) | | [`window`](https://github.com/go-widgets/window) | v0.90.0 | [ein natives Fenster]({{< relref "/surfaces/native-window.md" >}}) auf acht Back-Ends | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/window) | | [`application`](https://github.com/go-widgets/application) | v0.8.1 | [der Anwendungslebenszyklus]({{< relref "/surfaces/application.md" >}}) oberhalb eines Fensters | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/application) | @@ -38,9 +41,9 @@ Schreibens – maßgeblich ist die Tag-Liste des jeweiligen Repositorys. einer Bibliothek. - Cross-kompiliert für amd64, arm64, riscv64, loong64, ppc64le und s390x – letzteres Big-Endian, was jede Wire-Kodierung ehrlich hält – und, wo es zutrifft, - `js/wasm`. Alle siebzehn Bibliotheken und Werkzeuge tun das seit dem 2026-10-10; + `js/wasm`. Alle zwanzig Bibliotheken und Werkzeuge tun das seit dem 2026-10-10; die übrigen zwei sind Browser-Anwendungen ([Stand]({{< relref "/status.md#what-ci-does-not-cover-yet" >}})). -- Eine Schranke für die Anweisungsabdeckung in der CI: 100 %, bei allen neunzehn. Wo eine +- Eine Schranke für die Anweisungsabdeckung in der CI: 100 %, bei allen zweiundzwanzig. Wo eine Datei nicht in einem Test laufen kann (eine Browser-Schleife, eine native Run-Loop), sagt das Modul, welche Datei ausgenommen ist und warum. Die Ausnahmen stehen unter [Stand]({{< relref "/status.md" >}}). - BSD-3-Clause. diff --git a/content/de/status.md b/content/de/status.md index 4a8f9d65..51a98490 100644 --- a/content/de/status.md +++ b/content/de/status.md @@ -60,9 +60,12 @@ Am 2026-10-10 wurden die fünf Lücken geschlossen, die diese Seite aufführte: | `mvvmlint` | kein Cross-Build | Linux auf allen sechs, macOS und Windows | | `bricolint` | ein Schritt „6 arches", der fünf baute | loong64 hinzugefügt | -Damit bauen nun alle siebzehn Bibliotheken und Werkzeuge per Cross-Build für die -sechs 64-Bit-Linux-Architekturen, und alle neunzehn haben eine Schranke bei 100 % -Anweisungsabdeckung. +Damit bauten damals alle siebzehn Bibliotheken und Werkzeuge per Cross-Build für die +sechs 64-Bit-Linux-Architekturen, und alle neunzehn hatten eine Schranke bei 100 % +Anweisungsabdeckung. Die drei seither hinzugekommenen (`gpupainter`, `lineedit`, +`shellterm`, 2026-11-09) tun dasselbe: ein `cross`-Job prüft jede Architektur, +Tests eingeschlossen. Heute sind es zwanzig Bibliotheken und Werkzeuge und +zweiundzwanzig Module. `app-template` und `gallery` sind Browser-Anwendungen und bauen für `js/wasm`, ihr einziges Ziel. diff --git a/content/en/_index.md b/content/en/_index.md index f54bb02c..3308bb4e 100644 --- a/content/en/_index.md +++ b/content/en/_index.md @@ -68,7 +68,7 @@ any of them. | [Android]({{< relref "/surfaces/android.md" >}}) | a real APK painted by a CGO-free process | | [Snapshots]({{< relref "/surfaces/snapshots.md" >}}) | a widget as an SVG or a PNG | | [Rules CI enforces]({{< relref "/guard-rails/_index.md" >}}) | `mvvmlint` and `bricolint` | -| [Modules]({{< relref "/modules.md" >}}) | all nineteen, with their sources and references | +| [Modules]({{< relref "/modules.md" >}}) | all twenty-two, with their sources and references | | [Status]({{< relref "/status.md" >}}) | what is verified where, and what is not done | ## Licence diff --git a/content/en/modules.md b/content/en/modules.md index 6fe289a8..9a5b9038 100644 --- a/content/en/modules.md +++ b/content/en/modules.md @@ -1,7 +1,7 @@ --- title: "Modules" weight: 50 -description: "The nineteen modules of go-widgets, what each one is for, and where its source and API reference live." +description: "The twenty-two modules of go-widgets, what each one is for, and where its source and API reference live." tags: [modules] --- @@ -13,11 +13,14 @@ writing — the repository's own tag list is the authority. | Module | Tag | What it is | Reference | |---|---|---|---| | [`painter`](https://github.com/go-widgets/painter) | v0.17.0 | [the drawing seam]({{< relref "/rendering/painter.md" >}}): pixel and cell painters | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/painter) | -| [`toolkit`](https://github.com/go-widgets/toolkit) | v0.361.0 | [the widget set]({{< relref "/rendering/toolkit.md" >}}), themes, layouts, text | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/toolkit) | +| [`toolkit`](https://github.com/go-widgets/toolkit) | v0.362.1 | [the widget set]({{< relref "/rendering/toolkit.md" >}}), themes, layouts, text | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/toolkit) | | [`skin`](https://github.com/go-widgets/skin) | v0.3.0 | [widgets described as data]({{< relref "/rendering/skin.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/skin) | +| [`gpupainter`](https://github.com/go-widgets/gpupainter) | v0.4.0 | a `painter.Painter` that records a frame for the GPU (go-gfx/gpu2d): [Metal or WebGPU]({{< relref "/surfaces/browser.md" >}}), byte-identical to the CPU painter | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/gpupainter) | +| [`shellterm`](https://github.com/go-widgets/shellterm) | v0.1.0 | a line-oriented terminal: the toolkit's `Terminal` and a line editor in front of a shell you supply | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/shellterm) | | [`isoicons`](https://github.com/go-widgets/isoicons) | v0.4.0 | isometric icon packs (cloud-native, AWS) for the toolkit's isometric diagrams | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/isoicons) | | [`mvvm`](https://github.com/go-widgets/mvvm) | v0.15.0 | [observables, commands, binders, undo]({{< relref "/state/mvvm.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/mvvm) | | [`mvvmtk`](https://github.com/go-widgets/mvvmtk) | v0.15.0 | [one-call binders for toolkit widgets]({{< relref "/state/mvvm.md#mvvmtk-one-call-per-widget" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/mvvmtk) | +| [`lineedit`](https://github.com/go-widgets/lineedit) | v0.1.1 | a line editor as a pure model: history, reverse search, Tab completion; standard library only | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/lineedit) | | [`data`](https://github.com/go-widgets/data) | v0.4.0 | [typed records, queries, a local or remote store]({{< relref "/state/data.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/data) | | [`window`](https://github.com/go-widgets/window) | v0.90.0 | [a native window]({{< relref "/surfaces/native-window.md" >}}) on eight back-ends | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/window) | | [`application`](https://github.com/go-widgets/application) | v0.8.1 | [the application lifecycle]({{< relref "/surfaces/application.md" >}}) above a window | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/application) | @@ -38,9 +41,9 @@ writing — the repository's own tag list is the authority. of a library. - Cross-compiled for amd64, arm64, riscv64, loong64, ppc64le and s390x — the last big-endian, which keeps every wire encoding honest — and, where it - applies, `js/wasm`. All seventeen libraries and tools do since 2026-10-10; + applies, `js/wasm`. All twenty libraries and tools do since 2026-10-10; the other two are browser applications ([Status]({{< relref "/status.md#what-ci-does-not-cover-yet" >}})). -- A statement-coverage gate in CI: 100%, in all nineteen. Where a +- A statement-coverage gate in CI: 100%, in all twenty-two. Where a file cannot run in a test (a browser loop, a native run loop), the module says which file is left out and why. See [Status]({{< relref "/status.md" >}}) for the exceptions. diff --git a/content/en/status.md b/content/en/status.md index 59d33dbb..023ce886 100644 --- a/content/en/status.md +++ b/content/en/status.md @@ -60,8 +60,11 @@ On 2026-10-10 the five gaps this page listed were closed: | `mvvmlint` | no cross-build | Linux on all six, macOS and Windows | | `bricolint` | a "6 arches" step that built five | loong64 added | -So all seventeen libraries and tools now cross-build for the six 64-bit -Linux architectures, and all nineteen gate at 100% statement coverage. +So all seventeen libraries and tools then cross-built for the six 64-bit +Linux architectures, and all nineteen gated at 100% statement coverage. The +three added since (`gpupainter`, `lineedit`, `shellterm`, 2026-11-09) do the +same: a `cross` job vets each architecture, tests included, so it is twenty +libraries and tools and twenty-two modules today. `app-template` and `gallery` are browser applications and build for `js/wasm`, which is their only target. diff --git a/content/es/_index.md b/content/es/_index.md index 7c00f914..aae5e279 100644 --- a/content/es/_index.md +++ b/content/es/_index.md @@ -68,7 +68,7 @@ compila de forma cruzada desde cualquier máquina hacia cualquiera de ellas. | [Android]({{< relref "/surfaces/android.md" >}}) | un APK real pintado por un proceso sin CGO | | [Instantáneas]({{< relref "/surfaces/snapshots.md" >}}) | un widget como SVG o PNG | | [Reglas que impone la CI]({{< relref "/guard-rails/_index.md" >}}) | `mvvmlint` y `bricolint` | -| [Módulos]({{< relref "/modules.md" >}}) | los diecinueve, con sus fuentes y referencias | +| [Módulos]({{< relref "/modules.md" >}}) | los veintidós, con sus fuentes y referencias | | [Estado]({{< relref "/status.md" >}}) | qué está verificado y dónde, y qué no está hecho | ## Licencia {#licence} diff --git a/content/es/modules.md b/content/es/modules.md index c77f2916..fe850a78 100644 --- a/content/es/modules.md +++ b/content/es/modules.md @@ -1,7 +1,7 @@ --- title: "Módulos" weight: 50 -description: "Los diecinueve módulos de go-widgets, para qué sirve cada uno y dónde están su código fuente y su referencia de API." +description: "Los veintidós módulos de go-widgets, para qué sirve cada uno y dónde están su código fuente y su referencia de API." tags: [módulos] --- @@ -13,11 +13,14 @@ de escribir; la autoridad es la lista de etiquetas del propio repositorio. | Módulo | Etiqueta | Qué es | Referencia | |---|---|---|---| | [`painter`](https://github.com/go-widgets/painter) | v0.17.0 | [la costura de dibujo]({{< relref "/rendering/painter.md" >}}): painters de píxeles y de celdas | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/painter) | -| [`toolkit`](https://github.com/go-widgets/toolkit) | v0.361.0 | [el conjunto de widgets]({{< relref "/rendering/toolkit.md" >}}), temas, layouts, texto | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/toolkit) | +| [`toolkit`](https://github.com/go-widgets/toolkit) | v0.362.1 | [el conjunto de widgets]({{< relref "/rendering/toolkit.md" >}}), temas, layouts, texto | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/toolkit) | | [`skin`](https://github.com/go-widgets/skin) | v0.3.0 | [widgets descritos como datos]({{< relref "/rendering/skin.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/skin) | +| [`gpupainter`](https://github.com/go-widgets/gpupainter) | v0.4.0 | un `painter.Painter` que graba un fotograma para la GPU (go-gfx/gpu2d): [Metal o WebGPU]({{< relref "/surfaces/browser.md" >}}), idéntico byte a byte al painter de CPU | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/gpupainter) | +| [`shellterm`](https://github.com/go-widgets/shellterm) | v0.1.0 | una terminal orientada a líneas: el `Terminal` del toolkit y un editor de línea delante de un shell que usted aporta | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/shellterm) | | [`isoicons`](https://github.com/go-widgets/isoicons) | v0.4.0 | paquetes de iconos isométricos (cloud-native, AWS) para los diagramas isométricos del toolkit | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/isoicons) | | [`mvvm`](https://github.com/go-widgets/mvvm) | v0.15.0 | [observables, comandos, binders, deshacer]({{< relref "/state/mvvm.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/mvvm) | | [`mvvmtk`](https://github.com/go-widgets/mvvmtk) | v0.15.0 | [binders de una sola llamada para los widgets del toolkit]({{< relref "/state/mvvm.md#mvvmtk-one-call-per-widget" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/mvvmtk) | +| [`lineedit`](https://github.com/go-widgets/lineedit) | v0.1.1 | un editor de línea como modelo puro: historial, búsqueda inversa, completado con Tab; solo la biblioteca estándar | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/lineedit) | | [`data`](https://github.com/go-widgets/data) | v0.4.0 | [registros tipados, consultas, un almacén local o remoto]({{< relref "/state/data.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/data) | | [`window`](https://github.com/go-widgets/window) | v0.90.0 | [una ventana nativa]({{< relref "/surfaces/native-window.md" >}}) sobre ocho backends | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/window) | | [`application`](https://github.com/go-widgets/application) | v0.8.1 | [el ciclo de vida de la aplicación]({{< relref "/surfaces/application.md" >}}) por encima de una ventana | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/application) | @@ -38,9 +41,9 @@ de escribir; la autoridad es la lista de etiquetas del propio repositorio. comandos en lugar de una biblioteca. - Compilación cruzada para amd64, arm64, riscv64, loong64, ppc64le y s390x —esta última big-endian, lo que mantiene honesta cada codificación binaria— y, - cuando procede, `js/wasm`. Las diecisiete bibliotecas y herramientas lo hacen + cuando procede, `js/wasm`. Las veinte bibliotecas y herramientas lo hacen desde el 2026-10-10; los otros dos son aplicaciones de navegador ([Estado]({{< relref "/status.md#what-ci-does-not-cover-yet" >}})). -- Una barrera de cobertura de sentencias en la CI: 100 %, en los diecinueve. +- Una barrera de cobertura de sentencias en la CI: 100 %, en los veintidós. Cuando un archivo no puede ejecutarse en una prueba (un bucle de navegador, un bucle de ejecución nativo), el módulo indica qué archivo queda fuera y por qué. Consulte [Estado]({{< relref "/status.md" >}}) para las diff --git a/content/es/status.md b/content/es/status.md index 776c3f66..8333262c 100644 --- a/content/es/status.md +++ b/content/es/status.md @@ -62,9 +62,12 @@ El 2026-10-10 se cerraron las cinco carencias que esta página enumeraba: | `mvvmlint` | sin compilación cruzada | Linux en las seis, macOS y Windows | | `bricolint` | un paso «6 arches» que compilaba cinco | loong64 añadida | -Así, las diecisiete bibliotecas y herramientas se compilan ya de forma cruzada -para las seis arquitecturas Linux de 64 bits, y los diecinueve módulos tienen -una barrera del 100 % de cobertura de sentencias. +Así, las diecisiete bibliotecas y herramientas se compilaban entonces de forma cruzada +para las seis arquitecturas Linux de 64 bits, y los diecinueve módulos tenían +una barrera del 100 % de cobertura de sentencias. Los tres añadidos desde entonces +(`gpupainter`, `lineedit`, `shellterm`, 2026-11-09) hacen lo mismo: un job `cross` +comprueba cada arquitectura, pruebas incluidas. Hoy son veinte bibliotecas y +herramientas y veintidós módulos. `app-template` y `gallery` son aplicaciones de navegador y se compilan para `js/wasm`, que es su único destino. diff --git a/content/fr/_index.md b/content/fr/_index.md index d45dcb74..ce19ffab 100644 --- a/content/fr/_index.md +++ b/content/fr/_index.md @@ -68,7 +68,7 @@ n'importe quelle machine vers chacune d'elles. | [Android]({{< relref "/surfaces/android.md" >}}) | un vrai APK peint par un processus sans CGO | | [Instantanés]({{< relref "/surfaces/snapshots.md" >}}) | un widget sous forme de SVG ou de PNG | | [Règles imposées par la CI]({{< relref "/guard-rails/_index.md" >}}) | `mvvmlint` et `bricolint` | -| [Modules]({{< relref "/modules.md" >}}) | les dix-neuf, avec leurs sources et leurs références | +| [Modules]({{< relref "/modules.md" >}}) | les vingt-deux, avec leurs sources et leurs références | | [État]({{< relref "/status.md" >}}) | ce qui est vérifié, où, et ce qui n'est pas fait | ## Licence {#licence} diff --git a/content/fr/modules.md b/content/fr/modules.md index 4222061a..616ee5ba 100644 --- a/content/fr/modules.md +++ b/content/fr/modules.md @@ -1,7 +1,7 @@ --- title: "Modules" weight: 50 -description: "Les dix-neuf modules de go-widgets, le rôle de chacun, et où se trouvent sa source et sa référence d'API." +description: "Les vingt-deux modules de go-widgets, le rôle de chacun, et où se trouvent sa source et sa référence d'API." tags: [modules] --- @@ -13,11 +13,14 @@ rédaction — la liste des étiquettes du dépôt lui-même fait foi. | Module | Étiquette | Ce que c'est | Référence | |---|---|---|---| | [`painter`](https://github.com/go-widgets/painter) | v0.17.0 | [la jonction de dessin]({{< relref "/rendering/painter.md" >}}) : painters en pixels et en cellules | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/painter) | -| [`toolkit`](https://github.com/go-widgets/toolkit) | v0.361.0 | [le jeu de widgets]({{< relref "/rendering/toolkit.md" >}}), thèmes, mises en page, texte | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/toolkit) | +| [`toolkit`](https://github.com/go-widgets/toolkit) | v0.362.1 | [le jeu de widgets]({{< relref "/rendering/toolkit.md" >}}), thèmes, mises en page, texte | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/toolkit) | | [`skin`](https://github.com/go-widgets/skin) | v0.3.0 | [des widgets décrits par des données]({{< relref "/rendering/skin.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/skin) | +| [`gpupainter`](https://github.com/go-widgets/gpupainter) | v0.4.0 | un `painter.Painter` qui enregistre une image pour le GPU (go-gfx/gpu2d) : [Metal ou WebGPU]({{< relref "/surfaces/browser.md" >}}), identique à l'octet près au painter CPU | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/gpupainter) | +| [`shellterm`](https://github.com/go-widgets/shellterm) | v0.1.0 | un terminal orienté lignes : le `Terminal` de la boîte à outils et un éditeur de ligne devant un shell que vous fournissez | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/shellterm) | | [`isoicons`](https://github.com/go-widgets/isoicons) | v0.4.0 | jeux d'icônes isométriques (cloud-native, AWS) pour les diagrammes isométriques de la boîte à outils | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/isoicons) | | [`mvvm`](https://github.com/go-widgets/mvvm) | v0.15.0 | [observables, commandes, binders, annulation]({{< relref "/state/mvvm.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/mvvm) | | [`mvvmtk`](https://github.com/go-widgets/mvvmtk) | v0.15.0 | [des binders en un appel pour les widgets de la boîte à outils]({{< relref "/state/mvvm.md#mvvmtk-one-call-per-widget" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/mvvmtk) | +| [`lineedit`](https://github.com/go-widgets/lineedit) | v0.1.1 | un éditeur de ligne en pur modèle : historique, recherche inversée, complétion par Tab ; bibliothèque standard seule | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/lineedit) | | [`data`](https://github.com/go-widgets/data) | v0.4.0 | [enregistrements typés, requêtes, stockage local ou distant]({{< relref "/state/data.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/data) | | [`window`](https://github.com/go-widgets/window) | v0.90.0 | [une fenêtre native]({{< relref "/surfaces/native-window.md" >}}) sur huit back-ends | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/window) | | [`application`](https://github.com/go-widgets/application) | v0.8.1 | [le cycle de vie de l'application]({{< relref "/surfaces/application.md" >}}) au-dessus d'une fenêtre | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/application) | @@ -38,9 +41,9 @@ rédaction — la liste des étiquettes du dépôt lui-même fait foi. d'une bibliothèque. - Compilé de manière croisée pour amd64, arm64, riscv64, loong64, ppc64le et s390x — ce dernier en gros-boutiste, ce qui garde chaque encodage binaire honnête — et, quand cela - s'applique, `js/wasm`. Les dix-sept bibliothèques et outils le font tous depuis le 2026-10-10 ; + s'applique, `js/wasm`. Les vingt bibliothèques et outils le font tous depuis le 2026-10-10 ; les deux autres sont des applications de navigateur ([État]({{< relref "/status.md#what-ci-does-not-cover-yet" >}})). -- Une barrière de couverture des instructions dans la CI : 100 %, dans les dix-neuf. Quand un +- Une barrière de couverture des instructions dans la CI : 100 %, dans les vingt-deux. Quand un fichier ne peut pas s'exécuter dans un test (une boucle de navigateur, une boucle d'exécution native), le module indique quel fichier est laissé de côté et pourquoi. Voir [État]({{< relref "/status.md" >}}) pour les exceptions. diff --git a/content/fr/status.md b/content/fr/status.md index bf067bc6..80c5cd5f 100644 --- a/content/fr/status.md +++ b/content/fr/status.md @@ -60,8 +60,11 @@ Le 2026-10-10, les cinq manques que cette page listait ont été comblés : | `mvvmlint` | pas de compilation croisée | Linux sur les six, macOS et Windows | | `bricolint` | une étape « 6 arches » qui en compilait cinq | loong64 ajouté | -Les dix-sept bibliothèques et outils font donc tous désormais une compilation croisée pour les six -architectures Linux 64 bits, et les dix-neuf ont tous une barrière à 100 % de couverture des instructions. +Les dix-sept bibliothèques et outils faisaient donc tous alors une compilation croisée pour les six +architectures Linux 64 bits, et les dix-neuf avaient tous une barrière à 100 % de couverture des instructions. +Les trois ajoutés depuis (`gpupainter`, `lineedit`, `shellterm`, 2026-11-09) font de même : un job +`cross` vérifie chaque architecture, tests compris. Cela fait aujourd'hui vingt bibliothèques et outils et +vingt-deux modules. `app-template` et `gallery` sont des applications de navigateur et se compilent pour `js/wasm`, qui est leur seule cible. diff --git a/content/ja/_index.md b/content/ja/_index.md index 2ebf29f6..8152a968 100644 --- a/content/ja/_index.md +++ b/content/ja/_index.md @@ -56,7 +56,7 @@ return w.Run(box) // an X11 or Wayland window, an NSWindow, a Win32 window | [Android]({{< relref "/surfaces/android.md" >}}) | CGO を使わないプロセスが描画する本物の APK | | [スナップショット]({{< relref "/surfaces/snapshots.md" >}}) | ウィジェットを SVG または PNG として出力 | | [CI が強制するルール]({{< relref "/guard-rails/_index.md" >}}) | `mvvmlint` と `bricolint` | -| [モジュール]({{< relref "/modules.md" >}}) | 19 個すべてについて、ソースとリファレンス | +| [モジュール]({{< relref "/modules.md" >}}) | 22 個すべてについて、ソースとリファレンス | | [状況]({{< relref "/status.md" >}}) | どこで何が検証済みで、何が未完了か | ## ライセンス {#licence} diff --git a/content/ja/modules.md b/content/ja/modules.md index fed1b301..5e503aa2 100644 --- a/content/ja/modules.md +++ b/content/ja/modules.md @@ -1,7 +1,7 @@ --- title: "モジュール" weight: 50 -description: "go-widgets の 19 個のモジュールについて、それぞれの用途と、ソースおよび API リファレンスの場所を示します。" +description: "go-widgets の 22 個のモジュールについて、それぞれの用途と、ソースおよび API リファレンスの場所を示します。" tags: [modules] --- @@ -10,11 +10,14 @@ API リファレンスは [pkg.go.dev](https://pkg.go.dev/) がソースから | モジュール | タグ | 概要 | リファレンス | |---|---|---|---| | [`painter`](https://github.com/go-widgets/painter) | v0.17.0 | [描画の継ぎ目]({{< relref "/rendering/painter.md" >}}): ピクセルペインタとセルペインタ | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/painter) | -| [`toolkit`](https://github.com/go-widgets/toolkit) | v0.361.0 | [ウィジェットセット]({{< relref "/rendering/toolkit.md" >}})、テーマ、レイアウト、テキスト | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/toolkit) | +| [`toolkit`](https://github.com/go-widgets/toolkit) | v0.362.1 | [ウィジェットセット]({{< relref "/rendering/toolkit.md" >}})、テーマ、レイアウト、テキスト | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/toolkit) | | [`skin`](https://github.com/go-widgets/skin) | v0.3.0 | [データとして記述されたウィジェット]({{< relref "/rendering/skin.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/skin) | +| [`gpupainter`](https://github.com/go-widgets/gpupainter) | v0.4.0 | GPU 向けにフレームを記録する `painter.Painter`(go-gfx/gpu2d)。[Metal または WebGPU]({{< relref "/surfaces/browser.md" >}}) で描画し、CPU ペインタとバイト単位で同一 | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/gpupainter) | +| [`shellterm`](https://github.com/go-widgets/shellterm) | v0.1.0 | 行指向のターミナル。ツールキットの `Terminal` と行エディタを、利用者が用意するシェルの前に置きます | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/shellterm) | | [`isoicons`](https://github.com/go-widgets/isoicons) | v0.4.0 | ツールキットのアイソメトリック図のための、アイソメトリックアイコンパック(クラウドネイティブ、AWS) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/isoicons) | | [`mvvm`](https://github.com/go-widgets/mvvm) | v0.15.0 | [オブザーバブル、コマンド、バインダ、undo]({{< relref "/state/mvvm.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/mvvm) | | [`mvvmtk`](https://github.com/go-widgets/mvvmtk) | v0.15.0 | [ツールキットのウィジェット向けの 1 呼び出しバインダ]({{< relref "/state/mvvm.md#mvvmtk-one-call-per-widget" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/mvvmtk) | +| [`lineedit`](https://github.com/go-widgets/lineedit) | v0.1.1 | 純粋なモデルとしての行エディタ。履歴、逆方向検索、Tab 補完。標準ライブラリのみ | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/lineedit) | | [`data`](https://github.com/go-widgets/data) | v0.4.0 | [型付きレコード、クエリ、ローカルまたはリモートのストア]({{< relref "/state/data.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/data) | | [`window`](https://github.com/go-widgets/window) | v0.90.0 | 8 つのバックエンドに対応した[ネイティブウィンドウ]({{< relref "/surfaces/native-window.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/window) | | [`application`](https://github.com/go-widgets/application) | v0.8.1 | ウィンドウの上に載る[アプリケーションのライフサイクル]({{< relref "/surfaces/application.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/application) | @@ -32,6 +35,6 @@ API リファレンスは [pkg.go.dev](https://pkg.go.dev/) がソースから ## すべてのモジュールが守る条件 {#what-every-module-is-held-to} - `CGO_ENABLED=0`: cgo は使わず、ライブラリの代わりにコマンドラインツールを呼び出すこともしません。 -- amd64、arm64、riscv64、loong64、ppc64le、s390x にクロスコンパイルします。最後のものはビッグエンディアンで、あらゆるワイヤエンコーディングの正しさを保つ助けになります。該当する場合は `js/wasm` にも対応します。17 個のライブラリとツールすべてが 2026-10-10 以降これを満たしています。残りの 2 つはブラウザアプリケーションです([状況]({{< relref "/status.md#what-ci-does-not-cover-yet" >}}))。 -- CI でのステートメントカバレッジのゲート: 19 個すべてで 100% です。テストで実行できないファイル(ブラウザのループ、ネイティブの実行ループ)がある場合、モジュール側でどのファイルを除外しているか、およびその理由を明記しています。例外については [状況]({{< relref "/status.md" >}}) を参照してください。 +- amd64、arm64、riscv64、loong64、ppc64le、s390x にクロスコンパイルします。最後のものはビッグエンディアンで、あらゆるワイヤエンコーディングの正しさを保つ助けになります。該当する場合は `js/wasm` にも対応します。20 個のライブラリとツールすべてが 2026-10-10 以降これを満たしています。残りの 2 つはブラウザアプリケーションです([状況]({{< relref "/status.md#what-ci-does-not-cover-yet" >}}))。 +- CI でのステートメントカバレッジのゲート: 22 個すべてで 100% です。テストで実行できないファイル(ブラウザのループ、ネイティブの実行ループ)がある場合、モジュール側でどのファイルを除外しているか、およびその理由を明記しています。例外については [状況]({{< relref "/status.md" >}}) を参照してください。 - BSD-3-Clause。 diff --git a/content/ja/status.md b/content/ja/status.md index 6d041971..b4dba485 100644 --- a/content/ja/status.md +++ b/content/ja/status.md @@ -50,7 +50,7 @@ tags: [status] | `mvvmlint` | クロスビルドなし | Linux は 6 種すべて、macOS と Windows | | `bricolint` | 「6 arches」のステップが実際には 5 つをビルド | loong64 を追加 | -これで、17 個のライブラリとツールすべてが 64 ビット Linux の 6 つのアーキテクチャにクロスビルドされ、19 個すべてが 100% のステートメントカバレッジでゲートされています。`app-template` と `gallery` はブラウザアプリケーションで、唯一のターゲットである `js/wasm` 向けにビルドされます。 +これで当時、17 個のライブラリとツールすべてが 64 ビット Linux の 6 つのアーキテクチャにクロスビルドされ、19 個すべてが 100% のステートメントカバレッジでゲートされました。その後追加された 3 つ(`gpupainter`、`lineedit`、`shellterm`、2026-11-09)も同じで、`cross` ジョブがテストを含めて各アーキテクチャを検査します。現在は 20 個のライブラリとツール、22 個のモジュールです。`app-template` と `gallery` はブラウザアプリケーションで、唯一のターゲットである `js/wasm` 向けにビルドされます。 ## セキュリティ {#security} diff --git a/content/ko/_index.md b/content/ko/_index.md index 1ebb6a60..61678f78 100644 --- a/content/ko/_index.md +++ b/content/ko/_index.md @@ -64,7 +64,7 @@ return w.Run(box) // an X11 or Wayland window, an NSWindow, a Win32 window | [Android]({{< relref "/surfaces/android.md" >}}) | CGO 없는 프로세스가 그리는 실제 APK | | [스냅숏]({{< relref "/surfaces/snapshots.md" >}}) | 위젯을 SVG 또는 PNG로 | | [CI가 강제하는 규칙]({{< relref "/guard-rails/_index.md" >}}) | `mvvmlint`와 `bricolint` | -| [모듈]({{< relref "/modules.md" >}}) | 열아홉 개 전체, 소스와 참조 문서 포함 | +| [모듈]({{< relref "/modules.md" >}}) | 스물두 개 전체, 소스와 참조 문서 포함 | | [상태]({{< relref "/status.md" >}}) | 어디서 무엇이 검증되었고, 무엇이 아직 안 되었는지 | ## 라이선스 {#licence} diff --git a/content/ko/modules.md b/content/ko/modules.md index 0fb49eab..a4803785 100644 --- a/content/ko/modules.md +++ b/content/ko/modules.md @@ -1,7 +1,7 @@ --- title: "모듈" weight: 50 -description: "go-widgets의 열아홉 개 모듈, 각 모듈의 용도, 그리고 소스와 API 참조 문서의 위치." +description: "go-widgets의 스물두 개 모듈, 각 모듈의 용도, 그리고 소스와 API 참조 문서의 위치." tags: [modules] --- @@ -12,11 +12,14 @@ API 참조 문서는 릴리스된 태그를 따라가는 [pkg.go.dev](https://pk | 모듈 | 태그 | 설명 | 참조 문서 | |---|---|---|---| | [`painter`](https://github.com/go-widgets/painter) | v0.17.0 | [그리기 경계]({{< relref "/rendering/painter.md" >}}): 픽셀 및 셀 페인터 | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/painter) | -| [`toolkit`](https://github.com/go-widgets/toolkit) | v0.361.0 | [위젯 세트]({{< relref "/rendering/toolkit.md" >}}), 테마, 레이아웃, 텍스트 | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/toolkit) | +| [`toolkit`](https://github.com/go-widgets/toolkit) | v0.362.1 | [위젯 세트]({{< relref "/rendering/toolkit.md" >}}), 테마, 레이아웃, 텍스트 | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/toolkit) | | [`skin`](https://github.com/go-widgets/skin) | v0.3.0 | [데이터로 기술한 위젯]({{< relref "/rendering/skin.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/skin) | +| [`gpupainter`](https://github.com/go-widgets/gpupainter) | v0.4.0 | GPU용으로 프레임을 기록하는 `painter.Painter`(go-gfx/gpu2d): [Metal 또는 WebGPU]({{< relref "/surfaces/browser.md" >}}), CPU 페인터와 바이트 단위로 동일 | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/gpupainter) | +| [`shellterm`](https://github.com/go-widgets/shellterm) | v0.1.0 | 줄 단위 터미널: 툴킷의 `Terminal`과 줄 편집기를 사용자가 제공하는 셸 앞에 둡니다 | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/shellterm) | | [`isoicons`](https://github.com/go-widgets/isoicons) | v0.4.0 | 툴킷의 아이소메트릭 다이어그램용 아이소메트릭 아이콘 팩(클라우드 네이티브, AWS) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/isoicons) | | [`mvvm`](https://github.com/go-widgets/mvvm) | v0.15.0 | [옵저버블, 커맨드, 바인더, 실행 취소]({{< relref "/state/mvvm.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/mvvm) | | [`mvvmtk`](https://github.com/go-widgets/mvvmtk) | v0.15.0 | [툴킷 위젯을 위한 단일 호출 바인더]({{< relref "/state/mvvm.md#mvvmtk-one-call-per-widget" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/mvvmtk) | +| [`lineedit`](https://github.com/go-widgets/lineedit) | v0.1.1 | 순수 모델로서의 줄 편집기: 기록, 역방향 검색, Tab 자동 완성; 표준 라이브러리만 사용 | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/lineedit) | | [`data`](https://github.com/go-widgets/data) | v0.4.0 | [타입이 있는 레코드, 쿼리, 로컬 또는 원격 저장소]({{< relref "/state/data.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/data) | | [`window`](https://github.com/go-widgets/window) | v0.90.0 | 여덟 가지 백엔드를 지원하는 [네이티브 창]({{< relref "/surfaces/native-window.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/window) | | [`application`](https://github.com/go-widgets/application) | v0.8.1 | 창 위에 놓이는 [애플리케이션 수명 주기]({{< relref "/surfaces/application.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/application) | @@ -37,10 +40,10 @@ API 참조 문서는 릴리스된 태그를 따라가는 [pkg.go.dev](https://pk 않습니다. - amd64, arm64, riscv64, loong64, ppc64le, s390x용으로 크로스 컴파일합니다. s390x는 마지막 빅엔디언 대상으로, 모든 와이어 인코딩을 엄밀하게 유지해 줍니다. - 해당되는 경우 `js/wasm`용으로도 컴파일합니다. 열일곱 개의 라이브러리와 도구는 + 해당되는 경우 `js/wasm`용으로도 컴파일합니다. 스무 개의 라이브러리와 도구는 2026-10-10부터 모두 그렇게 하고 있으며, 나머지 둘은 브라우저 애플리케이션입니다([상태]({{< relref "/status.md#what-ci-does-not-cover-yet" >}})). -- CI의 구문 커버리지 게이트: 열아홉 개 모두 100%입니다. 테스트에서 실행할 수 없는 +- CI의 구문 커버리지 게이트: 스물두 개 모두 100%입니다. 테스트에서 실행할 수 없는 파일(브라우저 루프, 네이티브 실행 루프)이 있으면 모듈이 어느 파일이 제외되었는지와 그 이유를 밝힙니다. 예외는 [상태]({{< relref "/status.md" >}})를 참조하십시오. - BSD-3-Clause. diff --git a/content/ko/status.md b/content/ko/status.md index 2da40cc6..ffe337ca 100644 --- a/content/ko/status.md +++ b/content/ko/status.md @@ -58,9 +58,11 @@ tags: [status] | `mvvmlint` | 크로스 빌드 없음 | Linux는 여섯 가지 전부, macOS와 Windows | | `bricolint` | 다섯 개를 빌드하는 "6 arches" 단계 | loong64 추가 | -그 결과 열일곱 개의 라이브러리와 도구가 이제 모두 여섯 가지 64비트 Linux +그 결과 당시 열일곱 개의 라이브러리와 도구가 모두 여섯 가지 64비트 Linux 아키텍처용으로 크로스 빌드되고, 열아홉 개 전부가 100% 구문 커버리지 게이트를 -통과합니다. `app-template`과 `gallery`는 브라우저 애플리케이션이며 유일한 대상인 +통과했습니다. 이후 추가된 세 개(`gpupainter`, `lineedit`, `shellterm`, +2026-11-09)도 마찬가지로 `cross` 작업이 테스트를 포함해 각 아키텍처를 검사합니다. +현재는 스무 개의 라이브러리와 도구, 스물두 개의 모듈입니다. `app-template`과 `gallery`는 브라우저 애플리케이션이며 유일한 대상인 `js/wasm`용으로 빌드됩니다. ## 보안 {#security} diff --git a/content/zh-cn/_index.md b/content/zh-cn/_index.md index 8e849fac..3ca7fe27 100644 --- a/content/zh-cn/_index.md +++ b/content/zh-cn/_index.md @@ -52,7 +52,7 @@ return w.Run(box) // an X11 or Wayland window, an NSWindow, a Win32 window | [Android]({{< relref "/surfaces/android.md" >}}) | 由无 CGO 进程绘制的真实 APK | | [快照]({{< relref "/surfaces/snapshots.md" >}}) | 把控件输出为 SVG 或 PNG | | [CI 强制执行的规则]({{< relref "/guard-rails/_index.md" >}}) | `mvvmlint` 和 `bricolint` | -| [模块]({{< relref "/modules.md" >}}) | 全部十九个模块,附源码和参考文档 | +| [模块]({{< relref "/modules.md" >}}) | 全部二十二个模块,附源码和参考文档 | | [状态]({{< relref "/status.md" >}}) | 哪些已在哪里验证过,哪些尚未完成 | ## 许可证 {#licence} diff --git a/content/zh-cn/modules.md b/content/zh-cn/modules.md index a35a01ce..2ca95fd5 100644 --- a/content/zh-cn/modules.md +++ b/content/zh-cn/modules.md @@ -1,7 +1,7 @@ --- title: "模块" weight: 50 -description: "go-widgets 的十九个模块,各自的用途,以及源码和 API 参考文档所在的位置。" +description: "go-widgets 的二十二个模块,各自的用途,以及源码和 API 参考文档所在的位置。" tags: [modules] --- @@ -10,11 +10,14 @@ API 参考文档由 [pkg.go.dev](https://pkg.go.dev/) 根据源码生成,并 | 模块 | 标签 | 简介 | 参考文档 | |---|---|---|---| | [`painter`](https://github.com/go-widgets/painter) | v0.17.0 | [绘图接缝]({{< relref "/rendering/painter.md" >}}):像素绘制器与字符单元绘制器 | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/painter) | -| [`toolkit`](https://github.com/go-widgets/toolkit) | v0.361.0 | [控件集]({{< relref "/rendering/toolkit.md" >}})、主题、布局、文本 | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/toolkit) | +| [`toolkit`](https://github.com/go-widgets/toolkit) | v0.362.1 | [控件集]({{< relref "/rendering/toolkit.md" >}})、主题、布局、文本 | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/toolkit) | | [`skin`](https://github.com/go-widgets/skin) | v0.3.0 | [以数据描述的控件]({{< relref "/rendering/skin.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/skin) | +| [`gpupainter`](https://github.com/go-widgets/gpupainter) | v0.4.0 | 为 GPU 录制帧的 `painter.Painter`(go-gfx/gpu2d):[Metal 或 WebGPU]({{< relref "/surfaces/browser.md" >}}),与 CPU 绘制器逐字节一致 | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/gpupainter) | +| [`shellterm`](https://github.com/go-widgets/shellterm) | v0.1.0 | 面向行的终端:把工具包的 `Terminal` 和行编辑器放在你提供的 shell 前面 | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/shellterm) | | [`isoicons`](https://github.com/go-widgets/isoicons) | v0.4.0 | 等距图标包(云原生、AWS),供工具包的等距图使用 | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/isoicons) | | [`mvvm`](https://github.com/go-widgets/mvvm) | v0.15.0 | [可观察对象、命令、绑定器、撤销]({{< relref "/state/mvvm.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/mvvm) | | [`mvvmtk`](https://github.com/go-widgets/mvvmtk) | v0.15.0 | [面向工具包控件的一行式绑定器]({{< relref "/state/mvvm.md#mvvmtk-one-call-per-widget" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/mvvmtk) | +| [`lineedit`](https://github.com/go-widgets/lineedit) | v0.1.1 | 纯模型的行编辑器:历史记录、反向搜索、Tab 补全;只用标准库 | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/lineedit) | | [`data`](https://github.com/go-widgets/data) | v0.4.0 | [带类型的记录、查询、本地或远程存储]({{< relref "/state/data.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/data) | | [`window`](https://github.com/go-widgets/window) | v0.90.0 | 基于八种后端的[原生窗口]({{< relref "/surfaces/native-window.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/window) | | [`application`](https://github.com/go-widgets/application) | v0.8.1 | 位于窗口之上的[应用生命周期]({{< relref "/surfaces/application.md" >}}) | [pkg.go.dev](https://pkg.go.dev/github.com/go-widgets/application) | @@ -32,6 +35,6 @@ API 参考文档由 [pkg.go.dev](https://pkg.go.dev/) 根据源码生成,并 ## 每个模块都必须遵守的约束 {#what-every-module-is-held-to} - `CGO_ENABLED=0`:不使用 cgo,也不通过调用命令行工具来代替库。 -- 交叉编译到 amd64、arm64、riscv64、loong64、ppc64le 和 s390x——最后一个是大端架构,可确保所有线上编码都经得起检验——并在适用时编译到 `js/wasm`。自 2026-10-10 起,全部十七个库和工具都做到了;另外两个是浏览器应用([状态]({{< relref "/status.md#what-ci-does-not-cover-yet" >}}))。 -- CI 中的语句覆盖率门禁:十九个模块全部为 100%。若某个文件无法在测试中运行(浏览器循环、原生运行循环),该模块会说明排除了哪个文件以及原因。例外情况见[状态]({{< relref "/status.md" >}})。 +- 交叉编译到 amd64、arm64、riscv64、loong64、ppc64le 和 s390x——最后一个是大端架构,可确保所有线上编码都经得起检验——并在适用时编译到 `js/wasm`。自 2026-10-10 起,全部二十个库和工具都做到了;另外两个是浏览器应用([状态]({{< relref "/status.md#what-ci-does-not-cover-yet" >}}))。 +- CI 中的语句覆盖率门禁:二十二个模块全部为 100%。若某个文件无法在测试中运行(浏览器循环、原生运行循环),该模块会说明排除了哪个文件以及原因。例外情况见[状态]({{< relref "/status.md" >}})。 - BSD-3-Clause。 diff --git a/content/zh-cn/status.md b/content/zh-cn/status.md index aa510562..2a57e1f0 100644 --- a/content/zh-cn/status.md +++ b/content/zh-cn/status.md @@ -50,7 +50,7 @@ tags: [status] | `mvvmlint` | 没有交叉构建 | Linux 覆盖全部六种架构,另有 macOS 和 Windows | | `bricolint` | 一个“6 种架构”的步骤实际只构建五种 | 加入 loong64 | -因此,全部十七个库和工具现在都交叉构建到六种 64 位 Linux 架构,全部十九个模块都以 100% 语句覆盖率为门禁。`app-template` 和 `gallery` 是浏览器应用,构建到 `js/wasm`,这是它们唯一的目标。 +因此,当时全部十七个库和工具都交叉构建到六种 64 位 Linux 架构,全部十九个模块都以 100% 语句覆盖率为门禁。此后新增的三个模块(`gpupainter`、`lineedit`、`shellterm`,2026-11-09)也一样:`cross` 作业逐个架构检查,包括测试。如今共有二十个库和工具、二十二个模块。`app-template` 和 `gallery` 是浏览器应用,构建到 `js/wasm`,这是它们唯一的目标。 ## 安全 {#security}