Wayne Stambaugh
fb46cd8bc5
Expunge the use of the word component from Eeschema code.
The only exception to this is the SPICE simulator's use of component
when referring to physical component (R, L, C, etc.) values.
4 years ago
Wayne Stambaugh
fbc135e69f
Rename SCH_COMPONENT to SCH_SYMBOL.
4 years ago
Jeff Young
2e3860de6f
Naming conventions.
5 years ago
Wayne Stambaugh
a85898f904
Eeschema header housekeeping round 1.
5 years ago
Jon Evans
ede500f117
Don't create multiple markers for the same issue
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7016
5 years ago
Jeff Young
ad281f7538
Remove duplicated TestDanglingEnds routines.
Also adds a changedItemHandler so that the single remaining version
can update the view.
Fixes https://gitlab.com/kicad/code/kicad/issues/6581
5 years ago
Jeff Young
c85ef8eb69
Make updating netnames in backannotate more discrete.
Trying to be too smart was producing unexpected results.
Fixes https://gitlab.com/kicad/code/kicad/issues/6480
5 years ago
Marek Roszko
1984581c46
Remove common.h from more headers
5 years ago
Jeff Young
fbb20d08cd
Don't allow netclass assignment to auto-generated net-names.
They can change the next time they're generated so it's just asking
for heartache.
Fixes https://gitlab.com/kicad/code/kicad/issues/5972
5 years ago
Jon Evans
d40ae3de46
ADDED: ERC check for missing hier labels for sheet ports
A subsheet may have more than one instance of a hier label,
but it's generally a mistake if there is no matching hier label
for a port on the parent sheet.
This is harder to do today now that we don't have manual tool
for placing hier ports, but it's still possible if you place
ports but then rename the label on the subsheet.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/3468
5 years ago
Jon Evans
45cae6405d
Improve no-connect ERC and check for floating wires
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2393
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2038
5 years ago
Jon Evans
66bdd37637
Connectivity optimizations
Cache names of potential driving items
Change a few data structures based on profiling
5 years ago
Jon Evans
282fcd5f3c
Connectivity optimizations
Don't copy the recursion test cache when copy-constructing
SCH_SHEET_PATHs as it's not needed in connectivity
Fix a few places that were copying unnecessarily
5 years ago
Jon Evans
1e69f592f6
Rework net highlighting to use connections instead of strings
Fixes https://gitlab.com/kicad/code/kicad/-/issues/1933
Fixes https://gitlab.com/kicad/code/kicad/-/issues/3921
6 years ago
Jon Evans
de9520d65e
Finish porting netlisters to use CONNECTION_GRAPH
6 years ago
Jon Evans
d7bd4c9b04
Move Eeschema globals to new SCHEMATIC object
Set up a new lineage for SCH_ITEMS to get back to the SCHEMATIC
they live on: Items will all be parented to the SCH_SCREEN that
they are added to, and each SCH_SCREEN will point back to the
SCHEMATIC that it is part of. Note that this hierarchy is not
the same as the actual schematic hierarchy, which continues to
be managed through SCH_SHEETs and SCH_SHEET_PATHS.
6 years ago
Jeff Young
437f888c25
Schematic Setup dialog.
Includes:
- moving some of the project settings from the Preferences dialog
- ERC severites
- project-specific field-name templates
Fixes https://gitlab.com/kicad/code/kicad/issues/2145
6 years ago
Jon Evans
fe375b4419
Allow sheet pins to be strong drivers if they don't conflict with anything
Also try harder to match bus members in case one was renamed by a higher
priority label.
Fixes https://gitlab.com/kicad/code/kicad/issues/3797
6 years ago
Jon Evans
41725e6b07
Sort nets in netlist by name; generate ordered net codes
6 years ago
Jeff Young
836c1ea56e
Fix a bunch of un-caught boost::bad_pointer exceptions.
This also removes vector cover types which do nothing except obfuscate
the underlying implementation.
Mainly changes SCH_SHEET_PINS and CONFIG_PARAM_ARRAY (which will soon
be replaced by Jon's new stuff).
6 years ago
Ian McInerney
00e58cd974
Fix unintialized values (from coverity scan)
6 years ago
Jon Evans
b4cc28a5b6
Fix memory leaks in CONNECTION_GRAPH
Fixes #3692
6 years ago
Jon Evans
1bffe7f48b
Ensure power pins win over bus member renaming
Also switch to a scoped enum for PRIORITY
Fixes https://gitlab.com/kicad/code/kicad/issues/3728
6 years ago
Jon Evans
8b87dc7e0f
A slightly better ERC check for hierarchical labels
Fixes: lp:1839822
* https://bugs.launchpad.net/kicad/+bug/1839822
6 years ago
Jeff Young
a568e70b99
Follow naming conventions.
6 years ago
Jon Evans
607650be22
Connectivity: don't consider neighbor propagation when types don't match
Fixes: lp:1831608
* https://bugs.launchpad.net/kicad/+bug/1831608
6 years ago
Jon Evans
8d8c743f97
Connectivity: remove unused method
6 years ago
Jeff Young
792c4328aa
Cleanup.
7 years ago
Jon Evans
316be464ab
Handle higher-priority connection drivers located in subsheets
Fixes: lp:1827850
* https://bugs.launchpad.net/kicad/+bug/1827850
7 years ago
Jon Evans
09c9db472e
Properly handle buses that have been linked by net wires only
Fixes: lp:1825532
* https://bugs.launchpad.net/kicad/+bug/1825532
7 years ago
Jon Evans
6d918ea1f1
A few fixes and refactors to connectivity propagation
7 years ago
Jon Evans
a5a2152ff4
Cache subgraphs by sheet path
7 years ago
Jon Evans
c054944d67
Set real-time connectivity to on by default with a safety valve
7 years ago
Jon Evans
f0376f1379
Improve ERC checking of labels
Fixes: lp:1824629
* https://bugs.launchpad.net/kicad/+bug/1824629
7 years ago
Jon Evans
e06d37090a
A few connectivity performance tweaks
7 years ago
Jon Evans
ed27c50692
Improve handling of non-unique connections
7 years ago
Jon Evans
e2c12d8c25
Overhaul connectivity neighbor and global connection processing
7 years ago
Jon Evans
df600fc1a2
Fix a few ERC issues with no-connects and power pins
Fixes: lp:1824359
* https://bugs.launchpad.net/kicad/+bug/1824359
7 years ago
Seth Hillbrand
8c9244e677
Revert "eeschema: Connectivity threading"
This reverts commit 1a031e771f .
Some nets broken in commit.
7 years ago
Seth Hillbrand
1a031e771f
eeschema: Connectivity threading
This threads the first step (update item) in the connectivity routine.
Also eliminates the duplicate call for multiple copies of the same
sheet.
7 years ago
Jon Evans
bd487d2c25
Rework logic for linking local subgraphs together
7 years ago
Jon Evans
ec2c571abb
Fix merging of subgraphs with multiple labels
7 years ago
Jon Evans
d5990100e1
Promote locally-labeled nets to global when tied to global buses
Fixes: lp:1822964
* https://bugs.launchpad.net/kicad/+bug/1822964
7 years ago
Jeff Young
3ace73fbdd
Fold various SCH pin shadow data structures into SCH_PIN.
7 years ago
Jon Evans
8a9b82c2a2
Switch CONNECTION_GRAPH to wxLogTrace
7 years ago
Jon Evans
8b30cd4389
Fix edge case crash when processing invisible power pins
7 years ago
Jon Evans
2466b4363d
Cache subgraph driver connections for improved performance
7 years ago
Jon Evans
f1882f333e
Don't call OnModify() before placing new parts
Remove unnecessary calls to TestDanglingEnds()
Disable real-time connectivity updates for now
Revert "Remove unnecessary calls to TestDanglingEnds()"
This reverts commit d93e3894f2 .
Remove debug code
7 years ago
Jon Evans
babdc9fd7b
Improve naming of weak subgraphs
7 years ago
Jon Evans
e98debfeb2
Fix a few issues with hierarchical propagation
7 years ago