kicad/include
Seth Hillbrand f950d96324 Prevent dereferencing frame on exit
Processing a menu event for quitting results in the frame being
destroyed.  This crashes the program when it tries to access the newly
freed frame to check for autosave data.  We bind the closing flag into
the base program which will be the last item freed on exit to ensure we
can correctly check for data loss

Fixes https://gitlab.com/kicad/code/kicad/issues/8638
2021-11-15 10:07:28 -08:00
..
bitmaps We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
core Replace individual LIB_* shapes with LIB_SHAPE (based on EDA_SHAPE). 2021-10-15 12:45:43 +01:00
dialogs Remove unused m_host variable 2021-10-18 00:29:40 +01:00
drawing_sheet Normalize drawing sheet path to env vars & prj, not just prj. 2021-10-02 23:39:45 +01:00
gal Convert mouse coordinates to native pixesl in the 3D viewer 2021-10-10 17:52:12 +01:00
kicad_curl Code cleaning. 2021-09-07 15:18:42 -04:00
libeval Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00
libeval_compiler libeval_compiler: thou shalt not return pointers to std::vector members! (fixes an use-after-free crash in complex rule evaluation invoked by the router) 2021-10-29 16:48:36 +02:00
plotters Replace individual LIB_* shapes with LIB_SHAPE (based on EDA_SHAPE). 2021-10-15 12:45:43 +01:00
plugins Get rid of anonymous struct typedefs 2021-07-01 18:28:41 -04:00
preview_items Push most of PCB_SHAPE impl down in to EDA_SHAPE. 2021-10-15 12:45:43 +01:00
project Update kicad_prl file when doing a SaveAs. 2021-11-09 17:25:18 +00:00
settings Another round of beautification changes for PCM. 2021-11-14 13:11:19 +00:00
tool Do not include text when computing drag origin for a group 2021-11-14 11:54:04 -05:00
view Cleanup. 2021-10-03 19:42:29 +01:00
widgets More discrete borders for Kicad mgr, PCM and appearances panels. 2021-11-14 15:01:44 +00:00
advanced_config.h Move zone fracture display mode to AdvancedCfg, and add triangulation. 2021-07-26 18:57:35 +01:00
array_axis.h Pcbnew: add a step field to the array tool 2019-05-16 11:20:52 +01:00
array_options.h Coverity issue fix. 2021-10-29 10:43:40 -04:00
asset_archive.h Get rid of anonymous struct typedefs 2021-07-01 18:28:41 -04:00
base64.h Plot SVG embedded 2019-12-08 08:57:33 -08:00
base_screen.h Remove unused m_crossHairPosition 2021-06-15 21:25:27 -04:00
base_units.h Move inline function declaration to allow removing include 2021-06-01 19:03:22 -04:00
basic_gal.h Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00
bin_mod.h Include optimization: move some things from common.h to point-of-use 2021-03-20 12:09:18 -04:00
bitmap_base.h Pass COLOR4D object by reference instead of on the stack. 2021-07-26 13:28:56 -04:00
bitmap_store.h Add support mode for dark mode to SCINTILLA_TRICKS. 2021-09-14 00:18:50 +01:00
bitmaps.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
board_design_settings.h Move to getters/setters for aux and grid origin 2021-11-08 22:36:40 -05:00
board_item.h Push most of PCB_SHAPE impl down in to EDA_SHAPE. 2021-10-15 12:45:43 +01:00
board_printout.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
build_version.h Avoid calling deprecated wxPlatformInfo::GetArchName() in more than one place. 2021-11-13 09:52:08 +01:00
class_draw_panel_gal.h Start expunging NULL. 2021-07-15 15:44:45 -04:00
collector.h Proper numeric sorting for intersheet refs. 2021-10-01 18:29:21 +01:00
commit.h Suppress leaking eda_item so much via undo_redo_container.h 2021-06-08 19:12:30 -04:00
common.h Use individual parameter version of wxExecute. 2021-09-26 15:03:06 +01:00
config_map.h Fix a few doxygen warnings 2017-06-20 10:47:30 +02:00
config_params.h Header clean up round 1. 2020-12-18 09:04:26 -05:00
confirm.h Overhaul file locking system. 2021-08-31 15:04:31 +01:00
convert_to_biu.h Fix typo initializing buswidth with linewidth value. 2021-08-01 19:33:19 +01:00
dialog_shim.h Add unsaved-changes indication to Symbol Properties. 2021-10-25 12:35:04 +01:00
dsnlexer.h pcb parser: ensure the parser is reinitialized before parsing a new fp file 2021-08-26 19:38:20 +02:00
eda_base_frame.h Eeschema: fix broken auto save feature. 2021-10-13 14:51:00 -04:00
eda_dde.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
eda_doc.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
eda_draw_frame.h Add status bar message for constraint mode. 2021-10-24 14:04:12 +01:00
eda_item.h Rewrite text find/change routines to support word matching. 2021-11-05 13:37:37 +00:00
eda_item_flags.h Add missing cstdint include 2021-06-08 19:51:35 -04:00
eda_list_dialog.h Freshen microwave polygon dialog and remove a bunch of dead code. 2021-08-03 01:11:11 +01:00
eda_pattern_match.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
eda_rect.h Pass VECTOR2I objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
eda_shape.h Patch up arc hit-testing and printing for 6.0 2021-10-30 15:10:07 +01:00
eda_text.h Improve text hittesting in schematics. 2021-11-01 21:13:12 +00:00
eda_units.h Split EDA_UNITS out from common. 2020-10-25 00:02:52 -04:00
enum_vector.h Comment-only changes 2020-01-10 16:43:01 -08:00
env_paths.h Normalize drawing sheet path to env vars & prj, not just prj. 2021-10-02 23:39:45 +01:00
env_vars.h Namespace the env_vars.h functions 2021-06-27 00:38:19 -04:00
executable_names.h Move executable name constants to own file 2017-03-23 09:23:45 -04:00
filehistory.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
filename_resolver.h Fully resolve path list for Kicad2Step. 2021-08-14 11:21:25 +01:00
filter_reader.h Cleanup wx includes in the filter reader 2021-06-04 01:26:58 +01:00
footprint_editor_settings.h Add missing view controls for FP Editor Appearance Manager. 2021-10-31 16:33:03 +00:00
footprint_filter.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
footprint_info.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
fp_lib_table.h Fp editor: do not change item UUIDs when loading a footprint from library. 2021-03-30 12:58:22 +02:00
frame_type.h Working python window 2021-06-01 20:18:24 +00:00
gbr_metadata.h Header clean up round 2. 2020-12-19 13:55:28 -05:00
gbr_netlist_metadata.h Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00
gestfich.h Remove printing files from Project Manager 2021-11-12 20:18:32 +00:00
gl_context_mgr.h Fix broken Doxygen comment specifiers. 2021-01-25 07:42:36 -05:00
gl_utils.h Don't set adaptive swapping over SSH 2021-11-05 09:06:22 -07:00
gr_basic.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
gr_text.h Pass VECTOR2I objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
grid_tricks.h Add a column showing 3D model file loading errors 2021-07-28 16:42:22 +01:00
hash_eda.h Fix broken Doxygen comment specifiers. 2021-01-25 07:42:36 -05:00
hashtables.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
hotkey_store.h Add Quit and Close to the HotKeys list. 2021-05-11 23:25:13 +01:00
hotkeys_basic.h Expunge EDA_FILE_SELECTOR. 2021-07-28 14:12:51 -04:00
html_window.h Substitute all wxHtmlWindow with HTML_WINDOW 2021-10-12 07:07:15 +00:00
i18n_utility.h Try to fix a compil issue on OSX (no viable conversion from 'const wxString' to 'const wxChar *', in colors.cpp) 2016-05-17 09:10:15 +02:00
id.h Add swedish as option for translators 2021-11-08 11:41:14 -08:00
ignore.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
import_export.h Use _WIN32 instead of __MINGW32__ in 2 conditional compilations which are Windows specific, not especially mingw32 specific. 2016-03-01 16:55:44 +01:00
inspectable.h Coverity issue fixes. 2021-06-30 18:08:49 -04:00
intrusive_list.h Fix broken Doxygen comment specifiers. 2021-01-25 07:42:36 -05:00
ki_exception.h Fix source comment/doc typos (follow-up) 2021-07-13 10:48:17 +00:00
kiface_base.h KIFACE_I -> KIFACE_BASE. 2021-09-14 23:45:14 +01:00
kiface_ids.h Centralizing SCRIPTING class 2021-06-01 20:18:24 +00:00
kiid.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_express.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_holder.h KIWAY_HOLDER doesnt need wx/frame.h 2021-06-03 18:59:11 -04:00
kiway_mgr.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_player.h KIFACE_I -> KIFACE_BASE. 2021-09-14 23:45:14 +01:00
launch_ext.h Fix opening files with spaces on Linux 2021-11-07 14:31:14 +00:00
layer_ids.h Clean up removal of separate front & back footprint text visibility. 2021-10-22 21:14:15 +01:00
lib_id.h Remove long-dead revision support for LIB_IDs. 2021-06-30 13:12:57 +01:00
lib_table_base.h Fix source comment/doc typos (follow-up) 2021-07-13 10:48:17 +00:00
lib_table_grid.h Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
lib_tree_item.h Evict some more eda_item.h includes 2021-06-08 19:12:29 -04:00
lib_tree_model.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
lib_tree_model_adapter.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
locale_io.h Move LOCALE_IO out of common.h 2020-10-23 21:49:42 -04:00
lockfile.h Header clean up round 3. 2020-12-19 18:29:10 -05:00
logging.h Header clean up round 3. 2020-12-19 18:29:10 -05:00
macros.h Overhaul arc internal model to not over-specify information. 2021-10-15 12:45:43 +01:00
macros_swig.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
mail_type.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
marker_base.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
menus_helpers.h Remove transitive inclusion of bitmaps.h 2021-03-07 16:08:57 -05:00
multivector.h Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
netclass.h Return new string to avoid losing the reference 2021-08-22 16:56:41 -07:00
newstroke_font.h Fix incorrect (too small) bounding box EDA_TEXT, noticeable when chars like j or { are used in zone fill functions. 2016-03-11 13:08:34 +01:00
observable.h Header clean up round 3. 2020-12-19 18:29:10 -05:00
origin_transforms.h Header clean up round 3. 2020-12-19 18:29:10 -05:00
origin_viewitem.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
outline_mode.h python wrap: fix undefined FILLED/SKETCH constants in pcbnew.py 2020-10-21 13:23:06 +02:00
pad_shapes.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
page_info.h Don't restrict page sizes unnecessarily. 2021-07-29 16:47:45 +01:00
painter.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
panel_hotkeys_editor.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
panel_text_variables.h Variable substitution framework. 2020-03-30 14:15:59 +01:00
paths.h Add KICAD6_3RD_PARTY env variable 2021-08-27 21:11:47 +00:00
pcb_base_frame.h Don't scroll to highlight an object already visible. 2021-09-25 15:31:52 +01:00
pcb_display_options.h Impleent persistence for no-connect pad setting. 2021-09-01 00:00:12 +01:00
pcb_group.h Lock/unlock group members when locking/unlocking group. 2021-09-27 11:29:52 +01:00
pcb_screen.h Header clean up round 3. 2020-12-19 18:29:10 -05:00
pgm_base.h Prevent dereferencing frame on exit 2021-11-15 10:07:28 -08:00
printout.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
profile.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
progress_reporter.h Decouple PROGRESS_REPORTER interface from implementations. 2021-08-14 21:05:49 +01:00
project.h Expunge the use of the word part from Eeschema code. 2021-06-15 08:32:11 -04:00
properties.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
property.h common: add PROPERTY::IsValueDefined() 2021-05-03 23:45:54 +02:00
property_mgr.h Include optimization: move some things from common.h to point-of-use 2021-03-20 12:09:18 -04:00
ptree.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
rc_item.h Work around EnsureVisible bug in wxWidgets during DRC cross-probe. 2021-10-06 11:17:03 +01:00
refdes_utils.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
render_settings.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
reporter.h Remove all wxWidgets build dependencies from REPORTER object header. 2021-08-16 07:49:39 -04:00
richio.h File open/import progress dialogs. 2021-06-23 23:55:54 +01:00
scintilla_tricks.h Add support mode for dark mode to SCINTILLA_TRICKS. 2021-09-14 00:18:50 +01:00
scoped_set_reset.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
search_stack.h Fix broken search stack behavior. 2021-11-13 07:52:25 -05:00
status_popup.h Fix broken Doxygen comment specifiers. 2021-01-25 07:42:36 -05:00
streamwrapper.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
string_utils.h Exclude formatting chars from text width approximation. 2021-09-04 22:09:32 +01:00
sync_queue.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
systemdirsappend.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
template_fieldnames.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
textentry_tricks.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
title_block.h Fix issue with predefined variable texts ${COMMENT0} to ${COMMENT9} 2021-02-21 18:29:14 +01:00
trace_helpers.h Add logging of the functions used in the coroutine implemntation 2021-04-16 17:49:52 +01:00
undo_redo_container.h Fix compil warnings (UNDO_REDO::GROUP renamed to UNDO_REDO::REGROUP to fix 2021-08-28 11:44:01 +02:00
utf8.h Start expunging NULL. 2021-07-15 15:44:45 -04:00
validators.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
wildcards_and_files_ext.h Expunge EDA_FILE_SELECTOR. 2021-07-28 14:12:51 -04:00
wx_filename.h Add utility method to resolve symlinks 2021-06-07 20:59:59 +00:00
wxdataviewctrl_helpers.h Move wxDataViewCtrl manipulators out of dialog_choose_component.cpp 2017-03-30 21:47:14 -04:00
wxstream_helper.h Use heap instead of stack for CopyStreamData 2021-11-10 22:05:44 -05:00
xnode.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
zoom_defines.h Increase maximum zoom for pcbnew and gerbview 2021-06-11 14:26:38 -07:00