kicad/pcbnew/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
..
board_editor_control.cpp Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere 2023-02-18 22:57:18 -05:00
board_editor_control.h ADDED: Search/inspect pane 2022-09-14 02:59:57 +00:00
board_inspection_tool.cpp Fix mode-less dialog issues. 2023-03-13 12:04:01 -04:00
board_inspection_tool.h Don't keep smart pointers to wxWindows, particularly modeless ones. 2023-03-11 19:36:01 +00:00
board_reannotate_tool.cpp Cleanup & performance enhancements. 2022-08-01 13:09:51 +01:00
board_reannotate_tool.h Array creator tool: Add option to assign unique reference designators 2021-10-25 22:38:49 +01:00
convert_tool.cpp ADDED: user-specified gap and linewidth for bounding hull creation. 2023-02-12 23:16:45 +00:00
convert_tool.h ADDED: user-specified gap and linewidth for bounding hull creation. 2023-02-12 23:16:45 +00:00
drawing_stackup_table_tool.cpp Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere 2023-02-18 22:57:18 -05:00
drawing_tool.cpp Move automatic dimension processing inside PCB_DIMENSION_BASE. 2023-03-05 15:19:06 +00:00
drawing_tool.h TOOL_EVENT: make command string non-optional 2022-09-19 10:23:09 -04:00
drc_tool.cpp Pointer safety for ERC/DRC dialogs. 2022-08-30 12:07:19 +01:00
drc_tool.h Exclusions for Unconnected Items; Markers & exclusions for Parity checks 2021-12-24 21:10:28 +00:00
edit_tool.cpp Better handling of PCB_BITMAP items in a footprint. 2023-01-31 11:16:38 +01:00
edit_tool.h PCB Editor: make Mirror menu items conditional 2022-12-27 14:18:47 -05:00
edit_tool_move_fct.cpp Turn on and fix MSVC compliance mode issues 2023-02-12 16:30:37 -05:00
footprint_editor_control.cpp Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere 2023-02-18 22:57:18 -05:00
footprint_editor_control.h Enable properties panel in footprint editor 2023-02-17 20:35:56 -05:00
global_edit_tool.cpp More wide-string declarations. 2022-02-05 22:26:31 +00:00
global_edit_tool.h Fix the last of broken Doxygen comment specifiers. 2021-01-27 17:39:44 -05:00
group_tool.cpp Don't add footprint components to PCB group 2023-01-05 15:38:07 -08:00
group_tool.h Fix the last of broken Doxygen comment specifiers. 2021-01-27 17:39:44 -05:00
pad_tool.cpp Don't allow footprint editor pad tools to run outside footprint editor. 2023-03-06 14:43:57 +00:00
pad_tool.h Add pad-recombining to FPEditor's Cleanup Graphics. 2022-09-24 19:34:06 +01:00
pcb_actions.cpp Correct usage of elipses after menu items. 2023-03-10 21:33:06 +00:00
pcb_actions.h Graphical diff for schematic vs library symbols. 2023-03-09 18:04:52 +00:00
pcb_control.cpp Move automatic dimension processing inside PCB_DIMENSION_BASE. 2023-03-05 15:19:06 +00:00
pcb_control.h ADDED: Implement Drag and Drop 2022-09-14 22:28:09 +00:00
pcb_editor_conditions.cpp Remove bad static_cast. 2022-07-24 23:41:41 +01:00
pcb_editor_conditions.h Move 45° limit to hotkey 2021-09-05 13:42:51 -07:00
pcb_grid_helper.cpp Add Property Inspector support for dimension objects. 2023-03-04 23:16:46 +00:00
pcb_grid_helper.h Honour selection filter when picking move anchors. 2022-11-08 16:27:18 +00:00
pcb_picker_tool.cpp Don't allow zone filling during other editing operations. 2022-11-14 23:39:49 +00:00
pcb_picker_tool.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
pcb_point_editor.cpp Add Property Inspector support for dimension objects. 2023-03-04 23:16:46 +00:00
pcb_point_editor.h pcbnew: Support dragging arc center in "Keep endpoints" mode. 2022-12-12 13:00:44 +03:00
pcb_selection.cpp Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
pcb_selection.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
pcb_selection_conditions.cpp PCB Editor: make locking menu items conditional 2022-12-21 10:34:54 -05:00
pcb_selection_conditions.h PCB Editor: make locking menu items conditional 2022-12-21 10:34:54 -05:00
pcb_selection_tool.cpp Coverity fixes and code cleaning. 2023-03-02 09:04:47 -05:00
pcb_selection_tool.h Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere 2023-02-18 22:57:18 -05:00
pcb_tool_base.cpp Don't discard temporary item being placed if placement is rejected 2023-02-11 08:40:33 -05:00
pcb_tool_base.h TOOL_EVENT: make command string non-optional 2022-09-19 10:23:09 -04:00
pcb_viewer_tools.cpp Reduce compiler warnings. 2022-12-13 00:47:19 +00:00
pcb_viewer_tools.h Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
placement_tool.cpp Correctly sort positions for default align 2022-10-14 16:15:06 -07:00
placement_tool.h Some more wxPoint/EDA_RECT yeeting. 2022-08-31 00:44:33 +01:00
position_relative_tool.cpp Don't keep value of user or grid anchors between invocations. 2022-11-17 00:51:52 +00:00
position_relative_tool.h Don't keep value of user or grid anchors between invocations. 2022-11-17 00:51:52 +00:00
properties_tool.cpp Enable properties panel in footprint editor 2023-02-17 20:35:56 -05:00
properties_tool.h WIP: Properties GUI 2022-08-22 21:32:32 -04:00
tool_event_utils.cpp More wide-string declarations. 2022-02-05 22:26:31 +00:00
tool_event_utils.h Move EDA_ANGLE to KiMath lib 2022-01-14 17:12:24 -08:00
zone_create_helper.cpp Remove start pt when collinear with neighboring pts in zone/poly draw. 2022-12-10 06:21:54 +03:00
zone_create_helper.h Choose the first unused priority value for zones 2022-08-25 10:05:30 -07:00
zone_filler_tool.cpp Don't allow quit while zone filler is running. 2023-01-16 16:01:45 +00:00
zone_filler_tool.h Don't allow quit while zone filler is running. 2023-01-16 16:01:45 +00:00