Compare required byte strings using the current locale #95

Manually merged
erikinkinen merged 26 commits from feature/locale-byte-string-comparisons into feature/remaining-memory-string-family 2026-11-21 07:22:49 +01:00
Owner

Provide strcasecmp and strncasecmp required by the selected CMake/Git source paths. Each native entry uses the sole original process publication and actual current LC_CTYPE before invoking the original character mapping. Both installed C/POSIX and C.UTF-8 profiles fold ASCII letters and preserve other unsigned bytes; no Unicode folding, extra locale root or hidden thread state is introduced.

Depends on #93 and follows design #94. The explicit startup case-insensitive-string feature selects current-locale; existing feature vectors remain unchanged. The standard strings.h and shared declarations preserve full size_t counts, readonly overlap and zero-count no-access behavior. No unobserved _l or GNU interfaces are added.

  • Implement both required native/rooted functions and namespaced providers.
  • Retain actual process/thread locale admission even for zero count.
  • Reuse the original character companion without a second classifier.
  • Exercise every byte pair, profile selection, foreign-root refusal and guarded input ranges.
  • Check actual native symbol visibility and standard C/C++ declarations.
  • Preserve strict seven-member workspace and original helper/source checks.

Validation: 241 workspace library tests; strict host default/all-feature and bare-target Clippy; formatting; 26 maintained workspace/owner controls; 13 header controls; 46 Markdown files. Actual compiled Rust helpers pass readonly guard-page controls and three separately owned native invocations must terminate with SIGSEGV. Actual default workspace and independent case-only host/bare builds also pass; the case-only object has no memory-string exports. Four symbols were inspected in the actual case-only bare-target startup object; eighteen positive/twelve negative C11/C++11/C++17 declaration controls pass.

This completes the two-function implementation. Full workload inventory remains open: conditional upstream fallbacks, unresolved port/configuration inputs, native guest and external-toolchain adoption are not inferred from these source and host controls.

Provide strcasecmp and strncasecmp required by the selected CMake/Git source paths. Each native entry uses the sole original process publication and actual current LC_CTYPE before invoking the original character mapping. Both installed C/POSIX and C.UTF-8 profiles fold ASCII letters and preserve other unsigned bytes; no Unicode folding, extra locale root or hidden thread state is introduced. Depends on #93 and follows design #94. The explicit startup case-insensitive-string feature selects current-locale; existing feature vectors remain unchanged. The standard strings.h and shared declarations preserve full size_t counts, readonly overlap and zero-count no-access behavior. No unobserved _l or GNU interfaces are added. - [x] Implement both required native/rooted functions and namespaced providers. - [x] Retain actual process/thread locale admission even for zero count. - [x] Reuse the original character companion without a second classifier. - [x] Exercise every byte pair, profile selection, foreign-root refusal and guarded input ranges. - [x] Check actual native symbol visibility and standard C/C++ declarations. - [x] Preserve strict seven-member workspace and original helper/source checks. Validation: 241 workspace library tests; strict host default/all-feature and bare-target Clippy; formatting; 26 maintained workspace/owner controls; 13 header controls; 46 Markdown files. Actual compiled Rust helpers pass readonly guard-page controls and three separately owned native invocations must terminate with SIGSEGV. Actual default workspace and independent case-only host/bare builds also pass; the case-only object has no memory-string exports. Four symbols were inspected in the actual case-only bare-target startup object; eighteen positive/twelve negative C11/C++11/C++17 declaration controls pass. This completes the two-function implementation. Full workload inventory remains open: conditional upstream fallbacks, unresolved port/configuration inputs, native guest and external-toolchain adoption are not inferred from these source and host controls.
erikinkinen added this to the Alpha 1 milestone 2026-11-08 18:52:36 +01:00
Retain the original seven-member source and strict Cargo metadata checks before adding the locale byte comparison feature. Preserve published family history and keep the independent CI repair separate from the new ABI.
feat: Compare required byte strings through the original locale root
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 16s
CI / memory (push) Failing after 2m28s
CI / thread (push) Successful in 2m33s
be0c8d4236
Provide the selected CMake and Git case-comparison pair using actual current LC_CTYPE and the existing character companion. Preserve unsigned-byte, full-width count and readonly storage contracts without new thread state or implicit locale ownership; validate real compiled Rust guards, native export visibility, original root selection and freestanding header signatures.
fix: Keep case comparison independent of memory string activation
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 20s
CI / memory (push) Failing after 2m6s
CI / thread (push) Successful in 2m22s
2d5d5a8c13
Share the descriptive error type without loading optional collation or tokenizer code. Exercise actual default workspace tests and the case-only host and bare-target configurations so all-feature validation cannot conceal a missing feature dependency; preserve the original memory-string error reexport and reject accidental memory exports.
Prepare the existing original Cargo source operation before full-crate direct Rust witnesses and retain its actual thread-runtime ABI library through their consumers. Keep the same complete Cargo matrix and explicit source selections; the standalone conversion checker acquires its own bounded operation from that snapshot.

(cherry picked from commit 4f5fef77d0)
Bind code and nonlinkable metadata files to the actual Cargo artifact and original producer before capture. Check and independently retire all original outputs without deriving companion paths or calling replaced receivers.

(cherry picked from commit 34e14f1037)
(cherry picked from commit 228f79b70f)
Register the original capture attempt before opening a reported Cargo output. An unreturned acquisition cannot be retired as an empty receiver or reopened by a later attempt.

(cherry picked from commit c0b3c9d88a)
(cherry picked from commit 82e55d7676)
Bind every output receiver to the original completed artifact selection and journal position before its initializer or file effects. Refuse path-only construction, repeated initialization and changed original registrations while retaining original close duties.

(cherry picked from commit 84121510d0)
(cherry picked from commit 72486ee343)
Reject a replaced library selector before a consumer command or callback, even when the original output roster remains intact. Cleanup observes only the original journal before draining its original receivers.

(cherry picked from commit 984fe39d53)
(cherry picked from commit 54fe1bf15c)
Provide each originally reported code and metadata file as an explicit extern path. Compilers whose archives contain metadata stubs then receive the actual full metadata from the same retained production, without inferred files or changed embedding options.

(cherry picked from commit 515ea2cfbe)
(cherry picked from commit ae871e36a5)
Check original self registration before latching an observation failure or draining produced files. Copied dependency and output views cannot poison or close their actual original producer.

(cherry picked from commit 2c0c1de7e1)
(cherry picked from commit ea4e013bbc)
Route thematic full-crate callers through the same original dependency owner as their library. Keep the actual extern metadata, dependency directory and fresh output checks throughout each compiler call so transitive crate loading does not fall back to an unowned lookup.

(cherry picked from commit 3420f7bf9b)
(cherry picked from commit 8360b79491)
Match the intrinsic expected length directly when selecting the short-copy capacity. The debug callback must preserve its unchanged known and unknown error assertions without acquiring an out-of-line core slice-method dependency.

(cherry picked from commit fc2f4828da)
(cherry picked from commit 676f56d1a1)
(cherry picked from commit df35b4d4f3)
Keep the saved compiler command subordinate to the original retained output lifetime. Document the shared dependency boundary and check that a withdrawn receiver refuses before source verification or native invocation.

(cherry picked from commit 0e4a1882d1)
(cherry picked from commit 0109876060)
Keep intentional Linux SIGILL controls from publishing uncontrolled core output. Change only each declared crash child, assert its actual limit and dumpability policy, and preserve the parent signal and generated-source closure requirements.

(cherry picked from commit d46538f25f)
(cherry picked from commit 1ee3b7b1c7)
(cherry picked from commit 01e7fdabb3)
Keep the existing acquisition orderings and update closures while using the renamed standard-library API. Identifier allocation and join-state claims retain their original exhaustion and once-only behavior without deprecated method warnings.

(cherry picked from commit a233f694aa)
(cherry picked from commit 361dd5dca9)
Use the same standard-library rename for startup binding counts and locale references. Preserve the existing orderings, overflow limits and refusal closures.

(cherry picked from commit fbe840291f)
(cherry picked from commit a72fc61c59)
Account for the existing inert thread-runtime dependency and locale/string feature edges in the startup source contract. Retain exact dependency and feature equality, optional POSIX admission and forbidden core export checks without changing production code.

(cherry picked from commit 10ad88da04)
Express the seven rejected literal byte arrays as equivalent fixed byte strings, preserving every malformed-directory case and its exact expected bytes without suppressing Clippy.

(cherry picked from commit c2a2cd5eb6)
Replace unconditional whole-object Cargo link inputs with an indexed archive of the same original namespaced assembly units. Inline-owning startup and thread tests keep their definitions while unresolved consumers extract the original required members; complete workspace targets, features and strict duplicate-definition checks remain intact.

(cherry picked from commit f679d18e0f)
test: Express startup C-string fixtures without manual terminators
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 3s
CI / thread (push) Successful in 1m17s
CI / memory (push) Failing after 3m12s
7ffb51b536
Use equivalent static C-string literals at the four rejected comparison callsites so strict Clippy checks retain the original bytes and pointer types without lint waivers.

(cherry picked from commit 64f62d6a56)
style: Format literal string comparison controls
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
CI / thread (push) Successful in 1m15s
CI / memory (push) Failing after 3m30s
76cd09d7dc
Keep the native C string literal assertions in the repository's Rust formatting style.
fix: Keep checked atomic admission compatible with stable Rust
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / thread (push) Successful in 1m22s
CI / markdown (push) Successful in 7s
CI / memory (push) Failing after 4m47s
1a8ee26a1e
Use compare-exchange loops for generation, borrow, lease and locale reader admission. Preserve the original success and failure orderings, old-value result and overflow refusal without requiring the unstable atomic_try_update API.
Author
Owner

C-string test inputs now use equivalent typed literals, including the thread tokenizer fixtures reached by all-feature checks. The original assertions remain intact. Published in d153cc9f.

C-string test inputs now use equivalent typed literals, including the thread tokenizer fixtures reached by all-feature checks. The original assertions remain intact. Published in `d153cc9f`.
Strict all-feature workspace checks reach three manually terminated input strings. Express the same bytes and pointer types with C-string literals so those original startup controls remain enabled under the maintained warning policy.
Represent the existing empty and colon delimiter bytes with C-string literals. This preserves every tokenizer assertion and pointer type while allowing strict all-feature workspace checks to reach the complete thread runtime controls.
style: Match startup string tests to the CI formatter
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / thread (push) Successful in 1m4s
CI / markdown (push) Successful in 3s
CI / memory (push) Failing after 9m0s
d153cc9f89
Preserve the existing C-string inputs and assertions while using the wrapping selected by the maintained Rust 1.93 formatter.
fix: Match the selected wide alias rejection diagnostic
All checks were successful
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
CI / thread (push) Successful in 1m13s
CI / memory (push) Successful in 11m22s
3c8603ca59
Use the selected BFD linker diagnostic for the core-only negative link and require the missing symbols to match the complete conventional wide API.
erikinkinen manually merged commit b7251a5704 into feature/remaining-memory-string-family 2026-11-21 07:22:49 +01:00
Sign in to join this conversation.
No description provided.