19555 Commits

Author SHA1 Message Date
Jeff Young
03c230dd64 Read legacy tokens before current tokens.
(So current can overwrite.)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21525
2025-08-22 16:33:31 +01:00
dsa-t
424807da03 Fix ODB++ path creation.
(cherry picked from commit 72e19047087a83fea784c4f00db24b50e5bc4f3e)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-08-22 15:07:52 +03:00
Alex Shvartzkop
1a9993d764 Add FOLLOW_PCB, FOLLOW_PLOT_SETTINGS appearance presets to 3D render job dialog. 2025-08-22 13:37:49 +03:00
dsa-t
d2f852504a Use board stackup colors by default in 3D render job.
(cherry picked from commit f7380ae0155058fd16ea5940aebd4401ce9e79d0)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-08-22 13:36:08 +03:00
Graham Keeth
a467727503 Tweak display names for via protection features
- "Type II a" -> "Type II-a", as given in IPC-4761 text
- remove unnecessary spaces in parentheses
2025-08-21 21:11:41 +01:00
dsa-t
66a1e268d7 EasyEDA import: Add footprint Reference text on F_Fab.
(cherry picked from commit 26b6c28befdfbcd0978794977e98186d720d97f5)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-08-21 17:41:09 +03:00
dsa-t
3e58b34843 EasyEDA import: Build basic Courtyard box for footprints.
(cherry picked from commit 8cd7b73b2a143ada362f38912819156018eb8fe4)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-08-21 17:13:33 +03:00
dsa-t
26b5e89640 EasyEDA import: Place component shape and marking on F_Fab.
(cherry picked from commit c2d31699bfa3d1420b452715d23faa95f51b0270)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-08-21 17:13:26 +03:00
Alex Shvartzkop
ec2d9c9d4c Add green color indication to length tuning status popup. 2025-08-21 15:41:03 +03:00
Jeff Young
3f85071f91 Don't double mirror groups.
Also removes previous fix, which had side-effects.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/8121

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20465
2025-08-21 12:29:34 +01:00
Jeff Young
42735b775d Remove unreachable PASTE_MODE.
Also, don't depend on enum order.

Fixes KICAD-YJ8.
2025-08-21 12:29:34 +01:00
dsa-t
d636eec643 router: Inline drag by track end even if cursor is slightly outside the track shape.
(cherry picked from commit 12cf3f93011e5c7a76d52f17fd10253648049baf)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-08-21 13:56:49 +03:00
Jeff Young
90621947bf Bug fixes for locked tuning patterns.
The router uses locking to know the bounds of the
tuning pattern so it must be temporarily unlocked
while editing with the router.
2025-08-20 23:23:45 +01:00
dsa-t
f896417ed4 Show errors before warnings in DRC/ERC.
(cherry picked from commit 316a9511e813af257af23f60642859fa623537d4)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-08-21 00:25:07 +03:00
Seth Hillbrand
44228bd580 Move IPC2581 output to REPORTER
Adds a wx_reporter_panel to the 2581 output window, shunt messages
through the reporter instance

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16314
2025-08-20 13:42:19 -07:00
Seth Hillbrand
c2f503774b Ensure that we use lasso when in the lasso mode
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21499
2025-08-20 12:48:03 -07:00
Seth Hillbrand
29317ace77 Rotate graphics when part of fp
Non-pad features need to be rotated with fp as well

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18565
2025-08-20 12:40:31 -07:00
Mike Williams
0f0c2ea494 pcb: windows build fix 2025-08-20 15:20:13 -04:00
Mike Williams
7e4133b9ec design blocks: fix up tests, API 2025-08-20 15:20:13 -04:00
Mike Williams
1e3c95a1d5 append board: use design block info when we have it 2025-08-20 15:20:13 -04:00
Mike Williams
ef50c31584 pcb design blocks: cleanup unused parameter
The position would always be "don't move at all" since we need to ensure
the design block fits in the canvas area, which means we can't move any
objects that we import.
2025-08-20 15:20:13 -04:00
Mike Williams
3127bec9c4 pcb design blocks: stop clobbering NET_INFO
Items hold pointers even when cloned, so we need to make new ones
and replace the old ones.
2025-08-20 15:20:13 -04:00
Mike Williams
cdc8435fd8 pcb design blocks: need tool actions from base class, too 2025-08-20 15:20:13 -04:00
Mike Williams
e30b325433 multichannel tool: fixup for rebase 2025-08-20 15:20:13 -04:00
Mike Williams
92ef03cf15 design blocks/multichannel: make apply layout do routing, etc. 2025-08-20 15:20:13 -04:00
Mike Williams
2f88ee9dee multichannel tool: just pass COMPAT_DATA& instead its parts 2025-08-20 15:20:13 -04:00
Mike Williams
3151d97010 multichannel tool: formatting and comments 2025-08-20 15:20:13 -04:00
Mike Williams
4df013cf13 multichannel tool: pass RULE_AREA to functions called findXInRuleArea
Was previously passing just the zone in some of them.
2025-08-20 15:20:13 -04:00
Mike Williams
fbb9b296e3 multichannel tool: rename ZONE* from m_area to m_zone for clarity 2025-08-20 15:20:13 -04:00
Mike Williams
5da6e482ed design blocks / multichannel: don't require user move of temp placement 2025-08-20 15:20:13 -04:00
Mike Williams
97af2af779 design blocks / multichannel: basics of placing DB layout 2025-08-20 15:20:13 -04:00
Mike Williams
986c1a597a multichannel tool: remove redundant m_raFootprints 2025-08-20 15:20:13 -04:00
Mike Williams
c6df815935 multichannel tool: remove some unused variables 2025-08-20 15:20:13 -04:00
John Beard
2a3b758e82 Pcbnew: array tool: improve variable locality, use range-for 2025-08-21 00:18:22 +08:00
John Beard
f31a109ab4 Pcbnew: fix refdes ordering in arrays
The first cell of the array needs to not be reannotated, or it will
skips its own number(s) and take what we expect for the second cell.
The repeats until the last entry, which didn't reannotate anything,
leaving the original numbers. Producing a 'rotation' like 2,3,4,5,1
rather than the expected 1,2,3,4,5.

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/20935
2025-08-21 00:18:22 +08:00
Seth Hillbrand
c1cd4dd157 Allow multiple pad->single pin in 2581 correctly
Grouped pads by pin number in the IPC-2581 exporter so only one pin node
is created per number.  Still output multiple pad shapes with the same
number.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18688
2025-08-20 08:55:55 -07:00
jean-pierre charras
f24aba4093 DIALOG_EXPORT_STEP_LOG: fix log display issues, due to DIALOG_SHIM changes.
- Clear m_textCtrlLog and display the command line string in TransferDataToWindow()
- Clear m_textCtrlLog on window close to avoid storing useless data in config
2025-08-20 17:39:21 +02:00
Seth Hillbrand
bd86f979ed Set embedded delegate to update view properly
When embedding a 3d model we want to be able to see it immediately but
this requires getting the embedded files from the delegate model

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19991
2025-08-20 08:34:09 -07:00
Seth Hillbrand
09cdca876c Add embed option to standard file dialog for 3dmodels
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20025
2025-08-20 08:28:00 -07:00
Jeff Young
1ceac1dafd Simplify locking to just be another filter now that we don't have a dialog. 2025-08-20 15:24:36 +01:00
John Beard
105b9fcfe8 Pcbnew: fix occasional failure-to-select for dragging
In the Drag tool client filter function, sometimes,
GuessSelectionCandidates trims the collector's item list.
But we used the old contents of the per-type vectors to make
judgements about what was connected.

If a call came in with 2 tracks (e.g. near a knee) and one
was removed by GuessSelectionCandidates, sometimes the
other one would be the one selected for removal in the
2 tracks/0 via case. This leaves the collector empty.

The other case, where the item removed by GuessSelectionCandidates
was removed from the collector is silent, as removing an item
not in the collector is a no-op.

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/21517
2025-08-20 20:34:08 +08:00
Jeff Young
b0945ee697 Don't push someone else's commit. 2025-08-20 13:19:37 +01:00
Jeff Young
e9f8b72666 Allow clearing of multiple tuning patterns.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21508
2025-08-20 13:19:37 +01:00
dsa-t
6d325e067a Remove unnecessary newlines in STEP exporter logging.
(cherry picked from commit 4cfa2e3a3873643dc09f0c6df3ebe337ca7ccac1)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-08-20 14:54:44 +03:00
dsa-t
0788ff3849 Remove a Message_Printer holding a stale REPORTER pointer from OCCT.
Fixes KICAD-V8A


(cherry picked from commit eecf0cd685fd41cdcf9780bd4f3c90a351eeb632)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-08-20 13:58:36 +03:00
John Beard
811745ff96 Pcbnew: efficiency and error-checking in footprint layers 2025-08-20 01:41:19 +08:00
John Beard
9173d11398 Very minor Coverity fixes 2025-08-20 01:41:18 +08:00
Jeff Young
941ea9edbb Formatting. 2025-08-19 18:33:18 +01:00
jean-pierre charras
57044fc89f DIALOG_TRACK_VIA_PROPERTIES: ensure data displayed in the dialog are good.
Data shown in widgets (texts, cCB state...) must be initialized in
TransferDataToWindow(), not inside Ctor, because now the base class DIALOG_SHIM
initialize a default value in its TransferDataToWindow() member, called after
the end of DIALOG_TRACK_VIA_PROPERTIES Ctor.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21511
2025-08-19 16:32:52 +02:00
Jeff Young
c287d9a222 Avoid div-by-zero. 2025-08-19 13:42:49 +01:00