kicad/eeschema
Seth Hillbrand 72c885797e Eeschema: prevent schematic images with bad scales
Prevent obvious scale issues (0.0, nan, etc) from corrupting display of
schematic images.  In these cases, we reset the scale value to 1.0 and
allow the user to input the appropriate value when editing the
schematic.

Fixes: lp:1811066
* https://bugs.launchpad.net/kicad/+bug/1811066
2019-01-15 07:42:22 -08:00
..
dialogs DIALOG_BOM: fix a few issues. Mainly an annoying issue when a plugin file was not found 2019-01-14 13:14:13 +01:00
libedit Don't return wxID_OK from a cancel. 2019-01-10 17:41:33 +00:00
netlist_exporters Clean up handling of component fields. 2018-11-22 21:31:45 +00:00
plugins Sort reference by their numeric content. 2018-10-28 17:45:11 +00:00
sim Link eeschema with ngspice DLL 2018-10-30 08:32:38 +01:00
widgets Fixed memory leaks 2018-12-20 10:05:58 +01:00
CMakeLists.txt qa: Moving eeschema qa to main qa folder 2019-01-09 21:43:23 -08:00
Info.plist Fix for dark mode on macOS Mojave 2018-12-07 09:03:56 +01:00
annotate.cpp Add view refresh calls for edit operations. 2018-10-18 12:12:48 +01:00
autoplace_fields.cpp Replace DIM() macro 2019-01-06 08:43:12 -08:00
backanno.cpp Add view refresh calls for edit operations. 2018-10-18 12:12:48 +01:00
block.cpp Clean up undo when cancelling block operation. 2018-12-21 22:45:57 +00:00
bom_plugins.cpp DIALOG_BOM: fix a few issues. Mainly an annoying issue when a plugin file was not found 2019-01-14 13:14:13 +01:00
bom_plugins.h DIALOG_BOM: fix a few issues. Mainly an annoying issue when a plugin file was not found 2019-01-14 13:14:13 +01:00
bus-wire-junction.cpp Don't trim entire wires. 2018-11-20 21:44:35 +00:00
busentry.cpp Add view refresh calls for edit operations. 2018-10-18 12:12:48 +01:00
class_libentry.cpp Remove side-effect of LIB_FIELD::SetText(). 2018-10-31 12:57:23 +00:00
class_libentry.h Library viewer: fix broken behavior of unit selector (could be Windows specific). 2018-10-30 17:51:12 +01:00
class_library.cpp Coverity fixes. 2018-03-21 23:11:55 +00:00
class_library.h Implement poor-man's RTTI for use over KiWAY. 2018-09-15 20:06:42 +01:00
cmp_library.keywords
cmp_library_lexer.cpp
component_references_lister.cpp Don't go to '-' numbering till the range reaches 3. 2018-10-26 23:02:05 +01:00
controle.cpp Eeschema: Fix incorrect behavior of cursors when moving cursors by arrow keys. 2019-01-07 10:10:37 +01:00
cross-probing.cpp Cross probing: Trying to fix a crash, certainly due to a call to clear the HIGHLIGHTED flag of a structure that is not a EDA_ITEM. 2018-12-31 13:54:26 +01:00
dialog_erc_listbox.h eeschema-gal: initial GALified version. Lots of stuff still to do! 2018-10-09 11:08:52 +01:00
drc_erc_item.cpp Make a few strings not internationalized, because they must not be translated (html format strings) 2018-07-28 12:47:23 +02:00
edit_bitmap.cpp Eeschema, load a new bitmap image from file: fix crash when aborting. 2018-10-21 10:59:06 +02:00
edit_component_in_schematic.cpp Add view refresh calls for edit operations. 2018-10-18 12:12:48 +01:00
edit_label.cpp Add view refresh calls for edit operations. 2018-10-18 12:12:48 +01:00
eeredraw.cpp eeschema-gal: initial GALified version. Lots of stuff still to do! 2018-10-09 11:08:52 +01:00
eeschema.cpp Replace DIM() macro 2019-01-06 08:43:12 -08:00
eeschema.icns Update MacOS icons 2018-03-22 11:45:42 -04:00
eeschema.rc
eeschema_config.cpp Fix a few Coverity warnings. 2019-01-04 09:49:21 +01:00
eeschema_config.h Implement primitive icon scaling for high DPI 2018-01-10 21:26:06 -07:00
eeschema_doc.icns Update MacOS icons 2018-03-22 11:45:42 -04:00
eeschema_id.h Grid settings for Eeschema GAL. 2018-10-09 11:08:55 +01:00
erc.cpp eeschema-gal: initial GALified version. Lots of stuff still to do! 2018-10-09 11:08:52 +01:00
erc.h Eradicate g_UserUnit from ERC/DRC. 2018-07-17 15:12:16 +01:00
events_called_functions_for_edit.cpp Add GAL refresh for some more commands and remove unused DC params. 2018-10-09 11:08:56 +01:00
fields_grid_table.cpp Fixed a crash in Symbol Properties dialog 2018-11-13 14:02:16 +01:00
fields_grid_table.h Keep name & value in sync for library items. 2018-09-13 16:41:23 +01:00
files-io.cpp Set the screen pointer to null before deleting the associated items 2018-12-11 16:21:43 +01:00
find.cpp Cross probing: Trying to fix a crash, certainly due to a call to clear the HIGHLIGHTED flag of a structure that is not a EDA_ITEM. 2018-12-31 13:54:26 +01:00
general.h Clear symbol library list from project file after remapping. 2017-11-09 18:50:23 -05:00
generate_alias_info.cpp Improve document file handling. 2018-08-14 13:54:04 +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 Clean up handling of component fields. 2018-11-22 21:31:45 +00:00
help_common_strings.h Added help string to select buttons. 2018-12-05 20:13:03 -08:00
hierarch.cpp eeschema: Fix slow redraw on net highlighting (by redrawing only modified items) 2018-12-04 20:55:59 +01:00
highlight_connection.cpp eeschema: Do not clear highlights with NULL screen 2018-12-08 07:54:31 -08:00
hotkeys.cpp string update: Help->List hotkeys 2019-01-02 15:44:13 -08:00
hotkeys.h add option to switch between opengl and cairo in eeschema (step 1) 2018-10-09 11:08:56 +01:00
invoke_sch_dialog.h Relax fully-annotated constraint for BOM editor. 2018-05-11 12:33:44 +01:00
lib_arc.cpp Eeschema: make draw functions working with "old" libraries using a useless large negative line width (like -1000 or -2000 mils). 2018-10-20 13:08:33 +02:00
lib_arc.h eeschema-gal: initial GALified version. Lots of stuff still to do! 2018-10-09 11:08:52 +01:00
lib_bezier.cpp Eeschema: make draw functions working with "old" libraries using a useless large negative line width (like -1000 or -2000 mils). 2018-10-20 13:08:33 +02:00
lib_bezier.h eeschema-gal: initial GALified version. Lots of stuff still to do! 2018-10-09 11:08:52 +01:00
lib_circle.cpp Eeschema: make draw functions working with "old" libraries using a useless large negative line width (like -1000 or -2000 mils). 2018-10-20 13:08:33 +02:00
lib_circle.h eeschema-gal: initial GALified version. Lots of stuff still to do! 2018-10-09 11:08:52 +01:00
lib_collectors.cpp rename class_collector.h to collector.h 2018-02-04 10:49:37 +01:00
lib_collectors.h rename class_collector.h to collector.h 2018-02-04 10:49:37 +01:00
lib_draw_item.cpp Remove AdvanceDepth() hacks in favour of proper layers. 2018-10-21 15:55:56 +01:00
lib_draw_item.h Remove AdvanceDepth() hacks in favour of proper layers. 2018-10-21 15:55:56 +01:00
lib_field.cpp libedit: Allow SPICE parameter editing 2019-01-09 21:43:23 -08:00
lib_field.h libedit: Allow SPICE parameter editing 2019-01-09 21:43:23 -08:00
lib_pin.cpp Replace DIM() macro 2019-01-06 08:43:12 -08:00
lib_pin.h Handle hidden and dangling pins. 2018-10-09 11:08:55 +01:00
lib_polyline.cpp Eeschema: make draw functions working with "old" libraries using a useless large negative line width (like -1000 or -2000 mils). 2018-10-20 13:08:33 +02:00
lib_polyline.h eeschema-gal: initial GALified version. Lots of stuff still to do! 2018-10-09 11:08:52 +01:00
lib_rectangle.cpp Eeschema: make draw functions working with "old" libraries using a useless large negative line width (like -1000 or -2000 mils). 2018-10-20 13:08:33 +02:00
lib_rectangle.h eeschema-gal: initial GALified version. Lots of stuff still to do! 2018-10-09 11:08:52 +01:00
lib_text.cpp Move library text items to LAYER_DEVICE. Only sch text items belong on LAYER_NOTES. 2018-10-28 17:45:11 +00:00
lib_text.h Remove AdvanceDepth() hacks in favour of proper layers. 2018-10-21 15:55:56 +01:00
libarch.cpp Add more/better error messages for file i/o problems. 2018-08-14 13:54:04 +01:00
list_operations.h Update moved items so they get reinserted into the RTree. 2018-10-09 11:08:56 +01:00
menubar.cpp No more legacy graphics for eeschema. 2018-10-24 13:36:48 +01:00
netlist.h Fixed Spice netlist export options and added a few new flags 2016-08-11 14:41:20 +02:00
netlist_generator.cpp Output defined default fields to netlists & BOMs. 2018-05-24 18:24:59 +01:00
netlist_object.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
netlist_object.h fix misspelled 'an other' -> 'another' 2018-04-08 13:24:37 -04:00
netlist_object_list.cpp Remove not used ListNets() methods 2018-03-04 18:04:19 +01:00
onleftclick.cpp fix a minor issue in Eeschema when left clicking on a highlighted symbol. 2018-12-31 14:44:59 +01:00
onrightclick.cpp Eeschema highlight symbols (cross probing) fix a few issues. 2018-12-29 12:48:24 +01:00
operations_on_items_lists.cpp Finish up remaining block operation inconsistencies. 2018-11-14 23:45:32 +00:00
pin_number.cpp
pin_number.h
pin_shape.cpp Remove some extra semicolons 2017-11-09 19:52:18 +01:00
pin_shape.h
pin_type.cpp
pin_type.h
plot_schematic_DXF.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
plot_schematic_HPGL.cpp UNIT_BINDERize print and plot dialogs. 2018-07-17 15:12:29 +01:00
plot_schematic_PDF.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
plot_schematic_PS.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
plot_schematic_SVG.cpp eeschema-gal: initial GALified version. Lots of stuff still to do! 2018-10-09 11:08:52 +01:00
project_rescue.cpp Add view refresh calls for edit operations. 2018-10-18 12:12:48 +01:00
project_rescue.h Do not append "RESCUE" to symbol names when rescuing symbols. 2018-03-03 15:34:26 -05:00
sch_base_frame.cpp gal: Save canvas type unconditionally 2019-01-09 10:36:01 -08:00
sch_base_frame.h Add shortcuts to setting dialogs for track widths, via sizes and grid sizes. 2018-11-17 00:35:06 +00:00
sch_bitmap.cpp Eeschema gal: fix some redraw issues for bitmap images and worksheet. 2018-10-16 14:20:09 +02:00
sch_bitmap.h Eeschema gal: fix some redraw issues for bitmap images and worksheet. 2018-10-16 14:20:09 +02:00
sch_bus_entry.cpp Implement proper dangling end handling for block moves. 2018-10-30 11:33:49 +00:00
sch_bus_entry.h Implement proper dangling end handling for block moves. 2018-10-30 11:33:49 +00:00
sch_collectors.cpp Eeschema: allow dragging of text 2018-10-31 16:19:03 +00:00
sch_collectors.h Add hotkey for viewing symbol datasheet. 2018-09-24 15:46:45 +01:00
sch_component.cpp libedit: Allow SPICE parameter editing 2019-01-09 21:43:23 -08:00
sch_component.h eeschema: Add directly connected items to block 2019-01-10 17:28:29 -08:00
sch_draw_panel.cpp Support autopanning in GALified eeschema 2018-12-11 17:49:34 +01:00
sch_draw_panel.h Support autopanning in GALified eeschema 2018-12-11 17:49:34 +01:00
sch_eagle_plugin.cpp eagle: Set default pin type 2019-01-06 08:54:14 -08:00
sch_eagle_plugin.h Eagle SCH importer: fix slash characters when fixing symbol names 2018-09-12 10:13:13 +02:00
sch_edit_frame.cpp Default sizes for edit frames in case prefs get deleted. 2018-12-10 12:23:16 +00:00
sch_edit_frame.h eeschema: Fix slow redraw on net highlighting (by redrawing only modified items) 2018-12-04 20:55:59 +01:00
sch_field.cpp eeschema-gal: initial GALified version. Lots of stuff still to do! 2018-10-09 11:08:52 +01:00
sch_field.h Remove global units usage from GetSelectionText... 2018-07-17 15:11:09 +01:00
sch_io_mgr.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
sch_io_mgr.h Eeschema: allow for partial schematic loading. 2017-12-06 19:11:09 -05:00
sch_item_struct.cpp units: Move common units and add tests 2019-01-08 09:29:32 -08:00
sch_item_struct.h units: Move common units and add tests 2019-01-08 09:29:32 -08:00
sch_junction.cpp Remove AdvanceDepth() hacks in favour of proper layers. 2018-10-21 15:55:56 +01:00
sch_junction.h eeschema: Add directly connected items to block 2019-01-10 17:28:29 -08:00
sch_legacy_plugin.cpp Eeschema: prevent schematic images with bad scales 2019-01-15 07:42:22 -08:00
sch_legacy_plugin.h SCH_LEGACY_PLUGIN::loadHierarchy() uses a stack to maintain sheet paths 2018-05-09 11:30:23 +02:00
sch_line.cpp Don't show dangling symbols at ends of wires with no-connect flags. 2018-11-27 14:44:13 +00:00
sch_line.h Implement proper dangling end handling for block moves. 2018-10-30 11:33:49 +00:00
sch_marker.cpp classes MARKER rework: remove duplicate code. Better HitTest code (HitTest takes in account the actual shape) 2018-12-19 19:53:27 +01:00
sch_marker.h classes MARKER rework: remove duplicate code. Better HitTest code (HitTest takes in account the actual shape) 2018-12-19 19:53:27 +01:00
sch_no_connect.cpp Move no-connect symbols closer to the front for rendering. 2018-11-13 21:03:18 +00:00
sch_no_connect.h Move no-connect symbols closer to the front for rendering. 2018-11-13 21:03:18 +00:00
sch_painter.cpp Fix a few Coverity warnings. 2019-01-04 09:49:21 +01:00
sch_painter.h Finish up remaining block operation inconsistencies. 2018-11-14 23:45:32 +00:00
sch_plugin.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
sch_preview_panel.cpp Worksheet display in GAL mode: fix missing filename and (in Eeschema) sheet full name. 2018-11-19 10:21:28 +01:00
sch_preview_panel.h Move symbol chooser dialog preview to GAL. 2018-10-09 11:08:55 +01:00
sch_reference_list.h Performance optimization for Symbol Fields Editor. 2018-10-17 02:04:44 +01:00
sch_screen.cpp Replace DIM() macro 2019-01-06 08:43:12 -08:00
sch_screen.h Handle GAL view refresh for breaking wires. 2018-10-09 11:08:55 +01:00
sch_sheet.cpp Move sheet pins in front of sheetedge & move them in by ½ line width 2018-12-15 20:15:19 +00:00
sch_sheet.h Implement proper dangling end handling for block moves. 2018-10-30 11:33:49 +00:00
sch_sheet_path.cpp Fix -Wshadow warning in sch_sheet_path.cpp 2018-06-28 10:04:43 -04:00
sch_sheet_path.h fix misspelled 'allows to' -> 'allows one to' 2018-07-11 10:35:03 -04:00
sch_sheet_pin.cpp eeschema-gal: initial GALified version. Lots of stuff still to do! 2018-10-09 11:08:52 +01:00
sch_text.cpp Copy dangling flag when cloning. 2018-11-19 19:07:40 +00:00
sch_text.h Implement proper dangling end handling for block moves. 2018-10-30 11:33:49 +00:00
sch_validators.cpp Improve validation of symbol fields editor. 2018-07-21 21:28:13 +01:00
sch_validators.h Improve validation of symbol fields editor. 2018-07-21 21:28:13 +01:00
sch_view.cpp Cross probing: Trying to fix a crash, certainly due to a call to clear the HIGHLIGHTED flag of a structure that is not a EDA_ITEM. 2018-12-31 13:54:26 +01:00
sch_view.h Eeschema highlight symbols (cross probing) fix a few issues. 2018-12-29 12:48:24 +01:00
schedit.cpp Make sure parents get redrawn to refresh module text items. 2018-12-27 18:42:04 +00:00
schematic_undo_redo.cpp More changes to clean up redraw after an undo. 2018-12-22 22:13:23 +00:00
selpart.cpp Handle separate parsing rules for ID_SCH and ID_PCB. 2018-07-26 15:43:53 +01:00
sheet.cpp Update dangling ends when resizing sheet. 2018-11-30 21:34:18 +00:00
sheetlab.cpp Add GAL refresh for some more commands and remove unused DC params. 2018-10-09 11:08:56 +01:00
symbol_lib_table.cpp Load each symbol library atomically for better performance. 2018-01-24 19:21:56 -05:00
symbol_lib_table.h Implement poor-man's RTTI for use over KiWAY. 2018-09-15 20:06:42 +01:00
symbol_tree_model_adapter.cpp More performance enhancements. 2018-08-06 13:49:27 +01:00
symbol_tree_model_adapter.h Push component tree down into common. 2018-08-01 09:35:45 +01:00
symbol_tree_synchronizing_adapter.cpp Minor performance enhancements to symbol loading. 2018-08-07 17:01:44 +01:00
symbol_tree_synchronizing_adapter.h Push component tree down into common. 2018-08-01 09:35:45 +01:00
template_fieldnames.cpp Allow TemplateFieldNames to specify URL-behaviour. 2018-08-11 17:14:27 +01:00
template_fieldnames.h Allow TemplateFieldNames to specify URL-behaviour. 2018-08-11 17:14:27 +01:00
template_fieldnames.keywords Allow TemplateFieldNames to specify URL-behaviour. 2018-08-11 17:14:27 +01:00
tool_sch.cpp Added help string to select buttons. 2018-12-05 20:13:03 -08:00
tool_viewlib.cpp Fix up GAL version of Symbol Viewer. 2018-10-09 11:08:55 +01:00
transform.cpp Fix code after renaming files 2018-01-29 11:37:29 +01:00
transform.h Remove unnecessary TRANSFORM::operator= 2017-02-19 22:13:50 -05:00
viewlib_frame.cpp Read Symbol Browser grid settings from Symbol Editor. 2018-12-07 00:26:10 +00:00
viewlib_frame.h Add GAL refresh for some more commands and remove unused DC params. 2018-10-09 11:08:56 +01:00
viewlibs.cpp Eeschema: Fix a subtle bug in SYMBOL_PREVIEW_WIDGET. 2018-10-31 15:52:35 +01:00