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
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