7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-27 00:26:13 +00:00
Commit Graph

18164 Commits

Author SHA1 Message Date
Marek Roszko
db56d51838 Fix output paths for jobs again 2025-01-11 19:05:45 -05:00
Marek Roszko
4cfd6f71e5 Fix plot job paths not saving 2025-01-11 19:05:44 -05:00
Marek Roszko
47fb4686c3 Add text var expansion in output paths 2025-01-11 19:05:44 -05:00
Seth Hillbrand
8ccf8c1138 Speed up creepage
Make sure of sets where possible
Don't do checks in nested loops -- prune first
Thread when possible
Ensure we are updating the dialog as we go
Fix some coding convention issues

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19488
2025-01-11 13:18:29 -08:00
Seth Hillbrand
ae4ef7c062 Allow display of each new phase
KeepRefreshing is gated so if we get a bunch of phases in a row, they
won't be shown until you get past a slower phase.  By yielding here, we
ensure that the dialog is updated and the user knows which phase of DRC
they are on.
2025-01-11 13:18:29 -08:00
Tomasz Wlostowski
b54235262a router: fix assertion in multidragger (link count out of range)
Fixes https://gitlab.com/kicad/code/kicad/issues/19587
2025-01-11 18:11:29 +01:00
Jeff Young
edd59c6ead Allow normal close action of dialog
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19596
2025-01-11 15:17:28 +00:00
Jon Evans
2f96dfd5cb Do not call Select on an empty combobox
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19594
2025-01-11 08:25:04 -05:00
Marek Roszko
2123c03fa1 Shift gerber job to lseq instead 2025-01-10 22:24:28 -05:00
Jon Evans
54e8233b36 Don't scan for API plugins if server is disabled 2025-01-10 21:46:51 -05:00
Tomasz Wlostowski
4ee52a21d0 router: take overlapping segments/arcs into account when syncing board state to router state
Fixes https://gitlab.com/kicad/code/kicad/issues/19581
2025-01-11 01:36:49 +01:00
JamesJCode
9a63662844 Multichannel: Update UI strings 2025-01-10 23:54:20 +00:00
Seth Hillbrand
7516e3a190 Update docs link
Instead of the hard-coded docs website, we use the redirect container to
keep the links valid and do forward-planning (e.g. 9.99)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19570
2025-01-10 15:19:21 -08:00
Seth Hillbrand
8e23fcab08 Keep text angles normalized
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19591
2025-01-10 13:53:44 -08:00
Alex Shvartzkop
129e37f63d Drag footprints only in non-hover selections. 2025-01-10 21:14:13 +05:00
Tomasz Wlostowski
bf64e74188 router: fix regression in simplifyNewLine() causing unnecessary segments to be added to board (forming loops)
(note to self: OPTIMIZER now unlinks the in-place-optimized LINEs)
2025-01-10 16:01:19 +01:00
JamesJCode
ccca044a58 Multichannel: Reserve hidden strings, re-order placement options 2025-01-10 11:26:43 +00:00
JamesJCode
5cad4ad8d0 Multichannel: Don't include footprints outside of reference area 2025-01-10 11:23:56 +00:00
Marek Roszko
16d10dc76e Squash the pdf handling for the old path into the new like dxf/svg 2025-01-09 23:43:40 -05:00
Marek Roszko
afe7c893d5 Squash dxf job path for single/multi like svg 2025-01-09 23:43:40 -05:00
Jon Evans
0ba869465c API: switch to Distance type for thermal settings 2025-01-09 21:25:15 -05:00
Marek Roszko
ecfc868832 Combine/move svg plot job to single path 2025-01-09 21:21:09 -05:00
Jon Evans
4dfcbc6d2a API: make thermal spoke settings optional 2025-01-09 20:55:50 -05:00
JamesJCode
0f6669a68c Improve multichannel UI strings 2025-01-10 00:49:00 +00:00
Seth Hillbrand
229507ee43 Cleanup a couple routines in the last MR
Simplify and clean the functions
2025-01-09 15:42:58 -08:00
Dhinesh
e02b6be4c9 Fix error-marker highlighting for multiple markers at the same location
Previously, if multiple error markers were placed at the same location,
the selected marker was not visually differentiated from the unselected
ones, even if one was at the top of the stack. To fix this, Need to pass
overlapping markers to the FocusOnItems() function instead of calling
FocusOnItem() with only the selected marker.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/9778
2025-01-09 23:41:02 +00:00
Jon Evans
c13af4ed36 Remove warning severity override
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19573
2025-01-09 17:34:57 -05:00
Seth Hillbrand
00de67eea8 Properly handle cleanup for multiple collinear tracks
When we have multiple tracks that share a single anchor, they are
technically a node but should still be cleaned as they are collinear.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19574
2025-01-09 12:10:23 -08:00
Jeff Young
dd7c076bc9 Use std::optional for pad connection overrides.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19555
2025-01-09 17:32:05 +00:00
Seth Hillbrand
452e69de85 Move thread pool into true singleton
Thread pool needs to be stored in a single location for all of KiCad
otherwise each kiface will spin up its own pool of persistent threads
2025-01-09 09:03:08 -08:00
jean-pierre charras
6c0e5508a9 Pcbnew: ensure footprint courtyard caches are rebuilt after rotation or flip
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19561
2025-01-09 17:59:05 +01:00
Alex Shvartzkop
7677c71fdb Initialize some members in PCB_EDIT_FRAME. 2025-01-09 19:16:38 +05:00
Jon Evans
6858561731 Fixes for building against recent wxWidgets 3.3 2025-01-09 08:38:49 -05:00
Jeff Young
1b5bdbbbf0 Improve rotated text in Eagle import.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18490
2025-01-09 11:43:19 +00:00
Jeff Young
fba91a2f6b De-clutter export pos file dialog. 2025-01-09 11:42:58 +00:00
Jeff Young
03c54018e6 De-clutter export pos file dialog. 2025-01-09 11:42:58 +00:00
Jeff Young
b0a8cb2678 De-clutter export ODBC dialog. 2025-01-09 11:42:58 +00:00
Seth Hillbrand
4a22570e87 Clean layer parsing
NameToLayer will automatically return -1 on unrecognized layer names.
We don't need to gate this on a version
2025-01-08 16:00:46 -08:00
Jeff Young
5524ff3770 Formatting. 2025-01-08 15:39:47 +00:00
Jon Evans
7ce0f55305 Don't auto-save local settings when migrating
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19540
2025-01-08 08:43:28 -05:00
Alex Shvartzkop
d3f53db3eb EAGLE import: allow more lines before <eagle> tag.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19528

(cherry picked from commit 603a500bc0)
2025-01-08 16:24:54 +05:00
Jon Evans
96f87b5b83 Move layer presets to use named render layers
Add a migration to account for KiCad 8 render
layer id numbers

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18718
2025-01-08 00:15:56 -05:00
Jon Evans
018af2b6cd Pad properties: Update props book after changing edit layer
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19529
2025-01-07 21:45:58 -05:00
Seth Hillbrand
5e4c5c969a Freeze ERC action before deleting
Each deletion of a marker adjusts the tree model and comes with a
possibility of a repaint, which can trigger a full screen repaint.
Keeping the dialog frozen prevents these updates

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19531
2025-01-07 15:54:21 -08:00
Jon Evans
bd47692bf2 API: Include custom layer names in stackup 2025-01-07 18:28:07 -05:00
Jeff Young
83b26cfbd0 Modernize IPC2581 dialog. 2025-01-07 18:04:21 +00:00
Daniel Treffenstädt
0dd80c2975 Fix thermal spoke template edge case behaviour
For certain custom pads, need need to adjust the overlap between spoke and pad to ensure a connection
2025-01-07 17:51:15 +00:00
Jeff Young
37a948fa69 Make sure we open all outlines before running distance test.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19521
2025-01-07 17:25:39 +00:00
Jeff Young
b916dfa03a Cleanup construction vs TransferDataToWindow.
Also fixes capitalization of private member functions.
2025-01-07 17:09:17 +00:00
Jeff Young
c2818dcb29 Disable pad-hole-not-fully-inside-copper for board-level testing.
Also fixes the error string for it.
2025-01-07 14:50:16 +00:00