18360 Commits

Author SHA1 Message Date
jean-pierre charras
276029ee03 SCH_TABLE and PCB_TABLE: fix incorrect plot of tables rotated 90 or -90 deg.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19985
2025-02-18 17:56:19 +01:00
Jeff Young
4e3175b244 Fix use of wrong variable.
The passed in footprint is a filter, not the current
footprint from the iterator.

Also cleaned up confusion and bad reporting over
temp file usage, and need to const cast for
updating embedded fonts.
2025-02-18 14:12:08 +00:00
Alex Shvartzkop
6a0cd5cd22 Fix master pad default corner radius. 2025-02-18 13:15:10 +03:00
Alex Shvartzkop
66246798c1 Fix attribute writing in ODB++.
A space has to be put before the first ";", otherwise it can't be read correctly.
2025-02-18 11:18:47 +03:00
Alex Shvartzkop
b9606b8d38 Don't return 1-point bounding hulls from some footprints.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19967
2025-02-18 11:18:47 +03:00
Eric
1968716542 ODB++: fix format error caused by empty PKG name when some AD projects import 2025-02-17 17:44:54 +08:00
Alex Shvartzkop
0594a43cfa Let wx auto-close streams in compressed IPC-2581 export.
Removing the temp file was not possible if it's still open.
2025-02-16 18:32:19 +00:00
Alex Shvartzkop
8f7b692720 Translate column names in DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS. 2025-02-16 20:02:40 +03:00
Seth Hillbrand
5e176798c9 Correct new tooltip string 2025-02-16 08:04:53 -08:00
Alex Shvartzkop
ea5514725c Make some multi-channel tooltips translatable. 2025-02-16 16:54:06 +03:00
Alex Shvartzkop
83fc5ff793 Allow severity specifiers to be translated in ERC/DRC items. 2025-02-16 16:36:04 +03:00
jean-pierre charras
ea1498b39b GenIPC2581File(): close a temporary file before trying to delete it. 2025-02-16 10:43:34 +01:00
Jon Evans
667bafc8bb Restore accidentally-removed schematic parity code from CLI
This will need a better fix later

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19929
2025-02-15 12:52:59 -05:00
jean-pierre charras
df8f6f5cc0 PCB_IO_KICAD_SEXPR::formatTeardropParameters(): fix missing parenthesis
Fortunately, it did not break loading .kicad_pcb files

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19964
2025-02-15 17:31:01 +01:00
jean-pierre charras
744c296f14 Pcbnew: ensure LAYER_NON_PLATEDHOLES Gal layer is always visible 2025-02-15 11:48:26 +01:00
Seth Hillbrand
633aaff654 Revert "Improve curved teardrop shapes for roundrect pads."
This reverts commit 4556ace032bb2782d9c698c63614a30b77076adf.
2025-02-14 08:01:56 -08:00
jean-pierre charras
1439ac0c31 Geographical reannotation: Fix "Exclude list" not working correctly
Also update dialog_board_reannotate_base.fbp using the latest wxFormBuilder

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19927
2025-02-14 14:46:17 +01:00
Alex Shvartzkop
ef5a7841b6 Fix icons in board constraints panel on GTK. 2025-02-14 09:08:08 +03:00
Jon Evans
1c85751bf0 PNS: Use HasHole to check if an item has a hole
Just checking Hole() for nullptr isn't valid

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19948
2025-02-13 21:53:59 -05:00
Seth Hillbrand
9e4204340f Fixup net-tie caching and add QA for netties
When building a net tie, all elements in the footprint that belong to
the net tie can be arbitrarily close to one another.  outside of the
footprint, connected items can be arbitrarily close to the tie element
but must respect the clearance values for elements that have nets
assigned to them

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

(cherry picked from commit bff819edb08e3d303c695b79f990374d259e4d0a)
2025-02-13 14:45:40 -08:00
jean-pierre charras
2093c014c5 Pcbnew, DIALOG_PRINT_PCBNEW: fix right enabled/disabled layers to print.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19940
2025-02-13 20:10:08 +01:00
Alex Shvartzkop
ea44283963 Restore icon sizes to 24dp in PCB design constraints panel. 2025-02-13 20:34:26 +03:00
Alex Shvartzkop
9ea3e1c3b7 Add "Single-sided" checkbox for skew in tuning pattern defaults dialog. 2025-02-13 16:40:22 +03:00
Alex Shvartzkop
4024869771 Don't exit out of length tuning tool on first cancel.
Otherwise you cannot use same settings on multiple tracks.

(cherry picked from commit 6b31bbe9f3bda8f229d3f7d48af522395cef30ae)
2025-02-13 14:39:44 +03:00
Jeff Young
32fd79c708 Check dirty tracks when removing teardrops.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19871
2025-02-12 11:32:43 +00:00
Alex Shvartzkop
b7293f1d77 Fix layers when loading legacy board files after v9 changes. 2025-02-12 14:18:58 +03:00
Jon Evans
078703111b PNS: Check if either permutation is a keepout in collideSimple
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19923
2025-02-11 19:28:15 -05:00
Seth Hillbrand
7911165294 Prevent overplotting copper layers
68fa45dea0115ae23a8650eb6f6ce05448a2d42e wanted to ensure that drill
marks were visible even when plotting non-copper layers.  However, this
had the effect of changing the plot order depending on whether drill
marks were shown or not.  The current solution is to overplot drill
marks if both copper and non-copper layers are shown.

This remains a sub-optimal solution as buried vias will be overplotted
along with through holes.  It may be a better long-term solution to gate
the plotting of covering pad layers' drill marks to the plot options
that include copper layers on the same page
2025-02-11 11:01:20 -08:00
Seth Hillbrand
31a3a7d406 Make cli obey its own options
--erd and --ev are cli options to prevent plotting of the reference
designator and the value.  These need to be passed to plot options in
order to be obeyed
2025-02-11 10:57:21 -08:00
Jeff Young
7c118c02f1 Don't space out buttons on large screens.
Also a better sash pos for ultra-high DPI screens.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19913
2025-02-11 14:46:59 +00:00
Alex Shvartzkop
e021cf4575 Connect first/last shapes within tolerance when building board outline.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19901
Also see https://gitlab.com/kicad/code/kicad/-/issues/18125
2025-02-11 05:07:18 +03:00
Jon Evans
5426bfcdcd Don't autosave future formats of project settings
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19910

(cherry picked from commit 7d689e0c616c8af4b056f20ce3c95c37624e3df7)
2025-02-10 19:20:56 -05:00
Jon Evans
914c015494 Fix compile warnings 2025-02-10 17:55:24 -05:00
Seth Hillbrand
d0077cceb3 Update reported name for teardrop areas
When reporting DRC, teardrops are treated as tracks but reported as
zones.  This causes confusion for designers using specific keepouts.
This changes the reported name to "Teardrop" for consistency
2025-02-10 14:36:14 -08:00
Seth Hillbrand
564710b232 Move default place via hotkey to Ctrl-Shift-X
Remove this hotkey from "toggle show cursor always" as this is a more
global option, not as needed (probably) in hotkeys.

Also re-arranged MD_SHIFT + MD_CTRL+ <key> to  MD_CTRL + MD_SHIFT + <key>
in order to standardize and help searches in the future

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19903
2025-02-10 11:22:35 -08:00
Jeff Young
b64733e76b No hypertext for textboxes. 2025-02-10 16:15:14 +00:00
JamesJCode
b7b28e555e Fix potential data race (from Coverity warning 533646) 2025-02-10 12:24:19 +00:00
Ian McInerney
62f9355180 Fix writing pad layer information to the board file
Pads should write that they exist on all layers using the wildcard and
then not also enumerate the copper layers (in this case, enumerating the
copper layers that were not enabled on the board).
2025-02-10 00:00:50 +00:00
Ian McInerney
97b725fb42 Add Route Selected to the context menu
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19571
2025-02-09 23:00:26 +00:00
JamesJCode
d1ba3c6402 Fix compiler warning 2025-02-09 17:27:36 +00:00
JamesJCode
2f9bf31529 Add bulk change optimisation to composite update in net inspector 2025-02-09 16:46:18 +00:00
JamesJCode
6bc77195bd Move net inspector bulk update threshold to advanced config 2025-02-09 16:46:18 +00:00
JamesJCode
e6cead5218 Fix incorrectly named bulk board update argument 2025-02-09 16:46:18 +00:00
Jon Evans
2ad958c97b Thread safety for TRACKS_CLEANER cache 2025-02-09 10:33:47 -05:00
Jon Evans
3d526edc8a More thread safety for TRACKS_CLEANER
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19884
2025-02-09 09:18:18 -05:00
Jon Evans
f047b66cb8 Guard against multi-threaded access to connectivity rebuild
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19884
2025-02-08 20:27:49 -05:00
JamesJCode
71517dfa24 Fix persistence of expanded groups in PCB net inspector panel
Ensures expanded groups are maintained while:
- Handling bulk board updates
- When loading a new project / board
2025-02-08 18:08:39 +00:00
JamesJCode
9896511485 Show net statistics for groups in PCB net inspector panel 2025-02-08 14:10:53 +00:00
jean-pierre charras
dc1ecea4bc OUTSET_ROUTINE::ProcessItem(): handle an exception thrown for incorrect prm.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19880
2025-02-07 19:47:48 +01:00
JamesJCode
5fda0d02e1 Delay resolution of component classes when pasting footprints
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19862
2025-02-07 17:47:51 +00:00