Jon Evans
3218665861
Revert "Sync action plugins every time PCB frame is created"
This reverts commit 69566b25b1 .
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9798
4 years ago
jean-pierre charras
3886e681ae
PAD Copy CTOR: fix missing copy of m_pinType member.
4 years ago
jean-pierre charras
f5246acf37
PCB_PAINTER: draw PAD do not always replace netname by "x".
When a pad net is edited inside the board editor, its netname is no longer
its corresponding pin netname.
Fixes #9795
https://gitlab.com/kicad/code/kicad/issues/9795
4 years ago
Jon Evans
a746d31038
PNS: Fix loop removal outside shove mode
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9680
4 years ago
Jon Evans
8a0f8c329f
PNS: Fix DP gateway generation when pad distance < gap
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9306
4 years ago
Seth Hillbrand
4b226b8172
Unify our breakTracks routines
Fixes https://gitlab.com/kicad/code/kicad/issues/9793
4 years ago
Jeff Young
b0d7c1a810
Don't leave orphaned nets in pads after editing in FPEditor.
Fixes https://gitlab.com/kicad/code/kicad/issues/9789
4 years ago
jean-pierre charras
b8b8c0d34c
dialog text properties: fix a focus issue.
Fixes #9792
https://gitlab.com/kicad/code/kicad/issues/9792
4 years ago
Jeff Young
6652e5acf4
Draw pad holes when dragging.
Most of the time they're under the pad, but the provide needed
info when the hole is larger than the pad.
Fixes https://gitlab.com/kicad/code/kicad/issues/9786
4 years ago
Jeff Young
9547c72e73
Teach router about different keepout rules.
Fixes https://gitlab.com/kicad/code/kicad/issues/9786
4 years ago
Jeff Young
6f0a4ccdee
Formatting.
4 years ago
Jon Evans
69566b25b1
Sync action plugins every time PCB frame is created
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9781
4 years ago
Jeff Young
99ec2b1801
Don't hide original object when highlight is only part of it.
Fixes https://gitlab.com/kicad/code/kicad/issues/9772
4 years ago
Jon Evans
da458535c4
PNS: Avoid flickering clearances on new items
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9773
4 years ago
Jon Evans
63718323bc
PNS: Holes need to be moved with solids
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9773
4 years ago
Jon Evans
8026863d4c
Use progress reporting in more places when loading a board
Prevents application-not-responding events while opening large designs
4 years ago
Jon Evans
b4342d813b
Fix SHAPE_LINE_CHAIN::Slice when end is an arc followed by a point
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9770
4 years ago
Jeff Young
ade8fe4333
When dragging footprints pads with holes also need to be taken along.
Otherwise (aside from not colliding with their dragged location) we
won't update their locations and then if they happen to be the first
pad in the footprint we'll try to update the footprint's location post-
drag with the pad offset (which will be {0,0}.
This is easily reproducible with the test document in the bug in the
"fixes" statement.
Fixes https://gitlab.com/kicad/code/kicad/issues/9391
4 years ago
Jeff Young
f9e1429c60
Naming conventions.
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
6ecdbbb1da
Remove some duplicate work when loading a board
4 years ago
Wayne Stambaugh
06f206104d
Pcbnew: fix chamfered rectangular pad definitions in GenCAD exporter.
The pad comparison function was never updated when chamfered rectangular
and custom pads were added so if more that one variant of either of those
pad types existed in a design, only the first one would get generated and
assign to every pad of that type.
The custom pad primitive comparison has not be implemented so the exported
designs may be broken for custom pads.
4 years ago
jean-pierre charras
c0fdac2774
DIALOG_TRACK_VIA_PROPERTIES: Do not use wxcombobox selection as temporary variable.
Fixes #9746
https://gitlab.com/kicad/code/kicad/issues/9746
4 years ago
jean-pierre charras
b6ea9afb4f
DIALOG_PAD_PROPERTIES: fix 2 issues: missing initial value for roundrect corner radius
and missing resize pad display panel (minor cosmetic issue).
Fixes #9755
https://gitlab.com/kicad/code/kicad/issues/9755
Fixes #9703
https://gitlab.com/kicad/code/kicad/issues/9703
4 years ago
Seth Hillbrand
f97c7c78c8
Connect ruler tool with axes preferences
Adds "UpdatePreferences" action that is called when the preferences are
updated, allowing running tools to act on changes that may affect them
Fixes https://gitlab.com/kicad/code/kicad/issues/9737
4 years ago
Jeff Young
1c3e1df3ca
Not all holes are round.
We currently only need this to work for vias as we're a long way
from being able to support it for pads, so just check the hole
shape.
Fixes https://gitlab.com/kicad/code/kicad/issues/9735
4 years ago
Tomasz Wlostowski
e56e61ffb5
router: fix typo in the DP tuning fix patch
4 years ago
Seth Hillbrand
126563c839
Fix initilization project / ordering
We cannot resolve the Canvas type without the canvas being initialized.
But saving settings sometimes requests canvas access. This protects the
calls against failure by checking for canvas before saving
canvas-specific settings
Fixes https://gitlab.com/kicad/code/kicad/issues/9729
4 years ago
Simon Schaak
5060c73625
Reject broken footprint files
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9721
4 years ago
Tomasz Wlostowski
89228e1ebe
router: increase parallelity detection threshold for AssembleDiffPair()
Partially fixes the misrecognized diff pairs issue.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/8567
4 years ago
Jeff Young
8777ce3d4e
TEMP_SELECTED is in m_flags, not m_status.
Fixes https://gitlab.com/kicad/code/kicad/issues/9610
4 years ago
Tomasz Wlostowski
e60386f028
router: disable 'limit corner count' optimization for via dragging
It seems to be completely preventing optimization instead of preventing over-optimization in case the head is a dragged via.
To be investigated in more details in V7.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/8665
4 years ago
Tomasz Wlostowski
ccf9a72078
router: fix ghost dots issue in router preview items
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/8665
4 years ago
Seth Hillbrand
3f2d86adec
Make OpenGL default for all apps
Fixes https://gitlab.com/kicad/code/kicad/issues/9699
4 years ago
Roberto Fernandez Bautista
bbafce6ab3
PNS: Don't clip the line in the middle of an arc - just start again
In shove mode, returning an empty line results in keeping the current
head, which should be okay for now.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9023
4 years ago
Roberto Fernandez Bautista
4e0ad07eb0
PNS::Shove Add margin when generating hulls for arc segments
Partially fixes https://gitlab.com/kicad/code/kicad/-/issues/9023
There is still a case where if the shover does not find a solution,
we try clipping the arc and it still collides.
4 years ago
Tomasz Wlostowski
90157db537
PCB_PARSER: add timeout for of 100 ms for refreshing the progress window.
The previously used line number threshold was causing (on some systems) severe slowdown in loading
due to relatively long redraw time of the progress bar window.
4 years ago
Jon Evans
b1878fcc54
ClipVertexRange: fix fallout of NextShape API change
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9711
4 years ago
jean-pierre charras
302c5ab537
Fix an issue created by commit 9e3362d1.
the issue was the graphic cursor was locked on the first snap point
in route mode, once a snap point is found.
4 years ago
Jeff Young
cf1d5f5724
Teach selectConnectedTracks() about layers.
Fixes https://gitlab.com/kicad/code/kicad/issues/9610
4 years ago
Jeff Young
229706b48a
Formatting.
4 years ago
Tomasz Wlostowski
c40e921cb3
router: remeber to make a shove lockpoint when placing a lone via
Note to self: works around a possible bug in CommitPlacement()/RewindToLastLockedNode()
fixes: https://gitlab.com/kicad/code/kicad/-/issues/9695
4 years ago
Jeff Young
c1703212dc
"Document" properties go in File menu; Edit menu is for item props.
4 years ago
Jeff Young
9e3362d14c
Snap mouse point before picking startItem.
Fixes https://gitlab.com/kicad/code/kicad/issues/9700
4 years ago
Jeff Young
1f4858c314
Show holes in router preview items for vias.
Fixes https://gitlab.com/kicad/code/kicad/issues/9658
4 years ago
Seth Hillbrand
766a09c338
Remove autocomplete when we lose focus
Prevents the excess dropdown from persisting over windows
Fixes https://gitlab.com/kicad/code/kicad/issues/9651
4 years ago
Seth Hillbrand
7529eb1812
SWIG out connected item vector for use
Fixes https://gitlab.com/kicad/code/kicad/issues/8566
4 years ago
Jeff Young
c01649fc6e
Make it easier to open legacy files.
4 years ago
Jon Evans
d76c6bc884
Add NewBoard API to allow standalone BOARD creation
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9687
4 years ago