Jeff Young
a7703d1207
Cleanup Graphics to parallel Cleanup Tracks & Vias.
This also allows for easier migration to DRAWSEGMENT::S_RECTs by
auto-converting 4 rectilinear lines to a rectangle.
5 years ago
jean-pierre charras
59523efc1a
Eeschema: fix a crash after reopening the ERC dialog, after changes in schematic.
When the ERC is run and a component has a ERC error linked to it, if it is deleted,
when reopening the ERC dialog, the dialog crashed due to a not found item
(null pointer use)
6 years ago
Jeff Young
4a60b8a776
Improve DRC error reporting and fix some bugs.
6 years ago
Jeff Young
32db9eb0f1
Add some distances to a few DRC errors.
6 years ago
Jeff Young
1535c83b88
Lay some groundwork for adding distances to DRC errors.
modified: eeschema/lib_rectangle.cpp
6 years ago
jean-pierre charras
aebfbda183
DRC dialog: fix a crash when clicking on a item in Footprint Warning panel:
if the warning is a missing footprint, obviously there is no marker associated.
It creates a crash due to a null pointer.
Fixes #4114
https://gitlab.com/kicad/code/kicad/issues/4114
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
61704cb508
Initialize missing variable
6 years ago
jean-pierre charras
fbd01f2f7d
DRC_TREE_MODEL: Fix incorrect display of DRC errors on linux+wxGTK 3.0
Fixes #4038
https://gitlab.com/kicad/code/kicad/issues/4038
6 years ago
Jeff Young
1e4ae5d526
Bug fix for DRC tree view on MSW.
6 years ago
Jeff Young
44b8bb8f60
Fix a bug when deleting DRC markers from their child items.
6 years ago
Jeff Young
d20f36511f
Fix issue with severities not get initialised in DRC_TREE_MODELs.
6 years ago
jean-pierre charras
b7cd0c54c2
Fix compil issues, especially on Windows:
Replace SEVERITY_ERROR by RPT_SEVERITY_ERROR to avoid collision with a system definition.
Replace other SEVERITY_XXX by RPT_SEVERITY_XX for consistency.
Fix compil warnings and some other compil issues.
6 years ago
Jeff Young
85c2e0d23a
Add user-defined severities, exclusions and colors to DRC markers.
Exclusions are currently persisted in the project file.
Fixes https://gitlab.com/kicad/code/kicad/issues/1989
6 years ago
Jeff Young
3860ab9f0c
Fix issue returning pointers to items inside std::vector.
(When the vector is re-allocated your pointers become bogus.)
6 years ago