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

18330 Commits

Author SHA1 Message Date
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
Jeff Young
ec649593ae Fix layout issues in print dialog controls. 2025-02-03 21:41:03 +00:00
Tomasz Wlostowski
8d858fe998 router: prevent shove endpoint-in-hull fallback code from making non-45 degree tracks
Fixes https://gitlab.com/kicad/code/kicad/issues/19760
2025-02-03 13:24:27 +01:00
Tomasz Wlostowski
232b286793 router: comment out some excessive debug calls
Too much PNS_DBG() calls make the debug tool very sluggish, even in release mode.
2025-02-03 13:24:27 +01:00
Tomasz Wlostowski
60b40579cb router: reenable diff pair placement in shove mode
Fixes https://gitlab.com/kicad/code/kicad/issues/19547
2025-02-03 13:24:27 +01:00
Tomasz Wlostowski
3ba87b9d08 router: fix 'litter' tracks issue
The commit adds missing calls to unwindLineStack() and fixes the logic of the method.
2025-02-03 13:24:27 +01:00
Tomasz Wlostowski
9f2eade5f5 router: dump NODE overrides debug method 2025-02-03 13:24:27 +01:00
Ian McInerney
59a4cc2e4b Default to 4 user defined layers 2025-02-02 23:09:08 +00:00
Jeff Young
d209dddcc6 Correctly initialise mandatory fields array.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19819
2025-02-02 18:10:44 +00:00
Jeff Young
96022ee169 Correctly handle mandatory fields when adding/removing.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19819
2025-02-02 17:55:07 +00:00
Jeff Young
8874f137fa Read hotkeys from disk after they change.
(Otherwise we'll write the old versions back out
when closing one app.)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19612
2025-02-01 20:01:13 +00:00
Jeff Young
ada1a9b054 Formatting. 2025-02-01 17:39:24 +00:00
Seth Hillbrand
56ca054c0d Add new table icon
Replace a couple uses of the old spreadsheet
2025-02-01 09:53:12 -06:00
jean-pierre charras
91d5238f4c DIALOG_XXX_JOB_XXX: fix min size and other minor fix.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19811
2025-02-01 10:44:25 +01:00
Mark Roszko
29311393a5 Set a min size on the layer pair grid or else it bugs out when the first entry is added 2025-01-31 11:04:35 -05:00
Mark Roszko
e765ad0c2f Kill unused var warning 2025-01-31 11:00:07 -05:00
Mark Roszko
d9809fb816 Partially fix the DIALOG_LAYER_SELECTION_BASE 2025-01-31 10:59:42 -05:00
John Beard
636c6c4efb Eeschema/pcbnew: fix pasted image saving
The m_imageData buffer in the BITMAP_BASE is an
internal implementation - the public API to persist the
data to a stream appears to be SaveImageData - so use that,
which hides the implementation (and generates the image data
"live" when needed).

Remove the public access to the m_imageData buffer as it isn't
needed for public use, and also is misleading.

Also break out the formatting of the data into KICAD_FORMAT,
as it's currently replicated in eeschema/pcb/pagelayout
formatting code.

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/19772
2025-01-31 23:01:07 +08:00
Roberto Fernandez Bautista
c5120b9090 Add fake-autoroute to context menus (router and edit) 2025-01-31 15:49:27 +01:00