kicad/eeschema
Martin Sivak d5cdd78062 eeschema: keystroke zoom should obey disabled centering
Keystroke zoom (F1/F2) always centered the screen, because it
was handled as ID_POPUP_ZOOM_IN event. Mousewheel scrolling
was ok, because it is handled using different event based
on the configuration.

This patch introduces special event ids for keystroke
zooming that are then properly translated to either
ID_POPUP_ZOOM_IN or ID_OFFCENTER_ZOOM_IN depending
on the configuration.

The same issue is fixed for legacy canvas pcbnew.

Fixes: lp:1742567
* https://bugs.launchpad.net/kicad/+bug/1742567

Signed-off-by: Martin Sivak <mars@montik.net>
2018-01-27 20:20:32 -05:00
..
dialogs Add an Edit button to the Symbol Properties aliases list 2018-01-27 18:57:33 -05:00
netlist_exporters Support .title directive in spice netlist exporter 2018-01-26 08:57:35 +01:00
plugins Fix bom2grouped_scv BOM template 2017-08-25 17:06:32 +02:00
qa Pass -DBOOST_TEST_DYN_LINK to all parts of test 2017-12-06 19:28:57 -05:00
sim simulator: DPI-independent default size 2018-01-06 22:23:58 -07:00
widgets Symbol Editor: Remove a redundant separator from symbol context menu 2018-01-23 12:19:19 +01:00
CMakeLists.txt Order source file names alphabetically 2017-12-27 14:01:05 -05:00
Info.plist Changed the bundle identifier to org.kicad-pcb.<app> to follow the kicad domain name 2015-10-30 08:43:04 +13:00
annotate.cpp Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
autoplace_fields.cpp EDA_TEXT object refactor. 2017-01-25 08:03:32 -05:00
backanno.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
block.cpp Implement undo/redo for origins in legacy 2018-01-27 19:51:44 -05:00
block_libedit.cpp Implement undo/redo for origins in legacy 2018-01-27 19:51:44 -05:00
bom_table_column.cpp Fix unnecessary value parameter detected by clang-tidy. - Replace value parameter by const reference parameter or move-assignement in some cases 2018-01-09 18:55:51 -05:00
bom_table_column.h Fix unnecessary value parameter detected by clang-tidy. - Replace value parameter by const reference parameter or move-assignement in some cases 2018-01-09 18:55:51 -05:00
bom_table_model.cpp Fix unnecessary value parameter detected by clang-tidy. - Replace value parameter by const reference parameter or move-assignement in some cases 2018-01-09 18:55:51 -05:00
bom_table_model.h Fix unnecessary value parameter detected by clang-tidy. - Replace value parameter by const reference parameter or move-assignement in some cases 2018-01-09 18:55:51 -05:00
bus-wire-junction.cpp Sets additional conditions for when a wire is trimmed 2018-01-24 19:47:14 -05:00
busentry.cpp Eeschema: remove unused headers, unused variables, redundant casts, and minor boolean tweaks. 2015-11-03 14:44:05 -05:00
class_drc_erc_item.cpp New ERC rule verifying if all units of a component use the same footprint 2018-01-25 12:19:41 +01:00
class_libentry.cpp Pin edit coupling: renamed and changed the description 2018-01-25 11:45:34 +01:00
class_libentry.h Pin edit coupling: renamed and changed the description 2018-01-25 11:45:34 +01:00
class_library.cpp Changed remaining occurences of 'part' to 'symbol' in the symbol editor 2018-01-18 11:24:02 +01:00
class_library.h Eeschema: fix potential symbol cache library name collisions. 2017-12-08 08:32:23 -05:00
class_netlist_object.cpp Enable long names for pin numbers and pads 2017-09-19 18:19:49 +02:00
class_netlist_object.h Enable long names for pin numbers and pads 2017-09-19 18:19:49 +02:00
class_sch_screen.h Library Editor: Moving current item to the base screen 2017-12-29 15:51:51 -05:00
cmp_library.keywords 1) Add "rules" to base of tree for copying into BZR_HOME/rules. 2013-05-25 23:36:44 -05:00
cmp_library_lexer.cpp 1) Add "rules" to base of tree for copying into BZR_HOME/rules. 2013-05-25 23:36:44 -05:00
cmp_tree_model.cpp Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
cmp_tree_model.h Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
cmp_tree_model_adapter.cpp Load each symbol library atomically for better performance. 2018-01-24 19:21:56 -05:00
cmp_tree_model_adapter.h Extracted CMP_TREE_MODEL_ADAPTER_BASE class 2017-11-21 23:18:55 +01:00
cmp_tree_model_adapter_base.cpp Changed remaining occurences of 'part' to 'symbol' in the symbol editor 2018-01-18 11:24:02 +01:00
cmp_tree_model_adapter_base.h Eeschema: only show the symbol library load progress dialog once. 2017-12-29 10:26:05 -05:00
component_references_lister.cpp Better error message 2018-01-19 11:51:01 +01:00
controle.cpp Add '*' to modified files in libedit cmptree, and change highlighting. 2018-01-22 10:37:06 +01:00
cross-probing.cpp Add bidirectional net highlight cross-probing 2018-01-07 14:12:50 -05:00
dialog_erc_listbox.h Fix a few doxygen warnings 2017-06-21 10:01:39 +02:00
edit_bitmap.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
edit_component_in_schematic.cpp Minor symbol remapping fixes. 2017-12-22 08:03:49 -05:00
edit_label.cpp EDA_TEXT object refactor. 2017-01-25 08:03:32 -05:00
eeredraw.cpp Eeschema: removed protos.h 2017-11-21 23:18:55 +01:00
eeschema.cpp Slightly modify keywords used to store color config of Eeschema and Pcbnew, to avoid this config destroyed each time a stable version is run. 2017-08-27 09:06:26 +02:00
eeschema.icns [MacOSX] Updated Icons - Document ones still missing :( 2012-09-27 19:20:44 +02:00
eeschema.rc Remove old xpm icons files 2012-04-07 13:09:57 +02:00
eeschema_config.cpp Implement primitive icon scaling for high DPI 2018-01-10 21:26:06 -07:00
eeschema_config.h Implement primitive icon scaling for high DPI 2018-01-10 21:26:06 -07:00
eeschema_doc.icns Updates for OS X 2010-05-16 20:18:38 +02:00
eeschema_id.h Pin edit coupling: renamed and changed the description 2018-01-25 11:45:34 +01:00
erc.cpp Fix minor compil warnings 2018-01-26 09:35:22 +01:00
erc.h New ERC rule verifying if all units of a component use the same footprint 2018-01-25 12:19:41 +01:00
events_called_functions_for_edit.cpp Eeschema: Fix a (minor but annoying) bug detected by coverity which prevent Eeschema to draw components in "fast mode" (i;e. without pin texts) when they are moved, due to a draw parameter which was incorrectly used. 2015-02-28 17:56:09 +01:00
files-io.cpp Fix loop variable copy in for-range loop, use const reference instead 2018-01-09 19:18:44 -05:00
find.cpp Eeschema: TestDanglingEnds on Cross-probe 2017-12-14 16:04:30 -05:00
general.h Clear symbol library list from project file after remapping. 2017-11-09 18:50:23 -05:00
generate_alias_info.cpp Convert component chooser dialog over to use symbol library table. 2017-11-09 18:50:18 -05: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 eeschema: make footprint preview optional 2018-01-03 18:28:44 -07:00
help_common_strings.h Eeschema: changed missed instances of component in UI strings. 2017-12-29 08:46:24 -05:00
hierarch.cpp HIERARCHY_NAVIG_DLG: allows closing the dialog by ESC key (like other dialogs) 2017-12-12 09:54:42 +01:00
highlight_connection.cpp Add bidirectional net highlight cross-probing 2018-01-07 14:12:50 -05:00
hotkeys.cpp eeschema: keystroke zoom should obey disabled centering 2018-01-27 20:20:32 -05:00
hotkeys.h Library Editor: added a hotkey to save a component 2017-11-21 23:18:55 +01:00
invoke_sch_dialog.h Fix unnecessary value parameter detected by clang-tidy. - Replace value parameter by const reference parameter or move-assignement in some cases 2018-01-09 18:55:51 -05:00
lib_arc.cpp Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_arc.h Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_bezier.cpp Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_bezier.h Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_circle.cpp Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_circle.h Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_collectors.cpp Library Editor: Moving current item to the base screen 2017-12-29 15:51:51 -05:00
lib_collectors.h wx: Add double-click handling in disambiguation cases 2017-12-15 16:32:19 -05:00
lib_draw_item.cpp Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_draw_item.h Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_export.cpp Library Editor: Moving current item to the base screen 2017-12-29 15:51:51 -05:00
lib_field.cpp Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_field.h Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_manager.cpp Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_manager.h Fix crash when a renamed part is saved 2018-01-22 17:46:30 +01:00
lib_manager_adapter.cpp Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_manager_adapter.h Add '*' to modified files in libedit cmptree, and change highlighting. 2018-01-22 10:37:06 +01:00
lib_pin.cpp Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_pin.h Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_polyline.cpp Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_polyline.h Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_rectangle.cpp Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_rectangle.h Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_text.cpp Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_text.h Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
libarch.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
libedit.cpp Pin edit coupling: renamed and changed the description 2018-01-25 11:45:34 +01:00
libedit_onleftclick.cpp Library Editor: Moving current item to the base screen 2017-12-29 15:51:51 -05:00
libedit_onrightclick.cpp Minor UI menu string improvements. 2018-01-05 13:07:59 -05:00
libedit_plot_component.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
libedit_undo_redo.cpp Implement undo/redo for origins in legacy 2018-01-27 19:51:44 -05:00
libeditframe.cpp Pin edit coupling: renamed and changed the description 2018-01-25 11:45:34 +01:00
libeditframe.h Pin edit coupling: renamed and changed the description 2018-01-25 11:45:34 +01:00
libfield.cpp Fix undo/redo and revert for libedit name changes and aliases 2018-01-20 11:20:22 +01:00
list_operations.h Eeschema: removed protos.h 2017-11-21 23:18:55 +01:00
menubar.cpp Use generic Save (and New and Open) commands where unambiguous. 2018-01-16 08:39:12 -05:00
menubar_libedit.cpp Change missed UI string termonology from part/component to symbol. 2018-01-03 14:19:26 -05:00
netform.cpp Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
netlist.cpp Eeschema: don't cleanup unseen schematics 2017-11-30 10:01:34 -05:00
netlist.h Fixed Spice netlist export options and added a few new flags 2016-08-11 14:41:20 +02:00
onleftclick.cpp wx: Add double-click handling in disambiguation cases 2017-12-15 16:32:19 -05:00
onrightclick.cpp Don't warp mouse when context menu was cancelled. 2018-01-18 13:43:24 -05:00
operations_on_items_lists.cpp Implement undo/redo for origins in legacy 2018-01-27 19:51:44 -05:00
pin_number.cpp Compress consecutive numbers in pin summary. 2016-01-13 14:18:05 -05:00
pin_number.h Add pin number summary 2016-01-13 14:17:54 -05:00
pin_shape.cpp Remove some extra semicolons 2017-11-09 19:52:18 +01:00
pin_shape.h Enum refactoring and shiny icons in dialog_lib_edit_pin_table 2016-02-28 18:33:29 +01:00
pin_type.cpp Enum refactoring and shiny icons in dialog_lib_edit_pin_table 2016-02-28 18:33:29 +01:00
pin_type.h Enum refactoring and shiny icons in dialog_lib_edit_pin_table 2016-02-28 18:33:29 +01:00
pinedit.cpp Symbol editor: Fix incorrect pin edition coupling for non interchangeable multi-units symbols. 2018-01-22 13:33:24 +01:00
plot_schematic_DXF.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
plot_schematic_HPGL.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
plot_schematic_PDF.cpp Fix unnecessary copy initialization detected by clang-tidy 2018-01-09 18:22:10 -05:00
plot_schematic_PS.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
plot_schematic_SVG.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
project_rescue.cpp Don't cleanup schematic when symbols are rescued. 2018-01-17 12:53:38 -05:00
project_rescue.h Fix minor warnings 2017-11-21 23:18:55 +01:00
sch_base_frame.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
sch_base_frame.h eeschema: make footprint preview optional 2018-01-03 18:28:44 -07:00
sch_bitmap.cpp Remove all schematic object load and save code. 2017-11-18 08:53:13 -05:00
sch_bitmap.h Remove all schematic object load and save code. 2017-11-18 08:53:13 -05:00
sch_bus_entry.cpp Eeschema: Mark wire-bus entries correctly 2017-12-16 09:03:23 -05:00
sch_bus_entry.h Eeschema: Adding connection block selections 2017-12-20 10:04:25 -05:00
sch_collectors.cpp Eeschema: Consider buses for junctions 2017-12-21 11:04:46 -05:00
sch_collectors.h wx: Add double-click handling in disambiguation cases 2017-12-15 16:32:19 -05:00
sch_component.cpp Fix unnecessary value parameter detected by clang-tidy. - Replace value parameter by const reference parameter or move-assignement in some cases 2018-01-09 18:55:51 -05:00
sch_component.h Fix unnecessary value parameter detected by clang-tidy. - Replace value parameter by const reference parameter or move-assignement in some cases 2018-01-09 18:55:51 -05:00
sch_eagle_plugin.cpp Eagle Schematics Importer: support for UTF-8 2017-12-17 19:54:21 +01:00
sch_eagle_plugin.h Eagle Schematics Importer: support for UTF-8 2017-12-17 19:54:21 +01:00
sch_field.cpp Fix unnecessary value parameter detected by clang-tidy. - Replace value parameter by const reference parameter or move-assignement in some cases 2018-01-09 18:55:51 -05:00
sch_field.h Fix unnecessary value parameter detected by clang-tidy. - Replace value parameter by const reference parameter or move-assignement in some cases 2018-01-09 18:55:51 -05:00
sch_io_mgr.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
sch_io_mgr.h Eeschema: allow for partial schematic loading. 2017-12-06 19:11:09 -05:00
sch_item_struct.cpp Remove some dead code 2017-11-09 19:52:17 +01:00
sch_item_struct.h Eeschema: Adding connection block selections 2017-12-20 10:04:25 -05:00
sch_junction.cpp Remove all schematic object load and save code. 2017-11-18 08:53:13 -05:00
sch_junction.h Eeschema: Adding connection block selections 2017-12-20 10:04:25 -05:00
sch_legacy_plugin.cpp Eeschema: improve alias load performance. 2018-01-24 19:37:07 -05:00
sch_legacy_plugin.h Eeschema: allow for partial schematic loading. 2017-12-06 19:11:09 -05:00
sch_line.cpp Fix non-conforming signbit test 2018-01-12 19:58:33 +01:00
sch_line.h Eeschema: Adding connection block selections 2017-12-20 10:04:25 -05:00
sch_marker.cpp Remove all schematic object load and save code. 2017-11-18 08:53:13 -05:00
sch_marker.h Remove all schematic object load and save code. 2017-11-18 08:53:13 -05:00
sch_no_connect.cpp Remove all schematic object load and save code. 2017-11-18 08:53:13 -05:00
sch_no_connect.h Eeschema: Adding connection block selections 2017-12-20 10:04:25 -05:00
sch_plugin.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
sch_reference_list.h Change time_t in the functions that deal with timestamps to a new typedef timestamp_t (defined as a long). 2017-12-07 13:16:33 +01:00
sch_screen.cpp Some coverity fixes 2018-01-05 22:51:03 -07:00
sch_sheet.cpp Fix loop variable copy in for-range loop, use const reference instead 2018-01-09 19:18:44 -05:00
sch_sheet.h Eeschema: Adding connection block selections 2017-12-20 10:04:25 -05:00
sch_sheet_path.cpp Fix unnecessary value parameter detected by clang-tidy. - Replace value parameter by const reference parameter or move-assignement in some cases 2018-01-09 18:55:51 -05:00
sch_sheet_path.h Fix unnecessary value parameter detected by clang-tidy. - Replace value parameter by const reference parameter or move-assignement in some cases 2018-01-09 18:55:51 -05:00
sch_sheet_pin.cpp Remove all schematic object load and save code. 2017-11-18 08:53:13 -05:00
sch_text.cpp Eeschema: removed protos.h 2017-11-21 23:18:55 +01:00
sch_text.h Eeschema: Adding connection block selections 2017-12-20 10:04:25 -05:00
sch_validators.cpp Forbid colon, slash and backslash characters in symbol names 2017-12-21 13:56:35 +01:00
sch_validators.h Add more "override" markers. 2016-09-25 13:59:41 -04:00
schedit.cpp Eeschema: fix block copy and cut command event handlers. 2017-12-28 16:12:33 -05:00
schematic_undo_redo.cpp Eeschema: Add 'append' option to undo 2017-11-30 10:01:15 -05:00
schframe.cpp Implement primitive icon scaling for high DPI 2018-01-10 21:26:06 -07:00
schframe.h Don't warp mouse when context menu was cancelled. 2018-01-18 13:43:24 -05:00
selpart.cpp Fix loop variable copy in for-range loop, use const reference instead 2018-01-09 19:18:44 -05:00
sheet.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
sheetlab.cpp EDA_TEXT object refactor. 2017-01-25 08:03:32 -05:00
symbdraw.cpp Symbol editor: rework on multi-unit symbols are pin edition synchronization between units (work in progress) 2018-01-09 08:54:47 +01:00
symbedit.cpp Symbol Library Editor: save anchor position when modified 2018-01-23 14:04:31 +01:00
symbol_lib_table.cpp Load each symbol library atomically for better performance. 2018-01-24 19:21:56 -05:00
symbol_lib_table.h Load each symbol library atomically for better performance. 2018-01-24 19:21:56 -05:00
template_fieldnames.cpp Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
template_fieldnames.h Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00
template_fieldnames.keywords *.lst -> *.keywords, rename input filenames to CMake script TokenList2DsnLexer.cmake 2010-06-18 11:12:15 -05:00
tool_lib.cpp Add pin numbering exception to sync pin edit mode description 2018-01-25 12:08:29 +01:00
tool_sch.cpp Eeschema: fix issue (2 tools not working in left vertical toolbar) created by commit 7e6a6540c8 2018-01-16 19:39:31 +01:00
tool_viewlib.cpp Implement primitive icon scaling for high DPI 2018-01-10 21:26:06 -07:00
transform.cpp Remove unnecessary TRANSFORM::operator= 2017-02-19 22:13:50 -05:00
transform.h Remove unnecessary TRANSFORM::operator= 2017-02-19 22:13:50 -05:00
viewlib_frame.cpp Fix loop variable copy in for-range loop, use const reference instead 2018-01-09 19:18:44 -05:00
viewlib_frame.h Convert symbol library viewer over to symbol library table. 2017-11-09 18:50:17 -05:00
viewlibs.cpp Minor fixes in strings and I18N fix. 2018-01-06 10:57:46 +01:00