Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
## Unreleased — Registry integration candidate 1.0.1

The CMake/package version is now `1.0.1` for the next immutable TUI and
GUI-SDL Registry source identities. The candidate includes the merged
splitter hit-target API (Frontend PR #29), strict UTF-8 byte/scalar mapping
(Frontend PR #30), and the GUI-SDL Unicode text-pipeline engineering proposal
(Frontend PR #31). These changes are additive to the 1.0.0 package boundary.

This is a Registry integration candidate, not a formal `v1.0.1` Git tag or
GitHub Release. The current GUI-SDL implementation remains an ASCII/debug-text
renderer; production grapheme layout, shaping, bidi, font fallback, IME,
semantic panels/widgets and product-level reconnect gates remain incomplete.
The release workflow publishes source archives only from a deliberate
version-matching tag.

## [1.0.0] - 2026-11-04

### Foundation and shared Protocol 1.0.0
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.22)
project(cdin_frontend VERSION 1.0.0 LANGUAGES C)
project(cdin_frontend VERSION 1.0.1 LANGUAGES C)

include(GNUInstallDirs)
include(CMakePackageConfigHelpers)
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,20 @@ which frontend adapter to launch.

The current cross-project design authority is [CDIN Spec 1.2.0](https://github.com/cdin-editor/spec). A requirement marked `ACCEPTED` in Spec records a decision; it does not mean this repository has implemented it. See [implementation status](docs/status.md) and [traceability](docs/traceability.md).

## Package status

The current source package version is **1.0.1**. This is an active Registry
integration candidate for both the TUI and GUI-SDL variants, pinned to the
post-PR #29/#30/#31 source. The previous `1.0.0` metadata remains immutable
and continues to describe its original source revision.

This candidate is not yet a formal `v1.0.1` Git-tagged source release or GitHub
Release. The release workflow remains tag-driven; it will publish an archive
only when the matching version tag is deliberately created. GUI-SDL remains
an incomplete desktop renderer: the package update does not claim production
Unicode shaping, bidi, Persian/Arabic rendering, IME or complete product
readiness.

## Build and test

Requirements: C11 compiler, CMake 3.22+, GNU Make, Git, Bash and network access
Expand Down
4 changes: 2 additions & 2 deletions include/cdin/frontend/core/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
/* Stable source API version of the UI-neutral Frontend Foundation package. */
#define CDIN_FRONTEND_FOUNDATION_VERSION_MAJOR 1u
#define CDIN_FRONTEND_FOUNDATION_VERSION_MINOR 0u
#define CDIN_FRONTEND_FOUNDATION_VERSION_PATCH 0u
#define CDIN_FRONTEND_FOUNDATION_VERSION_STRING "1.0.0"
#define CDIN_FRONTEND_FOUNDATION_VERSION_PATCH 1u
#define CDIN_FRONTEND_FOUNDATION_VERSION_STRING "1.0.1"

/* The shared Backend/Frontend wire contract is versioned independently. */
#define CDIN_FRONTEND_FOUNDATION_PROTOCOL_MAJOR 1u
Expand Down
24 changes: 24 additions & 0 deletions registry/releases/frontend-gui-sdl-1.0.1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"schema_version": "1.0.0",
"component_id": "frontend",
"variant": "gui-sdl",
"version": "1.0.1",
"status": "active",
"source_units": [
{
"source_unit_id": "frontend-source",
"repository_uri": "https://github.com/cdin-editor/frontend",
"revision": "5d0545c6723115ab74c20bad705ef6217429bcba"
}
],
"dependencies": [],
"contracts": {
"provides": [],
"requires": [
{
"contract_id": "org.cdin.frontend-protocol",
"version_constraint": "1.0.0"
}
]
}
}
24 changes: 24 additions & 0 deletions registry/releases/frontend-tui-1.0.1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"schema_version": "1.0.0",
"component_id": "frontend",
"variant": "tui",
"version": "1.0.1",
"status": "active",
"source_units": [
{
"source_unit_id": "frontend-source",
"repository_uri": "https://github.com/cdin-editor/frontend",
"revision": "5d0545c6723115ab74c20bad705ef6217429bcba"
}
],
"dependencies": [],
"contracts": {
"provides": [],
"requires": [
{
"contract_id": "org.cdin.frontend-protocol",
"version_constraint": "1.0.0"
}
]
}
}
10 changes: 7 additions & 3 deletions scripts/package-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ set -euo pipefail
repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)"
cd "$repo_root"

version="${1:-1.0.0}"
if [[ ! "$version" =~ ^[0-9]+\.[0-9]+\.[0-9]+([.-][A-Za-z0-9.-]+)?$ ]]; then
echo "invalid release version: $version" >&2
version="${1:-${GITHUB_REF_NAME:-}}"
version="${version#v}"
if [[ -z "$version" ]]; then
version="$(sed -n 's/^project(cdin_frontend VERSION \([^ ]*\) LANGUAGES C)$/\1/p' CMakeLists.txt)"
fi
if [[ ! "$version" =~ ^[0-9]+\.[0-9]+\.[0-9]+([+-][0-9A-Za-z.-]+)?$ ]]; then
echo "invalid release version: ${version:-<empty>}" >&2
exit 2
fi
mkdir -p dist
Expand Down
2 changes: 1 addition & 1 deletion tests/core/unit/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@

int main(void)
{
assert(strcmp(CDIN_FRONTEND_FOUNDATION_VERSION_STRING, "1.0.0") == 0);
assert(strcmp(CDIN_FRONTEND_FOUNDATION_VERSION_STRING, "1.0.1") == 0);
return 0;
}
Loading