48228 Commits

Author SHA1 Message Date
Jeff Young
17d2a05df0 Uninitialized variables. 2025-06-14 20:25:59 +01:00
Jeff Young
c9ee462652 Nullptr safety. 2025-06-14 20:25:59 +01:00
Jeff Young
18e107529a Don't force callers of GetAppSettings to implement exception processing. 2025-06-14 20:25:59 +01:00
Jeff Young
5ed332771c Don't overwrite return value. 2025-06-14 20:25:59 +01:00
Jeff Young
5707f34c5b Nullptr safety. 2025-06-14 20:25:59 +01:00
Mark Roszko
2440cf4892 Update vcpkg for wx3.3 trial in windows nightlies 2025-06-14 15:10:50 -04:00
Mark Roszko
5f145d02bd Disable WX_USE_REL_AND_DBG under vcpkg as it doesnt really play nice with lib and debug/lib
This is usually fixed by the hackjob in vcpkg for the wxwidgets find module being so...crazy
2025-06-14 15:07:46 -04:00
Mark Roszko
4bfeddcc8d Fix assert on construct of jobset page 2025-06-14 14:05:36 -04:00
Mark Roszko
6ded31927b Fix accidentally uncommented debug msgs 2025-06-14 13:58:45 -04:00
Mark Roszko
b83f433506 Enable dark mode on windows when built with wx 3.3 2025-06-14 13:55:02 -04:00
Mark Roszko
1922cab5f4 Kill the near-global spread of length_delay_calculation.h 2025-06-14 13:32:18 -04:00
Marek Roszko
74e60e8917 change in wx3.3 header includes causes conflicts in ipc2581_types.h 2025-06-14 13:31:20 -04:00
Marek Roszko
10331e32e0 Fix our FindwxWidgets.cmake that actually always had the wrong lib search path for wx vcpkg 2025-06-14 13:31:19 -04:00
Jeff Young
9f7fa4df66 There's no view when running tests. 2025-06-13 18:09:22 +01:00
Jeff Young
e2cf944915 Dirty clearance lines when rule areas change.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20734
2025-06-13 16:37:10 +01:00
Jeff Young
aaa0e74311 Eagle sheet descriptions are elements, not attributes.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20957
2025-06-13 12:28:08 +01:00
Jeff Young
2844674449 Use courtyards for DNP cross-out sizes.
(And failing that, just pads and edges, no text.)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21115
2025-06-12 16:29:50 +01:00
Jeff Young
ac3a20278b Reset m_drcRun flag when clearning all markers.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21113
2025-06-12 12:51:38 +01:00
Jeff Young
7fbf51b17c Be more pedantic about RECURSE_MODE.
Also fixes an invalid iterator bug.

Also adds mirroring support for PCB_GROUPs.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21107
2025-06-12 11:21:28 +01:00
Jeff Young
c159b06f57 Cleanup. 2025-06-12 09:42:01 +01:00
Jeff Young
de4f2dd3cb Remove annoying tabs in dialog.
(It just makes it harder to see what's happening.)
2025-06-12 09:42:01 +01:00
Jeff Young
7258546084 Use KiCad terminology and fix broken logic around locked footprints.
(And don't show users UUIDs.)

(Also fix broken logic around skipped numbers.)

(Also removes nag dialog.)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19977
2025-06-12 09:42:01 +01:00
aris-kimi
cf5d4df78a Sim:Fix an unescaped while loop 2025-06-12 01:07:38 +01:00
Jeff Young
c3192a9501 Consistency in dialog visuals and control/tooltip naming. 2025-06-11 13:23:25 +01:00
Alexander Boehm
2e94e6413f repeat layout: always fixupNet
I don't understand how cloned nets get their target zone
net in the first place. What I do know is that rarely it does
not work and the source net is retained. This is where
fixupNet() shines and does what its name suggests.
2025-06-10 14:18:46 -04:00
Alexander Boehm
159f2c9482 multi-channel tool: more fine grained control over in/exclusion
The locking option from the repeat layout dialog was renamed and
is now called 'include locked items', like in the code.
If an item is locked in the source rule area it is not replicated,
if an item is locked in the target area it will not be deleted upon
running the repeat layout tool. Added an option to ignore tracks that
do not share a net with a pad inside the source rule area. This gives
unrelated track segments lying inside the rule areas a chance
of peaceful coexistance.
2025-06-10 17:33:26 +00:00
Alexander Boehm
6e06125719 multi-channel tool: copy only routing fully within rule area
Tracks segments of arbitrary lenght were replicated as long as some
part was inside the reference rule are. Now only track segments fully
within the rule area are replicated. This improves performance,
consistency (e.g. only zone fills fully within rule area are copied) and
usablity. Regarding the usability: if a channel is replicated and then
connected to something else these wires were often messed up if another
replication (some internal update) was necessary. Now the chance that
external connections going into the rule area survive an replication is higher.
2025-06-10 17:33:26 +00:00
Alexander Boehm
56bd7e4427 multi-channel tool: grid tricks for repeat layout dialog
This allows selecting/unselecting multiple checkboxes at once
by hitting space. And maybe some other tricks I don't know about...
2025-06-10 17:33:26 +00:00
Alexander Boehm
4111140f93 generate rule areas dialog: vertical scroll bars
With many entries the dialog could not be resized by dragging
nor were scroll bars displayed (at least under Linux).

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20195
2025-06-10 17:33:26 +00:00
Alexander Boehm
6dd366f7bf multi-channel tool: anchor footprints
adds a dropdown menu to select an anchor footprint from the
reference rule area. The corresponding footprints in the
target areas determine displacement and rotation off all the
replicated items. If no anchor footprint has been selected
the previous behavior is unchanged, i.e. rule area position
determines placement.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20603
2025-06-10 17:33:26 +00:00
Jeff Young
4678000a0e ADDED: DNP, etc. attributes to SCH rule areas.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14037
2025-06-10 18:26:34 +01:00
Ian McInerney
ae1c1c6f26 Fix type in string 2025-06-10 17:16:22 +01:00
Jan Wichmann
63fadcbcce DIALOG_LIB_NEW_SYMBOL: Added extended control of data fields when creating derivatives 2025-06-10 08:20:06 -04:00
Jeff Young
2d0184faf9 Adjust margins. 2025-06-10 11:31:19 +01:00
Jeff Young
e4294aab85 Don't export negative layers to copper.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20949
2025-06-10 09:43:39 +01:00
Jeff Young
f66a3c3fac Adjust spacing. 2025-06-10 09:43:39 +01:00
Jeff Young
e6d94d5b09 Repair saved locking logic.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21090
2025-06-10 09:06:59 +01:00
Mike Williams
d5b0e64a1b build: fixes 2025-06-09 16:15:35 -04:00
Seth Hillbrand
e957d10098 Force grids to have entries.
If they don't in the file, reset to the default

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21060
2025-06-09 13:12:35 -07:00
Jeff Young
307f3c17bc Revert div-by-0 fixes which fail arc regression tests. 2025-06-09 20:09:24 +01:00
Jeff Young
9d6928043f Don't format strings if we're not going to report them. 2025-06-09 20:09:24 +01:00
Jeff Young
3d5a87d8db Performance tweaks. 2025-06-09 20:09:24 +01:00
Jeff Young
8235843d01 Don't pass large structures by value. 2025-06-09 20:09:24 +01:00
oskarwires
abba11031a Fix pin length change and push 2025-06-09 13:57:08 -04:00
jean-pierre charras
68929aa980 Fix overzealous cleanup. 2025-06-09 19:49:12 +02:00
Damjan
2c92f95a1c 3d-viewer: Navigation gizmo for 3D viewer
ADDED: Blender-like navigational gizmo - new feature

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16956
2025-06-09 10:29:34 -07:00
Sebastian
3cafe2e6bb Fix updating embedded drawing sheet by marking true to update the embed drawing files.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20800
2025-06-09 17:32:24 +01:00
Mike Williams
65e282e6e1 schematic: break/slice will temporarily switch to free angle mode
Otherwise operations like breaking a wire in orthogonal mode simply
don't make sense.

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/13394
2025-06-09 12:16:21 -04:00
Mike Williams
b440349586 schematic: better implementation of repeated break 2025-06-09 11:41:41 -04:00
Mike Williams
cd85226c1a schematic: make break wire a repeat-until-cancel action
User requested feature.

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/13392
2025-06-09 11:27:06 -04:00