You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
LAYOUT, MULTILEADER, LWPOLYLINE and HATCH are skipped on R14 to R2007: their decoders are not routed there #229
Decoders that close on R2004 and later never see these records on older releases, because the objects there carry a custom-class type code (or LAYOUT's fixed code 0x52 on R2007) that dispatch does not route. They are counted as skipped, not errored, so nothing flags them:
Type
R14
R2000
R2004
R2007
Decoder
LAYOUT (custom class)
7 files × 3, sample_AC1014 4
7 files × 3, sample_AC1015 4
objects/acad_layout.rs closes on R2004+
LAYOUT (0x0052)
7 files × 3, sample_AC1021 4
same
MULTILEADER (custom class)
15
15
15
15
entities/mleader.rs closes on R2010+
LWPOLYLINE (custom class)
24 (sample_AC1014 23, polyline2d_line_R14 1)
entities/lwpolyline.rs
HATCH (custom class)
8
entities/hatch.rs
LWPOLYLINE and HATCH were introduced in R14 as classes and later got fixed type codes, so on R14 their type code is a class number from AcDb:Classes. MULTILEADER on R2004 and R2007 is the same object the R2010 decoder reads.
Routing them may turn skips into errors, which is the point: then the boundary check measures them. docs/spec-coverage.md currently says these sections close "on every corpus record of the type", which is not true of these records.
One more of the same kind: GEODATA (§20.4.78). src/entities/geodata.rs is dispatched on a fixed code (OBJECT_TYPE_GEODATA = 0x4FB in entities/dispatch.rs), but geoloc.dwg (R2018, AutoCAD 2023, pinned by #225) writes its one GEODATA record with the class number AcDb:Classes gives it, so it is counted as skipped and the decoder has never run on a real record. docs/spec-coverage.md moves the row from decoder to partial for this reason.
MULTILEADER on R2004 and R2007: dispatch_split_stream_class gates MULTILEADER to R2010+. R2007 has the split streams and may only need the gate opened. R2004 needs its TVs read inline, and §20.4.48's -R2007 branches read. Not started.
GEODATA: this is more than routing. entities/geodata.rs decodes GEODATA as an entity (common entity data, then its fields), but §20.4.78 GEODATA is a non-graphical object, and the decoder has never met a real record. It needs §20.4.78's field list as an object decoder, measured on geoloc.dwg's one record (which has a DXF twin). Not started.
Closed by the routing fixes that landed: #264 routes the R14 LWPOLYLINE and HATCH classes, #270 decodes LAYOUT on R14, R2000 and R2007 (custom class and 0x0052), and #278 decodes MULTILEADER on R14 to R2007 with §20.4.48's version branches (#295 settled GEODATA the same way). Measured on main: the Corpus job's coverage logs for run 40471959010 list 547 skipped records in 30 types, and LAYOUT, MULTILEADER, LWPOLYLINE and HATCH are not among them. Every record of the four types now reaches its decoder and closes on its boundary (0 errored in the baseline).
Activity
DrunkOnJava commentedon Oct 26, 2026
One more of the same kind: GEODATA (§20.4.78).
src/entities/geodata.rsis dispatched on a fixed code (OBJECT_TYPE_GEODATA = 0x4FBinentities/dispatch.rs), butgeoloc.dwg(R2018, AutoCAD 2023, pinned by #225) writes its one GEODATA record with the class number AcDb:Classes gives it, so it is counted as skipped and the decoder has never run on a real record. docs/spec-coverage.md moves the row fromdecodertopartialfor this reason.DrunkOnJava commentedon Oct 26, 2026
Progress, 2026-10-26:
2RDvertex branch. All 32 records close, and they decode to the same values as the R2000 saves, handle by handle (examples/probe_cross_release.rs).objects::acad_plot_settings::check_versionstill refuses R2007 on the grounds that the R2007 string stream cannot be located, which string_stream::data_section_end has no R2007 path — a separate blocker from #110 for every R2007 split-stream decode #65 fixed. It also refuses R14 and R2000 as undetermined. fix(objects): LAYOUT has no data-store block; those 16 bits are plot_layout_flags #236 (DXF oracle lane) hasacad_layout.rsopen, so this waits for fix(objects): LAYOUT has no data-store block; those 16 bits are plot_layout_flags #236 to land, to stay out of its diff.dispatch_split_stream_classgates MULTILEADER to R2010+. R2007 has the split streams and may only need the gate opened. R2004 needs itsTVs read inline, and §20.4.48's-R2007branches read. Not started.entities/geodata.rsdecodes GEODATA as an entity (common entity data, then its fields), but §20.4.78 GEODATA is a non-graphical object, and the decoder has never met a real record. It needs §20.4.78's field list as an object decoder, measured ongeoloc.dwg's one record (which has a DXF twin). Not started.fix(objects): decode LAYOUT on R14, R2000 and R2007 with §20.4.84's v…
fix(entities): route the R14 LWPOLYLINE and HATCH classes and read LW…
fix(objects): decode GEODATA as the §20.4.78 object it is (#229) (#295)
fix(entities): decode MULTILEADER on R14 to R2007 with §20.4.48's ver…
DrunkOnJava commentedon Oct 27, 2026
Closed by the routing fixes that landed: #264 routes the R14 LWPOLYLINE and HATCH classes, #270 decodes LAYOUT on R14, R2000 and R2007 (custom class and 0x0052), and #278 decodes MULTILEADER on R14 to R2007 with §20.4.48's version branches (#295 settled GEODATA the same way). Measured on main: the Corpus job's coverage logs for run 40471959010 list 547 skipped records in 30 types, and LAYOUT, MULTILEADER, LWPOLYLINE and HATCH are not among them. Every record of the four types now reaches its decoder and closes on its boundary (0 errored in the baseline).
feat(dxf): score MULTILEADER in the value oracle (§20.4.48) (#385)