kicad/eeschema
Seth Hillbrand d5faac7614 Better fix for missing end segment
Rather than skipping our endEdit() call in libedit, we need to
parameterize whether we want the shape open/closed.  Closed will remove
the last segment if it lands on the first point.  We don't want that
but we do want to remove the last point if it duplicates the second to
last (in the case of double-clicking)

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

(cherry picked from commit 55020c2b89)
2022-01-10 13:39:39 -08:00
..
dialogs Default font for eeschema. 2022-01-08 16:47:45 +00:00
netlist_exporters Don't strip extensions twice in BOM export 2022-01-05 11:07:49 -08:00
plugins Install kicad_utils.py BOM plugin helper 2021-12-13 22:52:31 +00:00
sch_plugins Font cleanup and bug fixes. 2022-01-09 18:33:53 +00:00
sim Yeet wxPoint/wxSize out of PLOTTER 2021-12-29 19:02:50 +00:00
symbol_editor Clear caches when changing global default font. 2022-01-09 11:34:20 +00:00
tools Correct return type in mapCoords 2022-01-07 09:08:40 -08:00
widgets Cleanup formatting and warnings in tuner_slider 2021-12-30 23:03:13 +00:00
CMakeLists.txt Bump minimum required CMake version to 3.11 2022-01-01 21:35:08 -05:00
annotate.cpp Be more consistent about annotation warngings. 2021-11-29 14:24:45 +00:00
autoplace_fields.cpp Another batch of point changes 2022-01-01 13:17:12 -05:00
bom_plugins.cpp Adjust macOS BOM plugin Python path 2021-12-13 22:52:31 +00:00
bom_plugins.h Unwrap some std::library typedefs. 2021-07-28 22:16:38 +01:00
bus-wire-junction.cpp Ensure merged line gets selected if either parent is 2022-01-01 16:53:52 -08:00
bus_alias.cpp Proper numeric sorting for intersheet refs. 2021-10-01 18:29:21 +01:00
bus_alias.h More NULL expunging. 2021-07-16 16:13:41 -04:00
cmp_library.keywords
cmp_library_lexer.cpp Expunge the use of the word component from Eeschema code. 2021-06-14 14:00:21 -04:00
component_references_lister.cpp Replace RefDesCmp with better StrNumCmp 2021-09-01 11:48:01 -07:00
connection_graph.cpp Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
connection_graph.h Expunge the use of the word component from Eeschema code. 2021-06-14 14:00:21 -04:00
cross-probing.cpp Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
default_values.h Fix some issues with incorrectly scaled defaults given in mils. 2021-08-25 20:04:06 +01:00
ee_collectors.cpp Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
ee_collectors.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
eeschema.cpp Implement Reset to Defaults for all preferences panels. 2021-12-24 17:38:39 +00:00
eeschema.icns Add drop shadows to MacOS icons 2021-07-30 20:55:34 -07:00
eeschema_config.cpp Flatten out some more preferences. 2021-12-24 15:43:20 +00:00
eeschema_doc.icns Add drop shadows to MacOS icons 2021-07-30 20:55:34 -07:00
eeschema_id.h Expunge the use of the word part from Eeschema code. 2021-06-15 08:32:11 -04:00
eeschema_settings.cpp Default font for eeschema. 2022-01-08 16:47:45 +00:00
eeschema_settings.h Default font for eeschema. 2022-01-08 16:47:45 +00:00
erc.cpp Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
erc.h Naming conventions. 2021-05-05 22:58:40 +01:00
erc_item.cpp Fixes for Eagle importer. 2021-06-16 21:44:18 +01:00
erc_item.h Fixes for Eagle importer. 2021-06-16 21:44:18 +01:00
erc_settings.cpp Rework JSON integration to speed up build 2021-06-05 17:08:38 -04:00
erc_settings.h Fixes for Eagle importer. 2021-06-16 21:44:18 +01:00
fields_grid_table.cpp Convert wxPoint/wxSize starting from EDA_RECT usages 2022-01-01 11:30:33 -05:00
fields_grid_table.h SCH_NETCLASS_FLAGs and SCH_FIELDs for labels. 2021-12-24 16:13:27 +00:00
files-io.cpp Don't rename existing schematic file 2022-01-04 20:28:21 -08:00
general.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
generate_alias_info.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
generate_alias_info.h Substitute all wxHtmlWindow with HTML_WINDOW 2021-10-12 07:07:15 +00:00
getpart.cpp Threading safety. 2021-10-23 11:38:03 +01:00
hierarch.cpp Rename ComparePageNumAndName -> ComparePageNum 2022-01-02 23:20:17 +00:00
hierarch.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
invoke_sch_dialog.h Expunge the use of the word part from Eeschema code. 2021-06-15 08:32:11 -04:00
lib_arc.cpp Replace individual LIB_* shapes with LIB_SHAPE (based on EDA_SHAPE). 2021-10-15 12:45:43 +01:00
lib_field.cpp Outline font rendering for Cairo, plotter, printer and 3D viewer. 2022-01-10 01:54:28 +00:00
lib_field.h Default font for eeschema. 2022-01-08 16:47:45 +00:00
lib_item.cpp Default font for eeschema. 2022-01-08 16:47:45 +00:00
lib_item.h Default font for eeschema. 2022-01-08 16:47:45 +00:00
lib_pin.cpp Outline font rendering for Cairo, plotter, printer and 3D viewer. 2022-01-10 01:54:28 +00:00
lib_pin.h Default font for eeschema. 2022-01-08 16:47:45 +00:00
lib_shape.cpp Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
lib_shape.h Better fix for missing end segment 2022-01-10 13:39:39 -08:00
lib_symbol.cpp Performance enhancements for fonts. 2022-01-08 16:47:45 +00:00
lib_symbol.h Performance enhancements for fonts. 2022-01-08 16:47:45 +00:00
lib_text.cpp Outline font rendering for Cairo, plotter, printer and 3D viewer. 2022-01-10 01:54:28 +00:00
lib_text.h Default font for eeschema. 2022-01-08 16:47:45 +00:00
libarch.cpp A bit more Part -> Symbol. 2021-06-17 22:24:41 +01:00
menubar.cpp Add show/hide controls for ERC markers. 2021-12-24 17:38:50 +00:00
pin_numbers.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
pin_numbers.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
pin_type.cpp Avoid sharing gdicmn for just bitmaps 2021-06-03 01:46:04 -04:00
pin_type.h Expunge the use of the word component from Eeschema code. 2021-06-14 14:00:21 -04:00
project_rescue.cpp Eeschema: fix broken project symbol rescue bug. 2021-09-09 10:21:09 -04:00
project_rescue.h More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_base_frame.cpp Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
sch_base_frame.h Performance enhancements for fonts. 2022-01-08 16:47:45 +00:00
sch_bitmap.cpp Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
sch_bitmap.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
sch_bus_entry.cpp Scoop up some more wxPoint instances 2022-01-03 20:00:53 -05:00
sch_bus_entry.h Scoop up some more wxPoint instances 2022-01-03 20:00:53 -05:00
sch_connection.cpp Fix highlighting complex connections from subsheets 2021-10-25 22:14:48 -04:00
sch_connection.h Fix highlighting complex connections from subsheets 2021-10-25 22:14:48 -04:00
sch_draw_panel.cpp Cleanup. 2021-12-23 20:36:18 +00:00
sch_draw_panel.h Expunge the use of the word component from Eeschema code. 2021-06-14 14:00:21 -04:00
sch_edit_frame.cpp Clear caches when changing global default font. 2022-01-09 11:34:20 +00:00
sch_edit_frame.h Performance enhancements for fonts. 2022-01-08 16:47:45 +00:00
sch_field.cpp Outline font rendering for Cairo, plotter, printer and 3D viewer. 2022-01-10 01:54:28 +00:00
sch_field.h Performance enhancements for fonts. 2022-01-08 16:47:45 +00:00
sch_file_versions.h File format changes for fonts. 2022-01-08 16:47:45 +00:00
sch_io_mgr.cpp More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_io_mgr.h File open/import progress dialogs. 2021-06-23 23:55:54 +01:00
sch_item.cpp Performance enhancements for fonts. 2022-01-08 16:47:45 +00:00
sch_item.h Performance enhancements for fonts. 2022-01-08 16:47:45 +00:00
sch_junction.cpp Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
sch_junction.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
sch_line.cpp Scoop up some more wxPoint instances 2022-01-03 20:00:53 -05:00
sch_line.h Scoop up some more wxPoint instances 2022-01-03 20:00:53 -05:00
sch_marker.cpp Scoop up some more wxPoint instances 2022-01-03 20:00:53 -05:00
sch_marker.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
sch_no_connect.cpp Another batch of point changes 2022-01-01 13:17:12 -05:00
sch_no_connect.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
sch_painter.cpp Performance enhancements for fonts. 2022-01-08 16:47:45 +00:00
sch_painter.h Move to new font engine. 2022-01-02 14:57:03 +00:00
sch_pin.cpp Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
sch_pin.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
sch_plugin.cpp More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_preview_panel.cpp Flatten out some more preferences. 2021-12-24 15:43:20 +00:00
sch_preview_panel.h Reduce some eda_item.h usage in headers 2021-06-06 11:09:06 -04:00
sch_reference_list.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
sch_rtree.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
sch_screen.cpp Commenting and "auto" reduction. 2022-01-08 16:47:45 +00:00
sch_screen.h Remove some more wxPoint 2022-01-01 14:12:20 -05:00
sch_shape.cpp Another batch of point changes 2022-01-01 13:17:12 -05:00
sch_shape.h Some more wxPoint removal 2022-01-01 12:11:21 -05:00
sch_sheet.cpp Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
sch_sheet.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
sch_sheet_path.cpp Rename ComparePageNumAndName -> ComparePageNum 2022-01-02 23:20:17 +00:00
sch_sheet_path.h Rename ComparePageNumAndName -> ComparePageNum 2022-01-02 23:20:17 +00:00
sch_sheet_pin.cpp Scoop up some more wxPoint instances 2022-01-03 20:00:53 -05:00
sch_sheet_pin.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
sch_symbol.cpp Scoop up some more wxPoint instances 2022-01-03 20:00:53 -05:00
sch_symbol.h Remove some more wxPoint 2022-01-01 14:12:20 -05:00
sch_text.cpp Performance enhancements for fonts. 2022-01-08 16:47:45 +00:00
sch_text.h Fix outline font boundingbox issues. 2022-01-08 16:47:45 +00:00
sch_text_help.md Fix outdated syntax in help text 2021-11-25 12:53:29 +00:00
sch_validators.cpp Fix bus validation. 2021-09-17 22:01:17 +01:00
sch_validators.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
sch_view.cpp Rename layer ids file. 2021-07-29 16:03:25 +01:00
sch_view.h Add show/hide controls for ERC markers. 2021-12-24 17:38:50 +00:00
schematic.cpp Eeschema: fix broken page numbers when renaming a sheet file name. 2021-12-09 12:56:03 +00:00
schematic.h Allow titleblock vars to be resolved outside the titleblock. 2021-07-06 13:30:17 +01:00
schematic.keywords File format changes for fonts. 2022-01-08 16:47:45 +00:00
schematic_settings.cpp Use ISO 128-2 values for dashed line defaults. 2021-12-25 14:00:57 +00:00
schematic_settings.h User-configureable dash styles (and dash-dot-dot). 2021-12-23 20:36:24 +00:00
schematic_undo_redo.cpp Update pin cache when undoing 2022-01-05 11:33:35 -08:00
sheet.cpp Update BASE_SCREEN to VECTOR2I 2022-01-01 11:30:33 -05:00
symbol_async_loader.cpp Fix single-threaded loads/connectivity 2021-12-14 17:18:46 -08:00
symbol_async_loader.h Rename LIB_PART to LIB_SYMBOL. 2021-06-14 07:11:17 -04:00
symbol_lib_table.cpp Normalize drawing sheet path to env vars & prj, not just prj. 2021-10-02 23:39:45 +01:00
symbol_lib_table.h More NULL expunging. 2021-07-16 16:13:41 -04:00
symbol_library.cpp Formatting. 2021-12-24 11:39:57 +00:00
symbol_library.h Unwrap some std::library typedefs. 2021-07-28 22:16:38 +01:00
symbol_tree_model_adapter.cpp Dark mode for a bunch of HTML dialogs. 2021-09-14 21:23:57 +01:00
symbol_tree_model_adapter.h Rename SCH_COMPONENT to SCH_SYMBOL. 2021-06-10 10:34:49 -04:00
symbol_tree_synchronizing_adapter.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
symbol_tree_synchronizing_adapter.h Remove and re-add saved-as libraries when Syncing tree. 2021-01-31 23:00:17 +00:00
symbol_viewer_frame.cpp Flatten out some more preferences. 2021-12-24 15:43:20 +00:00
symbol_viewer_frame.h Expunge the use of the word component from Eeschema code. 2021-06-14 14:00:21 -04:00
toolbars_sch_editor.cpp SCH_NETCLASS_FLAGs and SCH_FIELDs for labels. 2021-12-24 16:13:27 +00:00
toolbars_symbol_viewer.cpp Rename class_library.[h|cpp] to symbol_library.[h|cpp]. 2021-06-15 09:24:55 -04:00
transform.cpp Scoop up some more wxPoint instances 2022-01-03 20:00:53 -05:00
transform.h Scoop up some more wxPoint instances 2022-01-03 20:00:53 -05:00