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

18348 Commits

Author SHA1 Message Date
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 4556ace032.
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 bff819edb0)
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 6b31bbe9f3)
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
68fa45dea0 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 7d689e0c61)
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
Jon Evans
1911cfe61b Fix footprint defaults setting storage after layer ID changes
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19873
2025-02-07 08:40:43 -05:00
Marek Roszko
79d48c94f9 Fix ODB output not resolving vars
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19861
2025-02-06 20:35:32 -05:00
Alex Shvartzkop
421a76c4f7 Translate "Padstack is questionable". 2025-02-07 00:30:23 +03:00
John Beard
466ee6fac8 Pcbnew: keep alway-on layer checkboxes visible but disabled
THese layers can't be disabled, but hiding the checkboxes
can be misunderstood as the layers are missing, rather than forced on.

E.g.: https://gitlab.com/kicad/code/kicad/-/issues/18756#note_2315214661
2025-02-05 22:01:46 +08:00
John Beard
14cbce5d0f Pcbnew: fix bad layer maths in stackup dialog
F_Cu | B_Cu is not the same as LSET( F_Cu ) | LSET( B_Cu),
so you cannot do some_lset |= F_Cu | B_Cu (or rather you can, but
it is not what you expect).

F_Cu and B_Cu are just ints, so 0 | 2 == 2. This isn't the
same as setting *bit indices* 0 and 2. OR-ing with 2 is setting
bit index 1, which is F_Mask.

You can set them one by one with lset.set( F_Cu ) or OR with
LSET::ExternalCuMask() helper. But actually, we're trying to set all 'n'
copper layers, and LSET has AllCuMask and we can save all the hassle
in this function.

Thanks to @aris-kimi for finding the problematic code lines and
providing the foundation of this fix.

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/19855
2025-02-06 13:00:33 +08:00
Jon Evans
ea8a6e305d Fix parsing of tenting tag in pads
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19851
2025-02-05 19:58:30 -05:00
Alex Shvartzkop
3b6b73a8ef Revert tooltip string in plot dialog.
See bef63fe76b b2de4cf40a
2025-02-05 18:24:18 +03:00
Jon Evans
55e5596cda Fix more field fallout
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19832
2025-02-03 21:40:09 -05:00
Jon Evans
0682d319fb API: Don't check for busy when not needed
see https://gitlab.com/kicad/code/kicad-python/-/issues/11
2025-02-03 18:02:46 -05:00
Jeff Young
b2de4cf40a Fix typo. 2025-02-03 22:57:49 +00:00
Jeff Young
f724dab4b2 Fix build. 2025-02-03 22:15:56 +00:00
Jeff Young
bef63fe76b More accurate tooltip for Gerber knockout of solder mask.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19744
2025-02-03 22:04:20 +00:00