kicad/eeschema/tools
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
..
assign_footprints.cpp
backannotate.cpp Power Symbols: rename IsPowerConnection to IsGlobalPower 2023-02-22 18:01:47 +00:00
backannotate.h
ee_actions.cpp Correct usage of elipses after menu items. 2023-03-10 21:33:06 +00:00
ee_actions.h Graphical diff for schematic vs library symbols. 2023-03-09 18:04:52 +00:00
ee_grid_helper.cpp
ee_grid_helper.h
ee_inspection_tool.cpp Fix mode-less dialog issues. 2023-03-13 12:04:01 -04:00
ee_inspection_tool.h Fix mode-less dialog issues. 2023-03-13 12:04:01 -04:00
ee_point_editor.cpp
ee_point_editor.h
ee_selection.cpp
ee_selection.h
ee_selection_tool.cpp
ee_selection_tool.h
ee_tool_base.h
sch_drawing_tools.cpp
sch_drawing_tools.h
sch_edit_tool.cpp
sch_edit_tool.h
sch_editor_conditions.cpp
sch_editor_conditions.h
sch_editor_control.cpp Exercise more caution with user filenames. 2023-03-12 15:52:45 +00:00
sch_editor_control.h
sch_find_replace_tool.cpp Handle de-highlighting items outside selection when selection changes. 2023-02-24 12:44:55 +00:00
sch_find_replace_tool.h
sch_line_wire_bus_tool.cpp
sch_line_wire_bus_tool.h
sch_move_tool.cpp Coverity fixes and code cleaning. 2023-03-06 07:12:18 -05:00
sch_move_tool.h
sch_navigate_tool.cpp Remove extra canvas redraws when changing sheets. 2023-03-05 04:33:07 +03:00
sch_navigate_tool.h
simulator_control.cpp A better solution to keep SPICE netlist from being entirely selected. 2023-03-06 18:46:01 +00:00
simulator_control.h Naming conventions and commenting. No functional changes. 2023-03-04 00:10:01 +00:00
symbol_editor_control.cpp
symbol_editor_control.h
symbol_editor_drawing_tools.cpp
symbol_editor_drawing_tools.h
symbol_editor_edit_tool.cpp
symbol_editor_edit_tool.h
symbol_editor_move_tool.cpp
symbol_editor_move_tool.h
symbol_editor_pin_tool.cpp
symbol_editor_pin_tool.h