Previously, only nlohmann::json::type_error was captured, and other errors
were not handled, creating unhandled exception issue when reading broken
*.wks files.
From master branch.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18309
Vias might have their primary layer set to a single layer but cross
multiple layers that should be included when plotting
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18282
(cherry picked from commit 64c36e8bda08f40cdb16afd829aa31617e777fcc)
- Handle intermediate Altium version with some fields but not others
- Ensure that we are properly moving text that is not a box and not a
field
(cherry picked from commit 9aba808366b931fb403a939c40e293defd169e7b)
Knockout text should only prevent filling directly around the text
itself, not the larger anti-text fill around it. This prevents minimum
width provisions from kicking in unneccesarily
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17665
(cherry picked from commit a12bc3a4108137417fa956cfccf8f748d504723b)
The previous commit merged pads with copper areas. This was appealing
but broke when the pad and the area were meant to have different
size/shape technical layers. Small pads = Small paste. Instead, we do
not merge the pads but we assign them to have the appropriate nets in
KiCad, allowing the same effective result but keeping the technical
layers correct
(cherry picked from commit 51eb7aa5b5ba13016ccac90a36db0caf996e3be8)
In Altium, copper polys will be connected automatically to their
associated pads. In KiCad, we need to do the equivalent when parsing,
which is to combine the joining copper into the underlying pad. We also
don't want to treat copper polys as proxy pads without the original
anymore.
(cherry picked from commit 7102d9f72af121ec01ea0d50a7c0291653765ed7)
Handle inverted text
Correct location for flags
Add mechanics to detect inverted_rect (like text boxes)
(cherry picked from commit b11e030f8fe40ac7b39a6ddcabfc5b188333e318)
Also, corrects a minor issue with the text width calculation where
Altium calculates centerline to centerline but KiCad text heights are to
the edge of the stroke font. Need to still do better adjustments for
the various altium stroke fonts
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9468
(cherry picked from commit 7e561acf5373038a7151a3efa852e2b3d6b1d26c)
wxCursor scale factors won't be supported before wx 3.3.
MSW doesn't scale cursors, so it works as expected there.
(cherry picked from commit e3e63fb1b88e0431dff218c0df2528d0751775bd)
The drivers need to get passed up and down the hierarchical sheets. In
order to do this, both the sheet pin and the hierarchical pin need to
be in the changed items. However, we only get sheets in the screen
items list while the pins are the elements that get set dirty
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17797
(cherry picked from commit 5f16c5892c37cac67f0994c46812a0f0d365a6d2)
HiDPI cursors are twice as large as regular cursors, allowing them to be
more easily seen on a HiDPI system
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16231
(cherry picked from commit ab0426d62003912cae3fad20dd018202a00afb91)
We set new elements to the temporary board's netlist. These need to be
updated when moving the fooprint to the main board
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17242
(cherry picked from commit 54efd32f7a4b076d8bea3336b7082dc9ab7dbe90)