Mike Williams
e11cf94a3e
design blocks: add PCB design blocks behind advanced config
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/2508
2025-03-20 15:13:52 -04:00
JamesJCode
e64239969a
Fix compiler warnings
2025-03-20 18:42:20 +00:00
Jeff Young
9a1e42f228
Autocomplete for Execute Command job.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19735
2025-03-20 16:59:40 +00:00
Wayne Stambaugh
f5cae044d0
Fix Coverity issue #545159 and all related issues.
...
Don't use fmt::format() when formatting wxString objects. It will throw
an exception on an argument type mismatch which isn't handled in most
code paths.
This also prevents the conversion of the fmt::format() arguments from
wxString to std::string and the result from std::string back to wxString
for the return value.
https://scan8.scan.coverity.com/#/project-view/22886/10844?selectedIssue=545159
2025-03-20 11:16:02 -04:00
Seth Hillbrand
b567532af7
Add minimum libgit2 version
...
Crashes have been reported with libgit2 1.3.2 and ssh key handling
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20204
2025-03-20 06:56:34 -07:00
Jeff Young
59e77e977e
Don't use net/netclass colors for label graphic shapes.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19589
2025-03-20 13:52:21 +00:00
Jeff Young
1b7f92f4c5
Refresh search when showing pane.
...
(Events will have been ignored while it is
hidden.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20009
2025-03-20 12:25:58 +00:00
Jeff Young
b366204824
Handle home dir shortcut in jobset destinations.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20032
2025-03-20 10:45:53 +00:00
Brendan Hickey
33a8cd942f
Increase GerbView max DCode Id to 2^31-1
...
I (charrasjp) fixed the compil issues of the Brendan Hickey's initial work and some other minor issues.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20323
2025-03-20 11:27:53 +01:00
Jeff Young
86e1d4c684
Shorten opt-in text and improve Yes/No button labels.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20027
2025-03-20 10:24:02 +00:00
Jeff Young
5ec526fe4f
Don't write out empty footprint filters.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20394
2025-03-20 10:02:26 +00:00
Jeff Young
d3f57fac5a
Must assign extension to keep from stripping last '.' section.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20065
2025-03-20 09:48:08 +00:00
Jeff Young
0aa4f11970
Fix format string.
2025-03-20 09:48:08 +00:00
jean-pierre charras
21725eeef3
~EDA_DRAW_PANEL_GAL(): Fix crash: ensure a onShowEvent is not fired.
...
Due to changes in EDA_DRAW_PANEL_GAL (a wxEVT_SHOW event was added) when
destroyed a dialog using it (namely the PAD editor) a wxEVT_SHOW event was fired
during Dtor process (at least on Windows). It is now disabled in Dtor.
2025-03-20 10:12:59 +01:00
Mike Williams
a648fccbb3
schematic editor: remove 10ms OnShow timer to reduce CPU load
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/20385
2025-03-19 15:05:54 -04:00
Jeff Young
19d1b6ec52
Don't let legacy overbar processing mess up empty-string test.
2025-03-19 18:14:30 +00:00
Jeff Young
eb4a52f372
Remove debugging code accidentally left in.
2025-03-19 17:44:17 +00:00
Jeff Young
f0c81e972f
Fix accidental ingoring of rotation angle.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20271
2025-03-19 17:16:55 +00:00
Jeff Young
7e046e6c8b
Remove '~' == empty_string.
...
It has long outlived its usefulness (which was
to preserve token sequence in pre-sexpr files).
This will no doubt turn up latent issues....
2025-03-19 17:16:55 +00:00
Wayne Stambaugh
bc4a40de76
Fix Coverity issue #543091 .
...
https://scan8.scan.coverity.com/#/project-view/22886/10844?selectedIssue=543091
2025-03-19 12:38:50 -04:00
Wayne Stambaugh
4cb234862c
Fix Coverity issue #542006 .
...
https://scan8.scan.coverity.com/#/project-view/22886/10844?selectedIssue=542006
2025-03-19 12:07:05 -04:00
Mike Williams
18010b1104
selection: sort box selection by rows and columns by default
...
Some tools can take a selection order and it is nice to provide a
sane human-oriented default sorting when box selecting.
2025-03-19 10:25:35 -04:00
Mike Williams
7578439b0c
PCB editor: extend create array functionality to arrange existing items
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/19919
2025-03-19 10:23:15 -04:00
jean-pierre charras
b7fd26e026
PANEL_DESIGN_BLOCK_CHOOSER: use the same draw engine type as in main frame.
...
This is not always the Opengl GAL_TYPE
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20386
2025-03-19 11:33:53 +01:00
Jeff Young
8994f6abd7
Leave navigation controls active.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20378
2025-03-19 10:20:43 +00:00
Jeff Young
3328dc48be
Don't leave dangling event handler.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20380
2025-03-19 10:14:24 +00:00
Jeff Young
b4640cdc55
Search all fields, hidden or not.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20370
2025-03-19 08:55:32 +00:00
Jeff Young
0a3ddd33ee
Use ERROR_INSIDE for knockout text (and a 0 gap).
2025-03-19 08:55:32 +00:00
Jeff Young
824c7ecfa7
Improve readability.
...
Also drops a parameter that hasn't been implemented
since early 2022.
2025-03-19 08:55:32 +00:00
JamesJCode
983d14d371
Fix compiler warning
2025-03-18 23:46:09 +00:00
JamesJCode
0f1f6b23a8
Test symbol outline collisions for rule areas, not just bounding boxes
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20383
2025-03-18 23:04:48 +00:00
JamesJCode
24a8c2a684
Ensure PNS length tuning calculation uses correct layer ID context
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20372
2025-03-18 12:37:16 +00:00
Jon Evans
4ef0d3554e
Handle duplicate entries in BOM presets
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20342
2025-03-17 18:37:52 -04:00
Jon Evans
2ef123d9e1
Code style
2025-03-17 18:27:33 -04:00
Wayne Stambaugh
7645f05962
Change code formatter configuration files from 100 to 120 characters.
2025-03-17 17:34:15 -04:00
Jeff Young
6307f0aee8
Use board layer names when available.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20360
2025-03-17 21:23:56 +00:00
Jeff Young
142f8265c5
Simplify (and fix) plated copper differentiation.
...
Also a few fixes for 3D rendering textboxes and
tables.
2025-03-17 20:11:20 +00:00
Jeff Young
683444733a
Formatting.
2025-03-17 20:11:20 +00:00
Wayne Stambaugh
cf4369a2ef
Fix Coverity issue #545180 .
...
https://scan8.scan.coverity.com/#/project-view/22886/10844?selectedIssue=545180
2025-03-17 15:16:49 -04:00
Wayne Stambaugh
19b0ac6ec4
Revert "Fix Coverity issue #545181."
...
This reverts commit 31d3c17d99
.
2025-03-17 15:12:48 -04:00
Wayne Stambaugh
31d3c17d99
Fix Coverity issue #545181 .
...
https://scan8.scan.coverity.com/#/project-view/22886/10844?selectedIssue=545181
2025-03-17 15:09:30 -04:00
Wayne Stambaugh
8fa48c7be2
Fix Coverity issue #514495 .
...
https://scan8.scan.coverity.com/#/project-view/22886/10844?selectedIssue=514495
2025-03-17 14:43:43 -04:00
Wayne Stambaugh
62cb67d854
Fix Coverity issue #541995 .
...
https://scan8.scan.coverity.com/#/project-view/22886/10844?selectedIssue=541995
2025-03-17 14:04:40 -04:00
Jeff Young
5094f750df
Adjust GTK STC margins. Yes, again.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16685
2025-03-17 17:33:23 +00:00
Wayne Stambaugh
dd806aa902
Fix Coverity issue #542006 .
...
https://scan8.scan.coverity.com/#/project-view/22886/10844?selectedIssue=542006
2025-03-17 13:30:41 -04:00
Wayne Stambaugh
5783623c50
Add code to test if schematic file belongs to another project.
2025-03-17 13:12:35 -04:00
Jeff Young
858f6b0fc2
Adjust GTK STC margins.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16685
2025-03-17 17:00:25 +00:00
Wayne Stambaugh
f53d1a5356
Fix Coverity issue #543084 .
...
https://scan8.scan.coverity.com/#/project-view/22886/10844?selectedIssue=543084
2025-03-17 12:55:54 -04:00
Wayne Stambaugh
47984b6793
Coding policy house keeping.
2025-03-17 12:45:25 -04:00
Wayne Stambaugh
4131089260
Fix Coverity issue #544154 .
...
https://scan8.scan.coverity.com/#/project-view/22886/10844?selectedIssue=543084
2025-03-17 12:21:02 -04:00