143 Commits

Author SHA1 Message Date
Jeff Young
dedc10a163 The Include "Exclude from BOM" setting is for editing, not exporting.
There's no reason to put items marked "Exclude
from BOM" into the BOM.
2025-09-08 20:44:32 +01:00
Adam Wysocki
814f78f2b2 ADDED: Add pcb/sch upgrade cli command 2025-08-30 20:57:41 +00:00
Jeff Young
6dd4e01f16 ADDED: custom body styles.
(Also moves editing of unit display names to the
Symbol Properties dialog and retires the Set Unit
Display Name dialog.)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16069

Fixes https://gitlab.com/kicad/code/kicad/-/issues/14843
2025-08-27 18:11:56 +01:00
jean-pierre charras
2ff3f1fac1 Eeschema, DXF plotter: allows dxf unit selection (inch/mm) like in Pcbnew
Fix other minor issues in DIALOG_PLOT_SCHEMATIC.
Previously the export was always in inch (and in mm in Pcbnew)
kicad-cli always export in mm (like in Pcbnew)
2025-08-16 17:24:10 +02:00
Mark Roszko
5895c27f4a Rename Prj() on schematic to avoid conflict with global function 2025-08-07 23:21:41 -04:00
Jeff Young
0464cc18b1 Progress reporting for Run Jobs.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19629
2025-06-28 16:23:34 -06:00
jean-pierre charras
ca9df9986a Make show hop over a configurable option 2025-06-15 16:55:18 +02:00
Mark Roszko
ef54f4dde1 Fix ambigious string 2025-06-14 15:48:54 -04:00
Jeff Young
18e107529a Don't force callers of GetAppSettings to implement exception processing. 2025-06-14 20:25:59 +01:00
Jeff Young
327cca9de5 Coverity fixes. 2025-05-25 20:01:18 +01:00
Jeff Young
c452fe9686 REMOVED: HPGL plotting.
Its sketch-mode greatly complicates the plotting
code and it is poorly maintained due to lack of
use.
2025-05-10 17:31:59 +01:00
Jeff Young
524575a595 Allow embedded files to come from components
as well as parent containers, part II.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20210
2025-04-25 12:26:31 +01:00
Wayne Stambaugh
f0f6b5a09b Use schematic editor default font setting for plot job.
When the user does not define a font on the CLI or when plotting from a
job set, use the current schematic editor default font setting rather than
always defaulting to the "KiCad Font".

Set the --default-font CLI setting to an empty string so the the schematic
editor default font setting will be used.  Setting the --default-font CLI
option will override the schematic editor default font setting.
2025-04-19 12:56:39 -04:00
Jeff Young
8113824f7c Don't conflate generated fields (${DNP}) and fields with variable references.
They're not quite the same thing as the later
can have un-applied values which require expanding.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20417
2025-04-18 13:41:18 -07:00
Jeff Young
b0e2e9e35e Report errors from jobset plotting.
Also fixes an out-of-scope smart-pointer access.
2025-03-04 13:27:31 +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
Jeff Young
481e467968 Formatting; code brevity. 2025-03-01 21:58:31 +00:00
Jeff Young
c5bb59468d Get rid of assumptions about field order. 2025-02-24 11:08:29 +00:00
Jeff Young
7eb75720b5 Start to retire "alias" in favour of "symbol" and "derived symbol".
Note: terminology changes only.  No (intentional)
functional changes.
2025-02-24 11:08:29 +00:00
Jeff Young
3c71e7ab09 Auto-recognize URLs in SCH_FIELD and PCB_FIELD grids.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17066

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17745
2025-02-19 23:43:53 +00:00
Jon Evans
9930911de6 Jobsets: Fix a few issues with BOM exporter
Correctly handle hidden fields
Avoid taking reference to temporary

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19961
2025-02-14 22:20:21 -05:00
Jeff Young
e741d46770 Implement min pen width for SCH plotting jobs.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19398
2025-02-11 17:06:02 +00:00
Jeff Young
add6705e98 Don't copy built-in presets to user list.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19885
2025-02-11 15:48:16 +00:00
Wayne Stambaugh
f45915ba93 Eeschema folder housekeeping. 2025-02-06 09:47:00 -05:00
Jeff Young
e19bce2f93 Reduce reliance on MANDATORY_FIELDS and their implied order. 2025-01-22 17:51:57 +00:00
Jeff Young
a0dd0485e9 Pull a little harder on the MANDATORY_FIELDs string.
We still conflate the fieldID, the position in the
array of fields, and whether or not that means the
field is mandatory.  But this attempts to clean up
*some* of that, without introducing too much risk.
2025-01-21 16:48:13 +00:00
Jeff Young
d50b69f1ae Reconcile divergence of MANDATORY_FIELDS between symbols and footprints.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19697
2025-01-21 13:28:28 +00:00
Jeff Young
dd180aabdd Let JOBSET_OUTPUT_REPORTER trim temp paths. 2025-01-17 16:02:57 +00:00
Jeff Young
232542f42b Re-work filtering of temp-dir messages in jobset outputs.
(Also rationalises some of the output reporting
for consistency.)
2025-01-17 15:58:21 +00:00
Marek Roszko
6a92e5f02d Fix drc/erc back to using info severity.
These aren't some sort of critical error, error severity gets sent to stderr in cli.
2025-01-16 19:21:52 -05:00
JamesJCode
45bce316ed Prefer static_cast over C style casts 2025-01-16 21:09:24 +00:00
Jeff Young
d1411e2c69 Don't report filepath messages for jobs.
(They'll just point to temp files anyway.)

Also moves schematic netlist fetching to
MAIL_SCH_GET_NETLIST.
Eeschema's generateSchematicNetlist() hasn't
worked in some time.

Also suppresses parity error counts when parity
not run due to failure to find or load schematic.

Also writes out ERC/DRC reports even when they're
set to fail the job.
2025-01-16 13:12:25 +00:00
Jeff Young
2cc39bc2be Remove paths from job-success status messages.
(They only point to the temp directory anyway.)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19635
2025-01-16 13:12:25 +00:00
Jeff Young
705f8ddd90 Formatting (and avoid dynamic_cast across kiway). 2025-01-16 13:12:25 +00:00
Marek Roszko
5c3004b96e Avoid altering the configured output path during run in case of empty paths 2025-01-14 20:44:51 -05:00
Jeff Young
a7c130b82d Hook up TITLE_BLOCK resolver to jobs.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19471
2025-01-12 22:31:09 +00:00
Marek Roszko
4c97d52f2c Fix typo in last plot fix attempt 2025-01-12 10:21:41 -05:00
Marek Roszko
a12496a04b Fix sch plot output directory creation 2025-01-11 23:27:30 -05:00
Marek Roszko
db56d51838 Fix output paths for jobs again 2025-01-11 19:05:45 -05:00
Marek Roszko
47fb4686c3 Add text var expansion in output paths 2025-01-11 19:05:44 -05:00
Jeff Young
0d1fcd2c54 Cleanup. 2025-01-08 15:50:08 +00:00
Marek Roszko
fdfeda7b72 Ensure mkdir with bom export job
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19520
2025-01-08 00:07:26 -05:00
Andrea Greco
ee255fb389 ADDED: Default font option to cli schematic plot exports 2025-01-04 16:51:09 +00:00
Marek Roszko
afd2406adc Fix erc/drc output paths in cli
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19474
2025-01-04 08:10:20 -05:00
Marek Roszko
2ee3ee341a Fix sch plot output path handling
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19483
2025-01-04 08:10:20 -05:00
Jeff Young
21ee64d8f0 (Slightly) better de-bouncing of grid cell editing. 2025-01-03 18:33:39 +00:00
Seth Hillbrand
0b2d4d4879 Revise Copyright statement to align with TLF
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo.  Avoids needing to
repeatly update.

Also updates AUTHORS.txt from current repo with contributor names
2025-01-01 14:12:04 -08:00
Jeff Young
c5ae32c51c Auto-edit job properties and then description after creation. 2025-01-01 19:17:11 +00:00
Marek Roszko
fb32eeb0ea Fix job output path for sch plots and netlist 2025-01-01 12:21:26 -05:00