kicad/eeschema
Jeff Young 07a665f4fd Improve validation of symbol fields editor.
Don't beep when inserting character from focused grid cell (but
before editor is opened).

Handle reference validation separately from name validation and
separately from user field value validation.  The old way of setting
the fieldId on the validator wasn't working because the validator
gets copied.

Run validation when leaving cell.  Don't just check for empty
(particularly for fields that CAN be empty).

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

(cherry picked from commit 79e04de)
2018-07-21 21:28:13 +01:00
..
dialogs Improve validation of symbol fields editor. 2018-07-21 21:28:13 +01:00
netlist_exporters Implement selection brightening for DRC. 2018-07-17 15:09:40 +01:00
plugins Output descriptions to components in generic netlist. 2018-06-06 00:01:47 +01:00
qa Pass -DBOOST_TEST_DYN_LINK to all parts of test 2017-12-06 19:28:57 -05:00
sim Unified preferences dialog framework. 2018-07-17 15:11:17 +01:00
widgets Adjust spacing on preference panels. 2018-07-17 15:14:25 +01:00
CMakeLists.txt Finish project frame library table editing. 2018-07-20 18:48:06 +01:00
Info.plist macOS: standardise CFBundleName to application names. 2018-03-05 01:14:00 +00:00
annotate.cpp Optionally sort reporter messages 2018-05-22 13:55:02 -07:00
autoplace_fields.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
backanno.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
block.cpp eeschema: preserve unit number after pasting a component 2018-03-22 10:55:50 +01:00
block_libedit.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
bus-wire-junction.cpp Keep first segment of wire attached to sheet pin horizontal. 2018-05-11 21:50:43 +01:00
busentry.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
class_libentry.cpp eeschema: Rescue symbols with illegal chars 2018-06-27 14:15:30 -07:00
class_libentry.h Library Field editor: validate alias name before changing it 2018-04-19 14:47:34 +02:00
class_library.cpp Coverity fixes. 2018-03-21 23:11:55 +00:00
class_library.h Eeschema: fix potential symbol cache library name collisions. 2017-12-08 08:32:23 -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 Fix some Coverity uninitialized field warnings. 2018-06-04 13:48:57 -04:00
cmp_tree_model.h Add library descriptions to component tree. 2018-02-07 08:45:33 +01:00
cmp_tree_model_adapter.cpp Add library descriptions to component tree. 2018-02-07 08:45:33 +01: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 Select best-matching component when filtering. 2018-06-10 23:21:05 +01:00
cmp_tree_model_adapter_base.h Select best-matching component when filtering. 2018-06-10 23:21:05 +01:00
component_references_lister.cpp Eeschema, renumbering components: Fix multiparts IC supply renumber problem. 2018-07-10 17:53:06 +02:00
controle.cpp Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
cross-probing.cpp Fix warnings for unreferenced local variables 2018-04-18 15:08:37 -04:00
dialog_erc_listbox.h Eradicate g_UserUnit from ERC/DRC. 2018-07-17 15:12:16 +01:00
drc_erc_item.cpp Eradicate g_UserUnit from ERC/DRC. 2018-07-17 15:12:16 +01:00
edit_bitmap.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
edit_component_in_schematic.cpp Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
edit_label.cpp fix misspelled 'an other' -> 'another' 2018-04-08 13:24:37 -04:00
eeredraw.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
eeschema.cpp Keep track of open sockets and dispose of them in d'tor. 2018-04-04 12:02:40 +01:00
eeschema.icns Update MacOS icons 2018-03-22 11:45:42 -04:00
eeschema.rc
eeschema_config.cpp Give panels the correct parent (the treebook, not the dialog). 2018-07-17 15:14:19 +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 Eeschema: fix many wxASSERT when trying to open menus from the main menubar. 2018-04-01 20:58:27 +02:00
erc.cpp Eradicate g_UserUnit from ERC/DRC. 2018-07-17 15:12:16 +01:00
erc.h Eradicate g_UserUnit from ERC/DRC. 2018-07-17 15:12:16 +01:00
events_called_functions_for_edit.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
fields_grid_table.cpp Improve validation of symbol fields editor. 2018-07-21 21:28:13 +01:00
fields_grid_table.h Improve validation of symbol fields editor. 2018-07-21 21:28:13 +01:00
files-io.cpp Treat ${...} and $(...) envvar references uniformly. 2018-05-05 23:40:40 +01:00
find.cpp Move search status messages to Find/Replace dialog. 2018-07-17 15:13:37 +01:00
general.h Clear symbol library list from project file after remapping. 2017-11-09 18:50:23 -05:00
generate_alias_info.cpp Standardize Keywords->Key words 2018-03-09 09:43:53 -08: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 Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
help_common_strings.h Standardize terminology for automatic zoom to "Zoom to Fit". 2018-03-16 08:38:36 -04:00
hierarch.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
highlight_connection.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
hotkeys.cpp Fix occurrences of "edition" which should be "editing" 2018-07-17 15:12:39 +01:00
hotkeys.h Eeschema: New menubar structure 2018-02-22 20:43:21 -05:00
invoke_sch_dialog.h Relax fully-annotated constraint for BOM editor. 2018-05-11 12:33:44 +01:00
lib_arc.cpp Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
lib_arc.h Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
lib_bezier.cpp Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
lib_bezier.h Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
lib_circle.cpp Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
lib_circle.h Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
lib_collectors.cpp rename class_collector.h to collector.h 2018-02-04 10:49:37 +01:00
lib_collectors.h rename class_collector.h to collector.h 2018-02-04 10:49:37 +01:00
lib_draw_item.cpp Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
lib_draw_item.h Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
lib_edit_frame.cpp Fix a few more missing language-change updates. 2018-07-17 15:13:27 +01:00
lib_edit_frame.h Fix a few more missing language-change updates. 2018-07-17 15:13:27 +01:00
lib_export.cpp Allow for reduced nagging with wider use of KIDIALOG. 2018-07-17 15:13:53 +01:00
lib_field.cpp Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
lib_field.h Fix occurrences of "edition" which should be "editing" 2018-07-17 15:12:39 +01:00
lib_manager.cpp eeschema: Rescue symbols with illegal chars 2018-06-27 14:15:30 -07:00
lib_manager.h eeschema: Rescue symbols with illegal chars 2018-06-27 14:15:30 -07:00
lib_manager_adapter.cpp Don't allow wxDataViewCtrl updates during model update. 2018-04-28 10:45:32 +01: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 Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
lib_pin.h Fix occurrences of "edition" which should be "editing" 2018-07-17 15:12:39 +01:00
lib_polyline.cpp Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
lib_polyline.h Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
lib_rectangle.cpp Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
lib_rectangle.h Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
lib_text.cpp Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
lib_text.h Fix occurrences of "edition" which should be "editing" 2018-07-17 15:12:39 +01:00
libarch.cpp Eeschema: fix incorrect UI messages in dialogs due to using UTF8 strings instead of wxStrings (unicode) to build them. 2018-04-30 11:46:23 +02:00
libedit.cpp Allow for reduced nagging with wider use of KIDIALOG. 2018-07-17 15:13:53 +01:00
libedit_onleftclick.cpp Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
libedit_onrightclick.cpp Fix occurrences of "edition" which should be "editing" 2018-07-17 15:12:39 +01:00
libedit_plot_component.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
libedit_undo_redo.cpp Coverity fixes 2018-02-15 10:27:01 +01:00
libfield.cpp Add position to Eeschema's edit text dialogs. 2018-07-17 15:13:41 +01:00
list_operations.h Eeschema: removed protos.h 2017-11-21 23:18:55 +01:00
menubar.cpp Fix Update Fields to use alias values. 2018-07-17 15:12:41 +01:00
menubar_libedit.cpp Add Manage Symbol and Footprint Library tables to project frame. 2018-07-19 21:46:41 +01: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 Output defined default fields to netlists & BOMs. 2018-05-24 18:24:59 +01:00
netlist_object.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
netlist_object.h fix misspelled 'an other' -> 'another' 2018-04-08 13:24:37 -04:00
netlist_object_list.cpp Remove not used ListNets() methods 2018-03-04 18:04:19 +01:00
onleftclick.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
onrightclick.cpp Add Edit context menu item for EEschema graphic lines. 2018-07-17 15:13:49 +01:00
operations_on_items_lists.cpp Prevent duplicate sheetnames when using mouse copy 2018-04-17 12:01:03 -07: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 Allow for reduced nagging with wider use of KIDIALOG. 2018-07-17 15:13:53 +01:00
plot_schematic_DXF.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
plot_schematic_HPGL.cpp UNIT_BINDERize print and plot dialogs. 2018-07-17 15:12:29 +01:00
plot_schematic_PDF.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
plot_schematic_PS.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
plot_schematic_SVG.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
project_rescue.cpp eeschema: Rescue symbols with illegal chars 2018-06-27 14:15:30 -07:00
project_rescue.h Do not append "RESCUE" to symbol names when rescuing symbols. 2018-03-03 15:34:26 -05:00
sch_base_frame.cpp Finish project frame library table editing. 2018-07-20 18:48:06 +01:00
sch_base_frame.h Finish project frame library table editing. 2018-07-20 18:48:06 +01:00
sch_bitmap.cpp Remove all schematic object load and save code. 2017-11-18 08:53:13 -05:00
sch_bitmap.h Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
sch_bus_entry.cpp Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
sch_bus_entry.h Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
sch_collectors.cpp Move search status messages to Find/Replace dialog. 2018-07-17 15:13:37 +01:00
sch_collectors.h Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
sch_component.cpp Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
sch_component.h Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
sch_eagle_plugin.cpp eeschema: Rescue symbols with illegal chars 2018-06-27 14:15:30 -07:00
sch_eagle_plugin.h Eagle SCH import: improved implicit connections resolution 2018-04-12 18:12:22 +02:00
sch_edit_frame.cpp Move search status messages to Find/Replace dialog. 2018-07-17 15:13:37 +01:00
sch_edit_frame.h Move search status messages to Find/Replace dialog. 2018-07-17 15:13:37 +01:00
sch_field.cpp Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
sch_field.h Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01: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 Organize trace debugging code for ease of maintenance. 2018-04-13 09:59:01 -04:00
sch_item_struct.h Cleanup of trace logs from Simon Richter. 2018-04-17 17:27:18 +01:00
sch_junction.cpp Fix code after renaming files, and a bit of code cleanup (remove useless includes and multiple includes of the same files) 2018-01-30 09:57:25 +01:00
sch_junction.h Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
sch_legacy_plugin.cpp eeschema: fix alias names in .dcm files 2018-07-17 14:27:41 +02:00
sch_legacy_plugin.h SCH_LEGACY_PLUGIN::loadHierarchy() uses a stack to maintain sheet paths 2018-05-09 11:30:23 +02:00
sch_line.cpp More g_UserUnit erradication. 2018-07-17 15:12:31 +01:00
sch_line.h Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
sch_marker.cpp Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
sch_marker.h Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
sch_no_connect.cpp Fix code after renaming files, and a bit of code cleanup (remove useless includes and multiple includes of the same files) 2018-01-30 09:57:25 +01:00
sch_no_connect.h Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
sch_plugin.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
sch_reference_list.h Fixup sorting for expanded component groups. 2018-05-13 12:21:55 +01:00
sch_screen.cpp Fix occurrences of "edition" which should be "editing" 2018-07-17 15:12:39 +01:00
sch_screen.h Fix code after renaming files, and a bit of code cleanup (remove useless includes and multiple includes of the same files) 2018-01-30 09:57:25 +01:00
sch_sheet.cpp eeschema: improve hierarchical sheet text placement 2018-07-17 15:12:55 +01:00
sch_sheet.h Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
sch_sheet_path.cpp Fix -Wshadow warning in sch_sheet_path.cpp 2018-06-28 10:04:43 -04:00
sch_sheet_path.h fix misspelled 'allows to' -> 'allows one to' 2018-07-11 10:35:03 -04:00
sch_sheet_pin.cpp Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
sch_text.cpp Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
sch_text.h Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
sch_validators.cpp Improve validation of symbol fields editor. 2018-07-21 21:28:13 +01:00
sch_validators.h Improve validation of symbol fields editor. 2018-07-21 21:28:13 +01:00
schedit.cpp Fix incorrect UI management of Zoom to Selection, created by fix 2a419156 2018-04-14 17:44:17 +02:00
schematic_undo_redo.cpp Fix occurrences of "edition" which should be "editing" 2018-07-17 15:12:39 +01:00
selpart.cpp Fix warnings for unreferenced local variables 2018-04-18 15:08:37 -04:00
sheet.cpp Remove some references to g_UserUnit 2018-07-17 15:09:56 +01:00
sheetlab.cpp Remove some references to g_UserUnit 2018-07-17 15:09:56 +01:00
symbdraw.cpp More g_UserUnit erradication. 2018-07-17 15:12:31 +01:00
symbedit.cpp Fix warnings for unreferenced local variables 2018-04-18 15:08:37 -04: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 Finish project frame library table editing. 2018-07-20 18:48:06 +01:00
template_fieldnames.cpp Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
template_fieldnames.h Fix code after renaming files 2018-01-29 16:40:22 +01:00
template_fieldnames.keywords
tool_lib.cpp Change Libedit save icon from Save Library to Save All Libraries. 2018-05-02 23:41:00 +01:00
tool_sch.cpp Standardize "assign footprints" terminology. 2018-06-26 13:20:02 -06:00
tool_viewlib.cpp Fix memory leak and push menu change to other apps. 2018-04-07 14:14:55 +01: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 warnings for unreferenced local variables 2018-04-18 15:08:37 -04:00
viewlib_frame.h Fix code after renaming files, and a bit of code cleanup (remove useless includes and multiple includes of the same files) 2018-01-30 09:57:25 +01:00
viewlibs.cpp Fix warnings for unreferenced local variables 2018-04-18 15:08:37 -04:00