Jeff Young
c1d1c12b41
Simplify message panel code.
We've had the colours turned off for two releases now without any
screaming or gnashing of teeth, so it's time to clean up the code.
5 years ago
Jeff Young
c89676e39d
Require client to specify whether they want resolved values or not.
Fixes https://gitlab.com/kicad/code/kicad/issues/6408
5 years ago
Jeff Young
b227d2b910
More component -> symbol.
5 years ago
Jeff Young
6654c03041
Embarking on the next adventure: component -> symbol.
5 years ago
Jeff Young
a6d4ce2a5c
Finish impl of alternate pins.
It appears this got shelved while waiting for the sexpr format to be
firmed up, and then I forgot about it.
Fixes https://gitlab.com/kicad/code/kicad/issues/6189
5 years ago
Jeff Young
4565631728
Finish moving eeschema assigned netclasses to sheet-path-relative.
Also adds code for the case where a new label is created on a net
with an existing netclass assignment.
Fixes https://gitlab.com/kicad/code/kicad/issues/5886
5 years ago
Mikolaj Wielgus
400c15b8eb
Add mils to units, remove useMils variables
5 years ago
Jeff Young
7b05e456cc
Bug fixes for multiple symbol instances in complex hierarchies
1) use SCH_COMPONENT::GetRef(), GetValue() and GetFootprint() when
instance-specific info is needed
2) update UpdateAllScreenReferences() to handle value and footprint.
3) BACKANNO is CvPcb's handler, not back annotation's handler. Which
means it needs GUI behaviour, not back annotation behaviour.
Fixes https://gitlab.com/kicad/code/kicad/issues/5520
5 years ago
Jeff Young
1ea08f27f8
Keep local number up-to-date so we don't have to look at libPin's.
The libPin, in particuar, may have been freed.
Fixes https://gitlab.com/kicad/code/kicad/issues/5399
5 years ago
Ian McInerney
750b186582
Return the type and shape for alternate pins
These return statements were missing from the original implementation,
so the alternate style was never being returned.
5 years ago
Jeff Young
97c34e2516
ADDED alternate pin definitions and assignments.
Fixes https://gitlab.com/kicad/code/kicad/issues/2002
5 years ago
Seth Hillbrand
275e810573
eeschema: Use recursive mutex for SCH_PIN
We need to be able to lock individual actions while keeping the code
modular. The recursive mutex keeps this thread-local.
Fixes https://gitlab.com/kicad/code/kicad/issues/5186
5 years ago
Jeff Young
2b0b7a5153
Clear pin net-name-driving cache when changing annotation.
Also update connectivity after clear annotation, annotate or back
annotate.
Also update status bar for highlighted nets.
Fixes https://gitlab.com/kicad/code/kicad/issues/5170
5 years ago
Jeff Young
dcd02539e3
Remove linked-pin processing from LIB_PIN's setters.
It belongs in the tool layer (specifically LIB_PIN_TOOL).
5 years ago
Jon Evans
d8be5f9ecf
Don't allow pins with NC electrical type to join other nets
Fixes https://gitlab.com/kicad/code/kicad/-/issues/1826
5 years ago
Jeff Young
1535c83b88
Lay some groundwork for adding distances to DRC errors.
modified: eeschema/lib_rectangle.cpp
6 years ago
Jeff Young
cee973dc04
Move ERC error reporting over to the new framework.
Fixes https://gitlab.com/kicad/code/kicad/issues/1989
6 years ago
Jeff Young
129042f8a6
Convert timestamps to UUIDs.
6 years ago
Mark Roszko
11ff16be4e
Switch to scoped enums
6 years ago
Jeff Young
f21e24cd17
Fix pin rotatation and SPICE current probe statement for 2-pin symbols
Fixes: lp:1843159
* https://bugs.launchpad.net/kicad/+bug/1843159
6 years ago
Jeff Young
0a01277808
Fix issues with schematic find/change.
Fixes: lp:1831006
* https://bugs.launchpad.net/kicad/+bug/1831006
7 years ago
Jon Evans
9d56102210
Prevent unannotated components from driving connectivity
Fixes: lp:1829301
* https://bugs.launchpad.net/kicad/+bug/1829301
7 years ago
Jeff Young
11ec7d4651
Invert the Y axis of SCH_PIN coords when hit-testing.
Fixes: lp:1827849
* https://bugs.launchpad.net/kicad/+bug/1827849
7 years ago
Jeff Young
fd546da640
Homogenize hit testing and selection return types.
Prep work for sharing SCH_SELECTION_TOOL with LibEdit.
7 years ago
Jeff Young
f200c61897
Start transitioning block operations to modern toolset.
7 years ago
Jeff Young
c994961ebf
Fix for SCH_PIN operator= from Simon Richter.
7 years ago
Jeff Young
5e2cf51309
Improve robustness of SCH_PIN storage architecture.
In particular, allow short-term storage of pointers to SCH_PINs.
7 years ago
jean-pierre charras
2529346940
Some fixes for I18N. Mainly do not translate debug messages or strings giving only a print format (like "%d").
7 years ago
Seth Hillbrand
1c93b122f1
SCH_PIN: Guard the calculated map
Pins are used in threaded application so we need to keep the
precalculation map guarded
7 years ago
Jon Evans
ff8b7cc6c1
Fix SCH_PIN location calculation
7 years ago
Jeff Young
3ace73fbdd
Fold various SCH pin shadow data structures into SCH_PIN.
7 years ago
Jeff Young
52246121b9
Add pins to net highlighting.
Fixes: lp:1763873
* https://bugs.launchpad.net/kicad/+bug/1763873
7 years ago
Jon Evans
83c7e7fc65
New connectivity algorithm and bus upgrades
Bus upgrades: core new connectivity code
Bus upgrades: eeschema integration and modifications
Bus upgrades: eeschema dialogs
Bus upgrades: netlist export
Bus upgrades: file format changes
7 years ago