kicad/eeschema
Jon Evans 0463fc4c2b Fix several bugs and refactor schematic saving
Having the logic split between three different paths was
a bit much, this should hopefully be a bit easier to
maintain.  All save logic now goes through SaveProject;
individual file writing is now a private function.

Also change Save As to Save Copy As in project manager
mode, as we don't want to change projects from inside
the editor in project manager mode.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/9015
2021-08-23 23:01:08 -04:00
..
dialogs eeschema: fix in populating DC sim settings tab 2021-08-20 19:23:13 +00:00
netlist_exporters netlist xml exporter: fix incorrect keyword change (field was changed to f) 2021-08-23 17:14:45 +02:00
plugins Fix python 'testing for equality' syntax 2021-07-19 15:42:30 +00:00
sch_plugins lib symbols: make fp filter tolerant to spaces in names. 2021-08-23 18:01:31 +02:00
sim Simulator: Use last workbook path stored in .kicad_pro as initial path in dialogs 2021-08-20 23:23:23 +00:00
symbol_editor Symbol editor: fix message panel units when selecting from combo box. 2021-08-20 15:45:57 -04:00
tools Fix several bugs and refactor schematic saving 2021-08-23 23:01:08 -04:00
widgets Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
CMakeLists.txt Dialog naming conventions. 2021-08-06 20:54:26 +01:00
annotate.cpp The REPORTER interface is inherently line-based. 2021-07-05 13:41:06 +01:00
autoplace_fields.cpp Rename SCH_COMPONENT to SCH_SYMBOL. 2021-06-10 10:34:49 -04:00
bom_plugins.cpp Pass configured Python interpreter in to use for BOM plugins 2021-06-15 22:52:16 -04:00
bom_plugins.h Unwrap some std::library typedefs. 2021-07-28 22:16:38 +01:00
bus-wire-junction.cpp More NULL expunging. 2021-07-16 16:13:41 -04:00
bus_alias.cpp Use kicad_algo directly rather than common.h 2020-10-24 08:53:11 -04: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 More NULL expunging. 2021-07-16 16:13:41 -04:00
connection_graph.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01: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 Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
default_values.h Split global label size expansion from TextOffset setting 2021-08-02 16:40:36 +00:00
ee_collectors.cpp More NULL expunging. 2021-07-16 16:13:41 -04:00
ee_collectors.h More NULL expunging. 2021-07-16 16:13:41 -04:00
eeschema.cpp More NULL expunging. 2021-07-16 16:13:41 -04:00
eeschema.icns Add drop shadows to MacOS icons 2021-07-30 20:55:34 -07:00
eeschema_config.cpp Split global label size expansion from TextOffset setting 2021-08-02 16:40:36 +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 Rename layer ids file. 2021-07-29 16:03:25 +01:00
eeschema_settings.h Save annotation settings in preferences. 2021-04-26 16:05:22 +01:00
erc.cpp Fix flagging power pin in ERC check 2021-08-21 11:19:09 -04: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 Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
fields_grid_table.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
files-io.cpp Fix several bugs and refactor schematic saving 2021-08-23 23:01:08 -04: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 Convert component chooser dialog over to use symbol library table. 2017-11-09 18:50:18 -05:00
getpart.cpp A bit more Part -> Symbol. 2021-06-17 22:24:41 +01:00
hierarch.cpp Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04: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 Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
lib_arc.h Altium schematic import: text positioning and arc fixes 2021-07-26 19:49:56 +00:00
lib_bezier.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
lib_bezier.h Rename LIB_PART to LIB_SYMBOL. 2021-06-14 07:11:17 -04:00
lib_circle.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
lib_circle.h Rename LIB_PART to LIB_SYMBOL. 2021-06-14 07:11:17 -04:00
lib_field.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
lib_field.h Rename LIB_PART to LIB_SYMBOL. 2021-06-14 07:11:17 -04:00
lib_item.cpp Rename LIB_PART to LIB_SYMBOL. 2021-06-14 07:11:17 -04:00
lib_item.h Clean up (yes, yet again) the default pen width handling. 2021-08-17 11:59:50 +01:00
lib_pin.cpp Clean up (yes, yet again) the default pen width handling. 2021-08-17 11:59:50 +01:00
lib_pin.h Expunge the use of the word component from Eeschema code. 2021-06-14 14:00:21 -04:00
lib_polyline.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
lib_polyline.h Rename LIB_PART to LIB_SYMBOL. 2021-06-14 07:11:17 -04:00
lib_rectangle.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
lib_rectangle.h Rename LIB_PART to LIB_SYMBOL. 2021-06-14 07:11:17 -04:00
lib_symbol.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
lib_symbol.h More NULL expunging. 2021-07-16 16:13:41 -04:00
lib_text.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
lib_text.h Rename LIB_PART to LIB_SYMBOL. 2021-06-14 07:11:17 -04:00
libarch.cpp A bit more Part -> Symbol. 2021-06-17 22:24:41 +01:00
menubar.cpp Fix several bugs and refactor schematic saving 2021-08-23 23:01:08 -04:00
pin_numbers.cpp Unwrap some std::library typedefs. 2021-07-28 22:16:38 +01:00
pin_numbers.h Remove cover type; capitalize class name; make filename equal classname. 2021-07-28 22:16:38 +01: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 More NULL expunging. 2021-07-16 16:13:41 -04:00
project_rescue.h More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_base_frame.cpp More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_base_frame.h More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_bitmap.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
sch_bitmap.h More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_bus_entry.cpp More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_bus_entry.h First take at repairing Eagle import of bus entries. 2021-06-15 23:23:47 +01:00
sch_connection.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
sch_connection.h Expunge the use of the word component from Eeschema code. 2021-06-14 14:00:21 -04:00
sch_draw_panel.cpp Rename layer ids file. 2021-07-29 16:03:25 +01: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 Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
sch_edit_frame.h Fix several bugs and refactor schematic saving 2021-08-23 23:01:08 -04:00
sch_field.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
sch_field.h More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_file_versions.h Convert overbar syntax in bus aliases. 2021-06-21 20:13:21 +01: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 Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
sch_item.h Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
sch_junction.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
sch_junction.h Rename SCH_COMPONENT to SCH_SYMBOL. 2021-06-10 10:34:49 -04:00
sch_line.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
sch_line.h Pass objects by reference instead of on the stack. 2021-06-08 10:09:38 -04:00
sch_marker.cpp Pass objects by reference instead of on the stack. 2021-06-08 10:09:38 -04:00
sch_marker.h Pass objects by reference instead of on the stack. 2021-06-08 10:09:38 -04:00
sch_no_connect.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
sch_no_connect.h Rename SCH_COMPONENT to SCH_SYMBOL. 2021-06-10 10:34:49 -04:00
sch_painter.cpp Fix typo. 2021-08-18 23:38:11 +01:00
sch_painter.h Split global label size expansion from TextOffset setting 2021-08-02 16:40:36 +00:00
sch_pin.cpp Make sure pin hittest regions don't get too hard to hit. 2021-07-01 15:43:19 +01:00
sch_pin.h Separate LIB_PIN and SCH_PIN GetShownName/Number processing. 2021-06-17 10:52:46 +01:00
sch_plugin.cpp More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_preview_panel.cpp Round 2 of Worksheet -> Drawing Sheet. 2021-02-23 11:57:44 +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 More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_rtree.h Add clarifying comments to EE_RTREE ordering 2021-08-20 08:49:43 -07:00
sch_screen.cpp Ensure sheets are deterministically sorted 2021-08-20 08:31:01 -07:00
sch_screen.h Add clarifying comments to EE_RTREE ordering 2021-08-20 08:49:43 -07:00
sch_sheet.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
sch_sheet.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
sch_sheet_path.cpp Fix source comment/doc typos (follow-up) 2021-07-13 10:48:17 +00:00
sch_sheet_path.h Fix source comment/doc typos (follow-up) 2021-07-13 10:48:17 +00:00
sch_sheet_pin.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
sch_sheet_pin.h More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_symbol.cpp Fix a typo in reference clearing. 2021-08-22 19:55:20 +01:00
sch_symbol.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
sch_text.cpp Repair label incrementer to handle formatting constructs. 2021-08-19 00:08:37 +01:00
sch_text.h Split global label size expansion from TextOffset setting 2021-08-02 16:40:36 +00:00
sch_text_help.md Smarten regex to include overbar, superscript and subscript. 2021-07-05 20:26:05 +01:00
sch_validators.cpp Smarten regex to include overbar, superscript and subscript. 2021-07-05 20:26:05 +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 Rename layer ids file. 2021-07-29 16:03:25 +01:00
schematic.cpp Clean up Altium special string handling 2021-07-08 15:34:38 +01:00
schematic.h Allow titleblock vars to be resolved outside the titleblock. 2021-07-06 13:30:17 +01:00
schematic.keywords Persist fields_autoplaced information. 2021-04-02 17:08:58 +01:00
schematic_settings.cpp Split global label size expansion from TextOffset setting 2021-08-02 16:40:36 +00:00
schematic_settings.h Split global label size expansion from TextOffset setting 2021-08-02 16:40:36 +00:00
schematic_undo_redo.cpp Eeschema: remove unused and unnecessary code. 2021-08-11 14:30:29 -04:00
sheet.cpp Fix source comment/doc typos (follow-up) 2021-07-13 10:48:17 +00:00
symbol_async_loader.cpp Decouple PROGRESS_REPORTER interface from implementations. 2021-08-14 21:05:49 +01:00
symbol_async_loader.h Rename LIB_PART to LIB_SYMBOL. 2021-06-14 07:11:17 -04:00
symbol_lib_table.cpp More error message regularization (and translatability improvements). 2021-06-28 00:45:24 +01:00
symbol_lib_table.h More NULL expunging. 2021-07-16 16:13:41 -04:00
symbol_library.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
symbol_library.h Unwrap some std::library typedefs. 2021-07-28 22:16:38 +01:00
symbol_tree_model_adapter.cpp Decouple PROGRESS_REPORTER interface from implementations. 2021-08-14 21:05:49 +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 Freshen microwave polygon dialog and remove a bunch of dead code. 2021-08-03 01:11:11 +01: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 Centralizing SCRIPTING class 2021-06-01 20:18:24 +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 More NULL expunging. 2021-07-16 16:13:41 -04:00
transform.h Expunge the use of the word component from Eeschema code. 2021-06-14 14:00:21 -04:00