John Beard
eedfb7a573
Pcbnew: pickup footprints by points, add a selection filter
2025-09-02 01:24:14 +08:00
Ian McInerney
c95c15dd4e
Don't throw away old hidden text that was converted to fields
2025-09-01 18:19:46 +01:00
Mark Roszko
4a4725c906
Avoid shadowed variable warning
2025-09-01 12:24:35 -04:00
Mark Roszko
667dccb163
Add rdynamic to QABUILD executables.
2025-09-01 12:20:22 -04:00
Mark Roszko
4fb76404bc
Try and disable boost's signal handler
2025-09-01 16:07:03 +00:00
Mark Roszko
267ee811a7
Try and suppress gcc warning
2025-09-01 11:58:13 -04:00
John Beard
e016dc52fd
Pcbnew: Add concept of a 'point'
...
This is a zero-dimensional object that can be used for snapping
and documentation of useful, but non-physical features on a
board or footprint. They do not correspond to any physical
output in exports or plots.
Points do have a "size", but this is a graphical property only
and determines how large they are drawn on the board.
They also have a layer, which allows them to be selected and
made visible according to layer filters.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/4691
2025-09-01 23:44:21 +08:00
John Beard
c4d9338097
Pcbnew: sort sexpr text items stably
...
Currently all texts on the same layer do not sort stably in the file
format. Add sorting criteria to sort by position, angle, size
and so on and finally by string.
2025-09-01 23:44:21 +08:00
John Beard
5d967289ee
Eeschema: order pins by number, not position
...
Also use StrNumCmp, then the pin numbers are ordered exactly the
same way as pads in footprints.
2025-09-01 23:44:21 +08:00
John Beard
262f1fdabb
Pcbnew: add layer mode/stackup checks to library parity DRC
2025-09-01 23:44:21 +08:00
Mark Roszko
c9476caebf
Fix macOS build
2025-09-01 11:31:03 -04:00
Mark Roszko
a8d6292d61
Use boost::stacktrace w/ unit test handlers to start hunting for that copper sliver wabbit
2025-09-01 11:07:12 -04:00
jean-pierre charras
4953e80122
Fix some compil warnings
2025-09-01 16:22:05 +02:00
JamesJCode
bd04d508e0
Fix some compiler warnings
2025-09-01 14:50:22 +01:00
Seth Hillbrand
82c61efcbd
Revert "When re-launching on MacOS, create a new instance"
...
Needs to launch without jumping back in and allow switching
This reverts commit 1885f4bdee6656d988bf088b048fbfbb70ac0f3d.
2025-09-01 06:39:34 -07:00
Jeff Young
4024a15a17
Don't reference stack variables from a long-life lambda.
...
In particular, a lambda for conditional menus should
never capture more than `[this]`. Even the tool's
frame pointer could change.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21615
2025-09-01 12:44:20 +01:00
Jeff Young
0c8e7a7137
Reload symbol chooser on keep symbol, and improve accessibility.
...
(Respond to hotkey-generated clicks.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7698
2025-09-01 11:45:20 +01:00
Jeff Young
1f44417ad0
Attempt to improve ever-growing-window problems.
2025-09-01 11:45:20 +01:00
jean-pierre charras
5b31b11731
SHAPE_RECT: add Normalize method to assure width or height > 0
...
ROUNDRECT: add option to normalize the rectangle on creation
if the created rectangle has a negative size(width or height) there are issues
when drawing it.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21613
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21610
2025-09-01 11:56:56 +02:00
Adrián García
5fb55ccb30
jobsets: fix Replace button to overwrite existing files ( #19900 )
2025-09-01 01:13:23 +00:00
Seth Hillbrand
2eb7ba2fb9
Simplify overlapping points after editing
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21571
2025-08-31 17:48:59 -07:00
Seth Hillbrand
2c4d792358
Stop converging at existing point
...
Prevents collapsing points into drag element when hitting convergence
2025-08-31 17:48:59 -07:00
Seth Hillbrand
77a2330a33
Fix QA result based on updated behavior
2025-08-31 15:52:38 -07:00
Seth Hillbrand
7b4f4540b4
ADDED: Light snapping to 45° multiples
...
When modifying the points of a polygon, we add a small snap to the
points preferring multiples of 45° unless you are holding shift
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15709
2025-08-31 13:47:34 -07:00
Seth Hillbrand
1885f4bdee
When re-launching on MacOS, create a new instance
...
Allows people to run multiple copies of KiCad. Only launches new copies
if the TLW is already shown. Otherwise, sticks with the default MacOS
behavior of raising the running window
2025-08-31 12:54:55 -07:00
Seth Hillbrand
eba8d0748c
Don't show angles for non-polygons
2025-08-31 12:54:38 -07:00
Seth Hillbrand
f5904cf2ac
Prevent main KiCad window from expanding based on DPI events
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21602
2025-08-31 11:54:53 -07:00
Seth Hillbrand
bbc762a546
ADDED: Angle preview for polygon mod
...
Shows angle for the current and adjacent corners and whether they are
congruent
2025-08-31 11:49:41 -07:00
Seth Hillbrand
c6c8e19e39
The smallest angle between two segments is 0-180
...
Not 0-90. Subtracting 180-angle and then taking the smaller of angle
and 180-angle will always get you 90 or less. But obtuse angles are not
< 90
2025-08-31 11:49:41 -07:00
Jeff Young
1309b436da
Allow stitching of graphic shapes.
2025-08-31 19:32:48 +01:00
Jeff Young
c47b7459aa
Set free vias to graphic net if available.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21578
2025-08-31 19:21:29 +01:00
Jeff Young
a2e98fb53c
Don't set point to a value we're not going to keep.
...
It just causes flicker.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19947
2025-08-31 17:13:11 +01:00
Seth Hillbrand
2321285c16
Maybe don't need eary exit here
2025-08-31 08:11:44 -07:00
Seth Hillbrand
2cdeb0cd7c
Second pass at fixing warping and grids
...
First attempt caused additional problems for #21535
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18196
2025-08-31 07:54:21 -07:00
Seth Hillbrand
4af585c531
Revert "Remove the forced ancillary grid"
...
This reverts commit 29dc45d584a882866f2f3f27a7257481043ecc84.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21535
2025-08-31 07:54:12 -07:00
Seth Hillbrand
8c6f057f6c
Re-organize points to allow missing radius
...
Not all rectangles want/need the radius point, but we will only be able
to drag one point at a time. So we re-organize which point of an
overlapping set is selected
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21605
2025-08-31 07:10:14 -07:00
Jeff Young
9d7db3d135
Better interactive feedback.
...
Don't wait for mouse to move before refreshing after a command.
Also fixes a crash bug deleting an item after an
Unstage() (the Unstage() has already deleted the item).
Also fixes a crash when changing label type during
creation of a label produces a mess.
Also Keep cursor aligned to grid when not warping
back to original point.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16828
2025-08-31 14:25:52 +01:00
Seth Hillbrand
b22f259ccb
Make properties panel obey free pads setting
...
Pads should almost never be moved without their parent. Only allow this
in the case where free pads has explicitly been checked
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21591
2025-08-31 06:08:27 -07:00
Seth Hillbrand
b86cddbbe9
Fix RRECT handling in processClosedShape
2025-08-31 05:43:59 -07:00
Seth Hillbrand
053c46aa72
Add last point in 3d export
2025-08-31 05:29:37 -07:00
jean-pierre charras
4610a49323
Fix round rect shape STEP export.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21599
2025-08-31 12:43:40 +02:00
jean-pierre charras
68f9b74ae9
SHAPE RECTANGLE: fix hatching clipping for round rectangle.
2025-08-31 10:05:21 +02:00
Adam Wysocki
814f78f2b2
ADDED: Add pcb/sch upgrade cli command
2025-08-30 20:57:41 +00:00
Jeff Young
be57c1a380
Fix undo for rounded rects.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21595
2025-08-30 21:16:47 +01:00
Jeff Young
194b7f9dc5
Add corner radius to Shape Properties dialog.
2025-08-30 20:45:02 +01:00
Jeff Young
c6fcf7e0b8
Allow easier code searching for property names.
2025-08-30 19:09:15 +01:00
Mark Roszko
cf09e8ae88
Adjust flags for dynamicdeopt to build
2025-08-30 13:46:38 -04:00
Mark Roszko
1ff5f09c3a
Add cmake flag for enabling MSVC Dynamic Debugging in release
2025-08-30 13:35:40 -04:00
jean-pierre charras
7610c02fed
3D view: honor round rectangle shape.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21597
2025-08-30 18:51:43 +02:00
Jeff Young
7fd8b515b5
Prefer const&.
2025-08-30 17:45:49 +01:00