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
1 month ago
Seth Hillbrand
173e02eff7
ADDED: Lasso support to Schematic Editor
1 month ago
Jeff Young
c6fcf7e0b8
Allow easier code searching for property names.
1 month ago
Jeff Young
6dd4e01f16
ADDED: custom body styles.
(Also moves editing of unit display names to the
Symbol Properties dialog and retires the Set Unit
Display Name dialog.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16069
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14843
1 month ago
Seth Hillbrand
a77e1027d6
Fix QA error.
When updating the symbol, we clear the libpins, so remove it to avoid
getting garbage while updating
2 months ago
Seth Hillbrand
7201918383
Track alt pin changes
Make sure that we are following the lib changes when updating
Fixes https://gitlab.com/kicad/code/kicad/issues/21202
2 months ago
JamesJCode
91139fe24f
Fix sausage-fingers in comment
2 months ago
JamesJCode
ee9e94df04
Don't assume SCH_SYMBOLs have a LIB_SYMBOL when resolving embedded files
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21497
2 months ago
Mark Roszko
5895c27f4a
Rename Prj() on schematic to avoid conflict with global function
2 months ago
jean-pierre charras
410a43a602
Try to fix an ambiguous cast for MSVC (round 3)
3 months ago
Jeff Young
ec155c00f3
Comboboxes for units and body styles.
Also for pin-types in pad properties.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19904
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19905
3 months ago
Alex Shvartzkop
4a5039c2cf
Remove some unused variables.
3 months ago
Jeff Young
26f8f1cdd1
Allow pin autoplacer to run on symbol not yet in schematic (KICAD-JMA).
3 months ago
Jeff Young
be120b4821
Nullptr safety (KICAD-6K6).
3 months ago
Jeff Young
4678000a0e
ADDED: DNP, etc. attributes to SCH rule areas.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14037
4 months ago
Jeff Young
c989fc17ac
Iterator safety and shared code.
4 months ago
jean-pierre charras
9c2c756bd0
SCH_SYMBOL::AddHierarchicalReference(): fix crash when m_instanceReferences.size() = 0
It happens in QA tests.
4 months ago
Jeff Young
f5c48b3f34
Iterator safety.
4 months ago
Jeff Young
df0aefab59
Fix MSW compile error.
5 months ago
Jeff Young
aa49b0319a
Fix faulty logic for setting range.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20982
5 months ago
Jeff Young
327cca9de5
Coverity fixes.
5 months ago
Jeff Young
42c68f1a16
Uniform application of recursion guards in simulation code.
5 months ago
Jeff Young
61d36f9d29
Fix recursion issues with text variables.
1) Pass aDepth down through those versions of
CreateModel() which expand text variables
2) Be aware that unresolved text variables look
just like unexpanded text variables.
5 months ago
Seth Hillbrand
9d32de5154
Avoid deref on missing part
We do not always have the LIB_SYMBOL set in a SCH_SYMBOL, so avoid
trying to get the embedded files from it
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20986
5 months ago
Jeff Young
f58fc0b952
Rewrite GROUP undo based on uuids.
This also removes the GROUP/UNGROUP-specific undo actions.
This also fixes a bunch of undo bugs when duplicating
group members, creating pins, etc.
This also fixes some undo bugs when dividing wires etc.
This also fixes some bugs with new sch items not
being created within an entered group.
5 months ago
Jeff Young
34139ae305
Push generalised sketch-mode support down into DXF_PLOTTER.
5 months ago
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
6 months ago
Jeff Young
524575a595
Allow embedded files to come from components
as well as parent containers, part II.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20210
6 months ago
Mike Williams
5db091fc79
sch groups: clear group membership on destruction, add tests
6 months ago
Jeff Young
98ec2d7ba2
ADDED: metadata searching.
Symbol and footprint search panels can now optionally
search library links, descriptions and keywords.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10602
6 months ago
Mike Williams
c67924ccac
schematic: convert RunOnChildren to also take recursion mode argument
Prepping for SCH_GROUPS, making consistent with the PCB code.
7 months ago
Mike Williams
7cf699bc9d
eeschema: move SwapData to SwapItemData/swapData paradigm
Used by BOARD_ITEM to support groups, which we are adding to the
schematic. Also adds an unused group pointer for now.
7 months ago
Jeff Young
5996cffabc
EE -> SCH (no functional changes)
7 months ago
Seth Hillbrand
4f6a73d83c
Prevent ERC error with NC pin+NC marker
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20222
7 months ago
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
7 months ago
Jeff Young
8f40feedbb
m_ordinal has no meaning for mandatory fields.
... but it should still be initialised.
8 months ago
Jeff Young
c5bb59468d
Get rid of assumptions about field order.
8 months ago
Jeff Young
f2da0c791f
Retire non-cairo printing.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19323
8 months ago
Seth Hillbrand
157c7422b0
Allow sim models to reference embedded files
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20024
8 months ago
Jeff Young
d921a4e916
Switch to using unit names in property inspector.
8 months ago
Wayne Stambaugh
f45915ba93
Eeschema folder housekeeping.
8 months ago
Jeff Young
4c65085fa5
Search within symbols' draw items as well.
9 months ago
Jeff Young
e19bce2f93
Reduce reliance on MANDATORY_FIELDS and their implied order.
9 months ago
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.
9 months ago
Jeff Young
d50b69f1ae
Reconcile divergence of MANDATORY_FIELDS between symbols and footprints.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19697
9 months ago
JamesJCode
35172fe402
Guard against null m_part in erc TextVar checks
Also removes duplication of LIB_SYMBOL dummy() construction methods
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19575
9 months ago
JamesJCode
ad07923af1
Supress some false asserts in debug builds
9 months ago
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
9 months ago
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
10 months ago
Wayne Stambaugh
a37d2372cf
Fix a wxRecursionGuard crash when library symbol is missing.
The various wxCHECKs in the SCH_PIN object where being raised inside
the SCH_SYMBOL object which would also raise it's own wxCHECK that
would cause a recursion guard failure and segfault. The offending
wxCHECKs were replaced with null pointer checks. Missing library
symbol links will be shown with the missing library symbol.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17146
Manually cherry picked from cf71e5707e
10 months ago