Tomasz Włostowski
22063dc5a5
pcbnew: clear selection reference point when moving footprint by name
...
Fixes: lp:1722870
* https://bugs.launchpad.net/kicad/+bug/1722870
2017-10-19 23:57:42 +02:00
Tomasz Włostowski
ac095b6724
pcbnew: tools for converting between custom-shaped pads and graphical shapes
2017-10-19 23:35:18 +02:00
Tomasz Włostowski
d9bfbb4fec
pcbnew: added graphical polygon drawing & editing tools
2017-10-19 23:14:01 +02:00
Maciej Suminski
e2ba6da886
Fixed an empty msgid warning (gettext)
2017-10-02 08:49:33 +02:00
Tomasz Włostowski
c6a0ad895b
pcbnew: code formatting, removed previous module editor copy/paste functions
2017-09-30 14:28:54 +02:00
Tomasz Włostowski
adcda4a3e8
pcbnew: prompt for reference point in the message panel, add cut/copy/paste entries in the Edit menu
2017-09-30 14:28:54 +02:00
Tomasz Włostowski
5731000135
pcbnew/copy&paste: multiple improvements:
...
- fixed netcode propagation bug
- factored out EDIT_TOOL::m_offset, now selection offset is stored in SELECTION class
- added VECTOR2I-based Move/Flip/Rotate methods in BOARD_ITEM
2017-09-30 14:28:54 +02:00
Tomasz Włostowski
f573a2e685
wip
2017-09-30 14:28:54 +02:00
Tomasz Włostowski
3fb926a8f2
Fix snapping to anchors in PICKER_TOOL & highlighting of pasted items
2017-09-30 14:28:54 +02:00
Tomasz Włostowski
931a1ccaff
Improved copy/paste functionality by Kristoffer:
...
- added selection of reference point
- added snapping when pasting
- some minor code refactoring
- disabled pasting between footprint and pcb editors due to model incompatibility
2017-09-30 14:28:54 +02:00
Kristoffer Ödmark
79d81ae9ff
forward the event
2017-09-30 14:28:53 +02:00
Kristoffer Ödmark
4ce38abce2
renamed copypasta functions, fixed a paste_module error
2017-09-30 14:28:53 +02:00
Kristoffer Ödmark
b4879d061c
Fixed menu items, moved the copy and cut to the EDIT_TOOL, Fixed rendering when copying a module
2017-09-30 14:28:53 +02:00
Kristoffer Ödmark
7ff096fbac
updating patch to master
2017-09-30 14:28:53 +02:00
Kristoffer Ödmark
bd8980596f
Some code cleanup to follow kicad style better
2017-09-30 14:28:53 +02:00
Kristoffer Ödmark
6a02ee6c4b
fixed crash on copying texte modules
2017-09-30 14:28:53 +02:00
Kristoffer Ödmark
84b803042c
Improvements to copy-paste
...
-Can paste items from board to module-editor (only module parts)
-Can paste entire modules just as copy
-Can copy items inside module-editor
Known limitations:
-Will crash if trying to paste a module containing module_text inside
the module editor ( dont know why, problem existed before )
-If copying things with strange layer names, the layer names will be
changed.
2017-09-30 14:28:53 +02:00
Kristoffer Ödmark
c0981b8444
Added a new plugin that can save and load to clipboard, using ctrl+shift+c/v for copy pasting
...
Added the needed kicad_clipboard files and made copy pasted modules have no path
2017-09-30 14:28:53 +02:00
Oliver Walters
c977c88a10
Zone keepout exclusion now works on multiple layers!
...
Bug fixes for keepout layers
- Changed LSET::size() -> LSET::count()
- Save/load functions no longer depend on zone being a keepout
2017-09-27 10:35:00 +02:00
Oliver Walters
2895030cfa
Add multi-layer zone rendering for GAL
...
Enable multi-layer selection for keepout zones in GAL
2017-09-27 10:34:59 +02:00
Baranovskiy Konstantin
28997e7f37
Footprint viewer: fix zooming from toolbar or menu in GAL.
2017-09-26 16:24:54 +02:00
Jon Evans
256f52f27e
Use VIEW_GROUP for candidate highlighting; enable in PcbNew also
2017-09-25 13:39:37 +02:00
Maciej Suminski
df472e6426
Added mouse position refresh event WX_VIEW_CONTROLS::WarpCursor()
2017-09-22 11:13:45 +02:00
Michael Geselbracht
da037027fb
Do not warp viewport when dragging FPs
...
Fixes: lp:1714611
* https://bugs.launchpad.net/kicad/+bug/1714611
2017-09-22 11:13:40 +02:00
Maciej Suminski
cca63801bf
Renamed D_PAD::{Set,Get}PadName() to D_PAD::{Set,Get}Name()
2017-09-19 18:23:50 +02:00
Maciej Suminski
25abe30c72
Code formatting
2017-09-18 11:25:32 +02:00
Kristoffer Ödmark
aaa1e35b6a
Heirarchical sheet selection includes more.
...
Now the heirarchical sheet selection feature includes tracks that belong
to a net spanning multiple sheets, but only by doing a logical connection
from the pads of the modules. This is to be able to select connections
between components on the same sheet. For example if the sheet contains a
star power connection or something similar, then most of the sheet local
connections will now also be included.
2017-09-18 11:16:13 +02:00
Jon Evans
eec1366ead
Move ZOOM_TOOL to common; add RMB-drag to zoom out
2017-08-31 10:04:00 +02:00
Tomasz Włostowski
2e4c22f718
router: fix corruption of board data when the inline drag is activated while the router tool is running
...
Fixes: lp:1712838
* https://bugs.launchpad.net/kicad/+bug/1712838
2017-08-30 01:16:06 +02:00
Maciej Suminski
7ce86e0da5
Fix crash when duplicating an item in FP editor
...
Fixes: lp:1712828
* https://bugs.launchpad.net/kicad/+bug/1712828
2017-08-24 16:31:31 +02:00
Tomasz Włostowski
60fdc6229d
router: fixed inline dragging & settings dialogs inconsistency
2017-08-22 16:44:58 +02:00
Maciej Suminski
31ef52a365
Fix fine-grid cursor movement using arrow keys
...
Fixes: lp:1497976
* https://bugs.launchpad.net/kicad/+bug/1497976
2017-08-22 15:14:33 +02:00
jean-pierre charras
068f96f2ce
Fix untranslatable empty string
2017-08-09 08:29:30 +02:00
Maciej Suminski
53204e097a
Reenable pad enumeration by clicking
...
Fixes: lp:1708231
* https://bugs.launchpad.net/kicad/+bug/1708231
2017-08-08 16:47:07 +02:00
Tomasz Włostowski
2d9ab80b4e
Few improvements to the GAL router:
...
- missing 'break track' functionality
- 'drag 45 degree' and 'drag free angle' context menu shorcuts, both in the router tool and in the default context menu
- bugfix: length tuner tool can now be used again
Fixes: lp:1708386
* https://bugs.launchpad.net/kicad/+bug/1708386
Fixes: lp:1708402
* https://bugs.launchpad.net/kicad/+bug/1708402
2017-08-07 14:28:46 +02:00
Maciej Suminski
9aaea050b9
Do not stop dragging after a rotation command
...
Fixes: lp:1708876
* https://bugs.launchpad.net/kicad/+bug/1708876
2017-08-07 10:02:10 +02:00
Maciej Suminski
e8345dce51
Display GRID_HELPER auxiliary axes and snap points
2017-08-07 08:59:32 +02:00
jean-pierre charras
b8c621a991
fix a few Coverity warnings.
2017-08-06 14:23:03 +02:00
Tomasz Włostowski
32185ddcd3
Multiple improvements concerning colors, configuration handling and legacy features in pcbnew:
...
- support for background color setting
- removed several global config settings (such as g_Drc_On)
- wrapped most of global config settings in PCB_GENERAL_SETTINGS class
- reorganized PCB general options dialog to clearly mark which options concern only the legacy canvas
- new GAL feature for legacy users: double-click (or E) to change track width available as an option.
Fixes: lp:1530543
* https://bugs.launchpad.net/kicad/+bug/1530543
Fixes: lp:1707145
* https://bugs.launchpad.net/kicad/+bug/1707145
2017-08-04 16:06:57 +02:00
Maciej Suminski
3570154ef0
Fixes to speed select/deselect commit ( 161045f1
)
...
Deselecting items require full refresh, as otherwise e.g.
umbilical lines for modules stays.
2017-08-03 16:14:46 +02:00
Maciej Suminski
71c33d3dcd
Fixes for canceling selection after invoking menu on an unselected item ( 9cbcb322
)
2017-08-03 14:28:07 +02:00
Maciej Suminski
3629fcbf4a
Code formatting
2017-08-03 14:28:07 +02:00
Maciej Suminski
30ad7e4f99
Improved the algorithm for guessing the selection candidates
...
Now it filters out items that are bigger than the current viewport
2017-08-01 18:00:30 +02:00
Maciej Suminski
efdf0c6b84
Parameter tuning for hiding dynamic ratsnest
2017-08-01 17:57:18 +02:00
Maciej Suminski
9cbcb3224c
Cancel selection if an item has been selected by right click
2017-08-01 15:23:08 +02:00
Maciej Suminski
f303bf2999
Hide temporarily ratsnest when it is too complex for real-time calculation
2017-08-01 15:22:24 +02:00
Maciej Suminski
1ac34b44bf
Removed explicit calls to update ratsnest from EDIT_TOOL
2017-08-01 15:22:23 +02:00
Maciej Suminski
76bd05a69b
Prevent creating too many transitions by TOOL_MANAGER
...
- added TOOL_INTERACTIVE::resetTransitions()
- made protected and moved TOOL_BASE::setTransitions() to TOOL_INTERACTIVE
- TOOL_MANAGER calls TOOL_INTERACTIVE::resetTransitions() instead of
setTransitions()
2017-07-31 15:09:19 +02:00
Maciej Suminski
9e385872a0
Remove an excessive VIEW::Update() call
2017-07-31 15:09:19 +02:00
Maciej Suminski
acbfea48f2
Fixed a bug allowing to drag locked footprints without approval
...
Fixes: lp:1576655
* https://bugs.launchpad.net/kicad/+bug/1576655
2017-07-27 17:13:22 +02:00