Commit Graph

513 Commits

Author SHA1 Message Date
pjh123 0ffb5d2cf3 fix: tagged template 语义修正——cooked undefined/this绑定/site缓存/冻结 + groupBy getter 异常传播 + defineGetter setter 保留 2026-08-22 11:15:55 +08:00
pjh123 9eb0944877 fix: Error.prototype.toString 异常传播语义——getter/Symbol/ToString 异常原样上抛
- name/message 读取改 ordinary_get:访问器 getter 触发,抛错经 take_uncaught_value 恢复原值传播
- name/message 转换改 to_string_full:Symbol 抛 TypeError,用户 ToPrimitive 异常原样传播
- 非对象 this 保持抛 TypeError(与现行规范 §20.5.3.4 及 test262 invalid-receiver/called-as-function 一致)
- 单测补 getter 抛错/Symbol name+message/toString 抛错四例
2026-08-22 10:44:48 +08:00
pjh123 c7b54cb181 feat: String.raw/groupBy/withResolvers/f16round/__defineGetter__ 低垂果实批量实现 2026-08-22 10:26:00 +08:00
pjh123 d2572682dc fix: generator/async native 状态 session 字符串 GC 标记修复 2026-08-22 08:50:41 +08:00
pjh123 c66dd81134 perf: BigInt 参与回收——对齐字符串 GC 路径
- SessionGc 新增 live_bigints 集合,mark 阶段扫描根与对象边标记存活 BigInt
- process_edge 扩展 BigInt 值处理,scan_edges_for_mark 透传 live_bigints
- 新增 sweep_session_bigints:按存活标记清扫不活跃 BigInt box
- collect/collect_strings_only 收集流程接入 BigInt 清扫
- should_collect/should_collect_gc/should_collect_strings 纳入 BigInt 存在性判定
- for_each_value 新增 immutables_cache 根扫描,防止常量池 BigInt 被误回收
- 13 个 gc_runtime_tests 全部 PASS,无新增 clippy 警告
2026-08-22 08:46:00 +08:00
pjh123 8e47168168 perf: mark 边收集去临时 Vec、合并双遍遍历 2026-08-22 08:23:31 +08:00
pjh123 469ef7543b perf: GC 字节账目补齐 + is_epoch_ptr O(1) + 分配热路径触发 2026-08-22 08:10:32 +08:00
pjh123 95155ce450 fix: Promise rejection reason 异常值通道配对修复——create_error 辗转路径归正为 create_from_text 2026-08-21 23:34:04 +08:00
pjh123 c514ab35a3 feat: 实现 console 全局对象 (log/warn/error/info/debug/trace) 2026-08-21 22:29:21 +08:00
pjh123 aa523fcd4c chore: 移除单元测试中4个耗时benchmark测试函数 2026-08-21 22:25:23 +08:00
pjh123 b9680c80aa feat: Temporal.PlainTime round 舍入(真因子校验 + 跨午夜取模) 2026-08-17 06:23:06 +08:00
pjh123 c6f0e76bf8 feat: Temporal.PlainTime add/subtract 时间域叠加 2026-08-17 06:02:06 +08:00
pjh123 0037f0e5ad feat: Temporal.PlainTime until/since 差值计算 2026-08-17 02:40:21 +08:00
pjh123 bed1abd3f3 feat: Temporal.PlainTime equals/compare 比较语义 2026-08-17 02:34:30 +08:00
pjh123 27cc6333f5 feat: Temporal.PlainTime.from 三分支解析(字符串/实例/bag) 2026-08-17 02:19:01 +08:00
pjh123 a8e68a7a45 feat: Temporal.PlainTime toString options 与字符串化族 2026-08-17 02:14:30 +08:00
pjh123 e06071429c feat: ZonedDateTime.round 舍入(day 双路径 + 真因子校验) 2026-08-17 01:55:52 +08:00
pjh123 430f922ef3 feat: ZonedDateTime.compare 跨实例按 epoch 比较(复用 from 解析器,忽略时区/日历) 2026-08-17 01:27:54 +08:00
pjh123 2d4c074530 feat: eval 脚本模式保留完成值与全局 var(create_dynamic_script) 2026-08-17 00:14:47 +08:00
pjh123 68f8637acf feat: ZonedDateTime.add/subtract 时长运算(复用 PDT 叠加算法 + 中间日期检查 + 时区/日历槽保真) 2026-08-17 00:02:00 +08:00
pjh123 5bf674e1c6 feat: ZonedDateTime.with/withPlainTime/withCalendar 字段合并(offset 默认 prefer + 时间串歧义解析) 2026-08-16 23:49:30 +08:00
pjh123 064f565b21 feat: ZonedDateTime.until/since 差异计算(复用 difference_core) 2026-08-16 23:21:08 +08:00
pjh123 0761fb3010 feat: ZonedDateTime.from 三分支解析(字符串/对象/property bag + offset/disambiguation 选项) 2026-08-16 22:50:48 +08:00
pjh123 c7b238e518 feat: eval 全局注册与最小执行(间接 eval) 2026-08-16 22:25:33 +08:00
pjh123 04067a4fe5 feat: ZonedDateTime.withTimeZone 与 equals 基础实现 2026-08-16 22:07:38 +08:00
pjh123 3baa868232 feat: ZonedDateTime.toString 族(toJSON/toLocaleString/valueOf 绑定) 2026-08-16 21:56:57 +08:00
pjh123 3db77b869d test: ZonedDateTime getter 语义断言(字段/epoch floor/偏移/品牌 TypeError) 2026-08-16 21:21:27 +08:00
pjh123 662fbcde86 feat: ZonedDateTime 27 个属性 getter 宏化实现 2026-08-16 21:21:07 +08:00
pjh123 681b4b3c85 test: AsyncDisposableStack 测试三十组(微任务序/错误链/GC 交叉/full_reset) 2026-08-16 20:11:56 +08:00
pjh123 6c7bcdeed6 feat: AsyncDisposableStack disposeAsync 状态机(needsAwait 微任务序 + 错误链合并 + 绑定三时机) 2026-08-16 20:11:50 +08:00
pjh123 b480ec9308 feat: DisposableStack full_reset 重建测试(全局槽/原型链/instanceof 存活) 2026-08-16 19:35:11 +08:00
pjh123 e96142ef4f feat: DisposableStack 测试九组(构造器/方法语义/原型形状/GC 交叉) 2026-08-16 19:32:23 +08:00
pjh123 7c02d3ece1 feat: DisposableStack 内置对象(状态盒 + use/adopt/defer/dispose/move + GC 六处接线 + 绑定三时机) 2026-08-16 19:22:57 +08:00
pjh123 75b429fac7 fix: Error 子类型构造器描述符与原型链对齐规范(prototype/name meta + [[Prototype]] 指向 Error) 2026-08-16 19:10:51 +08:00
pjh123 e100bfb8b4 feat: SuppressedError 内置错误实现(三字段属性序 + 构造器接线) 2026-08-16 19:04:09 +08:00
pjh123 554a69078f fix: PlainDate 周/月/时代 getter 补 ensure branding 校验 2026-08-16 18:50:55 +08:00
pjh123 c8b1ccd0a0 feat: Temporal 构造器严格校验日历并真实存槽(含 fast path 与日历传播) 2026-08-16 17:30:01 +08:00
pjh123 9f64962b20 fix: sloppy 普通函数调用 this 未定义/null 绑定全局对象 2026-08-16 16:58:32 +08:00
pjh123 f1c4b33735 feat: Iterator.prototype 返回迭代器方法(map/filter/take/drop/flatMap) 2026-08-16 16:38:45 +08:00
pjh123 4ea723764f feat: Iterator.prototype 终端方法(forEach/every/some/find/reduce/toArray) 2026-08-16 16:02:14 +08:00
pjh123 b4bd0d3198 feat: Iterator 构造器本体支持 subclass 基座 2026-08-16 15:09:41 +08:00
pjh123 649ea44e71 fix: 控制流逃出计数读越界防御,无 ext 字的返回安全降级 2026-08-16 15:02:04 +08:00
pjh123 89f6b98b65 fix: 对象断言测试持活 Vm 消除返回值裸指针 UAF 2026-08-16 15:02:04 +08:00
pjh123 277429e3ea fix: 绑定模式内嵌默认值表达式补捕获扫描,嵌套函数引用外层绑定防 LOAD_GLOBAL 回归 2026-08-16 14:53:57 +08:00
pjh123 9f13d107ec feat: Iterator helpers 基建——Symbol.dispose 注册与 %IteratorHelperPrototype% 2026-08-16 14:44:47 +08:00
pjh123 c5c4916a8f fix: 绑定侧解构计算键参与闭包捕获遍历防静默错值 2026-08-16 14:30:20 +08:00
pjh123 c8f5f76e47 refactor: 测试断言改 assert! 2026-08-16 14:04:27 +08:00
pjh123 885c43e0e4 refactor: match 可改 ? 的等价改写 2026-08-16 14:04:25 +08:00
pjh123 ef3882ac55 feat: 解构计算键通用 fallback 支持任意键表达式 2026-08-16 13:49:17 +08:00
pjh123 f814a2c5db fix: new 表达式 native 构造收口 call_function_sync 防 255/254 槽污染 2026-08-16 13:41:01 +08:00