kicad/common
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
..
database Coverity fixes and code cleaning. 2023-03-02 09:04:47 -05:00
dialog_about Fix symbol contributor link 2023-02-20 19:44:37 +00:00
dialogs Fix mode-less dialog issues. 2023-03-13 12:04:01 -04:00
drawing_sheet Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere 2023-02-18 22:57:18 -05:00
font Improve sheet rendering performance 2023-03-05 17:41:46 -05:00
gal Improve HiDPI handling of appearance/layer controls 2023-02-22 09:20:36 -05:00
jobs Step exporter fixes and enhancements: 2023-03-05 12:55:15 +01:00
kicad_curl CURLINFO_SIZE_DOWNLOAD_T is a enum entry, use the version check instead 2023-02-14 23:44:46 -05:00
libeval If we don't recognize a var then it's an error, not 0.0. 2022-12-27 13:50:44 +00:00
libeval_compiler Coverity fixes and code cleaning. 2023-03-04 13:02:05 -05:00
plotters Correct alpha blending in PDF plot 2023-03-10 09:00:12 -08:00
plugins Fix CADSTAR importer memory leaks 2023-02-27 23:57:39 +01:00
preview_items Clear loop points when resetting polygon/zone draw. 2022-12-15 19:02:22 +03:00
project Improve cache performance. 2023-03-06 17:18:01 +00:00
properties Enable properties panel in footprint editor 2023-02-17 20:35:56 -05:00
settings Use constants for the names of the built-in colors 2023-03-07 10:34:42 +00:00
swig Add vector3 to swig 2023-03-05 15:59:22 -08:00
tool Remove WX_COMPATIBILITY flag 2023-02-22 01:44:06 +00:00
view Fix uninitialized variable. 2023-03-12 12:56:12 +00:00
widgets Fix mode-less dialog issues. 2023-03-13 12:04:01 -04:00
CMakeLists.txt Fix boost dependencies 2023-03-11 13:29:45 +00:00
advanced_config.cpp wxS more things 2023-01-22 09:41:42 -05:00
array_axis.cpp Some more wxS 2023-01-15 21:32:23 -05:00
array_options.cpp More EDA_ANGLE changes. 2022-01-14 16:08:19 +00:00
asset_archive.cpp Some more wxS 2023-01-16 19:07:50 -05:00
base64.cpp
base_screen.cpp Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere 2023-02-18 22:57:18 -05:00
bin_mod.cpp Include optimization: move some things from common.h to point-of-use 2021-03-20 12:09:18 -04:00
bitmap.cpp Improve HiDPI handling of appearance/layer controls 2023-02-22 09:20:36 -05:00
bitmap_base.cpp Fix handling of PPI when loading embedded images 2023-02-14 19:42:06 -05:00
bitmap_info.cpp Move simulator to tool framework. 2023-02-11 21:11:07 +00:00
bitmap_store.cpp Utilize our combine_hash routine for multiple hash 2022-08-26 08:45:13 -07:00
board_printout.cpp Pcb printing: fix incorrect pos. of the board when printed without worksheet. 2023-02-08 11:05:31 +01:00
build_version.cpp Add some missing wxS wraps 2023-01-15 20:24:29 -05:00
callback_gal.cpp Remove convert_to_biu.h, merge contents to base_units.h 2022-09-16 21:09:28 -04:00
commit.cpp More tightening of group parent lifecycles. 2022-11-16 00:42:38 +00:00
common.cpp Exercise more caution with user filenames. 2023-03-12 15:52:45 +00:00
config_params.cpp Fix some warnings detected by PVS-STUDIO (most are not used vars) 2022-07-25 18:23:52 +02:00
confirm.cpp Use wxMessageDialog in IsOK() on GTK builds. 2023-01-19 08:28:48 -05:00
dialog_shim.cpp UI: Add Numpad Enter as "Return" equivalent in missing places 2023-03-10 16:25:17 -05:00
draw_panel_gal.cpp Graphical diff for board vs library footprints. 2023-03-10 17:16:40 +00:00
drc_rules.keywords Move connection width testing to rule system. 2022-08-01 13:09:51 +01:00
dsnlexer.cpp Suppress signedness warning 2022-11-03 15:08:45 -07:00
eda_base_frame.cpp Fix mode-less dialog issues. 2023-03-13 12:04:01 -04:00
eda_dde.cpp Fix comment placement 2022-09-28 21:19:19 -04:00
eda_doc.cpp Fix eda_doc not looking for schematic locally 2022-05-10 21:28:48 -04:00
eda_draw_frame.cpp Fix mode-less dialog issues. 2023-03-13 12:04:01 -04:00
eda_item.cpp Drawing improvements for symbol & footprint diffs. 2023-03-11 12:45:16 +00:00
eda_pattern_match.cpp Remove uses of climits header/defines 2023-03-10 17:08:56 +00:00
eda_shape.cpp Fix some PCB_SHAPE properties 2023-02-23 20:23:44 -05:00
eda_text.cpp Add Property Inspector support for dimension objects. 2023-03-04 23:16:46 +00:00
eda_tools.cpp Fix shadowed definition of EAGLE constant 2022-09-24 01:37:57 +01:00
eda_units.cpp When importing legacy PCB dimension: Use automatic dimension when Unit couldn't be determined 2023-02-28 11:59:47 +00:00
env_paths.cpp More wxS ugh 2023-01-17 07:43:04 -05:00
env_vars.cpp Update KICAD6->KICAD7 2023-01-23 22:21:12 +00:00
eseries.cpp Calculator eseries, remove trailing spaces from 3R and 4R 2023-01-16 17:18:21 +00:00
exceptions.cpp More wxS ugh 2023-01-17 07:43:04 -05:00
executable_names.cpp wxS more things 2023-01-22 09:41:42 -05:00
file_history.cpp Class name <-> file name sync. 2022-12-29 18:05:57 +00:00
filename_resolver.cpp Update KICAD6->KICAD7 2023-01-23 22:21:12 +00:00
filter_reader.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
footprint_filter.cpp Some more wxS 2023-01-16 19:07:50 -05:00
footprint_info.cpp Some more wxS 2023-01-16 19:07:50 -05:00
fp_lib_table.cpp PCM: auto reload global libs after dialog is run 2023-02-17 17:24:32 +00:00
gbr_metadata.cpp Some more wxS 2023-01-16 19:07:50 -05:00
gestfich.cpp Revert "cmake: adding KICAD_MACOSX_APP_BUNDLE option" 2022-01-31 15:57:56 -08:00
getrunningmicrosecs.cpp
gl_context_mgr.cpp wxS more things 2023-01-22 09:41:42 -05:00
gr_basic.cpp Fix my commit d07738a06c. 2023-02-25 19:06:46 +01:00
gr_text.cpp ADDED operating point overlay for SCH_EDIT_FRAME. 2023-02-11 21:11:07 +00:00
grid_tricks.cpp UI: Add Numpad Enter as "Return" equivalent in missing places 2023-03-10 16:25:17 -05:00
hash_eda.cpp Utilize our combine_hash routine for multiple hash 2022-08-26 08:45:13 -07:00
hotkey_store.cpp Gerber Viewer: gerbview -> Gerber Viewer in Settings 2022-07-26 18:42:55 +00:00
hotkeys_basic.cpp Some more wxS 2023-01-16 19:07:50 -05:00
html_window.cpp Formatting. 2021-10-15 12:45:43 +01:00
kiface_base.cpp Fix paths for Copy default global library table. 2023-01-27 09:24:52 +03:00
kiid.cpp Sheet instance handling improvements. 2022-12-26 08:30:03 -05:00
kiway.cpp Revert "Try to handle fetching the player frame slightly safely" 2023-01-24 06:54:10 -05:00
kiway_express.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_holder.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_player.cpp Remove unused m_sockets 2023-02-19 23:49:43 -05:00
languages_menu.cpp Cleanup some pgm_base.h includes 2021-06-08 21:56:00 -04:00
launch_ext.cpp Fix opening files with spaces on Linux 2021-11-07 14:31:14 +00:00
layer_id.cpp ADDED operating point overlay for SCH_EDIT_FRAME. 2023-02-11 21:11:07 +00:00
lib_id.cpp Turn on and fix MSVC compliance mode issues 2023-02-12 16:30:37 -05:00
lib_table.keywords Add versioning to lib tables 2023-01-23 22:21:12 +00:00
lib_table_base.cpp Fix the shared_lock added and micro-opt the reindex 2023-02-18 11:28:19 -05:00
lib_table_grid_tricks.cpp ADDED operating point text variables for labels and symbols. 2023-02-11 21:11:07 +00:00
lib_tree_model.cpp Make LIB_TREE_NODE sort irreflexive 2023-02-16 13:00:18 -08:00
lib_tree_model_adapter.cpp Support showing Value field in symbol chooser 2023-01-19 22:14:10 -05:00
locale_io.cpp Fix various typos 2022-07-21 16:31:41 +00:00
lockfile.cpp Formatting. 2022-10-16 18:39:37 +01:00
lset.cpp Treat internal copper layers as side-specific. 2022-10-25 12:08:57 +01:00
marker_base.cpp Remove a few EDA_RECT instances. 2022-08-31 01:22:49 +01:00
markup_parser.cpp Improve sheet rendering performance 2023-03-05 17:41:46 -05:00
netclass.cpp pcbnew: Change some of the default settings in board setup and netclasses 2023-01-29 23:20:40 +00:00
netlist.keywords Transmit pin electrical types through to pads. 2021-01-23 00:10:01 +00:00
newstroke_font.cpp Add "Letter-like character" Omega for Unicode x2126 2022-10-01 16:39:00 -07:00
observable.cpp Add const specifiers 2020-11-18 19:50:36 +00:00
origin_transforms.cpp Add more consts all over the place 2020-10-27 11:03:35 +00:00
origin_viewitem.cpp More EDA_RECE yeetage. 2022-08-31 17:19:50 +01:00
page_info.cpp Fix a compil issue with gcc12.2 and Coverity warnings. 2023-02-21 11:54:38 +01:00
painter.cpp Only apply B&W printer fixes when printing. 2021-02-02 15:37:30 +00:00
paths.cpp Get 3d plugins working for running from build dir 2022-09-08 21:49:10 -04:00
pcb.keywords Overhaul of remove-unconnected's zone filling and drawing strategies. 2022-10-18 13:05:42 +01:00
pcb_plot_params.keywords Pcbnew: add plot on all layers feature. 2022-04-02 14:33:40 -04:00
pgm_base.cpp Fix compatibility with wxWidgetsversion < 3.1.6 2023-02-22 10:05:37 +01:00
printout.cpp
project.cpp wxS more things 2023-01-22 09:41:42 -05:00
ptree.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
rc_item.cpp Rename GetSelectMenuText to GetItemDescription 2023-01-11 22:27:44 -05:00
refdes_utils.cpp More wxS ugh 2023-01-17 07:43:04 -05:00
render_settings.cpp Move show-bounding-boxes to a tool on the toolbars. 2022-01-17 11:56:40 +00:00
reporter.cpp More wxS ugh 2023-01-17 07:43:04 -05:00
richio.cpp Fix STRING_LINE_READER buffer overflow 2022-12-23 17:25:03 +00:00
scintilla_tricks.cpp UI: Add Numpad Enter as "Return" equivalent in missing places 2023-03-10 16:25:17 -05:00
search_stack.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
searchhelpfilefullpath.cpp Don't use SystemDirsAppend on windows for finding the docs 2023-01-29 20:50:16 -05:00
single_top.cpp Stop treating OpenProjectFiles failure like a fatal error 2023-01-22 22:48:31 -05:00
status_popup.cpp Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere 2023-02-18 22:57:18 -05:00
streamwrapper.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
string_utf8_map.cpp Rename PROPERTIES to STRING_UTF8_MAP for clarity 2022-11-06 11:51:52 -05:00
string_utils.cpp Fix tiny bug in double 2 string formatting 2023-01-21 13:54:52 -05:00
stroke_params.cpp Push UNITS_PROVIDER down into a low-level mixin. 2022-09-19 17:10:59 +01:00
stroke_params.keywords Shapes for schematic. 2021-12-23 20:36:07 +00:00
strtok_r.c
systemdirsappend.cpp Fix paths for Copy default global library table. 2023-01-27 09:24:52 +03:00
template_fieldnames.cpp Improve sheet rendering performance 2023-03-05 17:41:46 -05:00
template_fieldnames.keywords
textentry_tricks.cpp Evict the last bits of wx.h 2021-06-07 20:23:27 -04:00
thread_pool.cpp Debugging aid. 2022-10-20 18:37:48 +01:00
title_block.cpp add CURRENT_DATE to text var autocomplete 2023-02-03 00:10:55 +00:00
trace_helpers.cpp More wxSing 2023-01-16 23:14:38 -05:00
transform.cpp Improve sheet rendering performance 2023-03-05 17:41:46 -05:00
undo_redo_container.cpp More tightening of group parent lifecycles. 2022-11-16 00:42:38 +00:00
utf8.cpp More wxSing 2023-01-16 23:14:38 -05:00
validators.cpp More wxSing 2023-01-16 23:14:38 -05:00
wildcards_and_files_ext.cpp More wxSing 2023-01-16 23:14:38 -05:00
wx_filename.cpp Implement output targeting of symlib/fplib upgrade per request 2022-12-06 21:20:27 -05:00
wx_stl_compat.cpp Blacklist hashes for 2d integer elements 2022-08-26 08:43:37 -07:00
wxdataviewctrl_helpers.cpp Formatting. 2022-10-16 18:39:37 +01:00
xnode.cpp