kicad/pcbnew
Seth Hillbrand c8b2e69332 Check if selection is primary tool
Previously, we were checking if the selection tool was the top of the
stack but this ignored many other "secondary" tools that might be
running such as the point editor.  These still allow the selection tool
to handle events such as clicks.  This change allows the selection tool
to handle clicks when it is the primary tool on the stack rather than
the top

Fixes https://gitlab.com/kicad/code/kicad/issues/9110
2021-09-07 10:42:01 -07:00
..
autorouter Cherry-pick some 7.0 Clearance Resolution improvements. 2021-08-15 19:03:58 +01:00
board_stackup_manager Change Loss Tg to Loss Tan. 2021-09-07 10:49:17 +01:00
connectivity Clear numbers from non-numberable pads and don't run DRC on them. 2021-08-24 01:03:06 +01:00
dialogs Move 45° limit to hotkey 2021-09-05 13:42:51 -07:00
drc Implement PTH/NPTH/courtyard collision tests. 2021-09-04 00:16:26 +01:00
exporters Clear numbers from non-numberable pads and don't run DRC on them. 2021-08-24 01:03:06 +01:00
import_gfx Rename layer ids file. 2021-07-29 16:03:25 +01:00
microwave Move 45° limit to hotkey 2021-09-05 13:42:51 -07:00
netlist_reader Ensure newly added pads are counted 2021-09-01 15:12:28 -07:00
plugins .kicad_pcb file: fix incorrect keyword stored for some (not all) PAD properties. 2021-09-06 09:15:18 +02:00
python PCM implementation 2021-08-27 21:11:47 +00:00
ratsnest Rename layer ids file. 2021-07-29 16:03:25 +01:00
router Move 45° limit to hotkey 2021-09-05 13:42:51 -07:00
specctra_import_export Clear numbers from non-numberable pads and don't run DRC on them. 2021-08-24 01:03:06 +01:00
tools Check if selection is primary tool 2021-09-07 10:42:01 -07:00
widgets Enable LAYER_MOD_TEXT_FR layer in fp editor as it should. 2021-08-16 09:30:54 +02:00
CMakeLists.txt Clear numbers from non-numberable pads and don't run DRC on them. 2021-08-24 01:03:06 +01:00
Doxyfile_python
Doxyfile_xml
action_plugin.cpp Ugly hack to avoid crash on msys2 when running Pcbnew after running Eeschema+its Python console 2021-08-14 21:08:56 +02:00
action_plugin.h Pcbnew header housekeeping round 1. 2021-06-04 09:08:38 -04:00
array_creator.cpp Clear numbers from non-numberable pads and don't run DRC on them. 2021-08-24 01:03:06 +01:00
array_creator.h Make distinction between PCBNew-wide tools and Board-specific tools. 2020-12-16 13:32:46 +00:00
array_pad_number_provider.cpp Clear numbers from non-numberable pads and don't run DRC on them. 2021-08-24 01:03:06 +01:00
array_pad_number_provider.h Clear numbers from non-numberable pads and don't run DRC on them. 2021-08-24 01:03:06 +01:00
board.cpp Garden-variety 100X performance improvement. 2021-08-15 22:24:51 +01:00
board.h Add a compile error for ill-defined rules, and more performance. 2021-08-16 12:14:17 +01:00
board_commit.cpp Quiet Coverity. 2021-08-04 13:55:42 +01:00
board_commit.h Remove ZONE_FILLER_TOOL since it's not really necessary. 2021-07-31 01:50:42 +01:00
board_connected_item.cpp Cleanup (includes and formatting). 2021-08-03 18:37:23 +01:00
board_connected_item.h More NULL expunging. 2021-07-20 07:27:18 -04:00
board_design_settings.cpp Rename layer ids file. 2021-07-29 16:03:25 +01:00
board_item.cpp Add a compile error for ill-defined rules, and more performance. 2021-08-16 12:14:17 +01:00
board_item_container.h Add bulk add/remove mode flag to the BOARD_LISTENER 2020-12-07 22:04:13 -05:00
board_items_to_polygon_shape_transform.cpp FP_TEXT::TransformShapeWithClearanceToPolygon(): fix broken rotation of the shape. 2021-08-31 17:04:03 +02:00
build_BOM_from_board.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
cleanup_item.cpp
cleanup_item.h Pcbnew header housekeeping round 1. 2021-06-04 09:08:38 -04:00
collectors.cpp More NULL expunging. 2021-07-20 07:27:18 -04:00
collectors.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
convert_drawsegment_list_to_polygon.cpp Pull some name changes back from 7.0 to ease merging. 2021-07-21 20:58:59 +01:00
convert_drawsegment_list_to_polygon.h Separate polygonization error from chaining error. 2020-12-24 21:02:14 +00:00
cross-probing.cpp Clear numbers from non-numberable pads and don't run DRC on them. 2021-08-24 01:03:06 +01:00
edit.cpp Prefix TRACK, ARC and VIA. 2021-06-11 22:07:02 +01:00
edit_track_width.cpp Prefix TRACK, ARC and VIA. 2021-06-11 22:07:02 +01:00
edit_zone_helpers.cpp Decouple PROGRESS_REPORTER interface from implementations. 2021-08-14 21:05:49 +01:00
files.cpp Fix another disappearing string on Mac. 2021-09-05 21:23:55 +01:00
footprint.cpp Clear numbers from non-numberable pads and don't run DRC on them. 2021-08-24 01:03:06 +01:00
footprint.h Clear numbers from non-numberable pads and don't run DRC on them. 2021-08-24 01:03:06 +01:00
footprint_edit_frame.cpp Decouple PROGRESS_REPORTER interface from implementations. 2021-08-14 21:05:49 +01:00
footprint_edit_frame.h Remove shadowing member variable. 2021-07-29 16:03:25 +01:00
footprint_editor_settings.cpp Move 45° limit to hotkey 2021-09-05 13:42:51 -07:00
footprint_editor_utils.cpp More NULL expunging. 2021-07-20 07:27:18 -04:00
footprint_info_impl.cpp Decouple PROGRESS_REPORTER interface from implementations. 2021-08-14 21:05:49 +01:00
footprint_info_impl.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
footprint_libraries_utils.cpp Added code to map footprint lib nicknames when exporting. 2021-08-21 19:00:59 +01:00
footprint_preview_panel.cpp Used cached footprints without check in preview 2021-02-25 15:46:52 -08:00
footprint_preview_panel.h Kill the last of wx/wx.h in headers 2021-06-07 17:59:20 -04:00
footprint_tree_pane.cpp Rename SCH_COMPONENT to SCH_SYMBOL. 2021-06-10 10:34:49 -04:00
footprint_tree_pane.h
footprint_viewer_frame.cpp Work around GTK issue with wxSearchCtrl 2021-08-24 23:04:28 -04:00
footprint_viewer_frame.h Put wxSearchCtrl back by eliminating the excess focus events that in Windows land cause a "select all" 2021-07-09 18:08:32 -04:00
footprint_wizard.cpp More NULL expunging. 2021-07-20 07:27:18 -04:00
footprint_wizard.h Pcbnew header housekeeping round 1. 2021-06-04 09:08:38 -04:00
footprint_wizard_frame.cpp Work around annoying wxWidgets assert. 2021-08-10 16:51:30 +01:00
footprint_wizard_frame.h Pcbnew header housekeeping round 1. 2021-06-04 09:08:38 -04:00
footprint_wizard_frame_functions.cpp Freshen microwave polygon dialog and remove a bunch of dead code. 2021-08-03 01:11:11 +01:00
fp_shape.cpp Pull some name changes back from 7.0 to ease merging. 2021-07-21 20:58:59 +01:00
fp_shape.h Pull some name changes back from 7.0 to ease merging. 2021-07-21 20:58:59 +01:00
fp_text.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
fp_text.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
fp_text_grid_table.cpp Whack-a-mole on another case of "module". 2021-02-03 10:53:24 +00:00
fp_text_grid_table.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
fp_tree_model_adapter.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
fp_tree_model_adapter.h Formatting and naming conventions. 2020-11-07 18:50:30 +00:00
fp_tree_synchronizing_adapter.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
fp_tree_synchronizing_adapter.h Formatting and naming conventions. 2020-11-07 18:50:30 +00:00
generate_footprint_info.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
generate_footprint_info.h
graphics_cleaner.cpp Pull some name changes back from 7.0 to ease merging. 2021-07-21 20:58:59 +01:00
graphics_cleaner.h Pull some name changes back from 7.0 to ease merging. 2021-07-21 20:58:59 +01:00
grid_layer_box_helpers.cpp Typo fix: Correct 'allow to' -> 'allows one to' 2021-04-03 13:39:50 +00:00
grid_layer_box_helpers.h
initpcb.cpp More NULL expunging. 2021-07-20 07:27:18 -04:00
invoke_pcb_dialog.h MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
io_mgr.cpp More NULL expunging. 2021-07-20 07:27:18 -04:00
io_mgr.h Formatting and include cleanup. 2021-06-25 17:48:15 +01:00
kicad_clipboard.cpp Fp editor: fix some crashes when trying to duplicate referece or value texts. 2021-08-18 15:34:32 +02:00
kicad_clipboard.h File open/import progress dialogs. 2021-06-23 23:55:54 +01:00
load_select_footprint.cpp Decouple PROGRESS_REPORTER interface from implementations. 2021-08-14 21:05:49 +01:00
menubar_footprint_editor.cpp Disable ACTIONS::openPreferences for now. 2021-06-07 20:51:45 +01:00
menubar_pcb_editor.cpp Move zone fracture display mode to AdvancedCfg, and add triangulation. 2021-07-26 18:57:35 +01:00
netinfo.h More NULL expunging. 2021-07-20 07:27:18 -04:00
netinfo_item.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
netinfo_list.cpp More NULL expunging. 2021-07-20 07:27:18 -04:00
pad.cpp Clear numbers from non-numberable pads and don't run DRC on them. 2021-08-24 01:03:06 +01:00
pad.h Clear numbers from non-numberable pads and don't run DRC on them. 2021-08-24 01:03:06 +01:00
pad_custom_shape_functions.cpp Get rid of an extraneous layer parameter. 2021-08-23 20:00:17 +01:00
pcb_base_edit_frame.cpp Prefix DIMENSION types. 2021-06-11 17:59:44 +01:00
pcb_base_edit_frame.h Allow caller to specify which library table to add library to. 2021-06-18 11:39:18 +01:00
pcb_base_frame.cpp Naming conventions. 2021-08-05 14:31:36 +01:00
pcb_dimension.cpp More NULL expunging. 2021-07-20 07:27:18 -04:00
pcb_dimension.h Convert Altium radial dimensions to leaders. 2021-07-24 14:25:59 +01:00
pcb_display_options.cpp Impleent persistence for no-connect pad setting. 2021-09-01 00:00:12 +01:00
pcb_draw_panel_gal.cpp More NULL expunging. 2021-07-20 07:27:18 -04:00
pcb_draw_panel_gal.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
pcb_edit_frame.cpp Move 45° limit to hotkey 2021-09-05 13:42:51 -07:00
pcb_edit_frame.h Pcbnew: implement Find Next 2021-08-27 18:15:36 +00:00
pcb_expr_evaluator.cpp Don't capture stack-defined lambdas by reference. 2021-08-21 22:49:57 +01:00
pcb_expr_evaluator.h Add a compile error for ill-defined rules, and more performance. 2021-08-16 12:14:17 +01:00
pcb_group.cpp Read/write group locked state. Show locked state in dialog & statusbar. 2021-07-22 12:49:30 +01:00
pcb_item_containers.h Prefix TRACK, ARC and VIA. 2021-06-11 22:07:02 +01:00
pcb_layer_box_selector.cpp Rename layer ids file. 2021-07-29 16:03:25 +01:00
pcb_layer_box_selector.h Pcbnew header housekeeping round 1. 2021-06-04 09:08:38 -04:00
pcb_marker.cpp Rename layer ids file. 2021-07-29 16:03:25 +01:00
pcb_marker.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05: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 Coverity issue fixes. 2021-09-07 13:38:56 -04:00
pcb_painter.h Use board's maxError value when possible. 2021-09-07 00:14:18 +01:00
pcb_plot_params.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
pcb_plot_params.h Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
pcb_plot_params_parser.h
pcb_screen.cpp Rename layer ids file. 2021-07-29 16:03:25 +01:00
pcb_shape.cpp PCB_SHAPE::GetFocusPosition(): returns a point on the outline instead of center. 2021-07-22 10:41:50 +02:00
pcb_shape.h PCB_SHAPE::GetFocusPosition(): returns a point on the outline instead of center. 2021-07-22 10:41:50 +02:00
pcb_target.cpp Clean up including of board_design_settings.h 2021-06-06 15:03:42 -04:00
pcb_target.h Pcbnew header housekeeping round 1. 2021-06-04 09:08:38 -04:00
pcb_text.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
pcb_text.h PCB_TEXT: remove "hide" option, because they are never hidden. 2021-07-18 14:58:21 +02:00
pcb_track.cpp Add a compile error for ill-defined rules, and more performance. 2021-08-16 12:14:17 +01:00
pcb_track.h Prefix TRACK, ARC and VIA. 2021-06-11 22:07:02 +01:00
pcb_view.cpp Round 2 of Worksheet -> Drawing Sheet. 2021-02-23 11:57:44 +00:00
pcb_view.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
pcbnew.cpp More NULL expunging. 2021-07-20 07:27:18 -04:00
pcbnew.h Add Python Tool to pcbnew 2021-06-01 20:18:24 +00:00
pcbnew.icns Add drop shadows to MacOS icons 2021-07-30 20:55:34 -07:00
pcbnew_config.cpp Consistency in progress and error messages. 2021-06-26 13:23:43 +01:00
pcbnew_config.h
pcbnew_doc.icns Add drop shadows to MacOS icons 2021-07-30 20:55:34 -07:00
pcbnew_id.h Add Python Tool to pcbnew 2021-06-01 20:18:24 +00:00
pcbnew_printout.cpp Pcbnew, Printing system: fix broken print of pads on tech layers. 2021-08-24 10:27:53 +02:00
pcbnew_printout.h Prefix TRACK, ARC and VIA. 2021-06-11 22:07:02 +01:00
pcbnew_settings.cpp Move 45° limit to hotkey 2021-09-05 13:42:51 -07:00
pcbnew_settings.h Move 45° limit to hotkey 2021-09-05 13:42:51 -07:00
pcbplot.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
pcbplot.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
plot_board_layers.cpp Get rid of an extraneous layer parameter. 2021-08-23 20:00:17 +01:00
plot_brditems_plotter.cpp Clear numbers from non-numberable pads and don't run DRC on them. 2021-08-24 01:03:06 +01:00
plotcontroller.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
plugin.cpp File open/import progress dialogs. 2021-06-23 23:55:54 +01:00
sel_layer.cpp Stop using wxDialog::EndModal() from inside dialogs. 2021-07-21 17:38:14 -04:00
toolbars_footprint_editor.cpp Freshen microwave polygon dialog and remove a bunch of dead code. 2021-08-03 01:11:11 +01:00
toolbars_footprint_viewer.cpp More NULL expunging. 2021-07-20 07:27:18 -04:00
toolbars_pcb_editor.cpp Move 45° limit to hotkey 2021-09-05 13:42:51 -07:00
tracks_cleaner.cpp Fix bugs in Tracks Cleaner. 2021-08-01 15:50:01 +01:00
tracks_cleaner.h Prefix TRACK, ARC and VIA. 2021-06-11 22:07:02 +01:00
undo_redo.cpp Fix compil warnings (UNDO_REDO::GROUP renamed to UNDO_REDO::REGROUP to fix 2021-08-28 11:44:01 +02:00
zone.cpp Add a compile error for ill-defined rules, and more performance. 2021-08-16 12:14:17 +01:00
zone.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
zone_filler.cpp Decouple PROGRESS_REPORTER interface from implementations. 2021-08-14 21:05:49 +01:00
zone_filler.h Decouple PROGRESS_REPORTER interface from implementations. 2021-08-14 21:05:49 +01:00
zone_settings.cpp Fix uninitialized variable. 2021-05-08 20:49:51 +01:00
zone_settings.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
zones.h Update some classnames including archaic zone names. 2020-11-12 10:31:25 +00:00
zones_functions_for_undo_redo.cpp Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00
zones_functions_for_undo_redo.h