kicad/pcbnew
Jeff Young e09271ca0e Fixes for hole clearance and hole-to-hole tests.
1) Separate out CONSTRAINT types
2) Filter both source and dest pads/vias for drilled holes when doing
   hole-to-hole checks.  We were checking the items being put into the
   DRC RTree, but not the items we were scanning.
3) Add hole clearance to Board Setup Constraints panel.

Fixes https://gitlab.com/kicad/code/kicad/issues/6546

Fixes https://gitlab.com/kicad/code/kicad/issues/4683
2020-11-29 23:35:23 +00:00
..
autorouter Encourage use of full DRC for board & footprint malformed outlines. 2020-11-20 17:24:52 +00:00
board_stackup_manager Add const specifiers 2020-11-18 19:50:36 +00:00
connectivity Naming conventions. 2020-11-14 18:26:03 +00:00
dialogs Fixes for hole clearance and hole-to-hole tests. 2020-11-29 23:35:23 +00:00
drc Fixes for hole clearance and hole-to-hole tests. 2020-11-29 23:35:23 +00:00
exporters Mostly formatting cleanup but a few type-casting cleanups too. 2020-11-24 22:16:41 +00:00
import_gfx Use the C++ isnan function 2020-11-29 11:30:45 -05:00
microwave Cleanup compiler warnings 2020-11-25 00:08:09 +00:00
netlist_reader Remove overly verbose messaging. 2020-11-26 16:47:40 +00:00
plugins CADSTAR Archive Importer: Fix duplicate KIID for loaded elements 2020-11-28 17:18:17 +00:00
python Remove ddr3_length_match.py 2020-11-20 08:10:53 +00:00
ratsnest Remove some "class_" prefixes from files. 2020-11-13 15:16:23 +00:00
router Edge Cuts shapes have zero width. 2020-11-26 17:42:46 +00:00
specctra_import_export specctra_export: fix an issue with custom and chamfered/round rect pads. 2020-11-25 13:57:46 +01:00
swig Finish module cleanup (except for xpms). 2020-11-14 22:00:12 +00:00
tools Collapse Redraw3DView and Update3DView into a single routine. 2020-11-29 21:08:30 +00:00
widgets Remove some "class_" prefixes from files. 2020-11-13 15:16:23 +00:00
CMakeLists.txt Re-factor boundary/courtyard checker error handling. 2020-11-21 20:57:35 +00:00
Doxyfile_python
Doxyfile_xml
action_plugin.cpp Mostly formatting cleanup but a few type-casting cleanups too. 2020-11-24 22:16:41 +00:00
action_plugin.h Comment-only changes 2020-01-10 16:43:01 -08:00
array_creator.cpp MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
array_creator.h Naming conventions. 2020-11-14 18:26:03 +00:00
array_pad_name_provider.cpp MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
array_pad_name_provider.h More cleanup of MODULE to see if it fixes SWIG error. 2020-11-13 21:07:36 +00:00
board.cpp Make sure DRC reports a missing board outline. 2020-11-24 14:22:27 +00:00
board.h Re-factor boundary/courtyard checker error handling. 2020-11-21 20:57:35 +00:00
board_commit.cpp Collapse Redraw3DView and Update3DView into a single routine. 2020-11-29 21:08:30 +00:00
board_commit.h Formatting. 2020-11-29 20:00:16 +00:00
board_connected_item.cpp Naming conventions. 2020-11-14 18:26:03 +00:00
board_connected_item.h A rule zone is not really a BOARD_CONNECTED_ITEM. 2020-11-15 20:23:15 +00:00
board_design_settings.cpp Fixes for hole clearance and hole-to-hole tests. 2020-11-29 23:35:23 +00:00
board_item.cpp Implement GetEffectiveShape() for PCB_TARGET_Ts. 2020-11-24 20:21:40 +00:00
board_item_container.h Naming conventions. 2020-11-14 18:26:03 +00:00
board_items_to_polygon_shape_transform.cpp More improvements to new selection disambiguation. 2020-11-29 14:02:46 +00:00
build_BOM_from_board.cpp Mostly formatting cleanup but a few type-casting cleanups too. 2020-11-24 22:16:41 +00:00
cleanup_item.cpp more cleanup about removing useless include 2020-10-02 14:51:11 +02:00
cleanup_item.h Finish exorcising the old DRC system. 2020-09-15 20:15:46 +01:00
collectors.cpp Clean up some more MODULE terms. 2020-11-14 19:56:06 +00:00
collectors.h Rewrite PCBNew selection disambiguation based on shapes. 2020-11-27 22:03:14 +00:00
convert_drawsegment_list_to_polygon.cpp Mostly formatting cleanup but a few type-casting cleanups too. 2020-11-24 22:16:41 +00:00
convert_drawsegment_list_to_polygon.h Re-factor boundary/courtyard checker error handling. 2020-11-21 20:57:35 +00:00
cross-probing.cpp MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
dimension.cpp Fix rotation of dimension objects. 2020-11-21 23:53:06 +00:00
dimension.h Naming conventions. 2020-11-14 18:26:03 +00:00
edit.cpp MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
edit_track_width.cpp Remove some "class_" prefixes from files. 2020-11-13 15:16:23 +00:00
files.cpp Correctly set up projects for converted boards 2020-11-28 22:46:05 -05:00
footprint.cpp More improvements to new selection disambiguation. 2020-11-29 14:02:46 +00:00
footprint.h More improvements to new selection disambiguation. 2020-11-29 14:02:46 +00:00
footprint_edit_frame.cpp File left out of last commit. 2020-11-29 21:21:20 +00:00
footprint_edit_frame.h Exorcise some instances of "modedit". 2020-11-17 16:05:48 +00:00
footprint_editor_settings.cpp Update default color theme 2020-10-18 14:12:54 -04:00
footprint_editor_utils.cpp MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
footprint_info_impl.cpp Naming conventions. 2020-11-17 16:05:49 +00:00
footprint_info_impl.h Naming conventions. 2020-11-17 16:05:49 +00:00
footprint_libraries_utils.cpp Mostly formatting cleanup but a few type-casting cleanups too. 2020-11-24 22:16:41 +00:00
footprint_preview_panel.cpp MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
footprint_preview_panel.h MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
footprint_tree_pane.cpp More Module -> Footprint and a bit of formatting cleanup. 2020-11-10 20:53:12 +00:00
footprint_tree_pane.h Pinning for library trees in FPEditor and SymbolEditor. 2020-02-14 00:10:40 +00:00
footprint_viewer_frame.cpp Naming conventions. 2020-11-17 16:05:49 +00:00
footprint_viewer_frame.h Add snapping to eeschema 2020-09-09 10:18:15 -07:00
footprint_wizard.cpp
footprint_wizard.h MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
footprint_wizard_frame.cpp Naming conventions. 2020-11-17 16:05:49 +00:00
footprint_wizard_frame.h MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
footprint_wizard_frame_functions.cpp MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
fp_shape.cpp Split out arrayDim and MIRROR templates from macros.h 2020-11-17 20:21:04 -05:00
fp_shape.h Move footprint shape offset/rotation stuff to the right place. 2020-11-15 21:04:12 +00:00
fp_text.cpp Split out arrayDim and MIRROR templates from macros.h 2020-11-17 20:21:04 -05:00
fp_text.h More improvements to new selection disambiguation. 2020-11-29 14:02:46 +00:00
fp_tree_model_adapter.cpp Formatting and naming conventions. 2020-11-07 18:50:30 +00:00
fp_tree_model_adapter.h Formatting and naming conventions. 2020-11-07 18:50:30 +00:00
fp_tree_synchronizing_adapter.cpp Remove some "class_" prefixes from files. 2020-11-13 15:16:23 +00:00
fp_tree_synchronizing_adapter.h Formatting and naming conventions. 2020-11-07 18:50:30 +00:00
generate_footprint_info.cpp MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
generate_footprint_info.h
graphics_cleaner.cpp Mostly formatting cleanup but a few type-casting cleanups too. 2020-11-24 22:16:41 +00:00
graphics_cleaner.h MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
grid_layer_box_helpers.cpp Remove some "class_" prefixes from files. 2020-11-13 15:16:23 +00:00
grid_layer_box_helpers.h Dismiss the layer selector grid combobox when it loses focus 2020-10-10 15:24:35 +01:00
initpcb.cpp More module -> footprint. 2020-11-13 15:16:24 +00:00
invoke_pcb_dialog.h MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
io_mgr.cpp Remove GITHUB plugins 2020-10-29 16:45:04 -07:00
io_mgr.h More cleanup of MODULE to see if it fixes SWIG error. 2020-11-13 21:07:36 +00:00
kicad_clipboard.cpp Fix a few issues when copying a footprint from fp editor to clipboard, and paste it: 2020-11-25 17:13:35 +01:00
kicad_clipboard.h Exorcise some instances of "modedit". 2020-11-17 16:05:48 +00:00
load_select_footprint.cpp Exorcise some instances of "modedit". 2020-11-17 16:05:48 +00:00
menubar_footprint_editor.cpp Re-factor boundary/courtyard checker error handling. 2020-11-21 20:57:35 +00:00
menubar_pcb_editor.cpp Harvest -> Export 2020-11-09 17:21:47 +00:00
netinfo.h A bit of "module" erradication, nameing conventions, and formatting. 2020-11-14 21:21:54 +00:00
netinfo_item.cpp MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
netinfo_list.cpp MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
pad.cpp Fix several issues with pad/hole colors when B&W printing. 2020-11-25 17:13:00 +00:00
pad.h Fix several issues with pad/hole colors when B&W printing. 2020-11-25 17:13:00 +00:00
pad_custom_shape_functions.cpp Naming conventions. 2020-11-14 18:26:03 +00:00
pad_naming.cpp D_PAD -> PAD. 2020-11-13 15:16:24 +00:00
pad_naming.h D_PAD -> PAD. 2020-11-13 15:16:24 +00:00
pcb_base_edit_frame.cpp Remove some "class_" prefixes from files. 2020-11-13 15:16:23 +00:00
pcb_base_edit_frame.h Turn on zone visibility when you start drawing a zone 2020-10-17 15:53:02 -04:00
pcb_base_frame.cpp Collapse Redraw3DView and Update3DView into a single routine. 2020-11-29 21:08:30 +00:00
pcb_display_options.cpp ADDED: Control to only show ratsnest for visible layers 2020-09-07 16:43:43 -04:00
pcb_draw_panel_gal.cpp Naming conventions. 2020-11-14 18:26:03 +00:00
pcb_draw_panel_gal.h Remove common.h from more headers 2020-10-25 22:29:53 -04:00
pcb_edit_frame.cpp Collapse Redraw3DView and Update3DView into a single routine. 2020-11-29 21:08:30 +00:00
pcb_edit_frame.h Non-KiCad Project importers: Do not rebuild the netlist or reannotate after import 2020-11-28 17:18:17 +00:00
pcb_expr_evaluator.cpp Encourage use of full DRC for board & footprint malformed outlines. 2020-11-20 17:24:52 +00:00
pcb_expr_evaluator.h Add more consts all over the place 2020-10-27 11:03:35 +00:00
pcb_group.cpp Naming conventions. 2020-11-14 18:26:03 +00:00
pcb_layer_box_selector.cpp Remove some "class_" prefixes from files. 2020-11-13 15:16:23 +00:00
pcb_layer_box_selector.h Make indeterminate control states clearer for the user. 2020-05-05 20:26:51 +01:00
pcb_marker.cpp Add missing GetEffectiveShape(). 2020-11-24 22:16:27 +00:00
pcb_marker.h Add missing GetEffectiveShape(). 2020-11-24 22:16:27 +00:00
pcb_origin_transforms.cpp Add more consts all over the place 2020-10-27 11:03:35 +00:00
pcb_origin_transforms.h Add more consts all over the place 2020-10-27 11:03:35 +00:00
pcb_painter.cpp Apply a similar fix as pads for B&W via printing. 2020-11-27 22:31:07 +00:00
pcb_painter.h Naming conventions. 2020-11-14 18:26:03 +00:00
pcb_plot_params.cpp Python compatibility: move DXF_PLOTTER::DXF_UNITS to DXF_UNITS in pcb_plot_params.h 2020-10-21 18:29:53 +02:00
pcb_plot_params.h Python compatibility: move DXF_PLOTTER::DXF_UNITS to DXF_UNITS in pcb_plot_params.h 2020-10-21 18:29:53 +02:00
pcb_plot_params_parser.h Comment-only changes 2020-01-10 16:43:01 -08:00
pcb_screen.cpp more cleanup about removing useless include 2020-10-02 14:51:11 +02:00
pcb_shape.cpp Mostly formatting cleanup but a few type-casting cleanups too. 2020-11-24 22:16:41 +00:00
pcb_shape.h More component -> symbol. 2020-11-15 20:23:15 +00:00
pcb_target.cpp Implement GetEffectiveShape() for PCB_TARGET_Ts. 2020-11-24 20:21:40 +00:00
pcb_target.h Implement GetEffectiveShape() for PCB_TARGET_Ts. 2020-11-24 20:21:40 +00:00
pcb_text.cpp Split out arrayDim and MIRROR templates from macros.h 2020-11-17 20:21:04 -05:00
pcb_text.h More improvements to new selection disambiguation. 2020-11-29 14:02:46 +00:00
pcb_view.cpp MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
pcb_view.h Naming conventions. 2020-11-14 18:26:03 +00:00
pcbnew.cpp Remove some "class_" prefixes from files. 2020-11-13 15:16:23 +00:00
pcbnew.h Minor code cleanup, step3: remove more useless include. 2020-10-01 18:28:12 +02:00
pcbnew.icns
pcbnew.rc Handle Windows manifests ourselves and add dpi awareness option 2020-10-10 19:08:23 +00:00
pcbnew_config.cpp Remove GITHUB plugins 2020-10-29 16:45:04 -07:00
pcbnew_config.h
pcbnew_doc.icns
pcbnew_id.h Cleanup. Push more editing functions to toolset. 2020-11-10 20:14:26 +00:00
pcbnew_printout.cpp Naming conventions. 2020-11-17 16:05:49 +00:00
pcbnew_printout.h D_PAD -> PAD. 2020-11-13 15:16:24 +00:00
pcbnew_settings.cpp Allow specifying the DXF file units on import 2020-11-22 15:39:37 -05:00
pcbnew_settings.h Allow specifying the DXF file units on import 2020-11-22 15:39:37 -05:00
pcbplot.cpp Remove some "class_" prefixes from files. 2020-11-13 15:16:23 +00:00
pcbplot.h MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
plot_board_layers.cpp Split out arrayDim and MIRROR templates from macros.h 2020-11-17 20:21:04 -05:00
plot_brditems_plotter.cpp Mostly formatting cleanup but a few type-casting cleanups too. 2020-11-24 22:16:41 +00:00
plotcontroller.h Change more enums over to scoped enums 2019-12-28 00:55:11 +00:00
plugin.cpp MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
sel_layer.cpp Remove some "class_" prefixes from files. 2020-11-13 15:16:23 +00:00
text_mod_grid_table.cpp Mostly formatting cleanup but a few type-casting cleanups too. 2020-11-24 22:16:41 +00:00
text_mod_grid_table.h MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
toolbars_footprint_editor.cpp Re-factor boundary/courtyard checker error handling. 2020-11-21 20:57:35 +00:00
toolbars_footprint_viewer.cpp Smooth out redrawing of toolbars by not letting wx pointlessly calculate both orientations 2020-11-05 20:56:14 -05:00
toolbars_pcb_editor.cpp Remove some "class_" prefixes from files. 2020-11-13 15:16:23 +00:00
track.cpp Avoid calculating on-endpoint hits 2020-11-19 14:46:21 -08:00
track.h Naming conventions. 2020-11-17 16:05:49 +00:00
tracks_cleaner.cpp D_PAD -> PAD. 2020-11-13 15:16:24 +00:00
tracks_cleaner.h Remove some "class_" prefixes from files. 2020-11-13 15:16:23 +00:00
undo_redo.cpp PCB_GROUP_Ts need to be added and removed from view. 2020-11-27 23:34:58 +00:00
zone.cpp Make sure unfilled zones get an MD5 hash. 2020-11-26 20:21:46 +00:00
zone.h Make sure unfilled zones get an MD5 hash. 2020-11-26 20:21:46 +00:00
zone_filler.cpp More improvements to new selection disambiguation. 2020-11-29 14:02:46 +00:00
zone_filler.h D_PAD -> PAD. 2020-11-13 15:16:24 +00:00
zone_settings.cpp Remove some "class_" prefixes from files. 2020-11-13 15:16:23 +00:00
zone_settings.h Update some classnames including archaic zone names. 2020-11-12 10:31:25 +00:00
zones.h Update some classnames including archaic zone names. 2020-11-12 10:31:25 +00:00
zones_by_polygon.cpp Remove some "class_" prefixes from files. 2020-11-13 15:16:23 +00:00
zones_functions_for_undo_redo.cpp Remove some "class_" prefixes from files. 2020-11-13 15:16:23 +00:00
zones_functions_for_undo_redo.h Convert UNDO_REDO_T to an enum class 2020-08-26 18:04:32 +00:00
zones_test_and_combine_areas.cpp Remove some "class_" prefixes from files. 2020-11-13 15:16:23 +00:00