kicad/eeschema
Wayne Stambaugh 66f6168163 Fix mode-less dialog issues.
Don't assume the dialog is mode-less and call Destroy() from within a
dialog method.  This will most assuredly crash if the dialog is shown
modally or quasi-modally.

Don't leak memory for mode-less dialogs created on the stack.  Make sure
when the parent frame window is closed that all mode-less dialog memory
is cleaned up.  Dialogs are not child windows like controls and toolbars
so their memory does not automatically get cleaned up when the parent
window is destroyed.

Do not directly access frame parent window's pointer in dialog destructors.
Apparently the tear down order when destroying mode-less dialogs is not
guaranteed so the parent window may get deleted before the dialog causing
a crash when accessing the parent window pointer from the dialog dtor.

Do not close mode-less dialogs in the parent frame's destructor.  This
doesn't guarantee that the dialog(s) will be destroyed before the parent
but it may reduce some careless mode-less dialog event handling in the
future.
2023-03-13 12:04:01 -04:00
..
dialogs Fix mode-less dialog issues. 2023-03-13 12:04:01 -04:00
navlib Cleanup spacemouse plugin 2022-04-01 15:14:41 -07:00
netlist_exporters Add missing command to SPICE directives list. 2023-03-10 21:33:06 +00:00
plugins bom_csv_grouped_extra: use field-specific methods for data. 2023-03-05 03:23:51 +03:00
sch_plugins Altium Importer: add note that Parameter Set import is not yet supported 2023-03-06 02:13:40 +00:00
sim Union workbook sim commands with any defined on schematic. 2023-03-10 21:33:06 +00:00
symbol_editor Exercise more caution with user filenames. 2023-03-12 15:52:45 +00:00
tools Fix mode-less dialog issues. 2023-03-13 12:04:01 -04:00
widgets Drawing improvements for symbol & footprint diffs. 2023-03-11 12:45:16 +00:00
CMakeLists.txt CMake: Modernize Boost import to use imported targets 2023-03-10 16:38:35 +00:00
annotate.cpp Annotation: don't select hover item 2023-01-23 16:50:45 -05:00
autoplace_fields.cpp More wxSing 2023-01-16 23:14:38 -05:00
bom_plugins.cpp More wxSing 2023-01-16 23:14:38 -05:00
bom_plugins.h
bus-wire-junction.cpp Extract SCH_LINE::BreakAt( aP ) from SCH_EDIT_FRAME::BreakSegment 2023-01-15 19:17:40 +01:00
bus_alias.h Coverity fixes. 2022-08-22 17:52:58 +01:00
cmp_library.keywords
connection_graph.cpp Schematic: sheet pins need to use their parent to resolve text variables 2023-03-08 11:52:43 -05:00
connection_graph.h Clean exposure of CONNECTION_SUBGRAPH 2023-03-03 14:07:17 -08:00
cross-probing.cpp ADDED: schematic/library diff for symbols. 2023-03-09 18:04:52 +00:00
default_values.h Schematic Lines: add marker for unselected, connected line ends 2022-12-12 14:45:06 -05:00
ee_collectors.cpp Attempt to fix std::initializer_list lifetime issue. 2022-08-21 20:54:41 +01:00
ee_collectors.h Attempt to fix std::initializer_list lifetime issue. 2022-08-21 20:54:41 +01:00
eeschema.cpp Naming conventions and commenting. No functional changes. 2023-03-04 00:10:01 +00:00
eeschema.icns
eeschema_config.cpp Move to requiring explicit action to save project settings 2023-03-04 14:25:07 -05:00
eeschema_doc.icns
eeschema_helpers.cpp Power Symbols: automatically fix mismatched legacy symbols, add tests 2023-02-22 18:01:47 +00:00
eeschema_helpers.h Add schematic cli plotting 2022-11-01 23:34:49 -04:00
eeschema_id.h Add pinned library support to Footprint and Symbol Viewers. 2022-07-09 17:41:10 -06:00
eeschema_jobs_handler.cpp Fix a few Coverity warnings 2023-02-20 09:25:01 +01:00
eeschema_jobs_handler.h Add cli export of symbols from kicad libraries 2022-12-12 22:44:26 -05:00
eeschema_settings.cpp ADDED simulation measurements. 2023-02-11 21:11:07 +00:00
eeschema_settings.h Schematic: Find and Replace on Selection 2023-02-14 14:04:59 -05:00
erc.cpp Sheets: check for duplicates using shown names 2023-03-08 11:52:43 -05:00
erc.h ADDED: ERC for missing units 2022-11-29 23:49:55 +00:00
erc_item.cpp Minor fix to ERC dialog 2023-01-24 18:44:47 +00:00
erc_item.h Fix build warnings introduced by recent ERC changes. 2023-01-24 10:42:41 -05:00
erc_sch_pin_context.cpp Eeschema: ERC checks handle connections between a common sub-circuit 2023-01-24 14:11:01 +00:00
erc_sch_pin_context.h Eeschema: ERC checks handle connections between a common sub-circuit 2023-01-24 14:11:01 +00:00
erc_settings.cpp Eeschema: ERC checks handle connections between a common sub-circuit 2023-01-24 14:11:01 +00:00
erc_settings.h ADDED: ERC for missing units 2022-11-29 23:49:55 +00:00
fields_grid_table.cpp Fix mode-less dialog issues. 2023-03-13 12:04:01 -04:00
fields_grid_table.h Hook up AddField handler to GRID_TRICKS for SCH dialogs. 2023-03-02 18:17:41 +00:00
files-io.cpp Exercise more caution with user filenames. 2023-03-12 15:52:45 +00:00
general.h
generate_alias_info.cpp Use resolved fields when generating LIB_TREE info. 2023-03-03 17:22:50 +00:00
generate_alias_info.h Substitute all wxHtmlWindow with HTML_WINDOW 2021-10-12 07:07:15 +00:00
invoke_sch_dialog.h Rename files and classes to match dialog name. 2022-12-11 18:42:57 +00:00
lib_field.cpp ADDED: schematic/library diff for symbols. 2023-03-09 18:04:52 +00:00
lib_field.h Rename GetSelectMenuText to GetItemDescription 2023-01-11 22:27:44 -05:00
lib_item.cpp Graphical diff for schematic vs library symbols. 2023-03-09 18:04:52 +00:00
lib_item.h Graphical diff for schematic vs library symbols. 2023-03-09 18:04:52 +00:00
lib_pin.cpp plotters rework: add plot fct to use TEXT_ATTRIBUTES class to pass text settings 2023-02-26 14:44:53 +01:00
lib_pin.h Power Symbols: rename IsPowerConnection to IsGlobalPower 2023-02-22 18:01:47 +00:00
lib_shape.cpp Graphical diff for schematic vs library symbols. 2023-03-09 18:04:52 +00:00
lib_shape.h Rename GetSelectMenuText to GetItemDescription 2023-01-11 22:27:44 -05:00
lib_symbol.cpp Graphical diff for schematic vs library symbols. 2023-03-09 18:04:52 +00:00
lib_symbol.h ADDED: schematic/library diff for symbols. 2023-03-09 18:04:52 +00:00
lib_text.cpp plotters rework: add plot fct to use TEXT_ATTRIBUTES class to pass text settings 2023-02-26 14:44:53 +01:00
lib_text.h Rename GetSelectMenuText to GetItemDescription 2023-01-11 22:27:44 -05:00
lib_textbox.cpp plotters rework: add plot fct to use TEXT_ATTRIBUTES class to pass text settings 2023-02-26 14:44:53 +01:00
lib_textbox.h Rename GetSelectMenuText to GetItemDescription 2023-01-11 22:27:44 -05:00
libarch.cpp More wxSing 2023-01-16 23:14:38 -05:00
menubar.cpp Graphical diff for schematic vs library symbols. 2023-03-09 18:04:52 +00:00
picksymbol.cpp Symbol chooser: save UI settings even when canceled 2023-02-14 18:26:29 -05:00
pin_numbers.cpp More wxSing 2023-01-16 23:14:38 -05:00
pin_numbers.h Fix broken comparison in pin_numbers 2022-04-19 14:46:05 -07:00
pin_type.cpp On-the-fly translations for pin electrical types. 2022-04-05 13:57:28 +01:00
pin_type.h
project_rescue.cpp Fix library symbol rescue issues. 2023-01-21 10:35:14 -05:00
project_rescue.h Rename PROPERTIES to STRING_UTF8_MAP for clarity 2022-11-06 11:51:52 -05:00
project_sch_specific.cpp Code clarity. 2022-10-11 11:22:26 +01:00
sch_base_frame.cpp Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere 2023-02-18 22:57:18 -05:00
sch_base_frame.h Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere 2023-02-18 22:57:18 -05:00
sch_bitmap.cpp Set PPI properly in schematic bitmaps, too 2023-02-14 21:37:00 -05:00
sch_bitmap.h Set PPI properly in schematic bitmaps, too 2023-02-14 21:37:00 -05:00
sch_bus_entry.cpp More wxSing 2023-01-16 23:14:38 -05:00
sch_bus_entry.h Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere 2023-02-18 22:57:18 -05:00
sch_connection.cpp Power Symbols: rename IsPowerConnection to IsGlobalPower 2023-02-22 18:01:47 +00:00
sch_connection.h Replace boost::optional with std::optional 2022-08-25 15:50:47 -07:00
sch_draw_panel.cpp Move selection shadows to overlay. 2023-02-24 12:44:55 +00:00
sch_draw_panel.h RIP EDA_RECT. 2022-08-31 23:57:24 +01:00
sch_edit_frame.cpp Fix mode-less dialog issues. 2023-03-13 12:04:01 -04:00
sch_edit_frame.h Fix mode-less dialog issues. 2023-03-13 12:04:01 -04:00
sch_field.cpp Schematic: correctly resolve global power nets using sheet variables 2023-03-08 11:52:43 -05:00
sch_field.h Schematic: correctly resolve global power nets using sheet variables 2023-03-08 11:52:43 -05:00
sch_file_versions.h Power Symbols: automatically fix mismatched legacy symbols, add tests 2023-02-22 18:01:47 +00:00
sch_io_mgr.cpp ADDED: Database libraries MVP 2022-08-26 10:51:13 -04:00
sch_io_mgr.h Rename PROPERTIES to STRING_UTF8_MAP for clarity 2022-11-06 11:51:52 -05:00
sch_item.cpp Move hypertext linking to user-page-numbers. 2022-08-27 19:17:43 +01:00
sch_item.h Allow printing backgrounds prior to foreground 2022-10-02 13:23:54 -07:00
sch_junction.cpp More wxSing 2023-01-16 23:14:38 -05:00
sch_junction.h Rename GetSelectMenuText to GetItemDescription 2023-01-11 22:27:44 -05:00
sch_label.cpp plotters rework: add plot fct to use TEXT_ATTRIBUTES class to pass text settings 2023-02-26 14:44:53 +01:00
sch_label.h ADDED operating point text variables for labels and symbols. 2023-02-11 21:11:07 +00:00
sch_line.cpp ADDED operating point overlay for SCH_EDIT_FRAME. 2023-02-11 21:11:07 +00:00
sch_line.h ADDED operating point overlay for SCH_EDIT_FRAME. 2023-02-11 21:11:07 +00:00
sch_marker.cpp Eeschema: ERC checks handle connections between a common sub-circuit 2023-01-24 14:11:01 +00:00
sch_marker.h Eeschema: ERC checks handle connections between a common sub-circuit 2023-01-24 14:11:01 +00:00
sch_no_connect.cpp Strip out Mils2Iu 2022-09-16 21:09:27 -04:00
sch_no_connect.h Rename GetSelectMenuText to GetItemDescription 2023-01-11 22:27:44 -05:00
sch_painter.cpp Drawing improvements for symbol & footprint diffs. 2023-03-11 12:45:16 +00:00
sch_painter.h ADDED operating point overlay for SCH_EDIT_FRAME. 2023-02-11 21:11:07 +00:00
sch_pin.cpp Schematic: correctly resolve global power nets using sheet variables 2023-03-08 11:52:43 -05:00
sch_pin.h Power Symbols: rename IsPowerConnection to IsGlobalPower 2023-02-22 18:01:47 +00:00
sch_plotter.cpp Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere 2023-02-18 22:57:18 -05:00
sch_plotter.h Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere 2023-02-18 22:57:18 -05:00
sch_plugin.cpp Templatize MigrateSimModel() so it can be used on LIB_SYMBOLs as well. 2022-12-08 23:57:43 +00:00
sch_preview_panel.cpp Strip out Mils2Iu 2022-09-16 21:09:27 -04:00
sch_preview_panel.h Don't paint hidden fields without a schematic context 2022-08-20 17:56:53 -04:00
sch_reference_list.cpp Turn on and fix MSVC compliance mode issues 2023-02-12 16:30:37 -05:00
sch_reference_list.h Don't special case power symbol re-annotation 2023-01-23 13:19:01 -08:00
sch_rtree.h RIP EDA_RECT. 2022-08-31 23:57:24 +01:00
sch_screen.cpp Power Symbols: automatically fix mismatched legacy symbols, add tests 2023-02-22 18:01:47 +00:00
sch_screen.h Power Symbols: automatically fix mismatched legacy symbols, add tests 2023-02-22 18:01:47 +00:00
sch_shape.cpp Workaround wxWidgets enforced min pen width by using transparent pen. 2023-02-14 14:44:04 +00:00
sch_shape.h Rename GetSelectMenuText to GetItemDescription 2023-01-11 22:27:44 -05:00
sch_sheet.cpp Remove uses of climits header/defines 2023-03-10 17:08:56 +00:00
sch_sheet.h Schematic Sheet Variables: more SCH_SHEET_PATH plumbing 2023-03-10 09:16:53 -05:00
sch_sheet_path.cpp Turn on and fix MSVC compliance mode issues 2023-02-12 16:30:37 -05:00
sch_sheet_path.h Rename SYMBOL_INSTANCE_REFERENCE to SCH_SYMBOL_INSTANCE. 2023-01-04 15:39:50 -05:00
sch_sheet_pin.cpp Rename GetSelectMenuText to GetItemDescription 2023-01-11 22:27:44 -05:00
sch_sheet_pin.h Rename GetSelectMenuText to GetItemDescription 2023-01-11 22:27:44 -05:00
sch_symbol.cpp Schematic Sheet Variables: more SCH_SHEET_PATH plumbing 2023-03-10 09:16:53 -05:00
sch_symbol.h Schematic: correctly resolve global power nets using sheet variables 2023-03-08 11:52:43 -05:00
sch_text.cpp Schematic Sheet Variables: more SCH_SHEET_PATH plumbing 2023-03-10 09:16:53 -05:00
sch_text.h Schematic: correctly resolve label nets using sheet variables 2023-03-08 11:52:43 -05:00
sch_text_help.md Fix outdated syntax in help text 2021-11-25 12:53:29 +00:00
sch_text_help_md.h Add 2 automatically generated files to the source tree. 2022-06-22 08:51:04 +02:00
sch_textbox.cpp plotters rework: add plot fct to use TEXT_ATTRIBUTES class to pass text settings 2023-02-26 14:44:53 +01:00
sch_textbox.h Rename GetSelectMenuText to GetItemDescription 2023-01-11 22:27:44 -05:00
sch_validators.cpp Support both wxWidgets APIs for excluded characters. 2023-03-06 14:14:16 +00:00
sch_validators.h CHANGED netclass assignments now done via canvas or via patterns. 2022-08-14 22:56:29 +01:00
sch_view.cpp Support SHEET_PATH when printing. 2023-03-12 22:24:06 +00:00
sch_view.h ADDED operating point overlay for SCH_EDIT_FRAME. 2023-02-11 21:11:07 +00:00
schematic.cpp Clean exposure of CONNECTION_SUBGRAPH 2023-03-03 14:07:17 -08:00
schematic.h ADDED operating point text variables for labels and symbols. 2023-02-11 21:11:07 +00:00
schematic.keywords Move schematic symbol instance data back into symbol definition. 2022-10-02 15:06:42 -04:00
schematic_settings.cpp Don't display OP overlay when we have no data. 2023-02-13 18:08:53 +00:00
schematic_settings.h ADDED power dissipation plotting and cursors. 2023-02-11 21:11:07 +00:00
schematic_undo_redo.cpp Remove schematic symbol value and footprint field instance data. 2022-11-30 11:47:13 -05:00
sheet.cpp Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere 2023-02-18 22:57:18 -05:00
symbol_async_loader.cpp Infobar warning if symbol loading was cancelled. 2022-02-27 17:06:08 +00:00
symbol_async_loader.h Infobar warning if symbol loading was cancelled. 2022-02-27 17:06:08 +00:00
symbol_checker.cpp Power Symbols: drop requirement for invisible pins 2023-02-22 18:01:47 +00:00
symbol_lib_table.cpp PCM: auto reload global libs after dialog is run 2023-02-17 17:24:32 +00:00
symbol_lib_table.h DbLib: Load source symbol in editor when edit action is taken 2023-01-19 22:45:46 -05:00
symbol_library.cpp Fix issue converting legacy SPICE models. 2022-12-14 13:36:28 +00:00
symbol_library.h Fix a collision name with a windows header (msys2) 2022-12-09 09:36:58 +01:00
symbol_library_common.h ADDED: Export symbols from schematic to library 2022-09-23 21:23:01 -04:00
symbol_library_manager.cpp Exclude database libraries from the symbol library editor 2023-01-22 20:49:41 -05:00
symbol_library_manager.h Fix missing virtual dtor 2022-09-23 21:44:15 -04:00
symbol_tree_model_adapter.cpp Turn on and fix MSVC compliance mode issues 2023-02-12 16:30:37 -05:00
symbol_tree_model_adapter.h Add pin/unpin context menu to Symbol Chooser and Footprint Chooser. 2022-09-21 14:45:12 +01:00
symbol_tree_synchronizing_adapter.cpp Handle custom columns in symbol tree synchronizing adapter 2023-02-14 18:26:29 -05:00
symbol_tree_synchronizing_adapter.h Add pin/unpin context menu to Symbol Chooser and Footprint Chooser. 2022-09-21 14:45:12 +01:00
symbol_viewer_frame.cpp UI: Add Numpad Enter as "Return" equivalent in missing places 2023-03-10 16:25:17 -05:00
symbol_viewer_frame.h PCM: auto reload global libs after dialog is run 2023-02-17 17:24:32 +00:00
toolbars_sch_editor.cpp Move simulator to tool framework. 2023-02-11 21:11:07 +00:00
toolbars_symbol_viewer.cpp Never call ReCreateMenuBar inside a menu event handler 2022-12-16 16:37:51 -05:00