kicad/eeschema
Seth Hillbrand aac6f576c2 Fix broken comparison in pin_numbers
Pin names like "+V" were incorrectly parsed as doubles leading to broken
comparisons.  These caused heap overflows when sorting pin tables

This corrects the comparison so that numeric sorts are only performed
when there is an actual number in the symbol segment.  Also adds unit
tests for common error cases
2022-04-19 14:46:05 -07:00
..
dialogs Fix broken comparison in pin_numbers 2022-04-19 14:46:05 -07:00
navlib Cleanup spacemouse plugin 2022-04-01 15:14:41 -07:00
netlist_exporters Allow common greek letters in passive regex 2022-04-01 12:51:43 -07:00
plugins fix an issue in a bom script (extra empty lines created) 2022-01-18 13:49:50 +01:00
sch_plugins Remove a few call sites of SCH_SHEET::SetSize 2022-04-18 16:23:03 +02:00
sim eeschema: fix crash when closing simulation frame 2022-04-05 19:28:05 +00:00
symbol_editor ADDED New Library functionality to Footprint/Symbol Save As. 2022-04-19 19:55:30 +01:00
tools Schematic: drag created / changed segments need junction checks 2022-04-18 17:24:02 +00:00
widgets eeschema,sim: add SIMULATOR and SIM_MODEL interface 2022-04-01 19:28:31 +00:00
CMakeLists.txt EEschema: move symbol checker code in symbol_checker.cpp. 2022-04-16 18:56:06 +02:00
annotate.cpp Disable all use of the default instance reference prefix for annotation. 2022-04-14 17:55:35 +01:00
autoplace_fields.cpp Be more careful about non-visible elements in fields autoplacer. 2022-02-28 00:18:39 +00:00
bom_plugins.cpp Revert "cmake: adding KICAD_MACOSX_APP_BUNDLE option" 2022-01-31 15:57:56 -08: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 Thread the connectivity vector updates 2022-03-28 15:36:55 -07:00
connection_graph.h Break up buildConnectionGraph for debugging 2022-03-11 16:58:38 -08:00
cross-probing.cpp Replace inserts/push_backs with emplace in some spots 2022-02-05 19:53:31 -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 Schematic and symbol text boxes. 2022-01-28 21:38:15 +00: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 Eeschema: ensure ERC exclusions list is up to date before saving it in *.kicad_pro 2022-02-25 18:21:46 +01:00
eeschema_doc.icns Add drop shadows to MacOS icons 2021-07-30 20:55:34 -07:00
eeschema_id.h Allow more (lots more) unfold from bus menu entries. 2022-01-21 17:41:05 +00:00
eeschema_settings.cpp Schematic: new feature, force 45 degree lines 2022-03-28 16:07:23 -04:00
eeschema_settings.h Schematic: new feature, force 45 degree lines 2022-03-28 16:07:23 -04:00
erc.cpp Don't flag pin missing driver when there is an NC 2022-04-07 09:35:23 -07:00
erc.h Off-grid ERC warnings. 2022-03-17 20:23:56 +00:00
erc_item.cpp Off-grid ERC warnings. 2022-03-17 20:23:56 +00:00
erc_item.h Off-grid ERC warnings. 2022-03-17 20:23:56 +00:00
erc_settings.cpp Off-grid ERC warnings. 2022-03-17 20:23:56 +00:00
erc_settings.h Off-grid ERC warnings. 2022-03-17 20:23:56 +00:00
fields_grid_table.cpp ADDED unit-filtering for pin table. 2022-03-26 11:53:48 +00: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 leave dangling pointers to old document when importing. 2022-03-22 18:08:05 +00: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
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 Schematic and symbol text boxes. 2022-01-28 21:38:15 +00:00
lib_field.cpp Make LIB_ITEM::COMPARE_FLAGS really a flags field, and add ERC. 2022-03-03 13:27:18 +00:00
lib_field.h Make LIB_ITEM::COMPARE_FLAGS really a flags field, and add ERC. 2022-03-03 13:27:18 +00:00
lib_item.cpp Make LIB_ITEM::COMPARE_FLAGS really a flags field, and add ERC. 2022-03-03 13:27:18 +00:00
lib_item.h Make LIB_ITEM::COMPARE_FLAGS really a flags field, and add ERC. 2022-03-03 13:27:18 +00:00
lib_pin.cpp Fix some Coverity issues. 2022-03-25 15:51:05 -04:00
lib_pin.h Make LIB_ITEM::COMPARE_FLAGS really a flags field, and add ERC. 2022-03-03 13:27:18 +00:00
lib_shape.cpp Run pinning on sides as well as corners. 2022-04-07 11:51:58 +01:00
lib_shape.h Normalize rectangular shapes before feeding to point editor. 2022-04-06 18:18:29 +01:00
lib_symbol.cpp Adjust LIB_SYMBOL compare for use with ERC. 2022-04-09 20:12:29 +01:00
lib_symbol.h Don't reserve space for private items when autoplacing. 2022-03-06 16:12:49 +00:00
lib_text.cpp Copy m_private flag in LIB_TEXT's clone(). 2022-03-06 17:00:13 +00:00
lib_text.h Make LIB_ITEM::COMPARE_FLAGS really a flags field, and add ERC. 2022-03-03 13:27:18 +00:00
lib_textbox.cpp Don't render fills in black & white mode. 2022-04-01 21:24:56 +01:00
lib_textbox.h Make LIB_ITEM::COMPARE_FLAGS really a flags field, and add ERC. 2022-03-03 13:27:18 +00:00
libarch.cpp A bit more Part -> Symbol. 2021-06-17 22:24:41 +01:00
menubar.cpp ADDED revert for pcbnew and eeschema. 2022-04-17 20:02:58 +01:00
picksymbol.cpp Infobar warning if symbol loading was cancelled. 2022-02-27 17:06:08 +00:00
pin_numbers.cpp Fix broken comparison in pin_numbers 2022-04-19 14:46:05 -07:00
pin_numbers.h Fix broken comparison in pin_numbers 2022-04-19 14:46:05 -07:00
pin_type.cpp On-the-fly translations for pin electrical types. 2022-04-05 13:57:28 +01: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 symbol library rescue. 2022-02-17 09:16:33 -05:00
project_rescue.h More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_base_frame.cpp Add support for using a SpaceMouse to pan & zoom in the schematic editor. 2022-03-31 19:03:41 +00:00
sch_base_frame.h Add support for using a SpaceMouse to pan & zoom in the schematic editor. 2022-03-31 19:03:41 +00:00
sch_bitmap.cpp Separate plotting into background and foreground. 2022-02-10 20:33:06 +00:00
sch_bitmap.h Separate plotting into background and foreground. 2022-02-10 20:33:06 +00:00
sch_bus_entry.cpp Separate Line Properties dialog from Bus/Wire, and handle Junctions in Bus/Wire. 2022-03-16 14:56:32 +00:00
sch_bus_entry.h Separate Line Properties dialog from Bus/Wire, and handle Junctions in Bus/Wire. 2022-03-16 14:56:32 +00:00
sch_connection.cpp Be more explicit about string conversions. 2022-02-03 23:07:41 +00: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 On-the-fly translations for pin electrical types. 2022-04-05 13:57:28 +01:00
sch_edit_frame.h Separate Line Properties dialog from Bus/Wire, and handle Junctions in Bus/Wire. 2022-03-16 14:56:32 +00:00
sch_field.cpp Fix some issues with global-label fields' bounding boxes. 2022-03-19 19:37:01 +00:00
sch_field.h Separate plotting into background and foreground. 2022-02-10 20:33:06 +00:00
sch_file_versions.h Eeschema: add support for default schematic symbol instance data. 2022-04-09 07:49:36 -04: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 Break up buildConnectionGraph for debugging 2022-03-11 16:58:38 -08:00
sch_item.h Move connected_items from hash table to tree 2022-03-11 16:58:38 -08:00
sch_junction.cpp Separate Line Properties dialog from Bus/Wire, and handle Junctions in Bus/Wire. 2022-03-16 14:56:32 +00:00
sch_junction.h Separate Line Properties dialog from Bus/Wire, and handle Junctions in Bus/Wire. 2022-03-16 14:56:32 +00:00
sch_label.cpp Fix some issues with global-label fields' bounding boxes. 2022-03-19 19:37:01 +00:00
sch_label.h SCH_DIRECTIVE_LABEL: add missing virtual SwapData. 2022-03-03 10:27:17 +01:00
sch_line.cpp Update message panel from PCB point editor and SCH drawing tools. 2022-03-21 10:32:36 +00:00
sch_line.h Schematic Drag: fixes and improvements 2022-03-28 16:02:48 -04:00
sch_marker.cpp Implement SCH_MARKER::GetSeverity(). 2022-02-18 12:14:38 +00:00
sch_marker.h Implement SCH_MARKER::GetSeverity(). 2022-02-18 12:14:38 +00:00
sch_no_connect.cpp Separate plotting into background and foreground. 2022-02-10 20:33:06 +00:00
sch_no_connect.h Separate plotting into background and foreground. 2022-02-10 20:33:06 +00:00
sch_painter.cpp Rationalize negative line-width handling. 2022-04-05 23:59:25 +01:00
sch_painter.h Make sure bitmap fallback is only used for non-cached text. 2022-02-24 18:16:45 +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 Repair GetFullRef() and use it when running Symbol Fields Table filtering. 2022-04-19 19:55:30 +01:00
sch_rtree.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
sch_screen.cpp When reannotating keep existing prefix in most cases. 2022-04-13 23:38:45 +01:00
sch_screen.h When reannotating keep existing prefix in most cases. 2022-04-13 23:38:45 +01:00
sch_shape.cpp Normalize rectangular shapes before feeding to point editor. 2022-04-06 18:18:29 +01:00
sch_shape.h Fix a degeneracy bug in arc collisions. 2022-04-08 16:15:58 +01:00
sch_sheet.cpp ${SHEETNAME} represents the sheet name + introduce ${SHEETPATH} 2022-04-09 15:45:58 +01:00
sch_sheet.h Handle locally-coded file names for sheets 2022-03-01 17:23:30 -08:00
sch_sheet_path.cpp Eeschema: add support for default schematic symbol instance data. 2022-04-09 07:49:36 -04:00
sch_sheet_path.h Eeschema: add support for default schematic symbol instance data. 2022-04-09 07:49:36 -04:00
sch_sheet_pin.cpp Schematic and symbol text boxes. 2022-01-28 21:38:15 +00:00
sch_sheet_pin.h Break sch_text.h/.cpp into sch_text and sch_label. 2022-01-28 21:38:15 +00:00
sch_symbol.cpp Cleanup. 2022-04-14 17:09:27 +01:00
sch_symbol.h When reannotating keep existing prefix in most cases. 2022-04-13 23:38:45 +01:00
sch_text.cpp Update message panel from PCB point editor and SCH drawing tools. 2022-03-21 10:32:36 +00:00
sch_text.h Separate plotting into background and foreground. 2022-02-10 20:33:06 +00:00
sch_text_help.md Fix outdated syntax in help text 2021-11-25 12:53:29 +00:00
sch_textbox.cpp Don't render fills in black & white mode. 2022-04-01 21:24:56 +01:00
sch_textbox.h Separate plotting into background and foreground. 2022-02-10 20:33:06 +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 ${SHEETNAME} represents the sheet name + introduce ${SHEETPATH} 2022-04-09 15:45:58 +01:00
sch_view.h Get all eeschema layers properly ordered 2022-01-23 10:04:32 -08:00
schematic.cpp ${SHEETNAME} represents the sheet name + introduce ${SHEETPATH} 2022-04-09 15:45:58 +01:00
schematic.h Allow titleblock vars to be resolved outside the titleblock. 2021-07-06 13:30:17 +01:00
schematic.keywords Eeschema: add support for default schematic symbol instance data. 2022-04-09 07:49:36 -04: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 Special case undo for items with instance data. 2022-03-19 19:37:01 +00:00
sheet.cpp Improve sheet schematic import messages and simplify code. 2022-03-21 17:09:49 -04:00
symbol_async_loader.cpp Infobar warning if symbol loading was cancelled. 2022-02-27 17:06:08 +00:00
symbol_async_loader.h Infobar warning if symbol loading was cancelled. 2022-02-27 17:06:08 +00:00
symbol_checker.cpp EEschema: move symbol checker code in symbol_checker.cpp. 2022-04-16 18:56:06 +02: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 Fix some Coverity issues. 2022-03-25 15:51:05 -04:00
symbol_library.h Hash symbol libraries per library rather than statically per cache type. 2022-02-07 15:40:21 -05:00
symbol_library_common.h Factor out common and remove dead legacy symbol library code. 2022-01-29 14:13:00 -05:00
symbol_tree_model_adapter.cpp Infobar warning if symbol loading was cancelled. 2022-02-27 17:06:08 +00:00
symbol_tree_model_adapter.h Infobar warning if symbol loading was cancelled. 2022-02-27 17:06:08 +00:00
symbol_tree_synchronizing_adapter.cpp Formatting (and auto reduction). 2022-01-22 12:16:07 +00: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 Infobar warning if symbol loading was cancelled. 2022-02-27 17:06:08 +00:00
symbol_viewer_frame.h Factor out common and remove dead legacy symbol library code. 2022-01-29 14:13:00 -05:00
toolbars_sch_editor.cpp Schematic: new feature, force 45 degree lines 2022-03-28 16:07:23 -04: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 Finish with EDA_ANGLE. 2022-01-16 21:15:40 +00:00
transform.h EDA_ANGLE for plotters. 2022-01-16 01:19:45 +00:00