Re-create the schematic hierarchy in PDF plots to ease navigation
relative to the on screen schematic
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12154
(cherry picked from commit 4a3b33df4e8a95ce3cafe8dc810642501f929d72)
- Fixes issue #20268
- Replace the hard coded line numbers
- Search for "Value:" string instead
(cherry picked from commit 313232c9f3c241dc7edb35823fb9e9360ba3d164)
Co-authored-by: Lucas Gerads <lucas.gerads@aixcon.de>
Also cleans up a misconception about table header borders,
and renames the getter/setter to be clearer.
Also makes sure that table cells are updated when the table
layer changes.
And another bug where we were writing the grey color value
back to the cell for hidden cells.
It is mainly used to draw page layouts having different objects drawn on
first page and other pages.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20318
(cherry picked from commit ddd27f286934e69bf6fb862c870250c0c5cbc726)
(Some of these items don't currently get printed, but
there's no sense in leaving a latent bug around in case
we ever change our minds.)
(cherry picked from commit 877c6bce8938e9ca6e3d3c6381a5dd5d9acfb9a4)
Altium doesn't require sheet names to be unique but KiCad does, so we
disambiguate the names when importing
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19281
(cherry picked from commit ca51b0f37ddbaf2f285b6a17833ac4fb340e8490)
Set the library symbol equal to total unit count so that we can assign
elements to the correct unit in the SCH_SYMBOL
(cherry picked from commit 81fcc16cc9c15dbc3f03af59a42535c75f720dcf)
GuessPluginTypeFromLibPath() was previously testing the type, but also the
existence of the lib file of *.kicad_sym filename, but when creating a new lib,
its existence obviously must not be tested
(cherry picked from commit e54c73b516b874e577c69daaf554819a6d5c0383)
The workflow turns out to be slightly different
than a Save As to a new library.
(We don't assume it goes in a library table; we
flatten the symbol; and we pre-load the library
name.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20070
(cherry picked from commit 6b146874c164bbfa505fe4a633988c183ba1db70)
We use IN for INCH as units, but IN is defined in a Windows header
(cherry picked from commit b0fe4df3c565027801cbbac56c6ee0da254bd74a)
(cherry picked from commit 0acdabd1eb1a2d5ab9b6aa9f71df31c8cf088de8)
(cherry picked from commit eaa1e6d59464e8356d24afd1d29148335010f67a)
(Symbol Editor doesn't have the issue of the properties
being overwritten.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20066
(cherry picked from commit 797de67c6c21d6295e32c340a4eca97685fa370a)
The lower case variant used for internal comparison was being used which
is confusing because it doesn't match the footprint name capitalization.
(cherry picked from commit a9cea9fbb76b5a1eff39b1ed88f8c14e338447f3)
The big grey X and dimming the component made it look like the component
was no longer a part of the circuit, rather than just being excluded for
a single purpose.
The changes the display to make a more subtle grey outline with an icon
in the corner to indicate that this refers to simulation.
(cherry picked from commit 878cf768d6552131494aa792dc20e6ccf67baf75)
If the hierarchy navigator is open and expanded, we have references to
the existing sheets. These need to be cleared when importing a new
sheet over top
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20004
(cherry picked from commit 2e93fb7a2440003373a184bba10bf133189eaad6)
(It's going to do a bunch config saves, which
will otherwise overwrite all the user's preferences
with the defaults.)
(cherry picked from commit 006d8b290a2d66411fd6cbd614892acd10c750a3)