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
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
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
eb4a52f372
Remove debugging code accidentally left in.
2025-03-19 17:44:17 +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
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
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
6307f0aee8
Use board layer names when available.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20360
2025-03-17 21:23:56 +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
Jeff Young
413d6747c5
Collapse SCH_TABLE border drawing into shared code.
...
Also pushes GetCornersInSequence() into EDA_SHAPE
so it can be shared between SCH_TABLE and PCB_TABLE.
Also fixes bug in drawing column rulings over the
right external border.
Also fixes a bug with dialog control enabling.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20350
2025-03-16 20:21:49 +00:00
Jeff Young
f33f10bb38
User-defined layers for 3D viewer.
2025-03-15 16:14:33 +00:00
JamesJCode
ede5faee72
Implement dynamic assignment of component classes
2025-03-15 14:33:47 +00:00
Jeff Young
10237c4270
Remove extraneous parameter and fix error dialog title.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20061
2025-03-14 20:00:43 +00:00
Zenn Geeraerts
d31eeb5c1b
Use case insensitivity when loading Altium files
...
Altium is case insensitive, so our match for internal names should be also
2025-03-12 18:23:01 -07:00
JamesJCode
7d8b385a72
Fix compiler warning
2025-03-12 20:03:32 +00:00
Jon Evans
95e6ca44c6
Don't use size events for persistence
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20060
2025-03-11 22:36:46 -04:00
Jon Evans
5774338af2
Fix build with protobuf 30
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20300
2025-03-11 17:33:17 -04:00
Jeff Young
459cf030b8
Don't disable first internal layer in footprint editor.
...
It's used as a proxy for all internal layers.
Also fixes LAYER_RANGE_ITERATOR so that it works with an odd
number of copper layers.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20246
2025-03-11 19:11:11 +00:00
Jeff Young
31b788c04f
Add a bit of protection from integer overflows.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19660
2025-03-11 15:11:31 +00:00
Jeff Young
d527ce92ca
Formatting.
2025-03-11 11:02:27 +00:00
Jeff Young
50174ec528
Beware of infinite recursion on colliding hatched shapes.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20264
2025-03-08 21:23:14 +00:00
Seth Hillbrand
4ef81ee3ea
Revert "Remove prototype zone fill option"
...
This reverts commit 3f17aabcd0dd8e74c93f3d52c1d86ba163fa3044.
2025-03-07 15:25:13 -08:00
Seth Hillbrand
3f17aabcd0
Remove prototype zone fill option
...
This option is not exposed in the UI or advanced config and duplicates
the action of changing the zone fill type and creates additional ways
that boards can be modified by local, non-board settings.
2025-03-07 13:45:40 -08:00
Marek Roszko
dd4c9af265
Move HPGL_PLOTTER to fmtlib
2025-03-07 08:02:13 -05:00
Jeff Young
877c6bce89
Printing is not zoom-specific.
...
(Some of these items don't currently get printed, but
there's no sense in leaving a latent bug around in case
we ever change our minds.)
2025-03-07 13:01:00 +00:00
Seth Hillbrand
4b07565d35
Remove debug printing
2025-03-06 08:13:57 -08:00
JamesJCode
671d84562b
Enable use of double properties in DRC rules expression parser
...
Also removes previous special-casing of FOOTPRINT Orientation
property as this is now supported natively
Also fixes name clash with Orientation property for footprints
2025-03-06 14:24:47 +00:00
Marek Roszko
237953fd55
Move SVG_PLOTTER to {fmt} to punt locale issues
2025-03-05 19:03:25 -05:00
Seth Hillbrand
4a3b33df4e
Map a full hierarchy during PDF plotting
...
Re-create the schematic hierarchy in PDF plots to ease navigation
relative to the on screen schematic
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12154
2025-03-05 13:28:01 -08:00
Jeff Young
9856cb2210
An arbitrary layer flip can not be done without the board.
...
(User-defined layers can be sided or not.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20169
2025-03-05 17:59:22 +00:00
Jeff Young
699fd2b3ac
Implement severity checking for CLI_REPORTER.
2025-03-05 00:12:08 +00:00
Seth Hillbrand
aff0ad971f
Update search dialog
...
Allow regular expression in search and replace
Allow searching netnames including nets contained in buses
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12156
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17102
2025-03-03 16:57:49 -08:00
Seth Hillbrand
6f6ca2a35f
Allow multi label input
...
This is a re-implementation of 39c2745f55fff72470ca1ea86ac7b1ea225908bd
that was removed by e5089d783d08f75e57b3ea90ed64a089e5b07b0b
This implementation works in the tool, containing side effects
(hopefully) better than the initial implementation. The multiple labels
are input as multiple lines instead of labels with spaces, allowing for
copy/paste between spreadsheets of labels
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10950
2025-03-03 09:03:02 -08:00
Daniel Treffenstädt
27edf0b949
ADDED: Per layer properties of zones used for control over zone hatching position
2025-03-02 20:31:04 +00:00
jean-pierre charras
925f2f9bc1
class TOOLBAR_ITEM_TYPE: replace GROUP by TB_GROUP (collision with a Windows header)
2025-03-02 14:49:03 +01:00
Jeff Young
8d096590dc
Windows compiler doesn't like the trailing ','?
2025-03-02 11:34:21 +00:00
jean-pierre charras
eaa1e6d594
Fix a collision with a Windows define and our use of the same var name.
...
We use IN for INCH as units, but IN is defined in a Windows header
2025-03-02 11:34:30 +01:00
Jeff Young
f951497a4f
Code brevity.
2025-03-01 21:58:31 +00:00
Daniel Treffenstädt
3768221d9c
ADDED: Support for IPC-4761 Via protection features
...
Fixes https://gitlab.com/kicad/code/kicad/-/work_items/18837
2025-03-01 18:02:54 +00:00
Ian McInerney
e202b00a74
Rework the toolbar settings storage and panel
...
This format is more extendable in the future, should separator and
spacer support be added to groups.
Also, this now has a working UI for modifying the toolbars.
2025-02-28 02:05:50 +00:00
Ian McInerney
18e5a16040
Improve the toolbar customization UI
2025-02-28 01:57:37 +00:00
Ian McInerney
85810510f4
Tweak toolbar settings a bit
...
* Manage the settings using the settings manager for better lifetimes
* Better architect the internals and JSON to make it easier to identify
the various tool types
2025-02-28 01:57:37 +00:00
Ian McInerney
ab114c4159
Put preferences panes for toolbars, but hide behind an advanced config
...
There is still more work to do to make this feature actually
user-friendly and make it so people can't break their UI config too
easily.
2025-02-28 01:57:37 +00:00
Ian McInerney
e53c155b8c
Initial dialog work
2025-02-28 01:57:37 +00:00
Ian McInerney
548334b4e2
Load toolbar configuration from settings
2025-02-28 01:57:37 +00:00
Ian McInerney
caa03ab59e
Add setting for custom toolbar and read custom toolbar config
2025-02-28 01:57:37 +00:00
Ian McInerney
7e2a81da15
Initial JSON work
2025-02-28 01:57:37 +00:00
Ian McInerney
784246575b
Move footprint viewer/cvpcb actions to tool framework
2025-02-28 01:57:37 +00:00
Ian McInerney
04ab369a49
Make the PCB layerbox not needed in pcbcommon
2025-02-28 01:57:37 +00:00