Jeff Young
b11b1a6f72
Ease in a bit more fmt::format().
2025-03-11 10:08:04 +00:00
Alex Shvartzkop
c4655da4e6
Don't translate wxFileDialog "All Files" filter.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20297
2025-03-10 16:05:56 +03: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
Marek Roszko
ab6ee168cf
Convert PDF_PLOTTER to fmtlib
2025-03-08 14:29:20 -05:00
Jeff Young
241962a84d
When following board or plot settings, write results to current config.
...
Also adds migration from older layer numbers to strings.
This may require users to dump their 9.0 settings files
(which will have the wrong layer numbers in them), but
those files are often useless anyway as they'll already
have messed up colours if they were migrated from 8.0.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18709
2025-03-08 19:11:23 +00:00
jean-pierre charras
4ef627edb9
GERBER_PLOTTER: fix missing separator (comma) after ADDxxOutlinexP
...
It was missing after commit 2cdc1ed8
2025-03-08 16:36:49 +01:00
Marek Roszko
2cdc1ed88e
Move GERBER_PLOTTER to fmtlib
2025-03-08 07:56:54 -05:00
Seth Hillbrand
4ef81ee3ea
Revert "Remove prototype zone fill option"
...
This reverts commit 3f17aabcd0
.
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
Seth Hillbrand
b401505259
Fix previous commit
2025-03-07 08:42:35 -08:00
Seth Hillbrand
1157b5b0b3
Add missing arch directory to appimage plugin
2025-03-07 08:42:12 -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
Jeff Young
ce5469b95e
Support ctrl-delete for delete word forward.
...
(On non-Macs, anyway. Mac doesn't appear to use this
paradigm.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20248
2025-03-07 13:01:00 +00:00
Marek Roszko
a1e897c245
Move PS_plotter to fmtlib
...
Also we wrote %Page but the postscript standard wants %%Page
2025-03-07 07:05:13 -05:00
Marek Roszko
c92014f759
Move DXF_PLOTTER to fmtlib
2025-03-06 07:26:47 -05:00
Marek Roszko
086b9907c2
Convert fputs to fmt::print to get exceptions on io fail
2025-03-05 21:28:56 -05:00
Marek Roszko
237953fd55
Move SVG_PLOTTER to {fmt} to punt locale issues
2025-03-05 19:03:25 -05:00
Seth Hillbrand
ff6eb9c091
Apparently, despite documentation, this was missing
...
Only APPDIR is set. We also set some APPRUN_* variables that we could
use if this ends up being too similar to other elements
2025-03-05 15:35:31 -08: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
Marek Roszko
4f4ece61bb
Move the fp svg cli to more similar plot code
2025-03-04 23:01:00 -05:00
Jeff Young
699fd2b3ac
Implement severity checking for CLI_REPORTER.
2025-03-05 00:12:08 +00:00
Jeff Young
9be7464681
Keep user-defined common layers order.
...
(And use it when plotting.)
(And don't shadow it with a second variable.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20214
2025-03-04 23:39:19 +00:00
Tomasz Wlostowski
6a0efe6883
IO_BASE: don't try to modify the case of a temporary string in-place, work on a copy
2025-03-05 00:23:04 +01:00
Marek Roszko
b6743653f3
Restore the page size mode behavior
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20014
2025-03-03 23:15:32 -05: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
Jeff Young
3960480819
Fix SCH plot to PDF for jobsets.
...
(Fix for CLI bug #19522 broke it for jobsets.)
2025-03-03 21:38:14 +00:00
Seth Hillbrand
2afa67f946
Allow AppImages to pick out different location
...
Don't assume that libraries are located in the CMAKE lib install
directory as AppImage will relocate them based on the mount point
2025-03-03 12:34:31 -08:00
jean-pierre charras
a32c0a8687
Fix compil issue on mingw (missing change from OUTPUT to DESTINATION)
2025-03-03 20:02:28 +01:00
Jeff Young
d8cdb69831
Jobset Output -> Destination.
2025-03-03 18:34:33 +00:00
Jeff Young
46378dc760
Dirty hatching from SwapShape().
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20180
2025-03-03 10:35:05 +00: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
Jeff Young
b0eef3ee28
Persist some missing jobset arguments.
...
Also adds some missing CLI arguments.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20116
2025-03-02 19:27:15 +00:00
Jeff Young
b1a4b77291
Solid fill mode is FILL_T::FILLED_WITH_COLOR for SCH_SHAPE.
...
(It can also be FILL_T::FILLED_WITH_BACKGROUND_COLOR
for symbol items, but those have their own getters/
setters.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20168
2025-03-02 16:05:35 +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
jean-pierre charras
b0fe4df3c5
More fixes about use of IN versus INCH
2025-03-02 13:59:25 +01:00
jean-pierre charras
2890500f4c
PANEL_TOOLBAR_CUSTOMIZATION: fix sizer issues.
2025-03-02 12:53:59 +01:00
Jeff Young
1a10b5fb64
Don't generate -1 width non-filled splines.
...
They serve no purpose, and will get replaced with
default-line-width non-filled splines.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20138
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
Jeff Young
c0e4c6a865
Persist generate-gerber-job-file setting.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20158
2025-02-28 22:10:24 +00:00
Jeff Young
7f935e290a
Fracture hatched fill polygon.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20125
2025-02-28 18:52:56 +00:00
Jeff Young
26871b56f0
Provide easier on-ramp for jobsets.
...
1) Perform initial save of new jobset.
2) Add default output folder to new jobset.
2025-02-28 18:49:26 +00:00
Seth Hillbrand
18ac99d838
Prevent fetch without repo
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20152
2025-02-28 08:34:24 -08: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