kicad/eeschema
Jeff Young 050d9e37ec Fix rotation bugs in Eeschema.
Rotate text using the Rotate90() function which gets the orientation
right.

Also, when calculating the center point for rotation, don't include
labels if the selection contains other stuff.  It just makes the
rotation odd, and tends to cause walking when continuing to rotate
(due to keep-upright being non-symmetrical).

Fixes https://gitlab.com/kicad/code/kicad/issues/git
2020-11-24 18:19:35 +00:00
..
dialogs Fix minor dialog layout issue. 2020-11-23 23:57:26 +00:00
netlist_exporters Read/write "no net" (0) for pins with a no-connection marker. 2020-11-23 19:47:55 +00:00
plotters LibEdit -> SymbolEditor 2020-10-31 10:28:21 +00:00
plugins bom2grouped_csv.xsl: Fix sorting of grouped references 2020-06-23 15:48:59 +02:00
sch_plugins Order symbols by unit/convert 2020-11-19 15:19:55 -08:00
sim Embarking on the next adventure: component -> symbol. 2020-11-15 20:23:15 +00:00
symbol_editor Don't try and rename lib entry when symbol is from board. 2020-11-22 15:40:44 +00:00
tools Count head and tail lists as well. 2020-11-23 23:54:54 +00:00
widgets Prepare for MODULE -> FOOTPRINT. 2020-11-13 15:16:24 +00:00
CMakeLists.txt Re-write IntersheetRefs on top of SCH_FIELDs and textVars. 2020-11-17 16:05:49 +00:00
annotate.cpp Require client to specify whether they want resolved values or not. 2020-11-17 21:36:48 +00:00
autoplace_fields.cpp Read global fieldNameTemplates for project but don't write them. 2020-11-21 23:10:54 +00:00
bom_plugins.cpp BOM and Netlist dialogs: replace "plugin" by "generator" and/or "script". 2019-05-31 11:06:23 +02:00
bom_plugins.h BOM and Netlist dialogs: replace "plugin" by "generator" and/or "script". 2019-05-31 11:06:23 +02:00
bus-wire-junction.cpp Eeschema: Move last netlist code to netlist_exporters folder 2020-10-26 18:40:58 +01:00
bus_alias.cpp Use kicad_algo directly rather than common.h 2020-10-24 08:53:11 -04:00
bus_alias.h Use wxArrayString instead of vector<wxString> in BUS_ALIAS 2019-11-29 21:11:44 -05:00
class_libentry.cpp Prepare for MODULE -> FOOTPRINT. 2020-11-13 15:16:24 +00:00
class_libentry.h Symbol editor: fix missing footprint filter support for derived symbols. 2020-10-30 09:28:54 -04:00
class_library.cpp Cleanup creation of all our smart pointers 2020-10-26 23:52:44 +00:00
class_library.h Unwrap eda_base_frame from base_screen 2020-10-13 21:52:57 -04:00
cmp_library.keywords
cmp_library_lexer.cpp
component_references_lister.cpp Require client to specify whether they want resolved values or not. 2020-11-17 21:36:48 +00:00
connection_graph.cpp Fix nullptr crash. 2020-11-24 14:13:03 +00:00
connection_graph.h Remove common.h from more headers 2020-10-25 22:29:53 -04:00
cross-probing.cpp Naming conventions. 2020-11-17 16:05:49 +00:00
default_values.h Re-write IntersheetRefs on top of SCH_FIELDs and textVars. 2020-11-17 16:05:49 +00:00
ee_collectors.cpp Re-write IntersheetRefs on top of SCH_FIELDs and textVars. 2020-11-17 16:05:49 +00:00
ee_collectors.h Re-write IntersheetRefs on top of SCH_FIELDs and textVars. 2020-11-17 16:05:49 +00:00
eeschema.cpp LibEdit -> SymbolEditor 2020-10-31 10:28:21 +00:00
eeschema.icns
eeschema.rc Handle Windows manifests ourselves and add dpi awareness option 2020-10-10 19:08:23 +00:00
eeschema_config.cpp Read global fieldNameTemplates for project but don't write them. 2020-11-21 23:10:54 +00:00
eeschema_doc.icns
eeschema_id.h Move a few more commands to tool framework. 2020-05-12 18:12:38 +01:00
eeschema_settings.cpp Eeschema: Add Schematic Setup GUI to set junction dot size from list 2020-11-04 01:49:41 +00:00
eeschema_settings.h Eeschema: Add Schematic Setup GUI to set junction dot size from list 2020-11-04 01:49:41 +00:00
erc.cpp Naming conventions (including some component -> symbol). 2020-11-15 20:23:15 +00:00
erc.h Eeschema: add ERC check for library symbol issues. 2020-10-07 09:15:31 -04:00
erc_item.cpp ERC: use separate tests for input pins and power input pins. 2020-11-02 12:41:58 +01:00
erc_item.h Start of impl for persisting ERC exclusions. 2020-11-18 23:34:27 +00:00
erc_settings.cpp Start of impl for persisting ERC exclusions. 2020-11-18 23:34:27 +00:00
erc_settings.h Start of impl for persisting ERC exclusions. 2020-11-18 23:34:27 +00:00
fields_grid_table.cpp Eeschema, fields_grid_table.cpp: fix a crash when the eeschema settings are not available. 2020-11-15 13:50:10 +01:00
fields_grid_table.h Add more consts all over the place 2020-10-27 11:03:35 +00:00
files-io.cpp Make sure intersheet references are updated on file-open. 2020-11-19 19:21:15 +00:00
general.h Move Eeschema globals to new SCHEMATIC object 2020-05-18 13:04:56 -04:00
generate_alias_info.cpp Prepare for MODULE -> FOOTPRINT. 2020-11-13 15:16:24 +00:00
generate_alias_info.h
getpart.cpp Naming conventions. 2020-11-14 18:26:03 +00:00
hierarch.cpp more cleanup about removing useless include 2020-10-02 15:50:46 +02:00
hierarch.h EEschema: Sort Hierarchy tree 2020-09-21 11:17:33 -07:00
invoke_sch_dialog.h Move ERC dialog to EE_INSPECTION_TOOL and kill when resetting. 2020-11-03 20:27:44 +00:00
lib_arc.cpp Naming conventions. 2020-11-14 18:26:03 +00:00
lib_arc.h Add more consts all over the place 2020-10-27 11:03:35 +00:00
lib_bezier.cpp Naming conventions. 2020-11-14 18:26:03 +00:00
lib_bezier.h Add more consts all over the place 2020-10-27 11:03:35 +00:00
lib_circle.cpp Simplify message panel code. 2020-11-18 17:32:40 +00:00
lib_circle.h Add more consts all over the place 2020-10-27 11:03:35 +00:00
lib_field.cpp Simplify message panel code. 2020-11-18 17:32:40 +00:00
lib_field.h Prepare for MODULE -> FOOTPRINT. 2020-11-13 15:16:24 +00:00
lib_item.cpp Simplify message panel code. 2020-11-18 17:32:40 +00:00
lib_item.h Naming conventions. 2020-11-14 18:26:03 +00:00
lib_pin.cpp Simplify message panel code. 2020-11-18 17:32:40 +00:00
lib_pin.h Naming conventions. 2020-11-07 21:55:18 +00:00
lib_polyline.cpp Simplify message panel code. 2020-11-18 17:32:40 +00:00
lib_polyline.h Add more consts all over the place 2020-10-27 11:03:35 +00:00
lib_rectangle.cpp Simplify message panel code. 2020-11-18 17:32:40 +00:00
lib_rectangle.h Add more consts all over the place 2020-10-27 11:03:35 +00:00
lib_text.cpp Simplify message panel code. 2020-11-18 17:32:40 +00:00
lib_text.h Add more consts all over the place 2020-10-27 11:03:35 +00:00
lib_view_frame.cpp Simplify message panel code. 2020-11-18 17:32:40 +00:00
lib_view_frame.h Refactor GetDocumentExtents() 2020-09-25 00:31:56 -07:00
libarch.cpp Cleanup creation of all our smart pointers 2020-10-26 23:52:44 +00:00
menubar.cpp Fix localization of the menu strings with accelerator strings 2020-11-04 01:31:52 +00:00
pin_number.cpp More component -> symbol. 2020-11-15 20:23:15 +00:00
pin_number.h
pin_type.cpp Split out arrayDim and MIRROR templates from macros.h 2020-11-17 20:21:04 -05:00
pin_type.h Add include for GCC. 2020-08-21 20:54:36 +01:00
project_rescue.cpp Eeschema: fix symbol rescue bug. 2020-10-28 09:31:10 -04:00
project_rescue.h Cleanup: Move KiCad files into plugins folder 2020-10-12 16:36:08 +00:00
sch_base_frame.cpp Make Eeschema cursors update without waiting for mouse movement. 2020-11-18 17:32:40 +00:00
sch_base_frame.h Formatting and naming conventions. 2020-11-07 18:50:30 +00:00
sch_bitmap.cpp Simplify message panel code. 2020-11-18 17:32:40 +00:00
sch_bitmap.h properties: post-rebase fixes 2020-07-05 22:44:38 +02:00
sch_bus_entry.cpp Simplify message panel code. 2020-11-18 17:32:40 +00:00
sch_bus_entry.h Better name for a plot style variable and accessors. 2020-10-17 12:00:43 +02:00
sch_component.cpp Make sure current sheet gets set when creating BOM. 2020-11-18 17:32:40 +00:00
sch_component.h Require client to specify whether they want resolved values or not. 2020-11-17 21:36:48 +00:00
sch_connection.cpp Simplify message panel code. 2020-11-18 17:32:40 +00:00
sch_connection.h msgpanel is a widget, shove it to the right folder. 2020-10-25 20:01:12 -04:00
sch_draw_panel.cpp ADDED: Menu option to enable/disable snap to grid 2020-09-10 20:09:30 -07:00
sch_draw_panel.h Split base_struct into eda_item and eda_rect 2020-10-13 21:24:50 -04:00
sch_edit_frame.cpp Hook up excluded ERC marker persistence. 2020-11-19 18:22:52 +00:00
sch_edit_frame.h Start of impl for persisting ERC exclusions. 2020-11-18 23:34:27 +00:00
sch_field.cpp Split out arrayDim and MIRROR templates from macros.h 2020-11-17 20:21:04 -05:00
sch_field.h Re-write IntersheetRefs on top of SCH_FIELDs and textVars. 2020-11-17 16:05:49 +00:00
sch_file_versions.h Eeschema: add schematic sheet page number. 2020-10-19 14:05:45 -04:00
sch_io_mgr.cpp Cleanup: Move KiCad files into plugins folder 2020-10-12 16:36:08 +00:00
sch_io_mgr.h CADSTAR Schematic Archive Importer: Load all Sheets and Hierarchical Blocks 2020-09-27 18:13:58 +01:00
sch_item.cpp Re-write IntersheetRefs on top of SCH_FIELDs and textVars. 2020-11-17 16:05:49 +00:00
sch_item.h Re-write IntersheetRefs on top of SCH_FIELDs and textVars. 2020-11-17 16:05:49 +00:00
sch_junction.cpp Split out arrayDim and MIRROR templates from macros.h 2020-11-17 20:21:04 -05:00
sch_junction.h Tighten up hittest logic for junctions and lines. 2020-11-10 18:08:25 +00:00
sch_line.cpp Simplify message panel code. 2020-11-18 17:32:40 +00:00
sch_line.h Correct naming conventions. 2020-11-14 14:29:11 +00:00
sch_marker.cpp Start of impl for persisting ERC exclusions. 2020-11-18 23:34:27 +00:00
sch_marker.h Start of impl for persisting ERC exclusions. 2020-11-18 23:34:27 +00:00
sch_no_connect.cpp Split out arrayDim and MIRROR templates from macros.h 2020-11-17 20:21:04 -05:00
sch_no_connect.h Avoid passing references in EESchema 2020-09-08 06:29:27 -07:00
sch_painter.cpp Fix issues with Intersheet Ref highlighting and hover actions. 2020-11-18 17:32:40 +00:00
sch_painter.h More component -> symbol. 2020-11-15 20:23:15 +00:00
sch_pin.cpp Simplify message panel code. 2020-11-18 17:32:40 +00:00
sch_pin.h More component -> symbol. 2020-11-15 20:23:15 +00:00
sch_plugin.cpp Minor code cleanup: remove useless include or useless code. 2020-10-01 11:36:15 +02:00
sch_preview_panel.cpp Relocate the page_layout includes to a page_layout folder 2020-10-13 20:33:33 -04:00
sch_preview_panel.h Split base_struct into eda_item and eda_rect 2020-10-13 21:24:50 -04:00
sch_reference_list.h Naming conventions (including some component -> symbol). 2020-11-15 20:23:15 +00:00
sch_rtree.h More component -> symbol. 2020-11-15 20:23:15 +00:00
sch_screen.cpp Re-write IntersheetRefs on top of SCH_FIELDs and textVars. 2020-11-17 16:05:49 +00:00
sch_screen.h More component -> symbol. 2020-11-15 20:23:15 +00:00
sch_sheet.cpp Split out arrayDim and MIRROR templates from macros.h 2020-11-17 20:21:04 -05:00
sch_sheet.h Re-write IntersheetRefs on top of SCH_FIELDs and textVars. 2020-11-17 16:05:49 +00:00
sch_sheet_path.cpp Require client to specify whether they want resolved values or not. 2020-11-17 21:36:48 +00:00
sch_sheet_path.h More component -> symbol. 2020-11-15 20:23:15 +00:00
sch_sheet_pin.cpp Correct naming conventions. 2020-11-14 14:29:11 +00:00
sch_text.cpp Fix rotation bugs in Eeschema. 2020-11-24 18:19:35 +00:00
sch_text.h Fix rotation of multiple global labels with intersheet references. 2020-11-21 23:44:26 +00:00
sch_text_help.md Move sch_text help into markdown file 2020-10-06 17:18:35 +00:00
sch_validators.cpp Prepare for MODULE -> FOOTPRINT. 2020-11-13 15:16:24 +00:00
sch_validators.h Prepare for MODULE -> FOOTPRINT. 2020-11-13 15:16:24 +00:00
sch_view.cpp Process all symbol instances as the ref, value, etc. may be different. 2020-11-23 22:09:15 +00:00
sch_view.h Split base_struct into eda_item and eda_rect 2020-10-13 21:24:50 -04:00
schematic.cpp Start of impl for persisting ERC exclusions. 2020-11-18 23:34:27 +00:00
schematic.h Start of impl for persisting ERC exclusions. 2020-11-18 23:34:27 +00:00
schematic.keywords Eeschema: add schematic sheet page number. 2020-10-19 14:05:45 -04:00
schematic_settings.cpp Read global fieldNameTemplates for project but don't write them. 2020-11-21 23:10:54 +00:00
schematic_settings.h Re-write IntersheetRefs on top of SCH_FIELDs and textVars. 2020-11-17 16:05:49 +00:00
schematic_undo_redo.cpp Fix undo of DeMorgan conversion. 2020-10-21 00:04:04 +01:00
sheet.cpp Embarking on the next adventure: component -> symbol. 2020-11-15 20:23:15 +00:00
symbol_lib_table.cpp Cleanup creation of all our smart pointers 2020-10-26 23:52:44 +00:00
symbol_lib_table.h Display symbol libraries that couldn't be loaded as disabled text 2020-09-02 00:10:25 +01:00
symbol_tree_model_adapter.cpp Formatting and naming conventions. 2020-11-07 18:50:30 +00:00
symbol_tree_model_adapter.h Formatting and naming conventions. 2020-11-07 18:50:30 +00:00
symbol_tree_synchronizing_adapter.cpp Formatting and naming conventions. 2020-11-07 18:50:30 +00:00
symbol_tree_synchronizing_adapter.h Formatting and naming conventions. 2020-11-07 18:50:30 +00:00
toolbars_lib_view.cpp Smooth out redrawing of toolbars by not letting wx pointlessly calculate both orientations 2020-11-05 20:56:14 -05:00
toolbars_sch_editor.cpp Smooth out redrawing of toolbars by not letting wx pointlessly calculate both orientations 2020-11-05 20:56:14 -05:00
transform.cpp Refactor all math into a new kimath library 2020-01-07 17:12:59 +00:00
transform.h Comment-only changes 2020-01-10 16:43:01 -08:00