7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-24 08:33:32 +00:00
kicad/pcbnew
Lucas Dumont 3ddaa24775 Change deleting for-range loop to while loop
It seem that the iterator may be invalidated in the loop.
By always taking the first element and looping until empty, we avoid the issue

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20283
2025-03-09 19:34:13 -07:00
..
api Switch to operator= for item updates 2025-03-04 21:12:21 -05:00
autorouter FP_LIB_TABLE_ROW::LibraryExists(): ensure environment variables are expanded 2025-01-31 09:14:42 +01:00
board_stackup_manager Pcbnew: fix bad layer maths in stackup dialog 2025-02-06 13:00:33 +08:00
connectivity connectivity: treat empty FPIDs as matching in TOPO_MATCH 2025-03-09 23:36:54 +01:00
dialogs Change deleting for-range loop to while loop 2025-03-09 19:34:13 -07:00
drc DRC for tables. (And some fixes for dimensions.) 2025-03-09 17:59:32 +00:00
exporters Beware of infinite recursion on colliding hatched shapes. 2025-03-08 21:23:14 +00:00
generators Code brevity. 2025-03-01 21:58:31 +00:00
git Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
import_gfx More fixes about use of IN versus INCH 2025-03-02 13:59:25 +01:00
microwave Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
navlib Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
netlist_reader Update fp properties even when can't update fp 2025-02-25 17:03:52 -08:00
pcb_io Fix compil warnings 2025-03-08 09:40:23 +01:00
python Move toolbars to a serializable storage format 2025-02-28 01:57:37 +00:00
ratsnest Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
router Code brevity. 2025-03-01 21:58:31 +00:00
specctra_import_export Fix Specctra export for multiple netclasses 2025-03-06 20:24:56 +00:00
teardrop Performance improvements for teardrop regeneration. 2025-02-19 23:43:53 +00:00
tools multichannel: possible fix for ghosting footprints when using grouping 2025-03-09 23:36:54 +01:00
widgets Improve default sizes of right panels 2025-03-04 21:54:31 -05:00
zone_manager ADDED: Per layer properties of zones used for control over zone hatching position 2025-03-02 20:31:04 +00:00
action_plugin.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
action_plugin.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
array_pad_number_provider.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
array_pad_number_provider.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
board_commit.cpp Group members are still children of the board (not 2025-03-09 17:59:32 +00:00
board_commit.h ADDED: hatched fills for shapes. 2025-02-24 11:08:29 +00:00
board_connected_item.cpp Further netclass name method cleanup 2025-01-14 21:16:43 +00:00
board_connected_item.h Further netclass name method cleanup 2025-01-14 21:16:43 +00:00
board_design_settings.cpp User layer bug fixes. 2025-03-05 17:59:22 +00:00
board_item_container.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
board_item.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
board.cpp Group members are still children of the board (not 2025-03-09 17:59:32 +00:00
board.h Make schematic and project inherit from PROJECT::ELEM 2025-02-24 22:22:56 -05:00
build_BOM_from_board.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
cleanup_item.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
cleanup_item.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
CMakeLists.txt Move the fp svg cli to more similar plot code 2025-03-04 23:01:00 -05:00
collectors.cpp Finish eradication of visibility flag on text items. 2025-02-19 23:43:52 +00:00
collectors.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
component_class_manager.cpp Delay resolution of component classes when pasting footprints 2025-02-07 17:47:51 +00:00
component_class_manager.h Delay resolution of component classes when pasting footprints 2025-02-07 17:47:51 +00:00
convert_shape_list_to_polygon.cpp Connect first/last shapes within tolerance when building board outline. 2025-02-11 05:07:18 +03:00
convert_shape_list_to_polygon.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
cross-probing.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
Doxyfile_python
Doxyfile_xml
edit_track_width.cpp Actionize more toolbar items 2025-02-28 01:57:37 +00:00
edit_zone_helpers.cpp ADDED: Per layer properties of zones used for control over zone hatching position 2025-03-02 20:31:04 +00:00
edit.cpp Jobset Output -> Destination. 2025-03-03 18:34:33 +00:00
files.cpp Fix a collision with a Windows define and our use of the same var name. 2025-03-02 11:34:30 +01:00
fix_board_shape.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
fix_board_shape.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_chooser_frame.cpp Fix a collision with a Windows define and our use of the same var name. 2025-03-02 11:34:30 +01:00
footprint_chooser_frame.h Add tool framework to fp preview widget. 2025-02-24 11:08:28 +00:00
footprint_edit_frame.cpp Fix compil warnings 2025-03-08 09:40:23 +01:00
footprint_edit_frame.h Load toolbar configuration from settings 2025-02-28 01:57:37 +00:00
footprint_editor_settings.cpp Fix a collision with a Windows define and our use of the same var name. 2025-03-02 11:34:30 +01:00
footprint_editor_utils.cpp Actionize more PCB actions 2025-02-28 01:57:37 +00:00
footprint_info_impl.cpp Remove dead code. 2025-01-29 20:54:33 +00:00
footprint_info_impl.h Remove dead code. 2025-01-29 20:54:33 +00:00
footprint_libraries_utils.cpp Finish eradication of visibility flag on text items. 2025-02-19 23:43:52 +00:00
footprint_preview_panel.cpp Add tool framework to fp preview widget. 2025-02-24 11:08:28 +00:00
footprint_preview_panel.h Add tool framework to fp preview widget. 2025-02-24 11:08:28 +00:00
footprint_tree_pane.cpp Block preview while menus are shown 2025-01-13 10:22:26 -08:00
footprint_tree_pane.h Block preview while menus are shown 2025-01-13 10:22:26 -08:00
footprint_viewer_frame.cpp Fix a collision with a Windows define and our use of the same var name. 2025-03-02 11:34:30 +01:00
footprint_viewer_frame.h Load toolbar configuration from settings 2025-02-28 01:57:37 +00:00
footprint_wizard_frame_functions.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_wizard_frame.cpp Tweak toolbar settings a bit 2025-02-28 01:57:37 +00:00
footprint_wizard_frame.h Load toolbar configuration from settings 2025-02-28 01:57:37 +00:00
footprint_wizard.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_wizard.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint.cpp Group members are still children of the board (not 2025-03-09 17:59:32 +00:00
footprint.h m_ordinal has no meaning for mandatory fields. 2025-02-24 23:42:56 +00:00
fp_tree_model_adapter.cpp Fix design block panel trampling symbol chooser settings 2025-01-26 18:32:00 -05:00
fp_tree_model_adapter.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
fp_tree_synchronizing_adapter.cpp Remove a few more crashers 2025-01-29 00:00:11 -06:00
fp_tree_synchronizing_adapter.h
fpedit_doc.icns Add document type icons 2024-02-09 15:55:57 -08:00
fpedit.icns
generate_footprint_info.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
generate_footprint_info.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
generators_mgr.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
generators_mgr.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
graphics_cleaner.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
graphics_cleaner.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
grid_layer_box_helpers.cpp User layer bug fixes. 2025-03-05 17:59:22 +00:00
grid_layer_box_helpers.h User layer bug fixes. 2025-03-05 17:59:22 +00:00
initpcb.cpp Default to 4 user defined layers 2025-02-02 23:09:08 +00:00
invoke_pcb_dialog.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
kicad_clipboard.cpp Get rid of assumptions about field order. 2025-02-24 11:08:29 +00:00
kicad_clipboard.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
layer_pairs.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
layer_pairs.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
load_select_footprint.cpp Retire DIALOG_FOOTPRINT_CHOOSER. 2025-02-24 11:08:29 +00:00
menubar_footprint_editor.cpp Actionize more PCB actions 2025-02-28 01:57:37 +00:00
menubar_pcb_editor.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
netinfo_item.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
netinfo_list.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
netinfo.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pad_custom_shape_functions.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pad_utils.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pad_utils.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pad.cpp Printing is not zoom-specific. 2025-03-07 13:01:00 +00:00
pad.h There is no support (as yet) for layer-specific soldermask expansions. 2025-02-26 19:17:53 +00:00
padstack.cpp ADDED: Support for IPC-4761 Via protection features 2025-03-01 18:02:54 +00:00
padstack.h ADDED: Support for IPC-4761 Via protection features 2025-03-01 18:02:54 +00:00
pcb_base_edit_frame.cpp Load toolbar configuration from settings 2025-02-28 01:57:37 +00:00
pcb_base_edit_frame.h Load toolbar configuration from settings 2025-02-28 01:57:37 +00:00
pcb_base_frame.cpp Make the PCB layerbox not needed in pcbcommon 2025-02-28 01:57:37 +00:00
pcb_dimension.cpp Fix a collision with a Windows define and our use of the same var name. 2025-03-02 11:34:30 +01:00
pcb_dimension.h Fix a collision with a Windows define and our use of the same var name. 2025-03-02 11:34:30 +01:00
pcb_draw_panel_gal.cpp Pcbnew: ensure LAYER_NON_PLATEDHOLES Gal layer is always visible 2025-02-15 11:48:26 +01:00
pcb_draw_panel_gal.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_edit_frame.cpp Fix accidental removal of properties pane 2025-03-05 17:44:47 -05:00
pcb_edit_frame.h Make sure to fully repaint pads when loading a board 2025-03-01 16:54:27 -05:00
pcb_field.cpp m_ordinal has no meaning for mandatory fields. 2025-02-24 23:42:56 +00:00
pcb_field.h Get rid of assumptions about field order. 2025-02-24 11:08:29 +00:00
pcb_fields_grid_table.cpp Get rid of assumptions about field order. 2025-02-24 11:08:29 +00:00
pcb_fields_grid_table.h Unify embedded files handling btw editors 2025-01-28 12:22:39 -08:00
pcb_generator.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_generator.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_group.cpp GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
pcb_group.h GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
pcb_item_containers.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_layer_box_selector.cpp Keep AllCuLayers as base for number of copper layers 2025-01-28 12:22:39 -08:00
pcb_layer_box_selector.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_layer_presentation.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_marker.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_marker.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_origin_transforms.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_origin_transforms.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_painter.cpp pcbnew: Plotting tables with non-90 degree rotation angles is not working 2025-03-04 12:08:18 +00:00
pcb_painter.h Finish eradication of visibility flag on text items. 2025-02-19 23:43:52 +00:00
pcb_plot_params_parser.h Fix reading old plot layer settings into new layer IDs 2025-01-04 21:38:37 +00:00
pcb_plot_params.cpp Keep user-defined common layers order. 2025-03-04 23:39:19 +00:00
pcb_plot_params.h Keep user-defined common layers order. 2025-03-04 23:39:19 +00:00
pcb_plotter.cpp Move SVG_PLOTTER to {fmt} to punt locale issues 2025-03-05 19:03:25 -05:00
pcb_plotter.h Fix color theme load logic in jobs 2025-01-27 19:00:35 -05:00
pcb_reference_image.cpp GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
pcb_reference_image.h GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
pcb_screen.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_shape.cpp Beware of infinite recursion on colliding hatched shapes. 2025-03-08 21:23:14 +00:00
pcb_shape.h Beware of infinite recursion on colliding hatched shapes. 2025-03-08 21:23:14 +00:00
pcb_table.cpp pcbnew: table rotation: table jumps if rotation ends at 180° 2025-03-07 20:38:56 +00:00
pcb_table.h No inheritance for table ruling line styles. 2025-01-29 20:54:33 +00:00
pcb_tablecell.cpp Finish eradication of visibility flag on text items. 2025-02-19 23:43:52 +00:00
pcb_tablecell.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_target.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_target.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_text.cpp ADDED: Knockout text boxes. 2025-02-24 11:08:29 +00:00
pcb_text.h GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
pcb_textbox.cpp pcbnew: table rotation: table jumps if rotation ends at 180° 2025-03-07 20:38:56 +00:00
pcb_textbox.h pcbnew: Table Cell Text Justification 2025-02-23 21:27:57 +00:00
pcb_track.cpp Fix merge mess-up. 2025-03-07 13:23:57 +00:00
pcb_track.h ADDED: Support for IPC-4761 Via protection features 2025-03-01 18:02:54 +00:00
pcb_view.cpp Cleanup VIEW class 2024-11-21 18:59:48 -08:00
pcb_view.h Cleanup VIEW class 2024-11-21 18:59:48 -08:00
pcbexpr_evaluator.cpp Mirror netclass DRC expression semantics for component classes 2025-03-08 22:18:22 +00:00
pcbexpr_evaluator.h Enable use of double properties in DRC rules expression parser 2025-03-06 14:24:47 +00:00
pcbexpr_functions.cpp Don't dereference null COMPONENT_CLASS in testFootprintSelector 2025-03-06 21:43:52 +00:00
pcbnew_config.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcbnew_config.h
pcbnew_doc.icns Add document type icons 2024-02-09 15:55:57 -08:00
pcbnew_id.h Actionize more PCB actions 2025-02-28 01:57:37 +00:00
pcbnew_jobs_handler.cpp Formatting. 2025-03-06 15:47:18 +00:00
pcbnew_jobs_handler.h Persist generate-gerber-job-file setting. 2025-02-28 22:10:24 +00:00
pcbnew_printout.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcbnew_printout.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcbnew_settings.cpp Pcbnew: remove dead code. 2025-03-08 10:09:47 +01:00
pcbnew_settings.h Pcbnew: remove dead code. 2025-03-08 10:09:47 +01:00
pcbnew.cpp Code brevity. 2025-03-01 21:58:31 +00:00
pcbnew.icns Add document type icons 2024-02-09 15:55:57 -08:00
pcbplot.cpp Handle clipping silk to mask when there is more than one layer. 2025-02-19 23:43:53 +00:00
pcbplot.h Handle clipping silk to mask when there is more than one layer. 2025-02-19 23:43:53 +00:00
plot_board_layers.cpp Beware of infinite recursion on colliding hatched shapes. 2025-03-08 21:23:14 +00:00
plot_brditems_plotter.cpp Fix compil warnings 2025-03-08 09:40:23 +01:00
plotcontroller.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
plotprint_opts.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
project_pcb.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
sel_layer.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
toolbars_footprint_editor.cpp Tweak toolbar settings a bit 2025-02-28 01:57:37 +00:00
toolbars_footprint_editor.h Tweak toolbar settings a bit 2025-02-28 01:57:37 +00:00
toolbars_footprint_viewer.cpp Load toolbar configuration from settings 2025-02-28 01:57:37 +00:00
toolbars_footprint_viewer.h Tweak toolbar settings a bit 2025-02-28 01:57:37 +00:00
toolbars_footprint_wizard.cpp Load toolbar configuration from settings 2025-02-28 01:57:37 +00:00
toolbars_footprint_wizard.h Tweak toolbar settings a bit 2025-02-28 01:57:37 +00:00
toolbars_pcb_editor.cpp Fix a collision with a Windows define and our use of the same var name. 2025-03-02 11:34:30 +01:00
toolbars_pcb_editor.h Tweak toolbar settings a bit 2025-02-28 01:57:37 +00:00
tracks_cleaner.cpp Replace GetConnectedItems() type list with an EXCLUDE_ZONES flag. 2025-02-26 11:02:10 +00:00
tracks_cleaner.h Thread safety for TRACKS_CLEANER cache 2025-02-09 10:33:47 -05:00
undo_redo.cpp Better algorithm for knocking out footprints. 2025-02-24 23:01:07 +00:00
zone_filler.cpp Revert "Remove prototype zone fill option" 2025-03-07 15:25:13 -08:00
zone_filler.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
zone_settings.cpp ADDED: Per layer properties of zones used for control over zone hatching position 2025-03-02 20:31:04 +00:00
zone_settings.h ADDED: Per layer properties of zones used for control over zone hatching position 2025-03-02 20:31:04 +00:00
zone.cpp Fix use of footprint Orientation property in DRC expression parser 2025-03-06 13:08:03 +00:00
zone.h ADDED: Per layer properties of zones used for control over zone hatching position 2025-03-02 20:31:04 +00:00
zones_functions_for_undo_redo.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
zones.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00