Seth Hillbrand
d99641be40
ADDED: Git integration support
Adds support for project-based git integration, branch support, commit,
revert and updates
Fixes https://gitlab.com/kicad/code/kicad/issues/10441
2 years ago
Seth Hillbrand
bdb7b99fc8
Don't destroy the pin cache in symbols
SCH_PIN pointers are used through KiCad and removing them without a
global refresh risks crashes. A safer approach is to simply reuse the
SCH_PIN structures, updating the data to the revised library
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15715
2 years ago
Jon Evans
148e111579
Refactor pin orientation to be an enum class
Add various LIB_PIN properties
2 years ago
Mike Williams
ca5004b1d2
Power Symbols: rename IsPowerConnection to IsGlobalPower
It's kind of confusing because we have power type pins, and pins that
make global power nets as part of power symbols.
3 years ago
Jeff Young
bc108023b3
ADDED operating point overlay for SCH_EDIT_FRAME.
Fixes https://gitlab.com/kicad/code/kicad/issues/11253
3 years ago
Jon Evans
c530bdb5a1
Rename GetSelectMenuText to GetItemDescription
This descriptive text is used for many more things than
just the select menu these days.
3 years ago
Jeff Young
64a6fc0fd4
Push UNITS_PROVIDER down into a low-level mixin.
This allows us to also construct cheap UNIT_PROVIDERs for specific
tasks when necessary.
3 years ago
Seth Hillbrand
16479277cc
Catch connection errors when stacked pins have NC flags
Don't flag the error as having a connected net with an NC flag. Stacked
pins are not connected in that sense, so are allowed an NC flag
3 years ago
Jeff Young
f17a865593
Move EDA_ITEM hitTest to BOX2I.
3 years ago
Jeff Young
2dc6300501
Move EDA_ITEM bounding boxes to BOX2I.
3 years ago
Marek Roszko
e0f28fc4e1
Replace wxFindReplaceData with our own container
By dropping the flags, we can be strict with options.
Also it makes future usage of search functionality a little more "UI" framework independent
3 years ago
Jeff Young
3def3d659e
Allow click-selection and greedy-drag selection of visible pin text.
Stingy drag still works only on the pin itself.
Fixes https://gitlab.com/kicad/code/kicad/issues/11723
3 years ago
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.
4 years ago
Wayne Stambaugh
fbc135e69f
Rename SCH_COMPONENT to SCH_SYMBOL.
4 years ago
Wayne Stambaugh
9ebabb222c
Pass objects by reference instead of on the stack.
4 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