Jeff Young
76a915d472
Fix highlighting when initiated via ctrl-click.
Fixes: lp:1796755
* https://bugs.launchpad.net/kicad/+bug/1796755
7 years ago
jean-pierre charras
0a308c4584
Fix minor compil warnings
7 years ago
jean-pierre charras
17ac5b6d13
DIALOG_EDIT_COMPONENT_IN_LIBRARY: fix a dialog resize issue (grid not resized).
7 years ago
jean-pierre charras
e19141bdc8
LIB_CIRCLE: fix missing transform of m_EndPos in mirror and rotate.
Fixes: lp:1828655
https://bugs.launchpad.net/kicad/+bug/1828655
7 years ago
Jeff Young
9cc3d6764f
fixup! Fix some legacy set-to-idle statements.
7 years ago
Jeff Young
b83dac68d0
Fix drag-select hit-testing of LibEdit items.
7 years ago
Jeff Young
5e08be7018
Fix some legacy set-to-idle statements.
7 years ago
Jeff Young
792c4328aa
Cleanup.
7 years ago
Jeff Young
a9f663d5ef
Soften hit-testing in SchEdit and LibEdit a bit.
Old threshold was 0; new is 5 pixels.
7 years ago
Jeff Young
0c2ba94b16
More sharing between SchEdit and LibEdit.
7 years ago
Jeff Young
86d1592777
Fix bug with re-enting selection main loop.
7 years ago
Jeff Young
c1539ae014
Naming changes to reflect sharing between SchEdit and LibEdit.
7 years ago
Jeff Young
f3c95ad83c
Clean up the RepeatItem architecture and finish deleting the UndoItem facility.
7 years ago
Jeff Young
7da2631b27
Check item before concluding that ConvertText has run.
Otherwise we set item from nullptr back to the selection, and then
we think we're dragging again which causes all kinds of grief.
Fixes: lp:1828067
* https://bugs.launchpad.net/kicad/+bug/1828067
7 years ago
Jeff Young
f6e07f575a
Rename for clarity.
SetOffset() didn't set anything; it performed an action.
Move() suggests a delta, when it in fact does a SetPosition().
7 years ago
Jeff Young
ea0941cab3
Implement modern tools for LibEdit.
7 years ago
Jeff Young
40f41133b3
Move Circle, Arc, Rectangle and PolyLine tools to modern toolset.
7 years ago
Wayne Stambaugh
ae54f34392
Eeschema: fix corrupted schematic and symbol library files.
Prevent user from pasting text with carriage return and/or line feed
characters in field value edit control in the schematic symbol and symbol
library properties dialogs.
Make all objects derived from GRID_CELL_TEXT_BUTTON use validators
correctly.
Add validators to FIELDS_GRID_TABLE object for field values other than
the mandatory fields.
Create a validator to check that a string is a valid LIB_ID.
Fixes lp:1828214
https://bugs.launchpad.net/kicad/+bug/1828214
7 years ago
Seth Hillbrand
589a37bfe8
eeschema: Don't segfault on empty drawlist
7 years ago
Seth Hillbrand
0e5f5d37d1
eeschema: Fix sign error in comparison
7 years ago
Seth Hillbrand
2f782ac7a4
eeschema: Prevent double-commit on duplicate/copy
When activating the move from a drag extension, we need to add
additional components to the commit. This breaks for duplicate/copy
when we have already added the correct components
7 years ago
jean-pierre charras
c716d66e53
Fix typo
7 years ago
Jon Evans
3e5005698c
Add a bit of margin to line selection hit testing
7 years ago
Jon Evans
c02777a721
Clean up some unnecessary header dependencies
7 years ago
Jon Evans
8341e3f972
Ensure prefixes and suffixes make it on to bus members
7 years ago
Jon Evans
1de5b83d82
Promote net names to higher in hierarchy when possible
7 years ago
Jon Evans
81993eef83
Ensure bus member links get updated in hierarchical situations
7 years ago
Jon Evans
3d3c280f22
Fix hierarchical linking if parent sheet has a weak driver
7 years ago
Jeff Young
a40367ce17
Add a wire between direct-connect items when only is being dragged.
Fixes: lp:1798968
* https://bugs.launchpad.net/kicad/+bug/1798968
7 years ago
Jeff Young
469231ae15
Move Pin, Symbol Text and Symbol Anchor to modern toolset.
7 years ago
Jeff Young
2e4d948535
Fix some more hotkey issues.
Also reformatted the file to make it easier to see what is there and
what is missing. Apologies to the 100-char-width folks, but we were
just missing to many command IDs in this file.
Fixes: lp:1828006
* https://bugs.launchpad.net/kicad/+bug/1828006
7 years ago
Jeff Young
cf046e0548
Anchor a selected wire at the edge of a drag which is connected to a non-drag item.
Fixes: lp:1827846
* https://bugs.launchpad.net/kicad/+bug/1827846
7 years ago
Jeff Young
f40408187e
A couple of temp hacks for LibEdit <esc> processing while in transition.
Fixes: lp:1828004
* https://bugs.launchpad.net/kicad/+bug/1828004
7 years ago
Jeff Young
11ec7d4651
Invert the Y axis of SCH_PIN coords when hit-testing.
Fixes: lp:1827849
* https://bugs.launchpad.net/kicad/+bug/1827849
7 years ago
Jeff Young
2097411550
Refresh RequestSelection selection if all items were filtered out.
If you have, for instance a pin selected and do a cmd-E we'll filter
out the pin and then do nothing. We should instead treat it as a
hover selection if everything got filtered.
7 years ago
jean-pierre charras
2c43d4d6bf
Eeschema: fix incorrect display of the page number in a complex hierarchy.
When, inside a complex hierarchy, one switch from an instance of a sheet to an other instance of this sheet,
the page number shown in the worksheet was not updated on screen, and the initial number was displayed.
Fixes: lp:1827981
https://bugs.launchpad.net/kicad/+bug/1827981
7 years ago
Jon Evans
316be464ab
Handle higher-priority connection drivers located in subsheets
Fixes: lp:1827850
* https://bugs.launchpad.net/kicad/+bug/1827850
7 years ago
Jeff Young
f1a38a6d41
Respond to <esc> from selection tool.
Fixes: lp:1827917
* https://bugs.launchpad.net/kicad/+bug/1827917
7 years ago
Jeff Young
cd2bd23c37
Fix a bunch of issues with hotkeys, IDs and event processing.
Fixes: lp:1827894
* https://bugs.launchpad.net/kicad/+bug/1827894
7 years ago
Jeff Young
e5151ed639
Use parent's transform when moving SCH_FIELDs.
Fixes: lp:1827873
* https://bugs.launchpad.net/kicad/+bug/1827873
7 years ago
Jeff Young
a76bcc204f
Use parent's transform when moving SCH_FIELDs.
Fixes: lp:1827873
* https://bugs.launchpad.net/kicad/+bug/1827873
7 years ago
Jeff Young
b97d65e791
Fix crash bug when deleting sheet pin and disappearing bug when moving them.
Fixes: lp:1827890
* https://bugs.launchpad.net/kicad/+bug/1827890
7 years ago
Jeff Young
13beb344ca
Fix LIB_FIELD selection bug. (It wasn't checking for convert == 0.)
7 years ago
Jeff Young
d12eee9c98
Process new sheets after drawing.
7 years ago
Jeff Young
207900e4f9
Move libedit message panel updating to the Inspection Tool.
7 years ago
Jeff Young
a12d769074
Code clarification and commenting.
Also renames toolbar files to reduce confusion with the modern toolset
tool files.
7 years ago
Jeff Young
8e75824d29
Use selection tool for locateItem.
7 years ago
Jeff Young
f87d371b8b
Move to shared COLLECTORS for sch and lib.
7 years ago
Jeff Young
cc439f9ab0
Replace accidentally deleted mouse processing for LibEdit.
7 years ago
Jeff Young
49231ac08f
Fix missing event processing for Leave Sheet button in toolbar.
7 years ago