Alex
c6d9dcdad5
Schematic editor: allow box-selecting pins.
3 years ago
Marek Roszko
c4c56de708
Neurotically update position wxPoint usages
4 years ago
Jeff Young
653c7b78d7
Move NC pin logic so we set it before we need it.
Also fixes drawing the dangling symbol in the Pin Properties dialog
and when printing.
Fixes https://gitlab.com/kicad/code/kicad/issues/9962
4 years ago
Jeff Young
2e342ed8c9
Draw dangling symbols on a separate layer.
This allows us to draw them in front of wires, pins, and most
importantly, junction dots.
Fixes https://gitlab.com/kicad/code/kicad/issues/9667
4 years ago
Mikolaj Wielgus
71bfbfaa70
Test SCH_PIN rotation and mirroring
4 years ago
Jeff Young
7fc04c3cf2
Fixes for realtime connectivity being off.
Fixes https://gitlab.com/kicad/code/kicad/issues/9628
4 years ago
Jeff Young
5f3c67bd2b
Fill in some missing GetMsgPanelItems and make some others consistent.
Also expunges a std::vector<MSG_PANEL_ITEM> cover type.
4 years ago
Jeff Young
0484ca5564
Separate LIB_PIN and SCH_PIN GetShownName/Number processing.
SCH_PIN wasn't handling the legacy empty string token (~), but
more importantly this will allow text variable resolution specific
to the schematic.
Fixes https://gitlab.com/kicad/code/kicad/issues/8625
4 years ago
Jeff Young
bcdec0dea7
Move '~' pin name processing to LIB_PIN and SCH_PIN.
This will also allow us to do variable processing in the future if
desired.
5 years ago
Wayne Stambaugh
fbc135e69f
Rename SCH_COMPONENT to SCH_SYMBOL.
5 years ago
Wayne Stambaugh
9ebabb222c
Pass objects by reference instead of on the stack.
5 years ago
Wayne Stambaugh
925b6d9387
Eeschema header housekeeping round 2.
5 years ago
Jeff Young
7a13ad7b17
Consistent naming.
5 years ago
Jeff Young
2a7e60960a
Use standard mirror icons & terminology.
Also use standard group icons.
Also put both (and rotate commands) in toolbar.
Fixes https://gitlab.com/kicad/code/kicad/issues/7504
5 years ago
Jeff Young
10c6e0bc46
Cache entries are dependant on setting of aForceNoConnect
Don't use a result cached when aForceNoConnect was false when
aForceNoConnect is true.
5 years ago
Jeff Young
f5e35af1a5
Transmit pin electrical types through to pads.
5 years ago
Jon Evans
02681fcf0e
Move no-connect processing to connection graph
This way the net names can be inspected in eeschema and cross-probing works.
Testcases updated for the name changes
CHANGED: all unconnected pins are now included in the netlist with no_connect_ prefixes
5 years ago
Dominik Wernberger
ec0af24f13
Make wxFindReplaceData argument const
5 years ago
Dominik Wernberger
bb2881a5ab
Make RENDER_SETTINGS argument const
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
Marek Roszko
a785f70ea1
msgpanel is a widget, shove it to the right folder.
5 years ago
Mark Roszko
c940a45937
ADDED: Autostart wires in eeschema
Allows wires to be automatically started by clicking over a connection point
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
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
Tomasz Wlostowski
c1d5394e46
properties: post-rebase fixes
6 years ago
Jeff Young
1535c83b88
Lay some groundwork for adding distances to DRC errors.
modified: eeschema/lib_rectangle.cpp
6 years ago
Jeff Young
2b6089240a
Change super/subscript syntax to ^{foo} and _{foo}.
6 years ago
Jeff Young
9c8941e040
Remove a bunch of globals.
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
Seth Hillbrand
6e5e453d0d
Replace EESchema DLIST
This moves EESchema DLIST structures to rtree. These changes are more
fundamental than the pcbnew changes from 9163ac543 888c01d11 d1877d7c1
and 961b22d60 as eeschema operations were more dependent on passing
drawing list references around with SCH_ITEM* objects.
6 years ago
Mark Roszko
11ff16be4e
Switch to scoped enums
6 years ago
Seth Hillbrand
83b2332f1f
eeschema: Check for proper type before dereference
When bundling a selection, we need to ensure that we have correct types
before attempting to dereference.
Fixes: lp:1841919
* https://bugs.launchpad.net/kicad/+bug/1841919
6 years ago
Jeff Young
d6e9bdf07b
Convert remaining legacy drawing code to print code.
7 years ago
Jeff Young
0a01277808
Fix issues with schematic find/change.
Fixes: lp:1831006
* https://bugs.launchpad.net/kicad/+bug/1831006
7 years ago
Jeff Young
792c4328aa
Cleanup.
7 years ago
Jon Evans
c02777a721
Clean up some unnecessary header dependencies
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
5e2cf51309
Improve robustness of SCH_PIN storage architecture.
In particular, allow short-term storage of pointers to SCH_PINs.
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
Jeff Young
2aad4a5e57
Remove dead code from removal of eeschema legacy canvas.
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
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