kicad/common
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
..
dialog_about Promote Roberto to Lead Dev in About Box 2021-08-20 17:24:05 -07:00
dialogs Minor dialog layout improvements. 2021-09-07 08:06:02 -04:00
drawing_sheet Fix formatting error in datasheet formatting 2021-08-27 11:10:38 -07:00
gal Try to fix a compil issue that does not happen on my computers. 2021-09-06 18:36:27 +02:00
kicad_curl Fix compile error. 2021-08-30 13:11:42 +01:00
libeval Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
libeval_compiler Add a compile error for ill-defined rules, and more performance. 2021-08-16 12:14:17 +01:00
plotters Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
plugins Fix issues with new overbar syntax 2021-09-01 20:25:39 +01:00
preview_items Rename layer ids file. 2021-07-29 16:03:25 +01:00
project Preserve archive timestamps on extract 2021-09-01 01:04:43 -04:00
settings Add colortheme package type 2021-08-27 21:11:47 +00:00
swig Rename layer ids file. 2021-07-29 16:03:25 +01:00
tool Check if selection is primary tool 2021-09-07 10:42:01 -07:00
view Gerbview: fix cairo negative items and implement real differential mode 2021-08-31 12:43:53 +00:00
widgets Change default 45° hotkey to shift-space 2021-09-06 12:18:29 -07:00
CMakeLists.txt Move selection disambiguation to long-click 2021-09-05 13:42:51 -07:00
advanced_config.cpp Move zone fracture display mode to AdvancedCfg, and add triangulation. 2021-07-26 18:57:35 +01:00
array_axis.cpp Pcbnew: add a step field to the array tool 2019-05-16 11:20:52 +01:00
array_options.cpp Arrays: isolate axis code in a new class 2019-05-16 11:20:52 +01:00
asset_archive.cpp Cleanup memory in the asset archive reader 2021-03-19 21:23:35 +00:00
base64.cpp Plot SVG embedded 2019-12-08 08:57:33 -08:00
base_screen.cpp Remove unused m_crossHairPosition 2021-06-15 21:25:27 -04:00
base_units.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
basic_gal.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
bin_mod.cpp Include optimization: move some things from common.h to point-of-use 2021-03-20 12:09:18 -04:00
bitmap.cpp Avoid sharing gdicmn for just bitmaps 2021-06-03 01:46:04 -04:00
bitmap_base.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
bitmap_store.cpp Enable dark mode for MacOS 2021-04-28 23:24:19 -04:00
board_printout.cpp Remove extraneous isPrinting test. 2021-06-25 12:44:51 +01:00
build_version.cpp Add support for ngspice >= 35 version reporting 2021-08-09 17:19:59 -04:00
commit.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
common.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
config_params.cpp Kick wx.h mostly out of common 2021-06-07 18:38:52 -04:00
confirm.cpp Work-around incorrect spacing (and order) of buttons on Mac. 2021-08-31 22:39:25 +01:00
dialog_shim.cpp Make select-all hack work with Scintilla too. 2021-07-28 00:16:18 +01:00
draw_panel_gal.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
drc_rules.keywords Add missing token to DRC rule parser. 2021-08-27 12:49:07 +01:00
dsnlexer.cpp pcb parser: ensure the parser is reinitialized before parsing a new fp file 2021-08-26 19:38:20 +02:00
eda_base_frame.cpp Add a hack to keep OSX from hijacking our help menu. 2021-09-06 12:43:48 +01:00
eda_dde.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
eda_doc.cpp Expunge EDA_FILE_SELECTOR. 2021-07-28 14:12:51 -04:00
eda_draw_frame.cpp Overhaul file locking system. 2021-08-31 15:04:31 +01:00
eda_item.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
eda_pattern_match.cpp Add missing <algorithm> 2020-11-06 00:37:57 +00:00
eda_rect.cpp Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00
eda_text.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
eda_units.cpp Split EDA_UNITS out from common. 2020-10-25 00:02:52 -04:00
env_paths.cpp Cleanup some pgm_base.h includes 2021-06-08 21:56:00 -04:00
env_vars.cpp Add KICAD6_3RD_PARTY env variable 2021-08-27 21:11:47 +00:00
exceptions.cpp Refuse to load schematics from the future. 2021-06-30 18:32:07 +01:00
executable_names.cpp
filehistory.cpp File history (recent opened files): fix incorrect behavior when a filename 2020-08-05 15:48:03 +02:00
filename_resolver.cpp Fix compile error 2021-09-06 07:02:10 -07:00
filter_reader.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
footprint_filter.cpp In footprint filter, check pin count mismatch first 2021-05-06 22:00:06 +00:00
footprint_info.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
fp_lib_table.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
gbr_metadata.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
gestfich.cpp Expunge EDA_FILE_SELECTOR. 2021-07-28 14:12:51 -04:00
getrunningmicrosecs.cpp Cleanup: Replace C-only deprecated headers 2019-12-05 11:03:15 -08:00
gl_context_mgr.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
gr_basic.cpp Pass wxPoint objects by reference instead of on the stack. 2021-07-26 15:35:33 -04:00
gr_text.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
grid_tricks.cpp Check for column existence before checking for tooltip enabled 2021-07-29 23:18:26 +01:00
hash_eda.cpp enum class PAD_SHAPE_T 2021-05-01 08:22:35 -04:00
hotkey_store.cpp Fix hotkey documentation for modifier update 2021-09-05 13:55:08 -07:00
hotkeys_basic.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
kiface_i.cpp Include optimization: move some things from common.h to point-of-use 2021-03-20 12:09:18 -04:00
kiid.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
kiway.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
kiway_express.cpp Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00
kiway_holder.cpp Replace EESchema DLIST 2020-01-10 06:37:08 -08:00
kiway_player.cpp Code cleaning. 2021-07-14 15:47:32 -04:00
languages_menu.cpp Cleanup some pgm_base.h includes 2021-06-08 21:56:00 -04:00
launch_ext.cpp More error message regularization (and translatability improvements). 2021-06-28 00:45:24 +01:00
layer_id.cpp Rename layer ids file. 2021-07-29 16:03:25 +01:00
lib_id.cpp Remove long-dead revision support for LIB_IDs. 2021-06-30 13:12:57 +01:00
lib_table.keywords
lib_table_base.cpp Be consistent about using nullptr instead of 0 2021-04-22 22:20:34 +01:00
lib_tree_model.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
lib_tree_model_adapter.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
locale_io.cpp Move LOCALE_IO out of common.h 2020-10-23 21:49:42 -04:00
lockfile.cpp Include optimization: move some things from common.h to point-of-use 2021-03-20 12:09:18 -04:00
lset.cpp Rename layer ids file. 2021-07-29 16:03:25 +01:00
marker_base.cpp Make RENDER_SETTINGS argument const 2021-01-12 20:51:31 +00:00
netclass.cpp Fix typo initializing buswidth with linewidth value. 2021-08-01 19:33:19 +01:00
netlist.keywords Transmit pin electrical types through to pads. 2021-01-23 00:10:01 +00:00
newstroke_font.cpp Readd half and full width forms 2021-04-28 17:27:07 +00:00
observable.cpp Add const specifiers 2020-11-18 19:50:36 +00:00
origin_transforms.cpp Add more consts all over the place 2020-10-27 11:03:35 +00:00
origin_viewitem.cpp Break out eda_item_flags.h, fix the typedef to std::uint32_t, fix some signed vars 2021-06-08 19:12:30 -04:00
page_info.cpp Eeschema : Add A5 sheet size 2020-07-21 00:00:36 +00:00
painter.cpp Only apply B&W printer fixes when printing. 2021-02-02 15:37:30 +00:00
paths.cpp Add KICAD6_3RD_PARTY env variable 2021-08-27 21:11:47 +00:00
pcb.keywords Don't put up "old version" warning for gerbview-generated PCBs. 2021-06-08 22:12:44 +01:00
pcb_plot_params.keywords Save DXF plot params to file and remove some dead code. 2021-01-03 14:22:25 +00:00
pgm_base.cpp Add colortheme package type 2021-08-27 21:11:47 +00:00
printout.cpp Implement a new settings framework across all of KiCad 2020-02-19 23:44:56 -05:00
project.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
properties.cpp
property_mgr.cpp Hook libeval compiler up to rule parser 2020-07-20 22:11:53 +01:00
ptree.cpp Add const specifiers 2020-11-18 19:50:36 +00:00
rc_item.cpp DRC bug fixes and debugging improvements. 2021-08-17 15:41:12 +01:00
refdes_utils.cpp Remove broken RefDesStringCompare 2021-09-01 11:48:01 -07:00
render_settings.cpp Worksheet -> (industry standard) Drawing Sheet. 2021-02-22 17:35:46 +00:00
reporter.cpp Remove all wxWidgets build dependencies from REPORTER object header. 2021-08-16 07:49:39 -04:00
richio.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
scintilla_tricks.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
search_stack.cpp Make search stack path_seps correct for msvc 2021-01-01 02:18:32 +00:00
searchhelpfilefullpath.cpp Respect KICAD_DOCS when searching for help files 2021-04-21 19:19:25 +00:00
single_top.cpp Avoid loading python stuff when starting applications that do not use it. 2021-08-17 19:48:55 +02:00
status_popup.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
streamwrapper.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
string_utils.cpp Exclude formatting chars from text width approximation. 2021-09-04 22:09:32 +01:00
strtok_r.c
systemdirsappend.cpp Allow to relocate EDA libraries out of KICAD_DATA 2021-04-14 01:51:22 +00:00
template_fieldnames.cpp Naming conventions. 2021-05-05 22:58:40 +01:00
template_fieldnames.keywords Variable substitution framework. 2020-03-30 14:15:59 +01:00
textentry_tricks.cpp Evict the last bits of wx.h 2021-06-07 20:23:27 -04:00
title_block.cpp Import more Alitum parameters. 2021-07-08 00:19:31 +01:00
trace_helpers.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
undo_redo_container.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
utf8.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
validators.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
wildcards_and_files_ext.cpp Avoid duplicate strings to avoid typos and not synchronized strings 2021-08-15 17:50:23 +02:00
wx_filename.cpp Add utility method to resolve symlinks 2021-06-07 20:59:59 +00:00
wx_stl_compat.cpp Include optimization: move some things from common.h to point-of-use 2021-03-20 12:09:18 -04:00
wxdataviewctrl_helpers.cpp
xnode.cpp