45884 Commits

Author SHA1 Message Date
Wayne Stambaugh
e09b095533 Common folder housekeeping part 3. 2025-01-16 11:50:08 -05:00
Jeff Young
af38f76f01 Don't double-create new folders in project tree. 2025-01-16 16:47:58 +00:00
Jeff Young
89706aedae Resolve some variables from the project. 2025-01-16 15:59:51 +00:00
Jeff Young
413fe65bd8 Resolve fonts in library symbols.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19641
2025-01-16 15:41:41 +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
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
3b07401912 Formatting. 2025-01-16 13:12:25 +00:00
Jeff Young
5f45c2c0d1 Nullptr fixes. 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
Jeff Young
2af80d2fc8 Refresh project tree after generating outputs. 2025-01-16 13:12:25 +00:00
John Beard
a997dab769 Position interactive: add re-entrancy guard 2025-01-16 20:48:04 +08:00
John Beard
e392b7b52d Position interactive: don't allow status popup over the dialog 2025-01-16 20:42:13 +08:00
John Beard
040fe379d0 Position interactive: don't leave stale ruler after edits
Any non-mouse action, just clear the ruler.
2025-01-16 20:41:12 +08:00
John Beard
ba5bdfaca6 Pcbnew tool: fix inconsistent selection after creation
If the point selection was used for the circualr array, one of the items
would be unselected, which is different to the grid array and annoying
if you want to pick up/edit props for the new items.
2025-01-16 19:43:15 +08:00
John Beard
6e7b22904e Array tool: when changing axis numbering, default to valid numbering
Otherwise, when you change the axis numbering type, and don't update
the start offset string, you get an error on dialog save. Instead,
if the number isn't valid, change it to a valid one.
2025-01-16 19:43:15 +08:00
John Beard
d677b84de1 Array dialog: if validation fails, don't close - allow user to fix it 2025-01-16 19:43:15 +08:00
John Beard
7116ed6917 Pcbnew array dialog: adjust padding
Also remove some debug.
2025-01-16 19:43:15 +08:00
jean-pierre charras
2a143a63e5 Build on MSYS2: use shobjidl.h, instead of shobjidl_core.h
shobjidl_core.h is not available on mingw
2025-01-16 09:59:12 +01:00
Marek Roszko
337ec6d862 Add a version_header depend, not ideal 2025-01-15 21:27:08 -05:00
Jon Evans
f5339648d2 Don't assume a username for macos ci 2025-01-15 20:40:26 -05:00
Marek Roszko
a0b50622dd Implement AppUserModelID for windows 2025-01-15 20:36:15 -05:00
Seth Hillbrand
e32815003f Don't depend on the enum ordering for units
They are not always going to line up with the dropdown ordering

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19643
2025-01-15 11:33:32 -08:00
Alex Shvartzkop
d9dcd9e854 EasyEDA Pro schematic: import text with null angle.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19640
2025-01-15 22:04:57 +05:00
Alex Shvartzkop
3a0df97dbf Optimize SHAPE_LINE_CHAIN::Segment slightly. 2025-01-15 18:07:57 +05:00
Marek Roszko
41ef767676 Tweak the odb job pathing again 2025-01-14 21:23:25 -05:00
Marek Roszko
9dc0bb2c89 Avoid rebuilding the bitmap tar every single build by cheesing cmake targets 2025-01-14 20:45:22 -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
Jeff Young
1d8ed071b8 Respect recursion depth limit.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19633
2025-01-15 00:08:08 +00:00
Seth Hillbrand
c7c1748920 Keep the scoped copy of LSET
Attempting to fix an unknown windows crash

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19488
2025-01-14 15:27:42 -08:00
Seth Hillbrand
a77c9463e4 Fix memory leak in DRC_TEST_PROVIDER_CLEARANCE_BASE
We really shouldn't be getting the colors here (they need to be when
drawn) but if we do, we shouldn't allocate a whole new palette for each
object.
2025-01-14 15:27:42 -08:00
JamesJCode
baa0beec4d Update some pcbnew QA files to remove warning messages 2025-01-14 22:49:21 +00:00
JamesJCode
83f03b10ff Further netclass name method cleanup 2025-01-14 21:16:43 +00:00
Seth Hillbrand
5cd9e319d3 Handle more arc degeneracies 2025-01-14 13:08:45 -08:00
Seth Hillbrand
bfb3875a68 Add additional handling for arc collisions
Provides nearest point calculation for circles, segments and rects

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18203
2025-01-14 13:08:45 -08:00
Seth Hillbrand
bcebc694b8 Implement MTV for arcs 2025-01-14 13:08:45 -08:00
Seth Hillbrand
b73481dd49 Update SHAPE_ARC::IntersectionPoints()
Force it to handle a number of edge cases from Arc-Arc collision test.
Unify and simplify the Collide Arc-Arc.  Add additional arc collision
QA test
2025-01-14 13:08:45 -08:00
Seth Hillbrand
4d40ea2586 Allow Arc conversion to-from tracks-graphics 2025-01-14 13:08:45 -08: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
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