Seth Hillbrand
3f8abe3744
Update properties to show units
...
The function duplicated our built-in funcitonality and did not properly
handly outputs
Fixes https://gitlab.com/kicad/code/kicad/issues/21685
2025-09-09 06:39:39 -07:00
jean-pierre charras
9622cf8ff1
SCH_BITMAP, SCH_TABLE: add missing HitTest(SHAPE_LINE_CHAIN& aPoly, ...)
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21669
2025-09-09 09:45:46 +02:00
Seth Hillbrand
ceed9ca5f8
ADDED: Place missing units
...
Adds a contextual menu for symbols that will look for units that are not
currently instantiated and offer to place them
2025-09-08 16:38:49 -07:00
Jeff Young
dedc10a163
The Include "Exclude from BOM" setting is for editing, not exporting.
...
There's no reason to put items marked "Exclude
from BOM" into the BOM.
2025-09-08 20:44:32 +01:00
Jeff Young
01d32211ba
Corner radius not supported on tablecells.
2025-09-08 20:44:32 +01:00
Jeff Young
fdbf740ee2
Corner radius not yet supported on textboxes.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21598
2025-09-08 19:54:59 +01:00
Seth Hillbrand
0c35068e8d
ADDED: Optional flashing with cross-probing
...
Sometimes it is hard to find an element especially if we do not zoom to
the part. The flash should help draw your eye to the relevant part
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19842
2025-09-07 18:08:04 -07:00
Seth Hillbrand
f66cbaf43a
ADDED: Stacked pin notation support
...
Implement bracket notation for stacked pins ([1,2,3], [1-4], [1,3,5-7]).
Automatic net naming proceeds based on the smallest logical pin number
in stacked groups.
Provide explode/reform commands in symbol editor for conversion.
Supports arbitrary ranges including BGA alphanum ranges like
[AA1-AA3,CD14-CD22]
Adds some additional QA and trace logging
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2004
2025-09-07 14:59:51 -07:00
Jeff Young
28141ed350
Be more consistent with periods at the end of sentences.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21614
2025-09-07 17:54:22 +01:00
jean-pierre charras
46c8a6ee95
DIALOG_LIB_FIELDS_TABLE & DIALOG_SYMBOL_FIELDS_TABLE: avoid empty m_viewControlsGrid.
...
The fix is more a workaround: if all columns of m_viewControlsGrid are removed by
the right click menu and the grid is empty, there are no way to re-add a column.
When happens, this workaround re-add a column when reopening the dialog to avoid
a empty grid.
2025-09-07 18:26:48 +02:00
Jeff Young
fef84a2c6a
Dirty symbols when modified.
...
Also show changes in library tree and canvas when
"Apply" button is clicked.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21659
2025-09-07 13:49:59 +01:00
Jeff Young
0e5a87546b
More consistent action on Show search panel hypertext link.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21665
2025-09-06 21:29:41 +01:00
Jeff Young
5489daf279
ADDED: collapse/expand for view controls in SYMBOL_FIELDS_TABLE...
...
... and LIB_FIELDS_TABLE.
2025-09-06 19:06:49 +01:00
Jeff Young
702f774a1f
Bring DIALOG_LIB_FIELDS into line with DIALOG_SYMBOL_FIELDS_TABLE.
2025-09-06 15:10:30 +01:00
jean-pierre charras
c889a7fa16
DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR_BASE: fix a incorrect widgets type
...
Fix also a minor issue in DIALOG_FOOTPRINT_PROPERTIES_BASE
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21662
2025-09-06 13:09:39 +02:00
Adrián García
fb558eee3c
Fix crash in LIB_SYMBOL::SetUnitCount when reducing unit count
...
When decreasing the number of units in a symbol, the previous code erased
items directly from m_drawings using a single iterator. Because m_drawings
is a MULTIVECTOR, this could invalidate iterators and attempt to erase
from the wrong bucket, leading to segmentation faults.
This patch iterates bucket by bucket and erases items belonging to units
greater than the requested count. This ensures iterator safety and avoids
accessing invalid memory.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21631
2025-09-05 12:35:54 -07:00
Wayne Stambaugh
6f352ccd96
Improve symbol fields table editor undo/redo memory usage.
...
- Do not add a modify action to commit for symbols that have no changes.
- Do not add a modify action to commit for each instance of shared symbols.
2025-09-05 11:46:05 -04:00
Jeff Young
c163f0a24c
CHANGED: better real-estate usage in Edit Symbol Fields dialog.
...
1) Moved view controls list to a wx_grid.
2) Allow show/hide of columns in view controls.
3) Allow editing of BOM Names in grid without long-click on Mac.
3) Added column show/hide states and sash pos to prefs.
4) Decreased mininum sash pane width to allow wider main grid.
5) Simplified presentation by moving "include" and "cross-probe"
settings to config menu.
2025-09-05 13:00:50 +01:00
Seth Hillbrand
f9f5bb9ed1
Consider keywords as required
...
Because they actually are
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21635
2025-09-04 16:54:53 -07:00
Seth Hillbrand
a857ea77d9
ADDED: Text expression evaluation
...
Arbitrary text strings now support full evaluation with a rich
functional language
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6643
2025-09-04 14:57:16 -07:00
Seth Hillbrand
05d04e665a
Fix lib_fields column attributes
...
Need to properly display footprint selector and datasheet globe
2025-09-04 06:59:35 -07:00
Mark Roszko
9f1aa612ec
Fix position of package properties that must follow packages
2025-09-04 07:16:02 -04:00
Mark Roszko
9de2548064
Fix typo in allegro output for nets
2025-09-04 07:09:12 -04:00
Mark Roszko
a899da7cb7
Fix double quoting tol for some reason
2025-09-03 22:59:37 -04:00
Mark Roszko
9bc1cf006f
Fix the allegro netlist export and move mostly to {fmt}
...
Weirdly $PACKAGES header got shifted out of position.
Drop generating empty references.
2025-09-03 22:54:00 -04:00
Seth Hillbrand
344fab5741
Prompt for unsaved changes in the lib fields table editor
2025-09-03 15:54:29 -07:00
Seth Hillbrand
5c865cab36
Allow full-field filtering in lib_fields_table_editor
2025-09-03 11:47:22 -07:00
Seth Hillbrand
173e02eff7
ADDED: Lasso support to Schematic Editor
2025-09-03 06:45:49 -07:00
jean-pierre charras
2346be9768
Fix compil warnings
2025-09-03 09:43:41 +02:00
Seth Hillbrand
f18c4a05fd
Don't push names we don't have
...
Fixes https://gitlab.com/kicad/code/kicad/issues/21628
2025-09-02 20:49:39 -07:00
Seth Hillbrand
edf8f45351
Add user fields to editable properties
...
Fixes https://gitlab.com/kicad/code/kicad/issues/21622
2025-09-02 18:29:59 -07:00
John Beard
8709f73b98
Symbol editor: simplify root symbol-finding
2025-09-03 00:30:56 +08:00
John Beard
e76b2089bb
Symbol edit: add symbol flatten action
...
This removes inheritance from the symbol.
This doesn't play well with undo, but then again, neither does symbol
deletion, so that seems like a higher-level symbol editor issue.
Relates-To: https://gitlab.com/kicad/code/kicad/-/issues/8895
2025-09-03 00:24:32 +08:00
John Beard
2e0088593e
Symbol editor: fix flattening during save-as to the same library
2025-09-03 00:24:24 +08:00
John Beard
b34746e06b
Symbol editor: allow editing all related symbols from the treeview
...
This makes it more straightforward to edit a group of related symbols
(related = all derived from the same parent, including the parent).
Relates-To: https://gitlab.com/kicad/code/kicad/-/issues/21067
Relates-To: https://gitlab.com/kicad/code/kicad/-/issues/9742
Relates-To: https://gitlab.com/kicad/code/kicad/-/issues/11506
2025-09-03 00:24:18 +08:00
John Beard
9b14434fc3
Symbol editor: allow to inject the symbol list into DIALOG_LIB_FIELDS
...
This will permit editing fields for subsets (e.g. only symbols in
a certain inheritance hierarchy)
2025-09-03 00:24:12 +08:00
John Beard
0ede830f54
LIB_SYMBOL: When assigning, clear the parent if needed
...
This allows assigning a symbol with no parent to a symbol with
a parent to work more as expected.
2025-09-02 23:50:17 +08:00
Jeff Young
cff261ce2e
Don't allow stack addresses to escape via long-life handlers.
2025-09-02 14:19:17 +01:00
Jeff Young
6a171e11fb
Clang got cranky on the emplace_back call.
2025-09-02 12:17:07 +01:00
Seth Hillbrand
9cba910d53
ADDED: Library Table Editor
...
Edits all symbols in a library at once. Supports copy/paste, multiple
field assignment and selective coloration based on existing data
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11506
2025-09-01 21:47:14 -07:00
John Beard
5d967289ee
Eeschema: order pins by number, not position
...
Also use StrNumCmp, then the pin numbers are ordered exactly the
same way as pads in footprints.
2025-09-01 23:44:21 +08:00
jean-pierre charras
4953e80122
Fix some compil warnings
2025-09-01 16:22:05 +02:00
JamesJCode
bd04d508e0
Fix some compiler warnings
2025-09-01 14:50:22 +01:00
Jeff Young
4024a15a17
Don't reference stack variables from a long-life lambda.
...
In particular, a lambda for conditional menus should
never capture more than `[this]`. Even the tool's
frame pointer could change.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21615
2025-09-01 12:44:20 +01:00
Jeff Young
0c8e7a7137
Reload symbol chooser on keep symbol, and improve accessibility.
...
(Respond to hotkey-generated clicks.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7698
2025-09-01 11:45:20 +01:00
jean-pierre charras
5b31b11731
SHAPE_RECT: add Normalize method to assure width or height > 0
...
ROUNDRECT: add option to normalize the rectangle on creation
if the created rectangle has a negative size(width or height) there are issues
when drawing it.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21613
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21610
2025-09-01 11:56:56 +02:00
Seth Hillbrand
bbc762a546
ADDED: Angle preview for polygon mod
...
Shows angle for the current and adjacent corners and whether they are
congruent
2025-08-31 11:49:41 -07:00
Seth Hillbrand
8c6f057f6c
Re-organize points to allow missing radius
...
Not all rectangles want/need the radius point, but we will only be able
to drag one point at a time. So we re-organize which point of an
overlapping set is selected
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21605
2025-08-31 07:10:14 -07:00
Jeff Young
9d7db3d135
Better interactive feedback.
...
Don't wait for mouse to move before refreshing after a command.
Also fixes a crash bug deleting an item after an
Unstage() (the Unstage() has already deleted the item).
Also fixes a crash when changing label type during
creation of a label produces a mess.
Also Keep cursor aligned to grid when not warping
back to original point.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16828
2025-08-31 14:25:52 +01:00
Adam Wysocki
814f78f2b2
ADDED: Add pcb/sch upgrade cli command
2025-08-30 20:57:41 +00:00