7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-14 02:59:34 +00:00
Commit Graph

18172 Commits

Author SHA1 Message Date
Seth Hillbrand
f24dba97f4 Block preview while menus are shown
When the user is navigating a drop down menu, they don't want the
preview window to pop over their screen.  This glues between the
LIB_TREE and the frame to block these preview events

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19117
2025-01-13 10:22:26 -08:00
Seth Hillbrand
becbf82390 Keep FP Properties dialogs as quasimodal
The dialogs will launch their own quasi modal dialogs, which reparent
themselves to the TLW.  When closing, on GTK, they will focus the TLW,
leading to events being handled while the initial quasi modal dialog is
still showing.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19385
2025-01-12 19:37:05 -08:00
Seth Hillbrand
e4d2dbb7a7 Strip extra library data when importing Altium
Altium stores (or can store) full information about the absolute
location of libraries for each footprint in their board files.  Since
KiCad only stores an alias, we have no place to keep the full path.
Just keeping the filename should be enough for most cases and still
allows the user to disambiguate manually after import without crowding
the UI.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15593
2025-01-12 17:07:49 -08:00
Maciej Małecki
82c1118679 pcbnew: disable Zone Manager thermal relief configuration when not needed 2025-01-13 00:43:59 +00:00
Jeff Young
a7c130b82d Hook up TITLE_BLOCK resolver to jobs.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19471
2025-01-12 22:31:09 +00:00
Wayne Stambaugh
5c8f4697ca Common folder housekeeping part 1. 2025-01-12 12:06:45 -05:00
Maciej Małecki
2c330e07be pcbnew: disable dialog thermal relief configuration when not needed 2025-01-12 16:39:30 +00:00
Jeff Young
4049b622f9 Fix writing/parsing of pdf plot params.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19446
2025-01-12 13:43:33 +00:00
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