Skip to content

4.0.19 - #33

Open
synesissoftware wants to merge 11 commits into
masterfrom
dev
Open

synesissoftware wants to merge 11 commits into
masterfrom
dev

Conversation

@synesissoftware

Copy link
Copy Markdown
Owner

No description provided.

@synesissoftware synesissoftware self-assigned this Sep 29, 2026
Replace per-iteration std::vector arenas with stlsoft::auto_buffer (512
stack elements) so sizes ≤256 avoid a heap alloc in the timed path; rename
scenario_borrowed_fixed to scenario_borrowed_fixed_assign to match the
measured operation.
GCC 15 with -Werror flags an inlined stlsoft::auto_buffer destructor as
freeing its internal buffer. Suppress -Wfree-nonheap-object on
test.performance.cstring; the destructor deallocates external storage
only.
* misc

* chore(internal): removed `CSTRING_USE_WINAPI_` and now discriminate on `_WIN32`

* chore(internal): simplified includes

* refactor(cstring): centralise CSTRING_ASSERT in internal.h

Define CSTRING_ASSERT once in src/internal.h, with <assert.h>, and drop the
copies in cstring.core.c and cstring.vector.c. Vector call sites use that
macro in place of CSTRING_VECTOR_ASSERT. dllmain.c includes internal.h.

* fix
@synesissoftware synesissoftware changed the title squash-commit (test.performance.cstring_readline) 4.0.19 Oct 3, 2026
* dependencies

* misc

* test(cstring): show readline ignoring a failed readonly clear

Add a component case that passes a non-empty readonly cstring to
cstring_readline() for an empty line and for immediate EOF. The clear must
return CSTRING_RC_READONLY, leave the payload in place, and leave the
stream unconsumed.

* docs(cstring): record the 4.0.19 readonly readline clear

Describe the cstring_readline() truncate check in CHANGES.md and NEWS.md,
set Doxyfile PROJECT_NUMBER to 4.0.19, and date the cstring.core.c banner.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants