Proto commits in KiCad/kicad-source-mirror

These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)

Commit:144abf0
Author:Damjan
Committer:Damjan

pcbnew: map the microvia span violation to the IPC API

The documentation is generated from this commit.

Commit:3074105
Author:Jan Wichmann
Committer:Seth Hillbrand

Add a line_width DRC check for graphic shapes Adds a line_width constraint and DRC test for the stroke width of graphic shapes and text box borders. Skip solid-filled shapes. We move text_thickness to an alias in the parser. Migrates the schema from 3 to 4 with older exclusions loading. Fixes https://gitlab.com/kicad/code/kicad/-/issues/17448

Commit:b32007a
Author:Jeff Young
Committer:Jeff Young

Add rudimentary API support for design blocks. From AIR 1787

Commit:ed2e743
Author:Seth Hillbrand
Committer:Seth Hillbrand

Carry text box border stroke through the API The API never sent a board text box's border stroke, so reading one and writing it back reset the border. Adding shape equality to text boxes exposed this in qa_api. We compare the effective width now, because pcbnew clamps the parser's -1 sentinel and table cells never matched 0.

Commit:0ef63a7
Author:Jon Evans
Committer:Jon Evans

API: Use proper data types for PostMachiningProperties

Commit:7ff7634
Author:Jon Evans

API: Fix missing handling for pin/sheet pin custom properties

Commit:7872889
Author:Jeff Young

Fix API test failure. First value in API enum must be named <PREFIX>_UNKNOWN.

Commit:4c23271
Author:Jeff Young

Serialize/deserialize marker types. This mostly worked before because the marker type is encoded in the DRCE errorType and the layer. But it failed for UNRESOLVED_VARIABLES on the drawing sheet because LAYER_DRAWING_SHEET is a GAL_LAYER_ID, not a PCB_LAYER_ID. AIR 1982

Commit:0585aaf
Author:Jon Evans
Committer:Jon Evans

API: add an async ERC task Assisted-by: Deepseek

Commit:2d10fcb
Author:Jon Evans
Committer:Jon Evans

API: add an async DRC task Assisted-by: Deepseek

Commit:5e4c4a8
Author:Jon Evans
Committer:Jon Evans

API: add an async zone fill task Assisted-by: Deepseek

Commit:370d078
Author:Jon Evans
Committer:Jon Evans

API: add a scheduler for long-running tasks Assisted-by: Deepseek

Commit:d54de97
Author:Jon Evans
Committer:Jon Evans

API: report violation details in DRC/ERC markers Assisted-by: Deepseek

Commit:8e7132f
Author:John Beard
Committer:John Beard

Pcbnew: Introduce non-component pads This allows a first-class way to represent non-physical-component pads. For example: * Net-ties, buried or not * Embedded components (coils, etc), buried or not * Any other route-to-able named copper These differ from SMD pads because they do not imply a solderable, contactable or any other externally-accesible contact. They may be covered by mask or buried in internal layers. For now, the gerber attribute is just "conductor", following existing logic in the plotter code, but could be called out as a special attribute too. ODB++ export needs some work to declare them as net points, but this is already broken for internal/mis-used SMD pads. For now, they do not downgrade to v9 or v10 (but perhaps they could be forced into SMD pads, which would open in those versions. They only may carry inner copper on custom-stackup footprints, because they can carry only one copper layer (same as SMD/CONN pads) and so cannot fulfil the expand-inner contract. Fixes: https://gitlab.com/kicad/code/kicad/-/work_items/19127

Commit:113c71d
Author:Seth Hillbrand
Committer:Seth Hillbrand

Let the board refresh its generated tables We keep table knowledge out of the API handler. The save paths refresh the tables and the API now refuses a precision outside 0 to 6.

Commit:04a5485
Author:Seth Hillbrand
Committer:Seth Hillbrand

pcbnew: add a live stackup table This replaces the static stackup table, which went stale as soon as the stackup changed. The new table rebuilds on board edits and keeps hidden columns in place. We give sublayers persistent ids so a row keeps its formatting when layers move. Fixes https://gitlab.com/kicad/code/kicad/-/issues/12755

Commit:f64ee12
Author:Seth Hillbrand
Committer:Seth Hillbrand

Add per-sheet reference designator suffixes Reused sheets need unique references without renumbering each channel. We keep one base per reused file and add the suffix typed on each sheet, so R12 becomes R12_M1 and R12_M2 with no format change. Assisted by: Codex

Commit:b877c17
Author:Jeff Young
Committer:Jeff Young

Add new referenceImage fields to API. AIR 2182

Commit:0d12bce
Author:Jon Evans
Committer:Jon Evans

API: support footprint unit info

Commit:b7c0b52
Author:Jon Evans
Committer:Jon Evans

API: support footprint unit info (cherry picked from commit 72962c4811538d648a41e320035e21ff31c9010a)

Commit:56bdb32
Author:Seth Hillbrand
Committer:Seth Hillbrand

ADDED: DRC warning for copper outside the board outline Edge clearance only measures distance to Edge.Cuts, so copper sitting clear of the outline (a stray via, an unplaced fiducial, a track inside a slot) passed DRC. Flag copper that touches no part of the board. Fixes https://gitlab.com/kicad/code/kicad/-/issues/14650

Commit:5f31ab7
Author:Seth Hillbrand
Committer:Seth Hillbrand

API: make custom rules survive a Get/Set round trip Based on patches from the issue. Fixes https://gitlab.com/kicad/code/kicad/-/issues/25846 Assisted by: GLM

Commit:c6fb856
Author:Damjan
Committer:Damjan

eeschema: report a power symbol that has no value A power symbol's value is the name of the net it makes, so leaving it blank asks for a net with no name. ERC now reports it as an error.

Commit:0f5acec
Author:Jon Evans
Committer:Jon Evans

Support derived symbols in the API Assisted-by: GLM

Commit:674533a
Author:Jon Evans
Committer:Jon Evans

ADDED: overall footprint height property Assisted-by: Deepseek

Commit:ba8aaf2
Author:Jon Evans
Committer:Jon Evans

Extract 3D body to first-class object Assisted-by: GLM

Commit:e6e8b6b
Author:Jon Evans
Committer:Jon Evans

API: Support specctra import/export Assisted-by: GLM

Commit:dbc0d12
Author:Damjan

Check the aspect ratio of every plated hole, not just microvias

Commit:feb485e
Author:Seth Hillbrand
Committer:Seth Hillbrand

Share option plumbing between fab exports Each format kept its own copy of the same settings and helpers. The files we write do not change, but ODB++ data set all is now userdef.

Commit:23b9f65
Author:Seth Hillbrand
Committer:Seth Hillbrand

Add ODB++ content and export controls This works through a number of missing ODB++ elements including pad roles, microvias, backdrills, the ROUT layer, plane types, variants, net-tie shorts, component height, 4761 via types, etc. We update the options in the output dialog to share a common set with the IPC-2581 dialog including the origin selection, naming, data sets, data and layer options.

Commit:2e17319
Author:Seth Hillbrand
Committer:Seth Hillbrand

Unify export foundation between ODB++ and IPC-2581 Assisted by: Claude Code

Commit:7d196a3
Author:Jon Evans
Committer:Jon Evans

API: Implement SaveDocumentAs Assisted-by: GLM

Commit:7f2d789
Author:Jon Evans
Committer:Jon Evans

IDF: Allow configuring part number field

Commit:9337734
Author:Jon Evans
Committer:Jon Evans

API: add GetBoardBoundingBox

Commit:f923fa6
Author:Seth Hillbrand
Committer:Seth Hillbrand

pcbnew: split generated table out of drill chart We want a stackup table that follows the board the way the drill chart does. The drill chart kept its schema, refresh, file format, API and dialog to itself. We move them into PCB_GENERATED_TABLE, and the drill chart builds on that base unchanged.

Commit:ade10da
Author:Jon Evans
Committer:Jon Evans

API: support IDF export jobs

Commit:7500932
Author:Jon Evans
Committer:Jon Evans

API: support plotting PNG background colors Also adds support to the CLI PCB job for symmetry

Commit:85435fd
Author:Jon Evans
Committer:Jon Evans

API: Support proxy flags for shapes Assisted-by: GLM

Commit:3d9b91a
Author:Jon Evans
Committer:Jon Evans

API: validate project in more places; validate project save

Commit:6244c73
Author:Jon Evans
Committer:Jon Evans

API: Add definitions for generators

Commit:ffa53ab
Author:Jon Evans
Committer:Jon Evans

API: Add Get/SetNetClassAssignments Also add explicit project specifiers to existing netclass commands for futureproofing.

Commit:5b66aa9
Author:Benjamin Chung
Committer:Jon Evans

Implement FocusOnItems Fixes https://gitlab.com/kicad/code/kicad/-/work_items/25542

Commit:9f93bd9
Author:Seth Hillbrand
Committer:Seth Hillbrand

Run ERC on published connectivity Saved exclusions must still match after the switch, so we resolve them against published witnesses and keep pathless fallbacks. Markers follow legacy rules, one per screen driver rather than per sheet instance, and each pin reports once against its nearest mismatch.

Commit:c7e77db
Author:Jon Evans
Committer:Jon Evans

API: Support PNG plotting Also support single/multi file modes Assisted-by: GLM

Commit:a8598ca
Author:Jon Evans
Committer:Jon Evans

API: Add LoadAllLibraries Assisted-by: GLM

Commit:a97e252
Author:Jon Evans
Committer:Jon Evans

API: Add GetItemsFromLibrary

Commit:dc35a39
Author:Jon Evans
Committer:Jon Evans

API: Implement placing symbols/footprints from libraries Assisted-by: GLM

Commit:4437bf3
Author:Jon Evans
Committer:Jon Evans

API: Add protos for library management

Commit:a8d6201
Author:Jon Evans

API: make instance pin properties explicitly optional

Commit:9fec388
Author:Jon Evans

API: make line_spacing explicitly optional

Commit:42bc668
Author:Jon Evans
Committer:Jon Evans

API: Document some enums

Commit:19174c2
Author:Seth Hillbrand
Committer:Seth Hillbrand

pcbnew: add drill maps and drill charts A drill map has no artwork. The pads and vias draw its marks at their holes, and one offset moves all the marks together. A drill chart is a PCB_TABLE that the board fills, and the user cannot edit its cell text. The symbol profile in the design settings gives each hole group its mark. Fixes https://gitlab.com/kicad/code/kicad/-/issues/12690 Assisted by: Claude Code

Commit:4e39455
Author:Jon Evans
Committer:Jon Evans

API: Allow GetItems with empty types

Commit:3cbac44
Author:Jon Evans
Committer:Jon Evans

API: rationalize symbol child transforms Instance things are in sheet space, definition things are in local space

Commit:6c96d5a
Author:Jon Evans
Committer:Jon Evans

API: support creating new documents in headless

Commit:1c82709
Author:Jon Evans
Committer:Jon Evans

API: round-trip pin name/number options

Commit:17d01cb
Author:Jon Evans
Committer:Jon Evans

API: Add missing enum for PCB_POINT (cherry picked from commit 5eef85faa5447aa634993a79b951e4176f3db5c6)

Commit:be90a7e
Author:Jon Evans
Committer:Jon Evans

API: Add GetDocumentModified State Also make sure board/schematic edits through the API are properly tracked in the modification state Fixes https://gitlab.com/kicad/code/kicad/-/work_items/19604 Assisted-by: GLM

Commit:01640bb
Author:Jon Evans

Align Begin/EndCommit with V11 API

Commit:f310584
Author:Jon Evans
Committer:Jon Evans

API: add document specifier for BeginCommit/EndCommit Fixes https://gitlab.com/kicad/code/kicad/-/work_items/24966

Commit:4c4a789
Author:Jon Evans

API: Add GetPaths

Commit:107d63f
Author:Jon Evans
Committer:Jon Evans

API: support footprint variant data

Commit:bf2f4d5
Author:Jon Evans
Committer:Jon Evans

API: add protos for variants

Commit:7907978
Author:Jon Evans
Committer:Jon Evans

API: Refactor and expand schematic variant management

Commit:1278ad6
Author:Jon Evans
Committer:Jon Evans

Remove obsolete schematic-only variant commands

Commit:a315350
Author:Jon Evans
Committer:Jon Evans

API: support footprint variant data (cherry picked from commit 17674803bfb4d9bb722b62040f37500bda9f6b8f)

Commit:451d6ac
Author:Jon Evans
Committer:Jon Evans

API: add protos for variants (cherry picked from commit 337b9f2dc3b619d3499d322f52270315ab088803)

Commit:d6ee481
Author:Jon Evans
Committer:Jon Evans

Fix missing version comment

Commit:e08d5e7
Author:Jon Evans
Committer:Jon Evans

API: Support expanding env vars (cherry picked from commit 2004d77012ea2e04531e658b75d26c7a952e79de)

Commit:2004d77
Author:Jon Evans
Committer:Jon Evans

API: Support expanding env vars

Commit:41e04c7
Author:Benjamin Chung
Committer:Jon Evans

API variant support

Commit:117a3f0
Author:Jon Evans
Committer:Jon Evans

API: Add definitions for custom user properties

Commit:0a4857e
Author:Damjan

Add microvia stacks for HDI and BGA fanout

Commit:100c7cd
Author:Mike Williams
Committer:Mike Williams

footprints: implement exclude from sim Doesn't do anything in particular yet, just plumbs in all the stuff we're currently tracking from the symbol anyway and makes the two table sets more similar. Assisted-by: codex

Commit:027f7f7
Author:Jon Evans
Committer:Jon Evans

API: Support locked and lib_id for groups

Commit:a2e9749
Author:Jon Evans
Committer:Jon Evans

API: Expand support for textbox

Commit:d41d1e8
Author:Jon Evans
Committer:Jon Evans

API: Add support for reference points

Commit:c096bc5
Author:Jon Evans
Committer:Jon Evans

API: Add explicit solder mask for shapes/tracks

Commit:15eda6b
Author:Jon Evans
Committer:Jon Evans

API: Support PCB_TABLE and PCB_TABLECELL

Commit:93e179a
Author:Jon Evans
Committer:Jon Evans

API: expose zone corner settings (cherry picked from commit 246c8209e9b411b32e850be1ebe39effdee22187)

Commit:cbfc99c
Author:Jon Evans
Committer:Jon Evans

API: Support pad fabrication property (cherry picked from commit 20027524709d881c6e1500bd24bce91e43ff291d)

Commit:ef3e09b
Author:Jon Evans
Committer:Jon Evans

API: Add support for embedded files

Commit:c689121
Author:Jon Evans
Committer:Jon Evans

API: Support round-tripping zone layer overrides

Commit:8d7ea49
Author:Jon Evans
Committer:Jon Evans

API: Add pad/via teardrop settings

Commit:106e1dd
Author:Jon Evans
Committer:Jon Evans

API: Rename TeardropType and TeardropSettings These are zone-specific settings and should have been using more specific names. Proto wire compatibility is kept.

Commit:b89945b
Author:Jon Evans
Committer:Jon Evans

API: expose zone corner settings

Commit:3a65904
Author:Jon Evans
Committer:Jon Evans

API: Support pad fabrication property

Commit:5eef85f
Author:Jon Evans
Committer:Jon Evans

API: Add missing enum for PCB_POINT

Commit:6a91fed
Author:Jon Evans
Committer:Jon Evans

API: expand symbol support Also fix textbox not using border_enabled

Commit:17d9a6f
Author:Jon Evans
Committer:Jon Evans

API: Support line ending styles

Commit:1e06c31
Author:Jon Evans
Committer:Jon Evans

API: support fields_autoplaced

Commit:59e7182
Author:Jon Evans

API: support schematic tables

Commit:144ca54
Author:Jon Evans
Committer:Jon Evans

Fix package name for schematic commands

Commit:796ae13
Author:Jon Evans
Committer:Jon Evans

API: Add support for embedded files (cherry picked from commit a5cb5eb9a3036439d0599d69ee4aa54b79a51a57)

Commit:09802a0
Author:Jon Evans
Committer:Jon Evans

API: Support round-tripping zone layer overrides (cherry picked from commit 1a5dbfb47f69f0981815357ec3cabbf7db0426f8)

Commit:44b6b83
Author:Jon Evans
Committer:Jon Evans

API: Add pad/via teardrop settings (cherry picked from commit 348ad18a5fd5b2890091e7e05dcac47a88ea8f79)

Commit:fb362e3
Author:Jon Evans
Committer:Jon Evans

API: Rename TeardropType and TeardropSettings These are zone-specific settings and should have been using more specific names. Proto wire compatibility is kept. (cherry picked from commit 5d1d40e20b9613ea8694e10ffcc7da2b187af796)

Commit:336c5b3
Author:Jon Evans
Committer:Jon Evans

API: Support locked and lib_id for groups (cherry picked from commit ca3b0bf3aa3e13ee69ed7eb1db641b8e60114a64)

Commit:8abba41
Author:Jon Evans
Committer:Jon Evans

API: Expand support for textbox (cherry picked from commit 1a18fedcf01d46729799e2d61b10b461f4d10907)

Commit:ff6becd
Author:Jon Evans
Committer:Jon Evans

Clean up pin maps API Fix missing handling in Deserialize Avoid "LibSymbol" jargon in API Remove descriptive comments that refer to feature request issue Remove narrow test case; proto round trips should be tested by the all-in-one that covers the actual serdes methods also.