Jeff Young
70bca8bc4e
Provide popups for inductor references.
Also fixes a long-standing bug deleting the last field of
a symbol in the Symbol Editor.
2 years ago
Jeff Young
6407576cb9
Convert between refs and KIIDs in Symbol Properties.
2 years ago
Jeff Young
5709d57824
Copy 2 bug fixes from OnSizeFieldsGrid() to OnSizePinsGrid()
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16332
2 years ago
Jeff Young
07ee44740b
Don't re-add item to screen if it wasn't there to begin with.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16184
2 years ago
Jeff Young
f25a06b2a5
More globals eradication.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16031
2 years ago
Jeff Young
f7d899a0fb
Don't accept random values; use the popup to change to a known alternate
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16021
2 years ago
Jon Evans
eb5b3db063
Add bitmap bundle support to BITMAP_SCALE
Change a bunch of buttons and toolbars to use it
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14119
2 years ago
Wayne Stambaugh
f629898c8b
Coding policy fixes.
2 years ago
Jeff Young
f39bc64212
Show grey background in pin table for pins with no alternates defined.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14030
2 years ago
Jeff Young
a72df46200
Show grey background in pin table for pins with no alternates defined.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14030
2 years ago
Mike Williams
bdecdce1b4
Exclude from Sim: move from field to attribute
2 years ago
Jeff Young
a66360525a
Broaden "Style footprint fields" to cover graphics as well.
Also cleans up the layout of the symbol & fp properties dialogs.
Also fixes the background colour of the link textEdit controls on Mac.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8161
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15152
2 years ago
Jeff Young
922f7128a9
Move item updating and view refresh to SCH_COMMIT::Push().
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15132
2 years ago
Jon Evans
d4b7144448
Properties: expose symbol attributes
Flip polarity of exclude-from-BOM and -board for symbols
to match that of footprints and match the GUI display.
2 years ago
Jeff Young
237cc7eee1
Move TestDanglingEnds() to SCH_COMMIT.
Also fixes a bug where Convert Symbol wasn't undoable.
Also cleans up some SetModified() call no longer needed with SCH_COMMIT.
Also fixes bug where revert of a modification didn't update the screen's
RTree.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15030
2 years ago
Seth Hillbrand
62f24aca1e
Fix Connectivity Asserts in new COMMIT structure
The connection graph should only be updated within the commit structure
because this is the only time the connectivity should be changed. We
want any connectivity changes to be included in the commit as well, so
this should be stored prior to the undo/redo list mods
2 years ago
Jeff Young
8f1b9119bf
Upgrade some symbol editor stuff to SCHEMATIC_COMMIT.
Also renames SCHEMATIC_COMMIT to SCH_COMMIT since it's not schematic-specifc.
2 years ago
Jeff Young
e698156975
Upgrade many editing actions to SCHEMATIC_COMMIT.
2 years ago
Jeff Young
73b653c276
Upgrade more dialogs to SCHEMATIC_COMMIT.
2 years ago
Jeff Young
d64cb7f81b
More uniform handling of power symbols and exclude-from-simulation.
3 years ago
Jeff Young
8e29a054f3
Performance improvement for GetShownColumns.
(This needs to be fast as it's called from OnUpdateUI events.)
3 years ago
Ian McInerney
016c958021
Always build spice simulator support
The simulator has advanced considerably, and it is seeing lots of active
development, so make it a required part of KiCad. Additionally, the
build without the simulator has actually been broken for a while, so no
one clearly is building without ngspice right now.
3 years ago
Jeff Young
ef0d561a5c
Less nagging. (If we need a field name, then create one.)
Also cleans up empty fields when exiting the dialog.
3 years ago
Jeff Young
f41f04b301
Hook up AddField handler to GRID_TRICKS for SCH dialogs.
Fixes https://gitlab.com/kicad/code/kicad/issues/git/14153
3 years ago
Marek Roszko
aacc9746e3
Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere
3 years ago
JamesJCode
413169782a
Add SIM_ENABLE_FIELD column name when excluding symbol from simulation
Fixes #13691
3 years ago
Marek Roszko
d2c0f5fc2a
More wxSing
3 years ago
Jeff Young
5bdc3a5721
Keep sim-enabled checkbox in sync with edits to fields grid.
3 years ago
Jeff Young
7af718f1a5
Don't use std::string for things with wxString APIs.
It's too bug-prone.
Fixes https://gitlab.com/kicad/code/kicad/issues/13380
3 years ago
Jeff Young
c0e0cbceb0
Move eseries helper class to common.
Also improves some terminology for english-speakers.
Also substitues [] vector access (which creates empty elements) over
at() (which throws if the item is not found).
3 years ago
Mike Williams
13f67aa7ce
Schematic: remove unnecessary drag mirror/rotate control disabling
The whole edit dialog is blocked while dragging if anything else is drag
selected, and if nothing is drag selected the rotations/mirroring will
be fine. Also, we already allow mirror and rotate while dragging, using
the keyboard shortcuts and menu items, and it works fine.
3 years ago
Jeff Young
a3fcc8bbf7
Move Exclude from Simulation to Symbol Properties.
Also brings the layout of Symbol Properties for Symbol Editor more in
line with Symbol Properties for Schematic Editor.
Fixes https://gitlab.com/kicad/code/kicad/issues/13299
3 years ago
Jeff Young
13b73ed6b4
Remember dialog sizes for dialogs that might have lots of fields.
This is mainly for simulation testing where the dialog has to be
grown every time you restart the app, but it might as well be applied
to the similar dialogs.
Fixes https://gitlab.com/kicad/code/kicad/issues/12887
3 years ago
Jeff Young
24786fe0e9
Fix multi-unit symbol bugs.
1) SPICE pins need to include all units
2) Already-seen-unit-x needs to be reset when getting netlist again.
Fixes https://gitlab.com/kicad/code/kicad/issues/13164
3 years ago
Jeff Young
1e812b8b69
Remove selection from grid before deleting rows.
3 years ago
Jeff Young
5ef9fbdd19
Fix broken loop logic.
Fixes https://gitlab.com/kicad/code/kicad/issues/13168
3 years ago
Jeff Young
c0872364d4
Get rid of bloated bitmap buttons on wxWidgets 3.2.
3 years ago
Jeff Young
ccbbd2ddd9
Clear seleciton so wxWidgets doesn't go looking for deleted row.
3 years ago
Jeff Young
e890986e01
Fix crash when grid tries to access deleted field.
3 years ago
Wayne Stambaugh
b95ce69054
Disconnect event handlers in symbol properties dialog dtor.
This is probably a good rule of thumb to prevent any event ordering
issues between platforms or unhandled events being trigger during
inherited object destruction.
3 years ago
Wayne Stambaugh
0a62c17040
Remove schematic symbol value and footprint field instance data.
https://gitlab.com/kicad/code/kicad/-/issues/12933
3 years ago
Jeff Young
1b3f03a800
Don't feed wxWidgets negative column widths.
3 years ago
Jeff Young
a9a2cc3e84
Enhance readability of Simulation Model dialog.
3 years ago
Jeff Young
bd1114d94d
Move footprint properties dialogs to symbol properties grid resizing strategy.
Fixes https://gitlab.com/kicad/code/kicad/issues/9883
3 years ago
Wayne Stambaugh
0336cff8d6
Allow schematic symbol value and footprint fields to be instantiated.
3 years ago
Wayne Stambaugh
a11c40197f
Expunge default symbol instance from schematic file format.
Now that importing hierarchical sheets "properly" imports instance data,
the default symbol instance setting doesn't have any meaning.
3 years ago
Seth Hillbrand
524b129c64
ADDED: Support for explicit DNP field
Dims elements shown as DNP. Adds property `dnp` to explicitly denote
parts that should not be populated. These parts are not included in X/Y
files
3 years ago
kliment
b97f9ea329
Add support for symbol unit display names in eeschema and symbol editor
3 years ago
Jeff Young
45fb0107a0
Copy field properly.
Offset for new parent, and set parent property.
Fixes https://gitlab.com/kicad/code/kicad/issues/12376
3 years ago
jean-pierre charras
95f0c863b8
Remove a log message used in debug and left in code by mistake.
3 years ago