Skip to content

feat(libcurl): implement curl_formfree - #17657

Merged
oneandonlydean merged 6 commits into
boykopovar:mainfrom
alvaroelpob:feat/libcurl-formfree
Nov 12, 2026
Merged

oneandonlydean merged 6 commits into
boykopovar:mainfrom
alvaroelpob:feat/libcurl-formfree

Conversation

@alvaroelpob

@alvaroelpob alvaroelpob commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

What

Implement curl_formfree for guest LP64 form chains, including nested more lists and curl's ownership flags, as a port of curl 7.81.0 formdata.c in its own source file.

Tested

Linux: suite.py feat/libcurl-formfree at 89a2946: CTest 4666/4666 passed; conventions passed.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: feat(libcurl): bridge curl-owned sockets to guest descriptors #17603
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Progress report (baed587 → 89a2946)

📈 System libraries: 36.54% (+0.0026%, +1 implemented functions)

✅ 1 implemented
Library Name
libcurl curl_formfree_nid_postfix

Changed libraries (implemented exports)

Library Before After Change
libcurl 56/85 (65.88%) 57/85 (67.06%) +1.18%

@alvaroelpob
alvaroelpob marked this pull request as ready for review November 9, 2026 07:47
@JJenkx

JJenkx commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Windows check of head c540103f67, merged onto main a82dcd06db (421867b4ee, clean merge).

Setup: Windows 11 Enterprise 22621, WinLibs GCC 15.2 UCRT, Release. The hosted Windows check does not run these tests on pull requests.

  • guest_curl, guest_curl_strings pass in 3 of 3 runs, none skipped.

AI-assisted: yes.

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 17390 core/libs/prx/libcurl/CMakeLists.txt L81
docs/dev/debt/libcurl.md L15

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 14212 docs/dev/debt/libcurl.md

@alvaroelpob

Copy link
Copy Markdown
Contributor Author
  • 855455c: curl_formfree moved out of Export.cpp into src/FormFree.cpp. It is a statement-by-statement port of lib/formdata.c, so the file now carries curl's copyright and licence and a Derived from lib/formdata.c@801bd51 line.
  • 89a2946: the debt entry moved out of "Unimplemented exports", states the gap first, and cites formdata.c:746-771.

@github-actions github-actions Bot added the build label Nov 11, 2026
@oneandonlydean
oneandonlydean merged commit e614bb1 into boykopovar:main Nov 12, 2026
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants