[1286] 升级内置 Goldfish Scheme 到 v18.11.32 并移除 njson - #4526
Merged
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
- 覆盖式同步 src/ 与 goldfish/{scheme,liii,srfi}/ 到上游 v18.11.32
- 随上游移除 (liii njson):删除 liii_njson.cpp、njson.scm 及 3rdparty/json-schema-validator
- 0205.scm 迁移到 (liii json),删除 0251 集成测试与 njson tmu
- xmake 去掉 njson 相关源文件与 include 路径
Co-Authored-By: Claude <noreply@anthropic.com>
s7 会把模块内对 C++ glue 函数的引用静态绑定到 glue 本身,qt-chat-tab- restore-session 间谍必须先于 chat-list.scm 加载定义才能被模块内调用看到。 Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
TeXmacs/plugins/goldfish/(src/与goldfish/{scheme,liii,srfi}/)到上游 v18.11.32,与上游逐文件一致(liii njson)(goldfish#996):删除liii_njson.cpp、goldfish/liii/njson.scm及3rdparty/json-schema-validator/TeXmacs/tests/0205.scm(chat 持久化集成测试)迁移到(liii json):file->njson→string->json、njson-ref→json-ref、njson-array->list→vector->list兼容分支,删除全部njson-free调用TeXmacs/tests/0251.scm、TeXmacs/tests/tmu/200_21_njson.tmuxmake/goldfish.lua、xmake/vars.lua去掉 njson 相关源文件与 include 路径Why
与 1252(v18.11.31)相同的覆盖式对齐上游 tag 约定。上游 v18.11.32 已移除
(liii njson),mogan 保持一致,避免维护上游已废弃的 JSON 双实现及其 schema 校验依赖。progs 侧迁移已由 #4520/#4521/#4523/#4524(1281–1285)完成,本分支收尾。上游 v18.11.31..v18.11.32 主要内容:环形结构防御(list-sorted?、subprocess 参数/env、set! load-path、json-drop 回调造环)、边界修复(substring/cursors 越界、iota_list 溢出 UB、g_http-post files 类型检查、g_listdir 防越界)、类型检查补齐(hash-table-ref/default、update!、delete-duplicates)等。
验证
diff -rq一致;全仓grep njson无残留xmake b goldfish、xmake b stem通过🤖 Generated with Claude Code