Jeff Young
f2fc78f380
Don't copy modifiers to prime events.
The modifiers go with the hotkey, not with the action.
Fixes https://gitlab.com/kicad/code/kicad/issues/11618
4 years ago
Jeff Young
ec5b7a57ec
Consistency in via dimensions terminology.
Fixes https://gitlab.com/kicad/code/kicad/issues/11024
4 years ago
Seth Hillbrand
4d6c2e4868
Update end item before moving on track/via change
The move even dereferences m_enditem for logging and perhaps other
actions. We need to ensure that the end item has not been invalidated
before taking this action
Fixes https://gitlab.com/kicad/code/kicad/issues/10732
(cherry picked from commit 901c330478 )
4 years ago
Jeff Young
f18aae679c
Use router to update message panel when routing.
Fixes https://gitlab.com/kicad/code/kicad/issues/10068
4 years ago
Jeff Young
b2e3f03222
More wide-string declarations.
4 years ago
Seth Hillbrand
92dc06ac9d
Don't convert KIID on the fly
Converting to string on save prevent unneeded ops
(cherry picked from commit 901685f01b )
4 years ago
Jeff Young
14006495d5
Angle cleanup.
4 years ago
Jeff Young
abd3f5bc2b
Move footprints to EDA_ANGLE.
4 years ago
Jon Evans
60c0891c5f
Exit router and invoke edit tool when attempting to drag an arc track
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10208
(cherry picked from commit 45182febaf )
4 years ago
Marek Roszko
c4c56de708
Neurotically update position wxPoint usages
4 years ago
Mike Williams
956ac871c3
PCB Editor: changes to track width overrides starting track width
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/8797
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/8797
4 years ago
jean-pierre charras
6d0d4e0db9
Pcbnew, router tool: ensure switching layer by + or - works when starting routing.
Fixes #9936
https://gitlab.com/kicad/code/kicad/issues/9936
4 years ago
Seth Hillbrand
77fbb495f2
Highlight net during inline drag
Keep consistent UX between inline drag and drag started in the router
tool itself by highlighting the net being dragged
Fixes https://gitlab.com/kicad/code/kicad/issues/9919
4 years ago
Jeff Young
a596a1f2e2
ROUTER_TOOL needs to handle pads not handled by router itself.
Fixes https://gitlab.com/kicad/code/kicad/issues/9839
4 years ago
Seth Hillbrand
4b226b8172
Unify our breakTracks routines
Fixes https://gitlab.com/kicad/code/kicad/issues/9793
4 years ago
Jeff Young
5985a21b74
Offset internal items by drag amount.
Some tools move only preview items while keeping the real items
hidden. Those tools must use this new offset parameter.
Other tools move the real items. Those tools can ignore this
parameter (which will default to {0,0}).
Fixes https://gitlab.com/kicad/code/kicad/issues/9391
4 years ago
Jeff Young
ba6ae4fa9b
Kicad has many plugins. This one is for the pcb.
4 years ago
Jon Evans
59807d8d26
A better solution to discarding pending shove operations
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9553
4 years ago
Johannes Pfister
64f77b3596
PNS: Add support for 90-degree corner modes
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6902
4 years ago
Jon Evans
153594b9ea
PNS: Actually implement the AbortRouting API
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9425
4 years ago
Jon Evans
08700e3522
Router: show corner style in message panel
4 years ago
Jon Evans
e6c3027531
Action string typo fixes
4 years ago
jean-pierre charras
63d4d84aaa
pcbnew, router: fix a crash and some other issues related to microvias and blind/buried vias
- fix crash when trying to create a microvia from a internal layer (boards with > 4 layers)
- fix a bug that allowed to create a non through hole via on only one layer
- fix a bug that allowed to create a microvia on non adjacent layer pair
- when placing a via and selecting the target layer from dialog, show only allowed layers.
Fixes #9477
https://gitlab.com/kicad/code/kicad/issues/9477
4 years ago
Electro707
4afb59fda0
Added feature to switch between router modes
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9414
4 years ago
Jeff Young
36d11f745e
Update ratsnest while dragging footprints.
Fixes https://gitlab.com/kicad/code/kicad/issues/9391
4 years ago
Jon Evans
328d3d0d77
PNS: Fix rule resolution when starting from PTH
Have to use the routing start layer, not the first
layer of the PTH, to get the appropriate sizes
4 years ago
Seth Hillbrand
35e90d0cf4
Allow changing router mode while routing
Keeps shove active even when not using to allow switching modes during
routing.
Fixes https://gitlab.com/kicad/code/kicad/issues/9342
4 years ago
Mike Williams
726f9ebe3d
Pcbnew: Router tool should not block drag selection when idle
The other drawing tools allow drag selection while idle. Also, it makes
it more obvious to the user when accidentally drag selecting while
routing than just doing nothing on a drag with the routing tool selected
and idle.
4 years ago
Jeff Young
5f3c67bd2b
Fill in some missing GetMsgPanelItems and make some others consistent.
Also expunges a std::vector<MSG_PANEL_ITEM> cover type.
4 years ago
Jon Evans
cf53b053a1
Improve handling of dragging around locked segments
Locked segments now are not modified if they weren't the start item.
If a locked segment is the start item, it is automatically unlocked.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9145
4 years ago
Roberto Fernandez Bautista
dc1fd3d9ba
PNS test app: Add logging information for curved track routing
4 years ago
Jeff Young
fdfecf5932
Don't push view control settings to the previous active tool.
See further comments in bug report.
Fixes https://gitlab.com/kicad/code/kicad/issues/9147
4 years ago
Seth Hillbrand
092cdc0bb5
Move 45° limit to hotkey
This assigns the "Tab" key to a general pcbnew 45° limitation. Limit
can be enabled/disabled using context menu as well.
Removed the user preference for 45° limitation on graphic lines as that
is overlapping with the general limitation, which is not an editing
preference so much as a temporary adjustment to tool action.
Related to https://gitlab.com/kicad/code/kicad/-/issues/8490
4 years ago
Jon Evans
09ea630d8e
Don't log a potentially invalidated item
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9006
4 years ago
jean-pierre charras
fa82fcb809
Router tool: ensure a internal layer exists when placing a microvia.
Fix also a minor compil warning.
Fixes #8931
https://gitlab.com/kicad/code/kicad/issues/8931
4 years ago
Jeff Young
c51b1dad72
Generalize infobar MESSAGE_TYPE handling and use for DRC errors.
Fixes https://gitlab.com/kicad/code/kicad/issues/8782
4 years ago
Jon Evans
edc2be9018
Update width status when user choice changes
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8265
4 years ago
Roberto Fernandez Bautista
81fa40d659
Code style: Fix missing space
4 years ago
Roberto Fernandez Bautista
04ff8cde5e
Drag & Fillet Tracks: Ignore mouse up / click events until move / drag
Ensures that any click/mouse up events generated after clicking "OK"
in the "Override locks" dialog are ignored.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8123
4 years ago
Jon Evans
277bf2b719
Add feedback showing current router state to the message panel
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8265
4 years ago
Jeff Young
400f4ae506
Code cleanup.
4 years ago
Jeff Young
780a8a5154
Fix another place disallowing internal microvias.
Fixes https://gitlab.com/kicad/code/kicad/issues/8716
4 years ago
Jeff Young
c159500101
Remove nags and make Sel Layer and add via commands uniform.
Fixes https://gitlab.com/kicad/code/kicad/issues/8686
4 years ago
Jeff Young
c6606a0582
Hook up delete to undo last segment when routing.
Fixes https://gitlab.com/kicad/code/kicad/issues/8362
5 years ago
Jeff Young
096e342386
Prefix TRACK, ARC and VIA.
5 years ago
Marek Roszko
6e01ce84b9
Break out eda_item_flags.h, fix the typedef to std::uint32_t, fix some signed vars
5 years ago
Jon Evans
3c6b98a0d5
PNS: preserve auto-detected track width when changing via sizes
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8046
5 years ago
Marek Roszko
10e60acf34
Clean up including of board_design_settings.h
5 years ago
Jon Evans
3b7480c1c1
PNS: Invalidate start/end items after finishing a route
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8555
5 years ago
Jeff Young
00791e1e37
Fix compile issues on clangd.
5 years ago