kicad/pcbnew
Seth Hillbrand 2a0e4a8324 Catch errors from `load()`
Loading footprints may throw in some cases.  We need to catch these
nicely without breaking out of the full loading process

Fixes https://gitlab.com/kicad/code/kicad/issues/10213

(cherry picked from commit 1874ad2f7e)
2022-01-03 15:31:14 -08:00
..
autorouter Move to new font engine. 2022-01-02 14:57:03 +00:00
board_stackup_manager Make sure standard OK/Cancel buttons respond to current language. 2021-12-24 18:13:11 +00:00
connectivity Scoop up some more wxPoints 2022-01-01 21:06:40 -05:00
dialogs Rip out rest of macHack architecture. 2022-01-03 22:09:56 +00:00
drc Allow solder mask aperture objects to inherit nets during DRC. 2022-01-03 20:58:01 +00:00
exporters Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
import_gfx Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
microwave Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
netlist_reader Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
plugins Bump minimum required CMake version to 3.11 2022-01-01 21:35:08 -05:00
python Update footprint wizards after changes wxPoint->VECTOR2I 2022-01-03 11:43:15 +01:00
ratsnest Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
router Exit router and invoke edit tool when attempting to drag an arc track 2022-01-02 16:10:50 -05:00
specctra_import_export Another batch of point changes 2022-01-01 13:17:12 -05:00
tools Move to new font engine. 2022-01-02 14:57:03 +00:00
widgets Fix saving of existing appearance presets 2022-01-02 12:11:52 -05:00
CMakeLists.txt Update footprint wizards after changes wxPoint->VECTOR2I 2022-01-03 11:43:15 +01:00
Doxyfile_python
Doxyfile_xml
action_plugin.cpp Ugly hack to avoid crash on msys2 when running Pcbnew after running Eeschema+its Python console 2021-08-14 21:08:56 +02:00
action_plugin.h Pcbnew header housekeeping round 1. 2021-06-04 09:08:38 -04:00
array_creator.cpp Radial dimensions. 2021-12-23 19:34:54 +00:00
array_creator.h Array creator tool: Add option to assign unique reference designators 2021-10-25 22:38:49 +01:00
array_pad_number_provider.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
array_pad_number_provider.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
board.cpp Remove some more wxPoint 2022-01-01 14:12:20 -05:00
board.h Remove some more wxPoint 2022-01-01 14:12:20 -05:00
board_commit.cpp Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
board_commit.h Remove ZONE_FILLER_TOOL since it's not really necessary. 2021-07-31 01:50:42 +01:00
board_connected_item.cpp Cleanup (includes and formatting). 2021-08-03 18:37:23 +01:00
board_connected_item.h More NULL expunging. 2021-07-20 07:27:18 -04:00
board_design_settings.cpp Line styles for PCBNew shapes. 2021-12-24 12:36:59 +00:00
board_item.cpp Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
board_item_container.h
build_BOM_from_board.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
cleanup_item.cpp
cleanup_item.h Pcbnew header housekeeping round 1. 2021-06-04 09:08:38 -04:00
collectors.cpp Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
collectors.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
convert_shape_list_to_polygon.cpp Scoop up some more wxPoints 2022-01-01 21:06:40 -05:00
convert_shape_list_to_polygon.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
cross-probing.cpp Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
edit.cpp Dimensions for footprints. 2021-12-24 21:10:28 +00:00
edit_track_width.cpp PCB Editor: changes to track width overrides starting track width 2021-12-15 23:32:48 +00:00
edit_zone_helpers.cpp Recalculate ratsnest after zone fill 2021-12-14 13:37:15 -08:00
files.cpp Add DRC tests for text height and text thickness. 2021-12-23 19:18:45 +00:00
footprint.cpp Another batch of point changes 2022-01-01 13:17:12 -05:00
footprint.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
footprint_edit_frame.cpp Dimensions for footprints. 2021-12-24 21:10:28 +00:00
footprint_edit_frame.h Flatten out some more preferences. 2021-12-24 15:43:20 +00:00
footprint_editor_settings.cpp Add missing initialization values to variables 2021-12-30 23:42:06 +00:00
footprint_editor_utils.cpp Dimensions for footprints. 2021-12-24 21:10:28 +00:00
footprint_info_impl.cpp Catch errors from `load()` 2022-01-03 15:31:14 -08:00
footprint_info_impl.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
footprint_libraries_utils.cpp Kicad has many plugins. This one is for the pcb. 2021-11-25 12:56:46 +00:00
footprint_preview_panel.cpp Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
footprint_preview_panel.h Kill the last of wx/wx.h in headers 2021-06-07 17:59:20 -04:00
footprint_tree_pane.cpp Rename SCH_COMPONENT to SCH_SYMBOL. 2021-06-10 10:34:49 -04:00
footprint_tree_pane.h
footprint_viewer_frame.cpp Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
footprint_viewer_frame.h Flatten out some more preferences. 2021-12-24 15:43:20 +00:00
footprint_wizard.cpp More NULL expunging. 2021-07-20 07:27:18 -04:00
footprint_wizard.h Pcbnew header housekeeping round 1. 2021-06-04 09:08:38 -04:00
footprint_wizard_frame.cpp Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
footprint_wizard_frame.h Flatten out some more preferences. 2021-12-24 15:43:20 +00:00
footprint_wizard_frame_functions.cpp Freshen microwave polygon dialog and remove a bunch of dead code. 2021-08-03 01:11:11 +01:00
fp_shape.cpp Remove some more wxPoint 2022-01-01 14:12:20 -05:00
fp_shape.h Remove some more wxPoint 2022-01-01 14:12:20 -05:00
fp_text.cpp Scoop up some more wxPoints 2022-01-01 21:06:40 -05:00
fp_text.h Scoop up some more wxPoints 2022-01-01 21:06:40 -05:00
fp_text_grid_table.cpp Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
fp_text_grid_table.h Add hot-updating of units in common wxGrids. 2021-12-23 16:54:03 +00:00
fp_tree_model_adapter.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
fp_tree_model_adapter.h
fp_tree_synchronizing_adapter.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
fp_tree_synchronizing_adapter.h
generate_footprint_info.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
generate_footprint_info.h
graphics_cleaner.cpp Remove some more wxPoint 2022-01-01 14:12:20 -05:00
graphics_cleaner.h Pull some name changes back from 7.0 to ease merging. 2021-07-21 20:58:59 +01:00
grid_layer_box_helpers.cpp All the preferences, all the time. 2021-12-24 13:08:44 +00:00
grid_layer_box_helpers.h Cleanup. 2021-12-23 20:36:18 +00:00
initpcb.cpp More NULL expunging. 2021-07-20 07:27:18 -04:00
invoke_pcb_dialog.h
io_mgr.cpp Kicad has many plugins. This one is for the pcb. 2021-11-25 12:56:46 +00:00
io_mgr.h Formatting and include cleanup. 2021-06-25 17:48:15 +01:00
kicad_clipboard.cpp Scoop up some more wxPoints 2022-01-01 21:06:40 -05:00
kicad_clipboard.h Kicad has many plugins. This one is for the pcb. 2021-11-25 12:56:46 +00:00
load_select_footprint.cpp Scoop up some more wxPoints 2022-01-01 21:06:40 -05:00
menubar_footprint_editor.cpp Dimensions for footprints. 2021-12-24 21:10:28 +00:00
menubar_pcb_editor.cpp Dimensions for footprints. 2021-12-24 21:10:28 +00:00
netinfo.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
netinfo_item.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
netinfo_list.cpp More NULL expunging. 2021-07-20 07:27:18 -04:00
pad.cpp Some more wxPoint removal 2022-01-01 12:11:21 -05:00
pad.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
pad_custom_shape_functions.cpp Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
pcb_base_edit_frame.cpp Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
pcb_base_edit_frame.h Remove dead code. 2021-12-24 21:10:28 +00:00
pcb_base_frame.cpp Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
pcb_dimension.cpp Another batch of point changes 2022-01-01 13:17:12 -05:00
pcb_dimension.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
pcb_draw_panel_gal.cpp Keep netnames on tracks within the viewport when possible. 2021-12-24 17:11:01 +00:00
pcb_draw_panel_gal.h Use progress reporting in more places when loading a board 2021-11-25 11:19:03 -05:00
pcb_edit_frame.cpp Pcbnew, drawing sheet: use "First Page" option to draw/plot it. 2022-01-01 09:29:18 +01:00
pcb_edit_frame.h Check footprint text items for changes when updating. 2021-12-25 17:32:55 +00:00
pcb_expr_evaluator.cpp Add field access to custom DRC rules. 2021-12-24 18:13:00 +00:00
pcb_expr_evaluator.h Add a compile error for ill-defined rules, and more performance. 2021-08-16 12:14:17 +01:00
pcb_group.cpp Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
pcb_item_containers.h Prefix TRACK, ARC and VIA. 2021-06-11 22:07:02 +01:00
pcb_layer_box_selector.cpp All the preferences, all the time. 2021-12-24 13:08:44 +00:00
pcb_layer_box_selector.h Cleanup. 2021-12-23 20:36:18 +00:00
pcb_marker.cpp Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
pcb_marker.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
pcb_origin_transforms.cpp Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
pcb_origin_transforms.h Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
pcb_painter.cpp Fix highlighting color logic when net colors are active 2022-01-02 12:11:58 -05:00
pcb_painter.h Move to new font engine. 2022-01-02 14:57:03 +00:00
pcb_plot_params.cpp Use ISO 128-2 values for dashed line defaults. 2021-12-25 14:00:57 +00:00
pcb_plot_params.h Line styles for PCBNew shapes. 2021-12-24 12:36:59 +00:00
pcb_plot_params_parser.h
pcb_screen.cpp Rename layer ids file. 2021-07-29 16:03:25 +01:00
pcb_shape.cpp Remove some more wxPoint 2022-01-01 14:12:20 -05:00
pcb_shape.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
pcb_target.cpp Some more wxPoint removal 2022-01-01 12:11:21 -05:00
pcb_target.h Some more wxPoint removal 2022-01-01 12:11:21 -05:00
pcb_text.cpp Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
pcb_text.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
pcb_track.cpp Remove some more wxPoint 2022-01-01 14:12:20 -05:00
pcb_track.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
pcb_view.cpp Flatten out some more preferences. 2021-12-24 15:43:20 +00:00
pcb_view.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
pcbnew.cpp All the preferences, all the time. 2021-12-24 13:08:44 +00:00
pcbnew.h Add Python Tool to pcbnew 2021-06-01 20:18:24 +00:00
pcbnew.icns Add drop shadows to MacOS icons 2021-07-30 20:55:34 -07:00
pcbnew_config.cpp Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
pcbnew_config.h
pcbnew_doc.icns Add drop shadows to MacOS icons 2021-07-30 20:55:34 -07:00
pcbnew_id.h Add Python Tool to pcbnew 2021-06-01 20:18:24 +00:00
pcbnew_printout.cpp Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
pcbnew_printout.h Prefix TRACK, ARC and VIA. 2021-06-11 22:07:02 +01:00
pcbnew_settings.cpp Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
pcbnew_settings.h Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
pcbplot.cpp Convert wxPoint/wxSize starting from EDA_RECT usages 2022-01-01 11:30:33 -05:00
pcbplot.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
plot_board_layers.cpp Pcb plot: fixcrash due to a null pointer 2022-01-03 15:11:42 +01:00
plot_brditems_plotter.cpp Another batch of point changes 2022-01-01 13:17:12 -05:00
plotcontroller.h Cleanup. 2021-12-23 20:36:18 +00:00
plugin.cpp Clean up unused variable usage 2021-10-05 10:00:30 -07:00
sel_layer.cpp Cleanup. 2021-12-23 20:36:18 +00:00
toolbars_footprint_editor.cpp Dimensions for footprints. 2021-12-24 21:10:28 +00:00
toolbars_footprint_viewer.cpp Remove vestiges of old zoom-auto architecture. 2021-09-19 18:32:15 +01:00
toolbars_pcb_editor.cpp Units cleanup. 2021-12-23 22:17:10 +00:00
tracks_cleaner.cpp Another batch of point changes 2022-01-01 13:17:12 -05:00
tracks_cleaner.h Prefix TRACK, ARC and VIA. 2021-06-11 22:07:02 +01:00
undo_redo.cpp pcbnew, undo_redo.cpp: fix a logical bug that can hang in rare cases. 2021-09-08 13:06:55 +02:00
zone.cpp Scoop up some more wxPoints 2022-01-01 21:06:40 -05:00
zone.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
zone_filler.cpp Another batch of point changes 2022-01-01 13:17:12 -05:00
zone_filler.h Hook up zone-pad connections to custom rules. 2021-12-23 22:30:26 +00:00
zone_settings.cpp Hook up zone-pad connections to custom rules. 2021-12-23 22:30:26 +00:00
zone_settings.h Hook up zone-pad connections to custom rules. 2021-12-23 22:30:26 +00:00
zones.h Try to make gcc happy. 2021-12-23 23:58:20 +00:00
zones_functions_for_undo_redo.cpp Cleanup. 2021-12-23 20:36:18 +00:00
zones_functions_for_undo_redo.h Cleanup. 2021-12-23 20:36:18 +00:00