Alex Shvartzkop
0c694de209
Protect against calling curl_easy_cleanup after curl_global_cleanup.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17103
Fixes KICAD-7DP
2025-01-22 13:52:28 +03:00
Alex Shvartzkop
76849b05a7
Make controls of grid cell editors mostly invisible on creation.
...
The controls were visible momentarily when clicking on cells, at least on MSW.
The wxStyledTextCtrl is still visible, but is not multi-line with scrollbars.
2025-01-22 13:52:28 +03:00
Jon Evans
71353b11f1
API: Make sure socket is cleaned up
2025-01-21 19:53:02 -05:00
Seth Hillbrand
988d229bbf
Clean up unused var
...
Turns out we didn't need that one
2025-01-21 16:21:27 -08:00
Seth Hillbrand
5a57e5cfd4
Handle SSH keys better
...
OpenSSH will iterate through a series of keys. Additionally, there may
be a key specified in the ssh/config file that we need to account for.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18864
2025-01-21 15:59:07 -08: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
Seth Hillbrand
427d7d2dad
Move git password management to local password control
...
Don't keep passwords in plain text config files that may be checked into
version control. Passwords stored in system-specific password managers
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18053
2025-01-20 17:33:55 -08:00
JamesJCode
a50d3b5d1b
Set default netclass priority explicitly in constructor
...
This currently only happens for migrated schematics. It's not
currently needed for netclass ordering, but will ensure the
priorities are orderable without special-casing the default
netclass should anybody require that functionality in the future.
2025-01-21 00:23:48 +00:00
Alex Shvartzkop
689441ebab
Fix image size in Layer selector in Properties panel on hidpi.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13105
(cherry picked from commit 8b24496b79
)
2025-01-20 22:15:52 +03:00
Jeff Young
8a0bff7351
Improved naming.
2025-01-20 18:28:33 +00:00
Jeff Young
240a745aa7
Hack-fix for paste into std dialog search box.
...
It's hard to know how widely this fix needs to be
applied, but this should at least get most of the
cases.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19684
2025-01-20 12:58:00 +00:00
Wayne Stambaugh
db877e6a00
Fix Eagle schematic import issue.
...
Handle duplicate symbol library names with Eagle URN notation.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19666
2025-01-20 07:28:25 -05:00
Jeff Young
5e6795a774
Ellipsis for Edit Table Properties dialog.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19682
2025-01-20 11:39:50 +00:00
Jeff Young
6b6729284c
Remove default line styles from all items except eeschema wires and buses.
2025-01-20 11:30:46 +00:00
John Beard
6423571349
Account for origin transforms in WX_PT_ENTRY_DIALOG
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/19673
2025-01-19 00:08:20 +08:00
Jon Evans
7993daecf0
Don't use stdout monitor for actions
2025-01-18 10:23:10 -05:00
Jeff Young
b933d3228f
Reduce warnings.
2025-01-17 22:07:07 +00:00
Jeff Young
044fe24293
Remove ability to specify fp sides for position file jobs.
2025-01-17 19:37:12 +00:00
Seth Hillbrand
3a5eeef9df
Auto update list of fonts when embedding files
...
Get the list of currently used fonts to populate the list of embedded
files when the user checks the "embed fonts" checkbox
2025-01-16 18:07:07 -08:00
Seth Hillbrand
6d40bf049e
Hold fp data constant
...
We cache arc data to ensure that we know if it has changed since
loading, however footprints perform transformation (displacement +
rotation) on their internal elements, so we need to provide the same
transformation to the cache in order to assure it matches when writing
to disk, otherwise, the arc midpoint will be recalculated leading to
instability
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19648
2025-01-16 16:05:23 -08:00
Jeff Young
6f32ecafe5
Include project in output path text resolver.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19659
2025-01-16 17:06:59 +00:00
Wayne Stambaugh
e09b095533
Common folder housekeeping part 3.
2025-01-16 11:50:08 -05:00
Jeff Young
89706aedae
Resolve some variables from the project.
2025-01-16 15:59:51 +00:00
Jeff Young
fdb460441f
Give EDA_LIST_DIALOG a larger size for longer lists.
2025-01-16 13:12:25 +00:00
Jeff Young
b6d03255f0
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.
Also improves adding/removing netlist exporters to
select an appropriate tab in the dialog (either
the newly-created one or the one preceeding the
deleted one).
2025-01-16 13:12:25 +00:00
John Beard
7116ed6917
Pcbnew array dialog: adjust padding
...
Also remove some debug.
2025-01-16 19:43:15 +08:00
Marek Roszko
41ef767676
Tweak the odb job pathing again
2025-01-14 21:23:25 -05: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
JamesJCode
c80a71f64a
Make netclass name methods clearer, and improve doc strings
...
There are two netclass name methods, which previously were not
obvious in their uses. These have been renamed to now have:
GetName() : Used for internal or tooling (e.g. netlist export) usage
GetHumanReadableName() : Used for display to users (e.g. in infobars)
Fixing the previous unclear naming will result in fewer bugs
when users start using the multiple netclass functionality, as
the incorrect usage had started creeping in to new code. Also this
will help authors of new code select the correct name method.
2025-01-14 20:44:09 +00:00
Wayne Stambaugh
f161d94521
Common folder housekeeping part 2.
2025-01-14 15:25:05 -05:00
Jeff Young
799dadeeec
Save bom & bom_fmt preset names for jobs.
...
Also re-fronts Kicad manager frame after editing
job settings.
Also fixes a bug where group-by (but non-shown)
fields didn't get restored.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19627
2025-01-14 14:38:58 +00:00
Jeff Young
d30f507fd8
Cache bboxes for all lines.
...
(Otherwise iterating over them makes the cache useless.)
Also fixes two bugs where the cache pos wasn't copied.
2025-01-14 12:24:24 +00:00
Jeff Young
ce483c848a
Remove previous version of disable-previews-when-menu-open.
...
(It had been rendered inoperative by the fix for
#16844.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19117
2025-01-13 19:45:49 +00:00
Jeff Young
577c1dd332
Also limit the number of search terms (as well as their length)
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19464
2025-01-13 16:22:37 +00:00
Jeff Young
e7a79216ab
Add non-title-block var resolution to jobset outputs.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19357
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19618
2025-01-13 12:49:15 +00:00
Seth Hillbrand
d7f89c6576
Respect DXF origin on graphics import if possible
...
We only need to adjust the DXF import box location if the graphics
imported do not fit on our drawing area
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18523
2025-01-12 19:55:47 -08: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
Wayne Stambaugh
5c8f4697ca
Common folder housekeeping part 1.
2025-01-12 12:06:45 -05:00
Marek Roszko
6ec00f879c
Add PROJECTNAME resolution into project's resolver
2025-01-12 11:43:10 -05:00
Jeff Young
08677d3cb6
Attempt to fix non-clang (or maybe just MSW) builds.
2025-01-12 14:14:35 +00:00
Jeff Young
4049b622f9
Fix writing/parsing of pdf plot params.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19446
2025-01-12 13:43:33 +00:00
Jeff Young
e3e7a4c97a
More consistent file/class naming.
2025-01-12 12:47:00 +00: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
Jon Evans
37a3c6f8cf
Infobar close buttons also need to react to theme changes
2025-01-11 18:53:58 -05:00
Seth Hillbrand
1bce0b733e
Make infobar sensitive to color changes
2025-01-11 15:39:06 -08:00
Marek Roszko
06a61e773f
Fix bg/fg fed to GetInfoBarColours
2025-01-11 16:26:02 -05:00
Jon Evans
17c746c00a
Make Windows hacks dependent on using KiCad-shipped interpreter
2025-01-11 12:24:44 -05:00
Jon Evans
25e7b29ad1
Fixup 37d0d5f1
to pass env vars correctly
2025-01-11 12:24:44 -05:00