Bases on #17, crosses the last item off the list in #14. With this the kicad_parse_gen::schematic::Schematic structs are being properly kept track of and can finally be updated using the internal Schematic structs as well as written back to their respective files. Designed so that it should be easy to adapt to the changes in #15 once it gets merged.
kicad_parse_gen has a nasty bug with handling escaped strings, I've added the escape/unescape workaround just for the expression field for now, but since it is more widespread we might want to open an issue for it (and fix it) upstream.
Bases on #17, crosses the last item off the list in #14. With this the
kicad_parse_gen::schematic::Schematic
structs are being properly kept track of and can finally be updated using the internalSchematic
structs as well as written back to their respective files. Designed so that it should be easy to adapt to the changes in #15 once it gets merged.kicad_parse_gen
has a nasty bug with handling escaped strings, I've added theescape
/unescape
workaround just for the expression field for now, but since it is more widespread we might want to open an issue for it (and fix it) upstream.cc @luxas @chiplet