kicad/common
Seth Hillbrand 8af4cf88a0 Fix crash when deleting symbol in GTK
So many things can go wrong with this control in GTK.  We have to
collapse the tree when updating the search string to avoid a crash when
referencing a child object but collapsing the tree will iterate over
elements and crash when we have deleted a symbol.

The temporary fix for this nonsense is to carefully order the calls.
We only need to collapse the search tree if we are not keeping our state
(in other words if we are fully re-building the tree)

Fixes https://gitlab.com/kicad/code/kicad/issues/6910
2021-01-04 09:15:40 -08:00
..
dialog_about Update KiCad Developers copyright year 2021-01-03 06:47:02 +00:00
dialogs Make Configure KiCad Settings Path dialog translatable. 2021-01-04 14:28:05 +02:00
gal Handle special cases for ending overbar text. 2020-12-10 18:38:31 +00:00
kicad_curl Remove all debugging output that cannot be disabled. 2020-08-18 10:17:36 -04:00
libeval Remove "useMils" variable from numeric evaluator 2020-10-03 20:06:56 +00:00
libeval_compiler A rule zone is not really a BOARD_CONNECTED_ITEM. 2020-11-15 20:23:15 +00:00
page_layout Fix type-cast in page_layout_reader.cpp 2020-12-16 10:59:26 +00:00
plotters HPGL_PLOTTER: add missing include 2020-12-19 10:16:42 -07:00
plugins Fix some build warnings in the importer code. 2020-12-30 18:19:43 -05:00
preview_items Adjust text and shadow offsets for flipped view. 2020-12-18 00:30:26 +00:00
project Store zone display mode in project local settings 2020-12-29 17:19:01 -05:00
settings Do not migrate the versioned env variables 2021-01-02 10:47:06 -05:00
swig Split EDA_UNITS out from common. 2020-10-25 00:02:52 -04:00
tool Icons: use common prefix for small 16x16 2021-01-02 23:16:33 +00:00
view PCB_VIEW: Fix a few ASAN issues 2020-12-29 14:58:45 -05:00
widgets Fix crash when deleting symbol in GTK 2021-01-04 09:15:40 -08:00
CMakeLists.txt Fix missing pcbcommon file 2020-12-29 15:26:14 -05:00
advanced_config.cpp Naming conventions. 2020-11-17 16:05:49 +00:00
array_axis.cpp Pcbnew: add a step field to the array tool 2019-05-16 11:20:52 +01:00
array_options.cpp Arrays: isolate axis code in a new class 2019-05-16 11:20:52 +01:00
base64.cpp Plot SVG embedded 2019-12-08 08:57:33 -08:00
base_screen.cpp Naming conventions. 2020-11-17 16:05:49 +00:00
base_units.cpp UNIT_BINDER: better support of DEGREES units (and some fixes). 2020-12-11 16:26:58 +01:00
basic_gal.cpp Replace STROKE_FONT performance fix, this time with correct type. 2020-11-20 11:24:52 +00:00
bin_mod.cpp Move the file history into the frames 2020-05-17 00:12:49 +01:00
bitmap.cpp Allow checkboxes in Windows with/without bitmaps 2020-12-08 16:14:22 -08:00
bitmap_base.cpp Better fix for incorrect page preview in Page Settings when the worksheet contains a bitmap 2020-11-28 10:53:26 +01:00
board_printout.cpp Naming conventions. 2020-11-17 16:05:49 +00:00
build_version.cpp Remove unused variables plus some more fixes from CppCheck 2020-11-19 02:28:47 +00:00
commit.cpp Split base_struct into eda_item and eda_rect 2020-10-13 21:24:50 -04:00
common.cpp Better fix for incorrect page preview in Page Settings when the worksheet contains a bitmap 2020-11-28 10:53:26 +01:00
config_params.cpp Move LOCALE_IO out of common.h 2020-10-23 21:49:42 -04:00
confirm.cpp Save should be disabled only if the file is up-to-date. 2020-12-11 23:58:30 +00:00
cursors.cpp Fix uninitialized variable. 2020-11-21 20:57:36 +00:00
dialog_shim.cpp Use stronger language when talking to wx. 2020-12-06 14:57:26 +00:00
draw_panel_gal.cpp Prevent refresh loops on GTK/MSW 2020-12-19 15:00:18 -05:00
drc_rules.keywords Fixes for hole clearance and hole-to-hole tests. 2020-11-29 23:35:23 +00:00
dsnlexer.cpp Add const specifiers 2020-11-18 19:50:36 +00:00
eda_base_frame.cpp Fix compile error on Linux and MSW. 2020-12-22 21:53:46 +00:00
eda_dde.cpp Avoid include wx/wx.h in many files that do not actually use this include. 2020-10-18 18:21:34 +02:00
eda_doc.cpp Cleanup compiler warnings 2020-12-09 23:13:33 +00:00
eda_draw_frame.cpp Use color theme backgrounds in page previews. 2020-12-23 23:18:38 +00:00
eda_item.cpp Add optional project parameter to PCB plugin load method. 2020-12-18 10:40:51 -05:00
eda_pattern_match.cpp Add missing <algorithm> 2020-11-06 00:37:57 +00:00
eda_rect.cpp Naming conventions. 2020-11-14 18:26:03 +00:00
eda_size_ctrl.cpp Add more consts all over the place 2020-10-27 11:03:35 +00:00
eda_text.cpp Rewrite PCBNew selection disambiguation based on shapes. 2020-11-27 22:03:14 +00:00
eda_units.cpp Split EDA_UNITS out from common. 2020-10-25 00:02:52 -04:00
env_paths.cpp Formatting. 2020-12-13 11:42:03 +00:00
env_vars.cpp Change environmental variables to human-readable 2021-01-01 16:20:35 +00:00
exceptions.cpp Report lexer issues through error reporter. 2020-10-16 12:44:20 +01:00
executable_names.cpp
filehistory.cpp File history (recent opened files): fix incorrect behavior when a filename 2020-08-05 15:48:03 +02:00
filename_resolver.cpp Change environmental variables to human-readable 2021-01-01 16:20:35 +00:00
filter_reader.cpp Cleanup: Replace C-only deprecated headers 2019-12-05 11:03:15 -08:00
footprint_filter.cpp Add group-by-suffix display option in net inspector 2020-11-04 02:49:19 +00:00
footprint_info.cpp Unify LIB_IDs now that both are stored in sexpr files. 2020-12-18 00:30:26 +00:00
fp_lib_table.cpp Change environmental variables to human-readable 2021-01-01 16:20:35 +00:00
gbr_metadata.cpp Add const specifiers 2020-11-18 19:50:36 +00:00
gestfich.cpp Don't search hardcoded (and never valid on non-english) Windows paths 2020-11-18 19:22:00 -05:00
getrunningmicrosecs.cpp Cleanup: Replace C-only deprecated headers 2019-12-05 11:03:15 -08:00
gl_context_mgr.cpp Dealing with inconsistent wxGLCanvas::IsDisplaySupported() 2018-06-11 12:26:59 +02:00
gr_basic.cpp Split base_struct into eda_item and eda_rect 2020-10-13 21:24:50 -04:00
gr_text.cpp More module -> footprint. 2020-11-13 15:16:24 +00:00
grid_tricks.cpp Fix localization of the menu strings with accelerator strings 2020-11-04 01:31:52 +00:00
hash_eda.cpp First-class support for filled shapes. 2020-11-14 01:40:32 +00:00
hotkey_store.cpp Preferences: Detect conflict assigning hotkeys already assigned in common 2020-12-19 22:29:38 +00:00
hotkeys_basic.cpp Header clean up round 2. 2020-12-19 13:55:28 -05:00
kiface_i.cpp Move default model location to 3dmodels 2020-10-15 16:55:51 +00:00
kiid.cpp Don't require keepout zones to be named. 2020-10-25 21:08:09 +00:00
kiway.cpp Cleanup compiler warnings 2020-11-25 00:08:09 +00:00
kiway_express.cpp Support synchronous messaging over KIWAY EXPRESS. 2019-04-08 13:26:09 +01:00
kiway_holder.cpp Replace EESchema DLIST 2020-01-10 06:37:08 -08:00
kiway_player.cpp Save file / window states for kicad project locally 2020-08-24 02:01:14 +00:00
languages_menu.cpp more cleanup about removing useless include 2020-10-02 08:58:19 +02:00
launch_ext.cpp Fix not working LaunchExternal() on Linux on wxWidgets 3.1.4 2020-12-29 10:29:54 +01:00
layer_id.cpp "Sheet label" too confusing w/ sheet names and fields. Use "sheet pin". 2020-12-13 22:43:09 +00:00
lib_id.cpp Unify LIB_IDs now that both are stored in sexpr files. 2020-12-18 00:30:26 +00:00
lib_table.keywords
lib_table_base.cpp Unify LIB_IDs now that both are stored in sexpr files. 2020-12-18 00:30:26 +00:00
lib_tree_model.cpp Fix access into empty container. 2020-12-24 19:43:33 +00:00
lib_tree_model_adapter.cpp Fix crash when deleting symbol in GTK 2021-01-04 09:15:40 -08:00
locale_io.cpp Move LOCALE_IO out of common.h 2020-10-23 21:49:42 -04:00
lockfile.cpp Fix formatting error 2020-09-15 10:55:31 -07:00
lset.cpp Split out arrayDim and MIRROR templates from macros.h 2020-11-17 20:21:04 -05:00
marker_base.cpp Split out arrayDim and MIRROR templates from macros.h 2020-11-17 20:21:04 -05:00
netclass.cpp Split EDA_UNITS out from common. 2020-10-25 00:02:52 -04:00
netlist.keywords ADDED properties passed between eescema and pcbnew. 2020-08-08 22:49:04 +01:00
newstroke_font.cpp Add halfwidth and fullwidth forms to stroke font 2020-12-23 16:43:39 +00: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 Keep snap line alignment before new snaps 2020-09-11 14:22:41 -07:00
page_info.cpp Eeschema : Add A5 sheet size 2020-07-21 00:00:36 +00:00
painter.cpp Remove a bunch of globals. 2020-04-16 17:34:46 +01:00
pcb.keywords Implement free vias fully 2020-12-20 16:29:50 -05:00
pcb_plot_params.keywords Save DXF plot params to file and remove some dead code. 2021-01-03 14:22:25 +00:00
pgm_base.cpp Change environmental variables to human-readable 2021-01-01 16:20:35 +00:00
printout.cpp Implement a new settings framework across all of KiCad 2020-02-19 23:44:56 -05:00
project.cpp Split out arrayDim and MIRROR templates from macros.h 2020-11-17 20:21:04 -05:00
properties.cpp
property_mgr.cpp Hook libeval compiler up to rule parser 2020-07-20 22:11:53 +01:00
ptree.cpp Add const specifiers 2020-11-18 19:50:36 +00:00
rc_item.cpp Fix some compiler and Coverity warnings 2020-12-17 00:30:22 +00:00
refdes_utils.cpp Netnames are case sensitive. 2020-11-23 01:10:08 +00:00
render_settings.cpp Clean up terminology around active & high contrast layers. 2020-10-03 22:55:34 +01:00
reporter.cpp Better board-edge error reporting. 2020-08-17 23:55:31 +01:00
richio.cpp Adjust ruler text on non-HDPI displays. 2020-10-01 14:35:30 +01:00
scintilla_tricks.cpp Fix missing include (linux). 2020-10-19 10:25:55 +02:00
search_stack.cpp Make search stack path_seps correct for msvc 2021-01-01 02:18:32 +00:00
searchhelpfilefullpath.cpp Minor code cleanup, step3: remove more useless include. 2020-10-01 18:28:12 +02:00
single_top.cpp Minor fixes. In stand alone show the frame as soon as possible. 2020-12-21 17:44:10 +01:00
status_popup.cpp Add some missing headers required on wx3.0 at least 2020-10-18 12:45:41 -04:00
streamwrapper.cpp Replace WIN32 preprocessor symbol by the official symbol _WIN32, used almost everywhere 2018-10-20 09:22:24 +02:00
string.cpp Escape PCB text 2020-12-31 17:17:27 -08:00
strtok_r.c
systemdirsappend.cpp Fix sysdirsappend for msvc 2021-01-01 02:21:23 +00:00
template_fieldnames.cpp Mostly formatting cleanup but a few type-casting cleanups too. 2020-11-24 22:16:41 +00:00
template_fieldnames.keywords Variable substitution framework. 2020-03-30 14:15:59 +01:00
textentry_tricks.cpp more cleanup about removing useless include 2020-10-02 19:56:10 +02:00
title_block.cpp Refactor common QA components to create a single common library 2020-07-18 16:21:15 +01:00
trace_helpers.cpp Fix Python environment variable handling 2020-08-12 00:14:19 +01:00
undo_redo_container.cpp Split base_struct into eda_item and eda_rect 2020-10-13 21:24:50 -04:00
utf8.cpp Many callers of uni_forward are not expecting an exception. 2020-01-13 15:40:32 +00:00
validators.cpp Unify LIB_IDs now that both are stored in sexpr files. 2020-12-18 00:30:26 +00:00
wildcards_and_files_ext.cpp Common: Typo in file extension description 2020-12-28 15:33:26 +00:00
wx_filename.cpp Split wx_filename out of common 2020-10-25 20:01:13 -04:00
wxdataviewctrl_helpers.cpp
xnode.cpp Escape slashes in labels and netnames. 2019-04-07 00:24:10 +01:00