Jeff Young
14c9ed1fda
Prevent stale selection when deleting grid rows.
2025-07-24 18:16:21 +01:00
Jeff Young
a3bf095387
Clear selection before sending table msg (KICAD-KWE).
2025-07-14 23:46:03 +01:00
Jeff Young
58def05886
Remove overzealous assert.
2025-07-11 21:26:19 +01:00
Jeff Young
2892642516
Prevent wxWidgets assert. (KICAD-QZ5)
2025-07-03 23:26:13 -06:00
Jeff Young
1faa9800dc
Row height consistency.
...
Rats. Also got tangled up in another commit which
removes some dead code.
2025-06-19 14:29:37 +01:00
Jeff Young
18e107529a
Don't force callers of GetAppSettings to implement exception processing.
2025-06-14 20:25:59 +01:00
Jeff Young
a1cc6403bd
Remove selection before notifying grid of deletion.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20747
2025-05-29 17:55:02 +01:00
Jeff Young
b01fef5ca8
Update visibility flag when adding fields.
...
Also removes extra c'tor which fails to set the
ordinal.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20556
2025-04-26 16:37:36 +01:00
Jeff Young
be4a851186
Allow embedded files to come from components
...
as well as parent containers.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20530
2025-04-23 15:14:58 +01:00
Jon Evans
805ca0c791
ADDED: Jumpers for symbols
...
Support explicit jumper symbols, defined either by a
flag that all pins with the same number are connected,
or by explicit groups of jumpered pins
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2558
2025-03-24 22:08:46 -04:00
Seth Hillbrand
49a4699d5a
ADDED: Local power symbol option
...
Local power symbols work like regular power symbols except that they are
scoped only the the sheet in which they are instantiated
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2075
2025-03-04 17:07:46 -08:00
Jeff Young
c5bb59468d
Get rid of assumptions about field order.
2025-02-24 11:08:29 +00:00
Jeff Young
7eb75720b5
Start to retire "alias" in favour of "symbol" and "derived symbol".
...
Note: terminology changes only. No (intentional)
functional changes.
2025-02-24 11:08:29 +00:00
Jeff Young
aaca66351e
Case-insensitive collision detection for symbol names.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19370
2025-02-24 11:08:29 +00:00
Jeff Young
3c71e7ab09
Auto-recognize URLs in SCH_FIELD and PCB_FIELD grids.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17066
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17745
2025-02-19 23:43:53 +00:00
Seth Hillbrand
919931f0f0
Get embedded files panel working for lib_symbol
...
The symbol library embedded files were implicit, which made them hard to
work with. Adding the panel makes it clearer and setting the panel
correctly to the callback ensures that the structure is updated on
close.
Adds some copy/move semantics for EMBEDDED_FILES to take advantage of
how the multiple copies are handled in the library editor
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18935
2025-01-28 12:22:39 -08:00
JamesJCode
b25cc8eb02
Set new symbol fields to default to hidden
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19727
2025-01-24 02:17:07 +00:00
Jeff Young
4fe05bfe47
Remove some more usages of MANDATORY_FIELDS.
2025-01-21 23:38:55 +00:00
Jeff Young
a0dd0485e9
Pull a little harder on the MANDATORY_FIELDs string.
...
We still conflate the fieldID, the position in the
array of fields, and whether or not that means the
field is mandatory. But this attempts to clean up
*some* of that, without introducing too much risk.
2025-01-21 16:48:13 +00:00
Jeff Young
d50b69f1ae
Reconcile divergence of MANDATORY_FIELDS between symbols and footprints.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19697
2025-01-21 13:28:28 +00:00
Wayne Stambaugh
d53ed205f2
CvPcb and Eeschema part 1 housekeeping.
2025-01-18 14:31:15 -05:00
John Beard
62095306d0
Eeschema: sort parents in symbol properties dialog combobox
2025-01-15 01:17:36 +08:00
Seth Hillbrand
0b2d4d4879
Revise Copyright statement to align with TLF
...
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo. Avoids needing to
repeatly update.
Also updates AUTHORS.txt from current repo with contributor names
2025-01-01 14:12:04 -08:00
Jeff Young
7da8b42206
Push more functionality to SYMBOL.
...
(This will allow us to run the fields autoplacer on SYMBOLs,
including LIB_SYMBOLs.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19247
2024-12-22 20:21:24 +00:00
Jeff Young
753d385473
Reduce dependency on dynamic_cast.
...
Also switches to checking __clang__ instead of __WXMAC__.
2024-12-08 21:46:54 +00:00
Jeff Young
905eaa79a9
Centralize ref-des error checking.
2024-10-28 18:40:11 +00:00
John Beard
8abbae9dc2
Sym edit: add copy/paste/cut/etc actions to fp filter table
...
Implemented as a "TRICKS" class that could wrap any wxListBox
with similar effects.
2024-10-13 08:34:51 +08:00
Jeff Young
3b6a33c59a
Fill in a lot more calls to DIALOG_SHIM::OnModify().
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18443
2024-08-11 12:45:36 -06:00
jean-pierre charras
6c083b9ee2
DIALOG_LIB_SYMBOL_PROPERTIES: minor fix: ensure it is set as modified when
...
the Symbol Name field is modified
2024-08-07 21:15:30 +02:00
Jeff Young
9fcbd4e6d0
Slight reduction in asserts.
2024-07-18 18:01:05 +01:00
Seth Hillbrand
77797103f7
Add ability to embed files in various elements
...
Schematics, symbols, boards and footprints all get the ability to store
files inside their file structures. File lookups now have a
kicad-embed:// URI to allow various parts of KiCad to refer to files
stored in this manner.
kicad-embed://datasheet.pdf references the file named "datasheet.pdf"
embedded in the document. Embeds are allowed in schematics, boards,
symbols and footprints. Currently supported embeddings are Datasheets,
3D Models and drawingsheets
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6918
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2376
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17827
2024-07-15 16:06:55 -07:00
Jeff Young
1f69680d91
Expose global Field Name Templates to symbol editor.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2382
2024-06-02 19:31:27 +01:00
Alex Shvartzkop
16e3692e71
Build time optimizations.
2024-04-27 23:49:13 +03:00
Jeff Young
d77eae3e7e
Collapse LIB_FIELD into SCH_FIELD.
2024-04-13 15:42:13 +01:00
Jeff Young
92910d5d0f
Factor common parts of SCH_ & LIB_SYMBOL into SYMBOL.
2024-04-04 13:18:55 +01:00
Jeff Young
ae735d3eb4
Renaming: replace convert with body-style.
...
No functional changes.
2024-01-26 16:21:03 +00:00
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.
2024-01-25 15:30:25 +00:00
Marek Roszko
0054b64143
Fix warning due to NONE enum member mixing
2023-11-13 20:23:59 -05:00
Jon Evans
e14e7e0bd9
Enforce symbol name not being empty
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15859
2023-10-31 22:11:46 -04:00
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
2023-10-22 14:02:06 -04:00
Marek Roszko
8c6899b0d3
Tear out the eeschema conditional compile of PROJECT
2023-09-27 23:05:30 -04:00
Jeff Young
377ffb00b0
Re-run autoplacement after symbol replacement (when appropriate).
...
Also prevents an internal wxWidgets assert by clearing grid
selection before deleting rows.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15541
2023-08-31 23:28:59 +01:00
Wayne Stambaugh
1026596964
Allow symbols to be derived from other derived symbols.
...
[CHANGED] Symbols can now be derived from other derived symbols removing
the requirement to derive from root symbols.
2023-08-24 07:59:32 -04:00
Mike Williams
bdecdce1b4
Exclude from Sim: move from field to attribute
2023-08-08 12:36:36 -04:00
jean-pierre charras
1548b14f84
DIALOG_LIB_SYMBOL_PROPERTIES: fix incorrect state of two wxCheckboxes.
...
When opening the dialog, m_excludeFromBomCheckBox and m_excludeFromBoardCheckBox
states were the opposite of the actual symbol property.
Fixes #15269
https://gitlab.com/kicad/code/kicad/-/issues/15269
2023-07-30 08:42:33 +02:00
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.
2023-06-24 22:03:06 -04:00
Mike Williams
85f889bc19
Fields: Description now mandatory
...
Propagate from symbols to footprints, footprints keep a library
description, too. (GetLibDescription())
2023-06-20 18:34:52 +00:00
Mike Williams
7d84fa2a9d
Validators: drop unused is m_isLibEditor
2023-06-20 18:34:52 +00:00
Mike Williams
ddafa2e75d
Common: move SCH_FIELD_VALIDATORS to FIELD_VALIDATORS
...
Fields are now common across PCB/SCH
2023-06-20 18:34:52 +00:00
Jeff Young
8f1b9119bf
Upgrade some symbol editor stuff to SCHEMATIC_COMMIT.
...
Also renames SCHEMATIC_COMMIT to SCH_COMMIT since it's not schematic-specifc.
2023-06-09 22:41:47 +01:00