kicad/gerbview
Jeff Young 77334628c4 Change default tool behaviour to skip unhandled events.
The problem is that wxEVT_CHAR_HOOK doesn’t do the key translation
properly.  wxEVT_CHAR does, but we only get to that if we skip the
event at the end of the tool’s event processing loop, which most tools
don’t do.  (Selection tools, point editors, pickers, and a couple of
others do skip, which is probably why this didn’t get reported earlier.)

I played around with a couple of ways to fix wxEVT_CHAR_HOOK.  Most of
them don’t work, and the few egregious hacks I tried weren't cross-
platform.

So I’m changing it so that most tools now skip at the end of their
event loops.  I left out a couple that I felt were high risk (length
tuning, for instance).  But there’s still enough risk that I’m 100%
sure it will break something, I just haven’t a clue what.

Fixes: lp:1836903
* https://bugs.launchpad.net/kicad/+bug/1836903
2019-07-26 12:21:24 -06:00
..
dialogs Grid rid of GetCanvas/GetGalCanvas distinction now that there's only gal. 2019-06-13 19:58:37 +01:00
gerber_test_files Add a gerber test file 2017-10-23 09:20:10 +02:00
tools Change default tool behaviour to skip unhandled events. 2019-07-26 12:21:24 -06:00
CMakeLists.txt Set KiCad version in MacOS apps 2019-06-12 04:40:03 -07:00
DCodeSelectionbox.cpp Fix code after renaming files 2018-01-29 16:40:22 +01:00
DCodeSelectionbox.h Gerbview: fix code after renaming files 2018-01-29 13:26:58 +01:00
Info.plist.in Set KiCad version in MacOS apps 2019-06-12 04:40:03 -07:00
X2_gerber_attributes.cpp Gerbview: minor code cleanup 2018-05-14 09:05:11 +02:00
X2_gerber_attributes.h Gerbview: fix code after renaming files 2018-01-29 13:26:58 +01:00
am_param.cpp Fix issue in aperture macro with some strange gerber files. 2018-03-14 14:55:51 +01:00
am_param.h Gerbview: fix code after renaming files 2018-01-29 13:26:58 +01:00
am_primitive.cpp Moving further arc approximations down 2019-05-22 14:35:17 -07:00
am_primitive.h Gerbview: fix code after renaming files 2018-01-29 13:26:58 +01:00
clear_gbr_drawlayers.cpp Grid rid of GetCanvas/GetGalCanvas distinction now that there's only gal. 2019-06-13 19:58:37 +01:00
dcode.cpp Collapse ARRAY_CREATOR into single class now that legacy instance is gone. 2019-06-01 16:29:12 +01:00
dcode.h GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
evaluate.cpp Gerbview: fix code after renaming files 2018-01-29 13:26:58 +01:00
events_called_functions.cpp Grid rid of GetCanvas/GetGalCanvas distinction now that there's only gal. 2019-06-13 19:58:37 +01:00
excellon_image.h Gerbview, Excellon (NC) drill files reader: routing mode: better handling of malformed files. 2018-11-26 10:55:36 +01:00
excellon_read_drill_file.cpp Grid rid of GetCanvas/GetGalCanvas distinction now that there's only gal. 2019-06-13 19:58:37 +01:00
export_to_pcbnew.cpp Gerbview exporter: fix a wxASSERT. 2018-12-21 13:48:00 +01:00
files.cpp Grid rid of GetCanvas/GetGalCanvas distinction now that there's only gal. 2019-06-13 19:58:37 +01:00
gbr_display_options.h Push polar coords down into COMMON_TOOLS. 2019-05-18 00:21:49 +01:00
gbr_layer_box_selector.cpp In-place editing for footprint TEXTE_MODULEs. 2018-07-17 15:11:04 +01:00
gbr_layer_box_selector.h Make esc dismiss net and layer selector popups. 2018-09-22 16:23:13 +01:00
gbr_layout.cpp Retire EDA_DRAW_PANEL and legacy_wx/EDA_DRAW_FRAME. 2019-05-31 21:55:30 +01:00
gbr_layout.h Convert remaining legacy drawing code to print code. 2019-05-31 21:54:22 +01:00
gbr_screen.cpp Remove some more legacy code. 2019-05-29 00:26:29 +01:00
gbr_screen.h Remove some more legacy code. 2019-05-29 00:26:29 +01:00
gerber_collectors.cpp Remove a bunch more legacy editing code. 2019-05-29 00:26:29 +01:00
gerber_collectors.h Implement SCH_SELECTION_TOOL (but still with legacy semantics). 2019-04-22 22:08:18 +01:00
gerber_draw_item.cpp Improve performance, commenting and API of some polygon classes. 2019-07-14 10:39:38 +01:00
gerber_draw_item.h Convert remaining legacy drawing code to print code. 2019-05-31 21:54:22 +01:00
gerber_file_image.cpp Retire EDA_DRAW_PANEL and legacy_wx/EDA_DRAW_FRAME. 2019-05-31 21:55:30 +01:00
gerber_file_image.h Gerber viewer: Ensure arc interpolation is used only after a arc command. 2018-12-01 18:52:27 +01:00
gerber_file_image_list.cpp Gerbview: fix crash when reading a .gbrjob, and when a file given by the .gbrjob is not found. 2019-03-24 17:32:57 +01:00
gerber_file_image_list.h GerbView: Implement in-place GAL layer reordering (for X2 sorting) 2018-02-27 20:59:07 +01:00
gerbview.cpp Move hotkeys to ACTION architecture. 2019-06-10 23:46:00 +01:00
gerbview.h Gerber viewer: Ensure arc interpolation is used only after a arc command. 2018-12-01 18:52:27 +01:00
gerbview.icns Update MacOS icons 2018-03-22 11:45:42 -04:00
gerbview.rc Remove old xpm icons files 2012-04-07 13:09:57 +02:00
gerbview_config.cpp Move hotkeys to ACTION architecture. 2019-06-10 23:46:00 +01:00
gerbview_doc.icns Update MacOS icons 2018-03-22 11:45:42 -04:00
gerbview_draw_panel_gal.cpp Implement undo for Page Settings in PlEditor, Eeschema and PCBNew. 2019-05-27 11:58:55 +01:00
gerbview_draw_panel_gal.h Implement undo for Page Settings in PlEditor, Eeschema and PCBNew. 2019-05-27 11:58:55 +01:00
gerbview_frame.cpp Synchronize toolbars state with current options after rebuilding them. 2019-07-20 18:16:35 +02:00
gerbview_frame.h Synchronize toolbars state with current options after rebuilding them. 2019-07-20 18:16:35 +02:00
gerbview_id.h Yet more command conversions to ACTIONs. 2019-06-02 21:10:56 +01:00
gerbview_layer_widget.cpp Grid rid of GetCanvas/GetGalCanvas distinction now that there's only gal. 2019-06-13 19:58:37 +01:00
gerbview_layer_widget.h Remove more legacy editing code. 2019-05-27 18:47:20 +01:00
gerbview_painter.cpp GAL: Make high-contrast meld into background 2019-06-09 08:16:58 -07:00
gerbview_painter.h Refactored and unified board editor and footprint editor print dialogs 2018-10-31 19:17:30 +01:00
gerbview_printout.cpp Retire EDA_DRAW_PANEL and legacy_wx/EDA_DRAW_FRAME. 2019-05-31 21:55:30 +01:00
gerbview_printout.h Removed a redundant parameter from BOARD_PRINTOUT constructor 2018-10-31 19:17:30 +01:00
job_file_reader.cpp Fix some issues in .gbrjob file. 2019-07-14 10:23:45 +02:00
json11.cpp Add support for .gbrjob new file format (JSON format) in Gerbview 2018-03-19 15:14:20 +01:00
json11.hpp Add support for .gbrjob new file format (JSON format) in Gerbview 2018-03-19 15:14:20 +01:00
locate.cpp Follow naming conventions. 2019-06-10 23:46:01 +01:00
menubar.cpp Partial fix for missing language selection menu. 2019-06-16 20:35:57 +02:00
readgerb.cpp Grid rid of GetCanvas/GetGalCanvas distinction now that there's only gal. 2019-06-13 19:58:37 +01:00
rs274_read_XY_and_IJ_coordinates.cpp Gerber viewer: Ensure arc interpolation is used only after a arc command. 2018-12-01 18:52:27 +01:00
rs274d.cpp Gerber viewer: Ensure arc interpolation is used only after a arc command. 2018-12-01 18:52:27 +01:00
rs274x.cpp Gerbview: Excellon drill files reader: add a better support of routing mode. 2018-09-24 13:12:47 +02:00
select_layers_to_pcb.cpp Gerbview: fix code after renaming files 2018-01-29 13:26:58 +01:00
select_layers_to_pcb.h * Gerbview: update a old code in a dialog. 2018-01-05 11:45:50 +01:00
toolbars_gerber.cpp Immediate actions for PlEditor, PcbNew, etc. 2019-06-25 11:34:28 +01:00