kicad/pcbnew
Seth Hillbrand 162545ddf0 Validate arc output when editing
Handles checking output of the arc to ensure we don't end up generating
an invalid arc.  Also keeps the limit of the arc angle to be (360,360)
excluding 0.

Fixes https://gitlab.com/kicad/code/kicad/issues/10070

(cherry picked from commit 8fc831cbc2)
2022-02-07 08:55:53 -08:00
..
autorouter Sprinkle in some make_unique 2022-02-05 21:26:36 -05:00
board_stackup_manager More wxString wide literals. 2022-02-05 21:29:34 +00:00
connectivity Make sure that GetConnectedItems searches from the root item. 2022-02-06 19:43:25 +00:00
dialogs Validate arc output when editing 2022-02-07 08:55:53 -08:00
drc Make sure that GetConnectedItems searches from the root item. 2022-02-06 19:43:25 +00:00
exporters More wide-string declarations. 2022-02-05 22:03:04 +00:00
import_gfx More wide-string declarations. 2022-02-05 22:26:31 +00:00
microwave More wide-string declarations. 2022-02-05 22:26:31 +00:00
navlib Fix warning: declaration shadows a previous local [-Wshadow]. 2022-01-31 10:41:51 +00:00
netlist_reader Replace inserts/push_backs with emplace in some spots 2022-02-05 19:53:31 -05:00
plugins altium: Fix Reference and Description parsing of footprint 2022-02-06 16:24:07 +01:00
python More wide-string declarations. 2022-02-05 22:03:04 +00:00
ratsnest Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
router Add some vector reservations 2022-02-05 21:12:29 -05:00
specctra_import_export EDA_ANGLE for plotters. 2022-01-16 01:19:45 +00:00
teardrop teardrops: fix a not very good shape for not round targets after code change. 2022-02-02 13:31:29 +01:00
tools Validate arc output when editing 2022-02-07 08:55:53 -08:00
widgets More wide-string declarations. 2022-02-05 22:03:04 +00:00
CMakeLists.txt Ensure we can version scripting properly 2022-02-03 15:59:10 -08:00
Doxyfile_python
Doxyfile_xml
action_plugin.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
action_plugin.h Pcbnew header housekeeping round 1. 2021-06-04 09:08:38 -04:00
array_creator.cpp TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
array_creator.h Array creator tool: Add option to assign unique reference designators 2021-10-25 22:38:49 +01:00
array_pad_number_provider.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
array_pad_number_provider.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
board.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
board.h Scoop up some more wxPoint instances 2022-01-03 20:00:53 -05:00
board_commit.cpp TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
board_commit.h Remove ZONE_FILLER_TOOL since it's not really necessary. 2021-07-31 01:50:42 +01:00
board_connected_item.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
board_connected_item.h More NULL expunging. 2021-07-20 07:27:18 -04:00
board_design_settings.cpp Don't enforce a max of 4 for minimum-spoke-count. 2022-02-06 19:43:25 +00:00
board_item.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
board_item_container.h
build_BOM_from_board.cpp Pcbnew: honor footprint exclude from BOM setting. 2022-01-09 11:27:34 -05:00
cleanup_item.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
cleanup_item.h Pcbnew header housekeeping round 1. 2021-06-04 09:08:38 -04:00
collectors.cpp TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
collectors.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
convert_shape_list_to_polygon.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
convert_shape_list_to_polygon.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
cross-probing.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
edit.cpp TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
edit_track_width.cpp PCB Editor: changes to track width overrides starting track width 2021-12-15 23:32:48 +00:00
edit_zone_helpers.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
files.cpp Fix a compil issue. 2022-02-05 21:29:44 +00:00
footprint.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
footprint.h More EDA_ANGLE. 2022-01-14 16:08:19 +00:00
footprint_edit_frame.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
footprint_edit_frame.h Pcbnew: fix rotation angle issue in rotate commands. 2022-01-20 10:50:26 +01:00
footprint_editor_settings.cpp Convert strings to wide when using wxString routines 2022-02-03 13:08:33 -08:00
footprint_editor_utils.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
footprint_info_impl.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
footprint_info_impl.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
footprint_libraries_utils.cpp TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
footprint_preview_panel.cpp Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
footprint_preview_panel.h Kill the last of wx/wx.h in headers 2021-06-07 17:59:20 -04:00
footprint_tree_pane.cpp Rename SCH_COMPONENT to SCH_SYMBOL. 2021-06-10 10:34:49 -04:00
footprint_tree_pane.h
footprint_viewer_frame.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
footprint_viewer_frame.h Flatten out some more preferences. 2021-12-24 15:43:20 +00:00
footprint_wizard.cpp More NULL expunging. 2021-07-20 07:27:18 -04:00
footprint_wizard.h More wxString wide literals. 2022-02-05 21:29:34 +00:00
footprint_wizard_frame.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
footprint_wizard_frame.h Flatten out some more preferences. 2021-12-24 15:43:20 +00:00
footprint_wizard_frame_functions.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
fp_shape.cpp TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
fp_shape.h TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
fp_text.cpp PCB_TEXT::Rotate(): ensure the final orientation is -180 ... +180 deg 2022-02-01 18:07:14 +01:00
fp_text.h Fix some issues related to new textboxes and python: 2022-02-03 13:55:37 +01:00
fp_text_grid_table.cpp Excise deci-degrees from UNIT_BINDER. 2022-01-19 00:10:32 +00:00
fp_text_grid_table.h Add hot-updating of units in common wxGrids. 2021-12-23 16:54:03 +00:00
fp_textbox.cpp Get rid of FP_TEXTBOX::ViewBBox(). We want to inherit FP_SHAPE's. 2022-02-01 12:49:28 +00:00
fp_textbox.h Fix some issues related to new textboxes and python: 2022-02-03 13:55:37 +01:00
fp_tree_model_adapter.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
fp_tree_model_adapter.h
fp_tree_synchronizing_adapter.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
fp_tree_synchronizing_adapter.h
generate_footprint_info.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
generate_footprint_info.h
graphics_cleaner.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
graphics_cleaner.h Pull some name changes back from 7.0 to ease merging. 2021-07-21 20:58:59 +01:00
grid_layer_box_helpers.cpp All the preferences, all the time. 2021-12-24 13:08:44 +00:00
grid_layer_box_helpers.h Cleanup. 2021-12-23 20:36:18 +00:00
initpcb.cpp More NULL expunging. 2021-07-20 07:27:18 -04:00
invoke_pcb_dialog.h
io_mgr.cpp altium: Allow extraction of names of footprints stored in *.PcbLib file 2022-01-17 19:51:51 +01:00
io_mgr.h Formatting and include cleanup. 2021-06-25 17:48:15 +01:00
kicad_clipboard.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
kicad_clipboard.h Kicad has many plugins. This one is for the pcb. 2021-11-25 12:56:46 +00:00
load_select_footprint.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
menubar_footprint_editor.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
menubar_pcb_editor.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
netinfo.h More wxString wide literals. 2022-02-05 21:29:34 +00:00
netinfo_item.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
netinfo_list.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pad.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pad.h Some more EDA_ANGLE cleanup. 2022-01-16 19:16:18 +00:00
pad_custom_shape_functions.cpp Handle invalid pads more gracefully 2022-02-02 13:40:07 -08:00
pcb_base_edit_frame.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pcb_base_edit_frame.h TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
pcb_base_frame.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pcb_dimension.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pcb_dimension.h Remove unit-less angles from VECTOR2I/D APIs. 2022-01-20 23:58:20 +00:00
pcb_draw_panel_gal.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pcb_draw_panel_gal.h Use progress reporting in more places when loading a board 2021-11-25 11:19:03 -05:00
pcb_edit_frame.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pcb_edit_frame.h Fix code style. 2022-01-28 12:21:42 +00:00
pcb_expr_evaluator.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pcb_expr_evaluator.h Add a compile error for ill-defined rules, and more performance. 2021-08-16 12:14:17 +01:00
pcb_group.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pcb_item_containers.h Prefix TRACK, ARC and VIA. 2021-06-11 22:07:02 +01:00
pcb_layer_box_selector.cpp All the preferences, all the time. 2021-12-24 13:08:44 +00:00
pcb_layer_box_selector.h Cleanup. 2021-12-23 20:36:18 +00:00
pcb_marker.cpp Move BOARD_ITEM::Rotate() to EDA_ANGLE. 2022-01-14 16:08:19 +00:00
pcb_marker.h Bring ERC & DRC dialogs into parity. 2022-01-22 22:27:41 +00:00
pcb_origin_transforms.cpp Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
pcb_origin_transforms.h Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
pcb_painter.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pcb_painter.h TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
pcb_plot_params.cpp SVG plotter rework: use mm as units in file. Remove useless inch option. 2022-01-28 19:33:51 +01:00
pcb_plot_params.h SVG plotter rework: use mm as units in file. Remove useless inch option. 2022-01-28 19:33:51 +01:00
pcb_plot_params_parser.h
pcb_screen.cpp Rename layer ids file. 2021-07-29 16:03:25 +01:00
pcb_shape.cpp TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
pcb_shape.h TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
pcb_target.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pcb_target.h PCB_TARGET: add missing TransformShapeWithClearanceToPolygon() method. 2022-01-29 18:19:22 +01:00
pcb_text.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pcb_text.h TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
pcb_textbox.cpp TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
pcb_textbox.h TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
pcb_track.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pcb_track.h More EDA_ANGLE. 2022-01-14 16:08:19 +00:00
pcb_view.cpp Flatten out some more preferences. 2021-12-24 15:43:20 +00:00
pcb_view.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
pcbnew.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pcbnew.h Add Python Tool to pcbnew 2021-06-01 20:18:24 +00:00
pcbnew.icns Add drop shadows to MacOS icons 2021-07-30 20:55:34 -07:00
pcbnew_config.cpp Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
pcbnew_config.h
pcbnew_doc.icns Add drop shadows to MacOS icons 2021-07-30 20:55:34 -07:00
pcbnew_id.h Add code and dialog to create/add/remove teardrops, step 1 2022-01-10 20:04:40 +01:00
pcbnew_printout.cpp Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
pcbnew_printout.h Prefix TRACK, ARC and VIA. 2021-06-11 22:07:02 +01:00
pcbnew_settings.cpp Fix converting angles from tenths of a degree. 2022-01-19 19:55:50 +00:00
pcbnew_settings.h Move rotation angle increments to UNIT_BINDER and EDA_ANGLE. 2022-01-19 15:15:33 +00:00
pcbplot.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pcbplot.h TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
plot_board_layers.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
plot_brditems_plotter.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
plotcontroller.h Cleanup. 2021-12-23 20:36:18 +00:00
plugin.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
sel_layer.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
toolbars_footprint_editor.cpp TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
toolbars_footprint_viewer.cpp Move show-bounding-boxes to a tool on the toolbars. 2022-01-17 11:56:40 +00:00
toolbars_pcb_editor.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
tracks_cleaner.cpp Don't count zero-length as duplicate 2022-01-28 16:34:34 -08:00
tracks_cleaner.h Clean up formatting. 2022-02-04 13:43:57 +00:00
undo_redo.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
zone.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
zone.h Move zone hatch orientation to EDA_ANGLE. 2022-01-19 00:34:03 +00:00
zone_filler.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
zone_filler.h Hook up zone-pad connections to custom rules. 2021-12-23 22:30:26 +00:00
zone_settings.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
zone_settings.h Move zone hatch orientation to EDA_ANGLE. 2022-01-19 00:34:03 +00:00
zones.h Try to make gcc happy. 2021-12-23 23:58:20 +00:00
zones_functions_for_undo_redo.cpp Cleanup. 2021-12-23 20:36:18 +00:00
zones_functions_for_undo_redo.h Cleanup. 2021-12-23 20:36:18 +00:00