Jeff Young
5d400a9e11
Improve symbol library messages.
Includes both error messages and ERC messages.
Fixes https://gitlab.com/kicad/code/kicad/issues/6302
5 years ago
Jeff Young
6e6e0aa644
Naming conventions (including some component -> symbol).
5 years ago
Jeff Young
6654c03041
Embarking on the next adventure: component -> symbol.
5 years ago
jean-pierre charras
2e92cc7958
ERC: use separate tests for input pins and power input pins.
Input pins can be driven by many pin types: output, passive, 3state, I/O
But Power pins can be driven by only power output pins, and cannot
use the same criteria in ERC tests.
5 years ago
Marek Roszko
c173ea14b7
Quiet MSVC warning about bool OR int
5 years ago
Jon Evans
50cff57b9a
Explicit bools for MS
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6146
5 years ago
Jon Evans
601a63b63a
Better prioritization for non-driven pin ERC
Fixes https://gitlab.com/kicad/code/kicad/-/issues/1881
5 years ago
Jon Evans
af28634df1
Bring Pin Not Driven ERC to the new system
Also reword the error title to be a bit more clear
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5681
5 years ago
Wayne Stambaugh
8ff51d8899
Eeschema: add schematic sheet page number.
The groundwork has now been laid for per sheet instance data. Initially
this only supports sheet page numbers but could be expanded to include
other per sheet instance information.
ADDED: Support for user defined schematic page numbers.
5 years ago
Jeff Young
d0ddc909dc
Handle hierarchical symbols when performing "lib symbol changed" check.
Fixes https://gitlab.com/kicad/code/kicad/issues/6002
5 years ago
Jeff Young
3100273db1
Don't invalidate itterator by adding markers inside loop.
Fixes https://gitlab.com/kicad/code/kicad/issues/6002
5 years ago
Marek Roszko
2c86363aa0
Relocate the page_layout includes to a page_layout folder
5 years ago
Wayne Stambaugh
5127d6c772
Eeschema: add ERC check for library symbol issues.
ADDED: ERC check for library symbols that have changed since they were
added to the schematic or have broken symbol library links.
5 years ago
jean-pierre charras
7865d8de43
more cleanup about removing useless include
5 years ago
Ian McInerney
89dcc46898
Coverity cleanup and remove unused variables
5 years ago
Jeff Young
5e9ec82642
Correctly resolve textVar refs in worksheet items in ERC.
Also fixes a null-ptr bug in DRC.
Fixes https://gitlab.com/kicad/code/kicad/issues/5506
5 years ago
Jeff Young
be15053745
Allow back-annotation of differing values and footprints.
Also fixes a couple of bugs where resolving a textVar reference
to the refDes or unit wouldn't get the correct value in a
hierarchical schematic. (Unlogged.)
Fixes https://gitlab.com/kicad/code/kicad/issues/5397
5 years ago
Jon Evans
a4d23fff12
Fix multi-unit pin check logic
Typo name vs. number
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5483
5 years ago
Jon Evans
38a4e4ad5a
Remove the last bits of the old netlist system
5 years ago
Jon Evans
be0aad5984
Move similar labels check to new connectivity engine
5 years ago
Jon Evans
48d7c46a53
Move pin table checks to new connectivity system
5 years ago
Ian McInerney
2f7094b352
Cleanup some unused variables
* Make the app progress indicator only have the indeterminate state
when the taskbar indicator is used (causes an uused variable warning
on wx<3.1)
* Remove unused dry run variable in pcb_netlist.h
* Remove unused forceDropAnnotations from the paste special dialog
since the dialog only controls keeping them.
5 years ago
Jeff Young
605ddce651
Make sure ERC has a current sheet to resolve text vars with.
Fixes https://gitlab.com/kicad/code/kicad/issues/5318
5 years ago
Jeff Young
97c34e2516
ADDED alternate pin definitions and assignments.
Fixes https://gitlab.com/kicad/code/kicad/issues/2002
5 years ago
Tomasz Wlostowski
d937fadd6f
Migrate RC_ITEM to use shared_ptr
5 years ago
Jeff Young
e86fc64e7d
Check envvars as well before flagging as un-resolved.
Fixes https://gitlab.com/kicad/code/kicad/issues/4644
5 years ago
Jon Evans
84b02e51f1
Fix overly aggressive ERC check
It helps to only check for the pintypes I care about
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
jean-pierre charras
9e669db5b4
Eeschema: fix a name collision with a Windows header.
the member ERROR of the class PIN_ERROR was colliding: changed to PP_ERROR
5 years ago
Jon Evans
f725248fd8
Fix ERC pin checking logic
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4577
5 years ago
Jon Evans
b94e29e3b1
Persist ERC pin table in project settings
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2066
Also a partial fix for https://gitlab.com/kicad/code/kicad/-/issues/4577
5 years ago
Jon Evans
12b4a55ae8
Port Eeschema to new project settings
DRC/ERC error serialization changed to use explicit tokens
Old stored severities and ignored errors are discarded
5 years ago
Jeff Young
9f2be3714f
Add unresolved variable testing for worksheet items.
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
9d6b987ecc
Fixes to map pin-to-pin erorrs to new Warning/Error strucutre.
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
132d4d3ffa
Clean up compiler warning.
6 years ago
Jeff Young
41b5872f12
Add ERC & DRC checks for unresolved variables.
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
c699fb9e39
Move pin-to-pin errors to Setup Schematic.
6 years ago
Jeff Young
c68b554c8e
Promote PathsAndReferences from wxArrayString to first-class-citizen.
Keeping the data in an un-serialized format greatly simplifies usage,
and should make it more robust.
6 years ago
Jeff Young
129042f8a6
Convert timestamps to UUIDs.
6 years ago
Mark Roszko
70908043a3
Convert enums inside eeschema and the symbol editor to be scoped
Scope: NETLIST_ITEM, CONNECTION_TYPE, ELECTRICAL_PINTYPE,
NET_CONNECTION, NETLIST_ITEM, GRAPHIC_PINSHAPE
Note, the pin type enum had PT_ added to the front to prevent
shadowing of the INPUT symbol on msys2 (see discussion at
c17c9960d8 )
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
Jon Evans
78add8f4bd
Mark ERC compare operators as const
Not including these is a compile error on MSW/VC
6 years ago
jean-pierre charras
9b6e1cb1cd
Fix incorrect I18n string.
6 years ago
jean-pierre charras
3796b2fe7f
Fix minor compil warnings (signed/unsigned comparison)
6 years ago
Jeff Young
56bf72cc5d
OpenGL context must be saved/restored around a translation.
Also includes a bunch of code cleanup.
Fixes: lp:1838655
* https://bugs.launchpad.net/kicad/+bug/1838655
6 years ago
Seth Hillbrand
2e66d80af8
erc: Avoid casting between iterators
The iterator for containers should always match the container type.
Using auto here re-forces the match.
6 years ago