3 Commits
Author SHA1 Message Date
Francesco BigiariniandClaude Opus 5.5 2be149fea3 Release 0.9.0 (#204)
* Update version to 0.9.0

Also make `make test-go` rebuild the cgo object when the C sources change:
Go's build cache tracks only src/go, not the src/*.c and src/*.h files that
src/go/mojibake.c includes, so a checksum of them now goes into CGO_CFLAGS.
Fix the VersionNumber doc comment, which gave the wrong encoding.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Francesco Bigiarini <francesco.bigiarini@gmail.com>

* AGENTS.md: document how release codenames are chosen

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Francesco Bigiarini <francesco.bigiarini@gmail.com>

* Removed useless text

Signed-off-by: Francesco Bigiarini <francesco.bigiarini@gmail.com>

---------

Signed-off-by: Francesco Bigiarini <francesco.bigiarini@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 23:06:11 +01:00
Francesco Bigiarini d99e43af60 New readme and minor fixes (#199)
* Fix: missing updated version

Signed-off-by: Francesco Bigiarini <francesco.bigiarini@gmail.com>

* Fix: wrong path

Signed-off-by: Francesco Bigiarini <francesco.bigiarini@gmail.com>

* Update coverage

Signed-off-by: Francesco Bigiarini <francesco.bigiarini@gmail.com>

* Update README.md

Signed-off-by: Francesco Bigiarini <francesco.bigiarini@gmail.com>

---------

Signed-off-by: Francesco Bigiarini <francesco.bigiarini@gmail.com>
2026-11-18 08:43:39 +01:00
Francesco BigiariniandClaude Opus 5.5 18874cac2f Add bidirectional text and an example to the Elixir package (#193)
Wrap the Unicode Bidirectional Algorithm (UAX #9) as Mojibake.Bidi. resolve/2
returns a paragraph whose resolved levels live in a NIF resource, freed by its
destructor, so a paragraph is resolved once and shared between processes.
levels/1, chars/1, reorder/2, runs/2, and visual/2 lay out its lines, and
direction/1 gives the paragraph direction. The NIF encodes the visual line
itself because mjb_codepoint_encode always writes a NUL terminator.

Add the BidiCharacterTest.txt conformance test, an Elixir example in
examples/elixir run by `make -C examples example-elixir`, and the Hex release
steps in CONTRIBUTING.md.

Signed-off-by: Francesco Bigiarini <francesco.bigiarini@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 12:48:09 +01:00