Power symbols are implicit labels in KiCad, so we should check for their
caps difference against other power symbols as well as against other
labels
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16897
Makes a test backup file and compares to the existing zip file backup to
see if the files have changed since it was made. If so, the new file is
kept. If not, we discard the new file and continue
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12453
When calculating a part of the polygon area and thus ending the polygon
at the specified vertex aEnd we need to calculate and add the area below
the needed additional line from "aEnd" to "this" to close the resulting
partial polygon. As in this case VERTEX* p references "aEnd" after exiting
the do-while loop the correction term in the if-statement was always
evaluated to zero. Change "aEnd" to "this" in the correction term.
Previously, fills could end up just barely touching, leading to DRC
errors even if there was enough room to fill the remaining space. This
was due to how we shrink/expand the zones to remove small features. By
adding a zero-width line between points that should be connected, we
expand back to the correct width.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14130
With the refactor of the bezier lib, we no longer base the curve on the
number of points but rather on the error allowed. The parameter was
vestigal and had no effect on output
This means that labels keep the position relative
to what they are connected to after the swap.
An attempt is made to map the fields of a label
into the position of a matching field (i.e. same name)
on the swapped-to label.
Move the SCH_FIELD rotation justification
handling to the SCH_FIELD class, so it's not just
SCH_LABEL that handles it.
https://gitlab.com/kicad/code/kicad/-/issues/18303
When calculating the pad bbox, we need to only account for deflation of
zone min width. Additionally, when calculating spokes for roughly
circular elements, we don't need to go to the bbox corners, so special
case it to rotate after the fact
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18329
We convert arcs/circles to polygons with an allowable error. This means
that the segments might end up being closer than we expect and we should
allow for this deviation when checking courtyards
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18347
Sin/Cos are pre-caclulated for all multiples of 45° so we don't need to
short circuit them here. Calculating the bbox intersection point allows
us to pick spoke sizes that are not overly large so as to miss the hit
point testing in the associated fill areas.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18329
Not all UNDO_REDO items have screens associated with them. We only care
about items that are added, changed or removed. The others are
modifications to libedit, origins, page settings, groupings or the
repeat flag
- remove specific windows IDs (use wxID_ANY everywhere) to avoid any conflict
- add tool-tips
- update also PANEL_ZONE_PROPERTIES_BASE
- should not create any actual change.