Skip to content

Revert NativeString/Utilities.h changes from last month - #1269

Merged
uNetworkingAB merged 4 commits into
masterfrom
copilot/revert-native-string-commits
Apr 2, 2026
Merged

Revert NativeString/Utilities.h changes from last month#1269
uNetworkingAB merged 4 commits into
masterfrom
copilot/revert-native-string-commits

Conversation

Copilot AI commented Apr 2, 2026

Copy link
Copy Markdown
Contributor

This PR reverts all recent commits (last month) that touched how NativeString works or is used (Utilities.h and all files that use it).

Reverted Commits

The following 4 commits are reverted (in reverse chronological order):

Commit Description
71cac73 Fix NativeStringContext: fixed 8MB pool, malloc fallback, and proper free (#1264)
3e2ea85 Replace NativeString heap allocations with thread-local pool allocator (#1263)
6b4968f Update NativeString to use better copy mechanism and ValueView for utf8 string data direct access (#1262)
0b0c8f9 Add DataView support, update RecognizedString type (#1258)

Files Affected

  • src/Utilities.h — reverts all NativeString/NativeStringContext changes
  • src/AppWrapper.h — reverts NativeStringContext usage
  • src/HttpRequestWrapper.h — reverts NativeStringContext usage
  • src/HttpResponseWrapper.h — reverts NativeStringContext usage
  • src/WebSocketWrapper.h — reverts NativeStringContext usage
  • src/addon.cpp — reverts NativeStringContext usage
  • docs/index.d.ts — reverts RecognizedString type changes
  • docs/tsconfig.json — reverts tsconfig changes added with DataView support

Copilot AI and others added 4 commits April 2, 2026 23:06
… proper free (#1264)"

This reverts commit 71cac73.

Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>
…allocator (#1263)"

This reverts commit 3e2ea85.

Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>
…w for utf8 string data direct access (#1262)"

This reverts commit 6b4968f.

Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>
This reverts commit 0b0c8f9.

Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>
Copilot AI requested a review from uNetworkingAB April 2, 2026 23:07
@uNetworkingAB
uNetworkingAB marked this pull request as ready for review April 2, 2026 23:09
@uNetworkingAB
uNetworkingAB merged commit 7694d17 into master Apr 2, 2026
1 check was pending
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