Wayne Stambaugh
f161d94521
Common folder housekeeping part 2.
2025-01-14 15:25:05 -05:00
Jeff Young
7bf0d36057
Store/fetch sheetpath along with symbol UUID.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19623
2025-01-14 18:32:09 +00:00
John Beard
5b1fdbe645
Symbol editor: use a default name when deriving a symbol
...
A blank field is always an error, and it's quite likely the name
will be somewhat similar to the parent symbol.
2025-01-15 02:29:09 +08:00
Jeff Young
21fb208d52
Fix a bad format stmt argument type.
2025-01-14 17:38:24 +00:00
John Beard
62095306d0
Eeschema: sort parents in symbol properties dialog combobox
2025-01-15 01:17:36 +08:00
John Beard
d55877ce27
Increment tool: use parent commit when appropriate, avoid double preview
...
Cloning the item into the previewe means that if we later increment
it, the preview clone doesn't update. Use the non-owning preview
interface to use the item directly in the preview.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/19433
2025-01-15 00:26:09 +08: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
77a524fa22
Fix slicing operator.
...
(Also a minor performance improvement.)
2025-01-14 12:41:16 +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
9c757a4417
Naming conventions.
2025-01-14 12:24:24 +00:00
Seth Hillbrand
6769efc807
Contain the unescaped netnames to XML output
...
Kicad netlists branch off the xml, so keep their output stable. Only
use XML-based escaping for XML files
2025-01-13 19:48:13 -08:00
Marek Roszko
97787778eb
Fix path processing for odb job
2025-01-13 21:42:27 -05:00
Seth Hillbrand
6beeabd5d2
Ensure netlist netnames are readable
...
We don't need name escaping here because XML has a standard escaping
paradigm (HTML-like) that will be applied to the strings when written to
the file
2025-01-13 16:49:01 -08:00
Seth Hillbrand
7728d5eccf
Keep effective netclass data in XML output
...
Tagging nets allows downstream processors to more effectively handle
KiCad outputs
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13240
2025-01-13 16:39:12 -08:00
Seth Hillbrand
3e8791b88d
Fixup multiple issues with DP checks
...
Handle arcs properly even when not exactly concentric. Properly check
for interfering elements that would prevent coupling. Avoiding those
that are directly connected
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17967
2025-01-13 16:11:16 -08: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
c52c41a1d5
Make doubly sure net inspector settings are saved.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19449
2025-01-13 19:28:08 +00:00
Jeff Young
4a3f69e518
Fix dialog layout.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19622
2025-01-13 19:14:25 +00:00
Jeff Young
95b872f074
Formatting.
2025-01-13 19:14:25 +00:00
Seth Hillbrand
f24dba97f4
Block preview while menus are shown
...
When the user is navigating a drop down menu, they don't want the
preview window to pop over their screen. This glues between the
LIB_TREE and the frame to block these preview events
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19117
2025-01-13 10:22:26 -08: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
jean-pierre charras
af366a78b3
Eeschema: fix correct background area size when plotting a sheet.
...
If a sheet is bigger than the page size selected in the plotter (PC, PDF , SVG)
(i.a a A3 sheet plotted scaled to A4 page) the background area size actually plotted
was to small.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19611
2025-01-13 11:04:16 +01: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
Seth Hillbrand
becbf82390
Keep FP Properties dialogs as quasimodal
...
The dialogs will launch their own quasi modal dialogs, which reparent
themselves to the TLW. When closing, on GTK, they will focus the TLW,
leading to events being handled while the initial quasi modal dialog is
still showing.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19385
2025-01-12 19:37:05 -08:00
Seth Hillbrand
e4d2dbb7a7
Strip extra library data when importing Altium
...
Altium stores (or can store) full information about the absolute
location of libraries for each footprint in their board files. Since
KiCad only stores an alias, we have no place to keep the full path.
Just keeping the filename should be enough for most cases and still
allows the user to disambiguate manually after import without crowding
the UI.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15593
2025-01-12 17:07:49 -08:00
Maciej Małecki
82c1118679
pcbnew: disable Zone Manager thermal relief configuration when not needed
2025-01-13 00:43:59 +00:00
Seth Hillbrand
1fc3068de6
Don't ask for data before running
...
If the sim hasn't run, we don't have data and ngspice will complain.
It's a harmless message but new users don't know this and it sounds
problematic.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19600
2025-01-12 16:14:40 -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
Jeff Young
62041fdb69
Naming consistency.
2025-01-12 20:24:33 +00:00
Jeff Young
9322397933
Cleanup.
2025-01-12 20:24:33 +00:00
Wayne Stambaugh
5c8f4697ca
Common folder housekeeping part 1.
2025-01-12 12:06:45 -05:00
Seth Hillbrand
4ba1c0130c
Use layer numbers in Eagle importer
...
The layer names may be translated but the numbers are invariant.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19597
2025-01-12 08:53:55 -08:00
Marek Roszko
6ec00f879c
Add PROJECTNAME resolution into project's resolver
2025-01-12 11:43:10 -05:00
Maciej Małecki
2c330e07be
pcbnew: disable dialog thermal relief configuration when not needed
2025-01-12 16:39:30 +00:00
Marek Roszko
4c97d52f2c
Fix typo in last plot fix attempt
2025-01-12 10:21:41 -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
Jeff Young
b7cdbbba9f
Front Kicad manager frame after running job(s).
2025-01-12 12:47:00 +00:00
Jeff Young
ab571be525
Don't depend on knowing the lifetime of a wxWindow.
2025-01-12 12:47:00 +00:00
Ethan Chien
ad48ce1147
Sync Sheet Pins: Refactor SHEET_SYNCHRONIZATION_MODEL to use GetCount() for item count management
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19592
2025-01-12 17:32:03 +08:00
Marek Roszko
a12496a04b
Fix sch plot output directory creation
2025-01-11 23:27:30 -05:00
Seth Hillbrand
8ab5d95d1b
Handle GTK themes that don't use the revealer
2025-01-11 19:56:42 -08:00
Marek Roszko
db56d51838
Fix output paths for jobs again
2025-01-11 19:05:45 -05:00
Marek Roszko
4cfd6f71e5
Fix plot job paths not saving
2025-01-11 19:05:44 -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
Jeff Young
8c363411e0
Implement fixed pin name/number sizes for Eagle.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16980
2025-01-11 22:32:46 +00:00