Jon Evans
0bc06d506c
Properties: reselect after canceled move
3 years ago
jean-pierre charras
93c631af44
drawing_stackup_table_tool: fix incorrect color of dielectric sublayers.
when a dielectric has sublayers, the printed color was always the main layer color.
3 years ago
Jeff Young
20791c99ac
Allow conversion of single track segments and vias.
Fixes https://gitlab.com/kicad/code/kicad/issues/13047
3 years ago
Jeff Young
6befa1c57e
A bit of cleanup to recent convert tool changes.
3 years ago
Jeff Young
4d8e73a630
Allow tracks as input to bounding hull generation.
Fixes https://gitlab.com/kicad/code/kicad/issues/13047
3 years ago
Seth Hillbrand
b31349b679
Get consistent point for gfx import
TopLeftItem() should always return same element for our import
Fixes https://gitlab.com/kicad/code/kicad/issues/13041
3 years ago
Seth Hillbrand
cf33f33899
Standardize placement tool modifiers
PlaceImage, PlaceImportedGraphics and PlaceText need to handle the grid
and hotpoint snapping as well as the modifiers to disable them
3 years ago
Jeff Young
3c4c4e5166
Remove shortened debug time from zone refill message.
Also adds a time-out for it.
3 years ago
Jeff Young
074c087c21
Allow disabling of grid snapping while placing imported image.
Fixes https://gitlab.com/kicad/code/kicad/issues/13040
3 years ago
Jeff Young
98ab078905
Remember conversion strategy.
Fixes https://gitlab.com/kicad/code/kicad/issues/13043
3 years ago
Mike Williams
17bb57cc73
PCB: fix stale ratsnest between moves in Move Individually
3 years ago
Jeff Young
8dbd6fee00
Go back to smaller chaining epsilon.
Using a large epsilon here to allow for sloppy drawing can cause
the algorithm to miss very short segments in a converted bezier.
So use an epsilon only large enough to cover for rouding errors in
the conversion.
Fixes https://gitlab.com/kicad/code/kicad/issues/12951
3 years ago
Jeff Young
19eab62516
More safety around ratsnest state.
Fixes https://gitlab.com/kicad/code/kicad/issues/13011
3 years ago
Jeff Young
9fa8b9e49f
Fix memory leak and re-code non-memory-leak so Coverity can understand it.
3 years ago
Alex
8c468dcffc
Use ecoords for distance comparison in PCB grid helper.
Fixes a bug where a cursor would jump to a far location while hovering
over some 45-degree tracks.
3 years ago
Jon Evans
41ca2789a6
Get rid of shadowing warning
3 years ago
Jeff Young
abd818a426
Update msgpanel after entering or exiting group.
Fixes https://gitlab.com/kicad/code/kicad/issues/13031
3 years ago
Jeff Young
31eb91e9e5
Infobar for slow zone auto-refill.
3 years ago
Jeff Young
b6bd74d822
Replace single zone fill under "draft" terminology.
Also sets Autofill Zones to default to on.
3 years ago
Mike Williams
ad6ef35c9f
PCB: Add skip action to Move Individually
3 years ago
Jeff Young
b2177718a1
Tighten up refresh logic for net & netclass references.
Also tightens it up a bit for text variables which can reference things
like netnames and netclasses, but also board settings.
Fixes https://gitlab.com/kicad/code/kicad/issues/13032
3 years ago
Jeff Young
8165fc6c44
Give up trying to infer what kind of polygon the user wants.
In many instances there are 3 valid answers: mimic linewidths, use
centerlines, and build a bounding hull.
Fixes https://gitlab.com/kicad/code/kicad/issues/12950
3 years ago
Mike Williams
4a4fab78a3
PCB: allow swap while moving
3 years ago
Mike Williams
3042633f4a
PCB: block unroute and move individually when already moving
3 years ago
Jon Evans
64f315c649
Move properties panel to widgets with the other AUI panels
3 years ago
Jeff Young
ec9c6a8053
Separate creation of polygons for open and closed shapes.
This allows us to create a bounding hull from an open shape-line-chain,
which is useful for defining milled slots.
3 years ago
Jon Evans
8c7691fbc3
Harmonize on "Manager" for now, since we use that in the docs
3 years ago
Jon Evans
bbea5b3fbc
Save and restore properties and search panel sizes
3 years ago
Seth Hillbrand
47d86e5d9e
Don't crash when canceling graphics import
Grouped graphics need to have their group removed from the preview
before deleting the elements to avoid reading freed memory when
redrawing
3 years ago
Jeff Young
8b1ffca7fa
Better reporting of nets and netclasses.
3 years ago
Jeff Young
97fd99ec99
Re-resolve netclasses after assigning netclass to pattern.
Fixes https://gitlab.com/kicad/code/kicad/issues/12965
3 years ago
Jeff Young
226529235c
Mostly const safety, but also performance opt. by avoiding shared_ptr overhead.
3 years ago
Seth Hillbrand
3b31955d98
Get hit test in group members
Fixes https://gitlab.com/kicad/code/kicad/issues/12957
3 years ago
Seth Hillbrand
01138a2e19
Fix fillet action for lines
Generalize fillet action behavior to all straight lines in pcbnew
Fixes https://gitlab.com/kicad/code/kicad/issues/4742
3 years ago
Jeff Young
c1510f07d8
Fix some issues with group bounding boxes.
Fixes https://gitlab.com/kicad/code/kicad/issues/12958
3 years ago
Jeff Young
0120df014e
Give group the right parent when pasting.
Fixes https://gitlab.com/kicad/code/kicad/issues/12954
3 years ago
Alex
12a55f20d3
Fix a mistake in grip margin.
Fixes https://gitlab.com/kicad/code/kicad/issues/12952
3 years ago
Alex
dd2f19ca5f
Allow router cursor snapping to points on the arc.
Also don't disable grid snapping when holding Shift over arcs.
3 years ago
Alex
110bc6abd1
Fix router cursor glitching on H/V track segments.
Also don't disable grid snapping when holding Shift over tracks.
3 years ago
Alex
38fd1c9985
pcbnew: Improve performance when something is selected.
3 years ago
Jeff Young
c409646aad
Update message panel after rebuilding connectivity.
Fixes https://gitlab.com/kicad/code/kicad/issues/10122
3 years ago
Jeff Young
bba6d503d4
Don't keep value of user or grid anchors between invocations.
Fixes https://gitlab.com/kicad/code/kicad/issues/12065
3 years ago
Jeff Young
cefc5268ab
Allow pads in selection and filter them for free-pads later.
Fixes https://gitlab.com/kicad/code/kicad/issues/12912
3 years ago
Jeff Young
9724f6e736
Don't allow zone filling during other editing operations.
It's a very heavy op, and is likely to violate all manner of
assumptions the other ops make.
Fixes https://gitlab.com/kicad/code/kicad/issues/12736
3 years ago
jean-pierre charras
f51db4e093
Fix some Coverity and compil warnings.
3 years ago
Jeff Young
9d8fdd8d53
Fire selection events from SelectAll().
Fixes https://gitlab.com/kicad/code/kicad/issues/12896
3 years ago
Jeff Young
7089e99f4b
Integrate move individually into move algo so other commands don't choke.
Also adds commands to cancel and finish move individually.
Fixes https://gitlab.com/kicad/code/kicad/issues/12750
Fixes https://gitlab.com/kicad/code/kicad/issues/12749
3 years ago
jean-pierre charras
248181e62d
Fix Coverity and compil warnings.
3 years ago
Jeff Young
d9987e9569
Orig_items will have been invalidated by Revert.
Don't use it to rebuild the selection. Use the board_item flags instead.
Fixes https://gitlab.com/kicad/code/kicad/issues/12882
3 years ago
Jeff Young
138f835672
Retire group bbox cache.
It's too hard to maintain when changes to other items (the groups
members) affect it.
3 years ago