kicad/eeschema
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 Move crosshairs to found item; remove find highlighting when find dialog closed. 2019-07-19 18:41:11 -06:00
libedit Fix missing AF_ACTIVATE flags on some tools. 2019-07-26 12:21:24 -06:00
netlist_exporters Revert "Fix ngspice netlisting when net names contain '/'" 2019-07-19 16:13:10 +02:00
plugins eeschema: Fix python BOM generators to handle symbols 2019-06-29 17:24:45 +02:00
sim Pull in macro definition for strncasecmp on MSVC 2019-07-17 08:10:47 -04:00
tools Change default tool behaviour to skip unhandled events. 2019-07-26 12:21:24 -06:00
widgets Push KIWAY_HOLDER down a level so we can move a bunch of stuff that doesn't belong there out. 2019-06-10 23:46:00 +01:00
CMakeLists.txt Convert symbol/module cross-probing to a selection model. 2019-07-16 20:25:25 +01:00
Info.plist.in Set KiCad version in MacOS apps 2019-06-12 04:40:03 -07:00
annotate.cpp New connectivity algorithm and bus upgrades 2019-03-31 19:53:41 -04:00
autoplace_fields.cpp Naming changes to reflect sharing between SchEdit and LibEdit. 2019-05-10 19:56:20 +01:00
bom_plugins.cpp BOM and Netlist dialogs: replace "plugin" by "generator" and/or "script". 2019-05-31 11:06:23 +02:00
bom_plugins.h BOM and Netlist dialogs: replace "plugin" by "generator" and/or "script". 2019-05-31 11:06:23 +02:00
bus-wire-junction.cpp Cleanup. 2019-07-02 21:36:42 +01:00
bus_alias.cpp New connectivity algorithm and bus upgrades 2019-03-31 19:53:41 -04:00
bus_alias.h New connectivity algorithm and bus upgrades 2019-03-31 19:53:41 -04:00
class_libentry.cpp Draw invisible pins in grey in pin preview. 2019-07-16 02:05:22 +01:00
class_libentry.h Convert remaining legacy drawing code to print code. 2019-05-31 21:54:22 +01:00
class_library.cpp Display all "File couldn't be found" messages at the end. 2019-07-10 23:17:50 +01:00
class_library.h Display all "File couldn't be found" messages at the end. 2019-07-10 23:17:50 +01:00
cmp_library.keywords
cmp_library_lexer.cpp
component_references_lister.cpp Break out ref-des-centric functions to own header 2019-01-30 15:41:36 -08:00
connection_graph.cpp Connectivity: don't consider neighbor propagation when types don't match 2019-06-05 22:26:44 -04:00
connection_graph.h Follow naming conventions. 2019-06-10 23:46:01 +01:00
cross-probing.cpp Cleanup. 2019-07-17 21:45:43 +01:00
dialog_erc_listbox.h eeschema-gal: initial GALified version. Lots of stuff still to do! 2018-10-09 11:08:52 +01:00
drc_erc_item.cpp Improve ERC checking of labels 2019-04-25 15:10:39 -04:00
edit_label.cpp eeschema: Allow spaces in label names for multilabeling 2019-06-20 16:21:49 -07:00
ee_collectors.cpp Eeschema: avoid crashes when the tool highlight or delete is activated and clicking in a empty schematic. 2019-06-25 08:31:22 +02:00
ee_collectors.h Implement rollover highlighting for Eeschema delete tool. 2019-06-17 22:15:20 +01:00
eeschema.cpp Move hotkeys to ACTION architecture. 2019-06-10 23:46:00 +01:00
eeschema.icns Update MacOS icons 2018-03-22 11:45:42 -04:00
eeschema.rc
eeschema_config.cpp Fix bugs in new wire/line-width split. 2019-07-02 20:00:39 +01:00
eeschema_config.h Implement primitive icon scaling for high DPI 2018-01-10 21:26:06 -07:00
eeschema_doc.icns Update MacOS icons 2018-03-22 11:45:42 -04:00
eeschema_id.h Move a few more things to ACTIONs. 2019-06-16 19:53:30 +01:00
erc.cpp Fix a few ERC issues with no-connects and power pins 2019-04-11 21:24:39 -04:00
erc.h Fix a few ERC issues with no-connects and power pins 2019-04-11 21:24:39 -04:00
erc_settings.h New connectivity algorithm and bus upgrades 2019-03-31 19:53:41 -04:00
fields_grid_table.cpp Don't tie generic validators to a specific field. 2019-06-26 01:13:15 +01:00
fields_grid_table.h Fix destruction order in Symbol Properties grid table. 2019-06-04 15:02:42 +01:00
files-io.cpp eeschema: Clean up backup name 2019-07-23 16:15:04 -07:00
general.h Separate default line and wire thicknesses. 2019-06-30 11:12:42 +01:00
generate_alias_info.cpp Improve document file handling. 2018-08-14 13:54:04 +01:00
generate_alias_info.h Convert component chooser dialog over to use symbol library table. 2017-11-09 18:50:18 -05:00
getpart.cpp Convert remaining legacy drawing code to print code. 2019-05-31 21:54:22 +01:00
hierarch.cpp Cancel interactive editing when switching sheets. 2019-06-14 16:54:46 +01:00
invoke_sch_dialog.h Add handle-based editing for eeschema bitmaps. 2019-06-19 18:35:17 +01:00
lib_arc.cpp Fix arc drawing so that it works in all 4 quadrants. 2019-07-14 18:18:48 +01:00
lib_arc.h Try out a new arc-editing paradigm for LibEdit. 2019-06-29 16:10:58 +01:00
lib_bezier.cpp Convert remaining legacy drawing code to print code. 2019-05-31 21:54:22 +01:00
lib_bezier.h Convert remaining legacy drawing code to print code. 2019-05-31 21:54:22 +01:00
lib_circle.cpp Cleanup. 2019-07-02 21:36:42 +01:00
lib_circle.h Convert remaining legacy drawing code to print code. 2019-05-31 21:54:22 +01:00
lib_draw_item.cpp Convert remaining legacy drawing code to print code. 2019-05-31 21:54:22 +01:00
lib_draw_item.h Cleanup. 2019-07-02 21:36:42 +01:00
lib_field.cpp Cleanup. 2019-07-02 21:36:42 +01:00
lib_field.h Cleanup. 2019-07-02 21:36:42 +01:00
lib_pin.cpp Draw invisible pins in grey in pin preview. 2019-07-16 02:05:22 +01:00
lib_pin.h Cleanup. 2019-07-02 21:36:42 +01:00
lib_polyline.cpp Fix several bugs in selection exhibited by 74LS02. 2019-06-29 20:03:08 +01:00
lib_polyline.h Convert remaining legacy drawing code to print code. 2019-05-31 21:54:22 +01:00
lib_rectangle.cpp Convert remaining legacy drawing code to print code. 2019-05-31 21:54:22 +01:00
lib_rectangle.h Convert remaining legacy drawing code to print code. 2019-05-31 21:54:22 +01:00
lib_text.cpp Eeschema: fix a bug in LIB_TEXT::Plot, that plotted an empty text. 2019-07-05 15:54:40 +02:00
lib_text.h Cleanup. 2019-07-02 21:36:42 +01:00
libarch.cpp Add more/better error messages for file i/o problems. 2018-08-14 13:54:04 +01:00
menubar.cpp Fix missing AF_ACTIVATE flags on some tools. 2019-07-26 12:21:24 -06:00
netlist.h Fixed Spice netlist export options and added a few new flags 2016-08-11 14:41:20 +02:00
netlist_generator.cpp Eeschema: fix crash when exporting a netlist, if the schematic netlist cannot be built. 2019-04-13 17:54:33 +02:00
netlist_object.cpp Properly handle tildes at the end of bus vector names 2019-05-23 22:47:01 -04:00
netlist_object.h Cleanup. 2019-05-10 21:40:08 +01:00
netlist_object_list.cpp Remove not used ListNets() methods 2018-03-04 18:04:19 +01:00
pin_number.cpp Added an include to tell the compiler where to find wxIsdigit 2019-03-14 09:28:24 -07:00
pin_number.h
pin_shape.cpp Remove some extra semicolons 2017-11-09 19:52:18 +01:00
pin_shape.h
pin_type.cpp
pin_type.h
plot_schematic_DXF.cpp Eeschema: use worksheet color when plotting 2019-05-26 13:03:23 -04:00
plot_schematic_HPGL.cpp Eeschema: use worksheet color when plotting 2019-05-26 13:03:23 -04:00
plot_schematic_PDF.cpp Eeschema: use worksheet color when plotting 2019-05-26 13:03:23 -04:00
plot_schematic_PS.cpp Eeschema: use worksheet color when plotting 2019-05-26 13:03:23 -04:00
plot_schematic_SVG.cpp Eeschema: use worksheet color when plotting 2019-05-26 13:03:23 -04:00
project_rescue.cpp Grid rid of GetCanvas/GetGalCanvas distinction now that there's only gal. 2019-06-13 19:58:37 +01:00
project_rescue.h Decouple SCH_EDIT_FRAME from symbol rescue and remap dialogs. 2019-02-05 12:43:46 -05:00
sch_base_frame.cpp Handle all non-length units 2019-06-29 09:46:25 -07:00
sch_base_frame.h Immediate actions for PlEditor, PcbNew, etc. 2019-06-25 11:34:28 +01:00
sch_bitmap.cpp Eeschema: fix not deletable bitmap issue (missing SCH_BITMAP in deletable list). 2019-07-05 10:25:23 +02:00
sch_bitmap.h Eeschema: fix not deletable bitmap issue (missing SCH_BITMAP in deletable list). 2019-07-05 10:25:23 +02:00
sch_bus_entry.cpp Separate default line and wire thicknesses. 2019-06-30 11:12:42 +01:00
sch_bus_entry.h Convert remaining legacy drawing code to print code. 2019-05-31 21:54:22 +01:00
sch_component.cpp Cleanup. 2019-07-02 21:36:42 +01:00
sch_component.h Rework the preparation for eeschema's move-tool. 2019-06-11 18:03:16 +01:00
sch_connection.cpp Stop erroneously accepting bus alias labels without curly braces 2019-05-23 23:06:51 -04:00
sch_connection.h Properly handle tildes at the end of bus vector names 2019-05-23 22:47:01 -04:00
sch_draw_panel.cpp Cleanup. 2019-07-02 21:36:42 +01:00
sch_draw_panel.h Cleanup. 2019-07-02 21:36:42 +01:00
sch_eagle_plugin.cpp Eagle: Fix stacked NC pin import 2019-06-09 17:03:44 -07:00
sch_eagle_plugin.h Display all "File couldn't be found" messages at the end. 2019-07-10 23:17:50 +01:00
sch_edit_frame.cpp Synchronize toolbars state with current options after rebuilding them. 2019-07-20 18:16:35 +02:00
sch_edit_frame.h Synchronize toolbars state with current options after rebuilding them. 2019-07-20 18:16:35 +02:00
sch_field.cpp Remove a bunch of ugly mutex hacks now that we don't use wxString's UTF8 mode anymore. 2019-06-05 21:23:41 +01:00
sch_field.h Remove a bunch of ugly mutex hacks now that we don't use wxString's UTF8 mode anymore. 2019-06-05 21:23:41 +01:00
sch_io_mgr.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
sch_io_mgr.h Display all "File couldn't be found" messages at the end. 2019-07-10 23:17:50 +01:00
sch_item.cpp Cleanup. 2019-05-10 21:40:08 +01:00
sch_item.h Convert remaining legacy drawing code to print code. 2019-05-31 21:54:22 +01:00
sch_junction.cpp Eeschema: Allow junction dots to be hidden 2019-06-17 05:01:28 -07:00
sch_junction.h Eeschema: Allow junction dots to be hidden 2019-06-17 05:01:28 -07:00
sch_legacy_plugin.cpp Display all "File couldn't be found" messages at the end. 2019-07-10 23:17:50 +01:00
sch_legacy_plugin.h Display all "File couldn't be found" messages at the end. 2019-07-10 23:17:50 +01:00
sch_line.cpp Separate default line and wire thicknesses. 2019-06-30 11:12:42 +01:00
sch_line.h Add handle-based editing for eeschema bitmaps. 2019-06-19 18:35:17 +01:00
sch_marker.cpp Convert remaining legacy drawing code to print code. 2019-05-31 21:54:22 +01:00
sch_marker.h Convert remaining legacy drawing code to print code. 2019-05-31 21:54:22 +01:00
sch_no_connect.cpp Convert remaining legacy drawing code to print code. 2019-05-31 21:54:22 +01:00
sch_no_connect.h Convert remaining legacy drawing code to print code. 2019-05-31 21:54:22 +01:00
sch_painter.cpp Add seleciton/brightening/highlighting to images. 2019-07-10 01:14:28 +01:00
sch_painter.h Lay the foundation for handling selected SCH_ITEMs. 2019-04-19 16:54:29 +01:00
sch_pin.cpp Fix issues with schematic find/change. 2019-05-31 21:54:22 +01:00
sch_pin.h Convert remaining legacy drawing code to print code. 2019-05-31 21:54:22 +01:00
sch_plugin.cpp Display all "File couldn't be found" messages at the end. 2019-07-10 23:17:50 +01:00
sch_preview_panel.cpp Implement undo for Page Settings in PlEditor, Eeschema and PCBNew. 2019-05-27 11:58:55 +01:00
sch_preview_panel.h Move symbol chooser dialog preview to GAL. 2018-10-09 11:08:55 +01:00
sch_reference_list.h Performance optimization for Symbol Fields Editor. 2018-10-17 02:04:44 +01:00
sch_screen.cpp Eeschema: fix many append schematic bugs. 2019-07-19 11:39:29 -04:00
sch_screen.h Eeschema: fix many append schematic bugs. 2019-07-19 11:39:29 -04:00
sch_sheet.cpp Clear annotation of pasted sheets only when they already exist in the current hierarchy. 2019-06-26 21:54:03 +01:00
sch_sheet.h Eeschema: fix broken complex hierarchy loading on Windows 2019-07-09 17:09:24 +02:00
sch_sheet_path.cpp Eeschema: fix an issue in netlists when using "<root sheet>" as root sheet path name. 2019-06-23 19:37:41 +02:00
sch_sheet_path.h Eeschema: fix an issue in netlists when using "<root sheet>" as root sheet path name. 2019-06-23 19:37:41 +02:00
sch_sheet_pin.cpp Convert remaining legacy drawing code to print code. 2019-05-31 21:54:22 +01:00
sch_text.cpp Fix bug with escaped '~' still getting extra height for overbar. 2019-07-10 11:59:09 +01:00
sch_text.h Add Global Edit Text and Graphics Properties to Eeschema. 2019-07-01 22:15:25 +01:00
sch_validators.cpp Don't tie generic validators to a specific field. 2019-06-26 01:13:15 +01:00
sch_validators.h Don't tie generic validators to a specific field. 2019-06-26 01:13:15 +01:00
sch_view.cpp Re-implement sch->pcb cross-probing using net highlighting architecture. 2019-06-26 21:54:03 +01:00
sch_view.h Retire EDA_DRAW_PANEL and legacy_wx/EDA_DRAW_FRAME. 2019-05-31 21:55:30 +01:00
schematic_undo_redo.cpp More ACTIONs work. 2019-06-04 00:51:16 +01:00
sheet.cpp Clear annotation of pasted sheets only when they already exist in the current hierarchy. 2019-06-26 21:54:03 +01:00
simulation_cursors.cpp Eeschema: construct simulator cursors on demand 2019-04-02 18:26:33 +01:00
simulation_cursors.h Eeschema: construct simulator cursors on demand 2019-04-02 18:26:33 +01:00
symbol_lib_table.cpp Display all "File couldn't be found" messages at the end. 2019-07-10 23:17:50 +01:00
symbol_lib_table.h Display all "File couldn't be found" messages at the end. 2019-07-10 23:17:50 +01:00
symbol_tree_model_adapter.cpp More performance enhancements. 2018-08-06 13:49:27 +01:00
symbol_tree_model_adapter.h Push component tree down into common. 2018-08-01 09:35:45 +01:00
symbol_tree_synchronizing_adapter.cpp Eeschema, symbol tree selector: make the selected lib and symbol readable. 2019-07-02 19:05:29 +02:00
symbol_tree_synchronizing_adapter.h Move footprint & symbol tree context menus to tool infrastructure. 2019-06-05 20:16:48 +01:00
template_fieldnames.cpp Allow TemplateFieldNames to specify URL-behaviour. 2018-08-11 17:14:27 +01:00
template_fieldnames.h Allow TemplateFieldNames to specify URL-behaviour. 2018-08-11 17:14:27 +01:00
template_fieldnames.keywords Allow TemplateFieldNames to specify URL-behaviour. 2018-08-11 17:14:27 +01:00
toolbars_sch_editor.cpp Fix missing AF_ACTIVATE flags on some tools. 2019-07-26 12:21:24 -06:00
toolbars_viewlib.cpp Update exit strategy to match UI guidelines 2019-06-24 21:46:42 -07:00
transform.cpp Fix code after renaming files 2018-01-29 11:37:29 +01:00
transform.h Remove unnecessary TRANSFORM::operator= 2017-02-19 22:13:50 -05:00
viewlib_frame.cpp Fix complements the fix b428d74: make best zoom taken in account immediately. 2019-07-20 14:26:46 +02:00
viewlib_frame.h Synchronize toolbars state with current options after rebuilding them. 2019-07-20 18:16:35 +02:00
viewlibs.cpp Move a few more things to ACTIONs. 2019-06-16 19:53:30 +01:00