48293 Commits

Author SHA1 Message Date
Mark Roszko
ce545f4d6c ADDED: Ability to set a PDF background color for PCB plots
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20873
2025-06-19 19:34:31 -04:00
Tomasz Wlostowski
e274307437 router: possible fix for disappearing split-segments
https://gitlab.com/kicad/code/kicad/issues/21019
2025-06-20 00:18:38 +02:00
Tomasz Wlostowski
9408f53e37 pcbnew: fix view bounding box calculation of center-type dimensions 2025-06-20 00:10:11 +02:00
jean-pierre charras
5d8c8b9c54 pcbnew, appearance control: add entry to enable/disable LAYER_BOARD_OUTLINE_AREA 2025-06-19 18:42:03 +02:00
jean-pierre charras
01e67d78d6 board area fixes (jpc) 2025-06-19 18:26:39 +02:00
jean-pierre charras
ea12df80be make board area colored (from Ethan Chien) 2025-06-19 18:26:39 +02:00
Jeff Young
1faa9800dc Row height consistency.
Rats.  Also got tangled up in another commit which
removes some dead code.
2025-06-19 14:29:37 +01:00
Jeff Young
a51925bcf5 Safer way to null temp member variable.
(No, there were no returns or throws, but someone might
add one in future, and this version will still work.)

Also fixes some other compiler warnings.
2025-06-19 14:29:37 +01:00
jean-pierre charras
33c9a50afd Fix typo in last commit 2025-06-19 09:03:05 +02:00
jean-pierre charras
92934b2178 Eeschema: fix crash (null pointer) in Preferences->Colors panel.
When drawing items shown in this panel, the <item>->Schematic() is nullptr
so we cannot use it.
2025-06-19 08:53:13 +02:00
Jeff Young
2cd6654e81 Hop-over improvements.
1) Move hop-over enablement to Schematic Setup.
2) Make hop-over size user configurable.
3) Prefer hop-overs to hop-unders.
2025-06-18 22:18:59 +01:00
Jeff Young
716e446e06 Reduce compiler warnings. 2025-06-18 17:58:30 +01:00
Jeff Young
0d8b24747e Smarten copper area collection routine. 2025-06-18 17:55:31 +01:00
Jeff Young
52f77864bc Formatting. 2025-06-18 17:45:53 +01:00
Jeff Young
e3baebd53a Check/Uncheck All for Change Footprints.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21150
2025-06-18 11:06:59 +01:00
Mark Roszko
cf56ac3300 Switch to generic message dialogs on windows to maintain dark mode immersion 2025-06-17 21:20:09 -04:00
Jeff Young
96c8d995dd Don't reset current tool in group when rebuilding toolbars.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21125
2025-06-17 23:01:24 +01:00
Jon Evans
feec61e050 Hyperlynx: flip Y-axis coordinates
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18581


(cherry picked from commit b1649071e85792ab21357967414452fe89903e05)

Co-authored-by: Jon Evans <jon@craftyjon.com>
2025-06-17 17:44:10 -04:00
Jeff Young
2e9987e722 Clear child flags for items whose undo/redo is managed by parent.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21111
2025-06-17 19:56:43 +01:00
Jeff Young
b2025b7568 Formatting. 2025-06-17 19:56:43 +01:00
jean-pierre charras
025317ee10 Eeschema, hop over arc: refinement in draw code (arcs always have the right radius). 2025-06-17 18:53:38 +02:00
jean-pierre charras
c56d55b3e7 FP editor: use the footprint datasheet field value if it is not empty.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21149
2025-06-17 18:02:54 +02:00
Jeff Young
af076488f5 Naming conventions. 2025-06-17 14:03:57 +01:00
Jeff Young
5e707acbdb Ensure any mapped layers are enabled.
Also fixes a missing mutex for parallel access to cache
in DRC_TEST_PROVIDER_COPPER_CLEARANCE::testGraphicClearances().

Also simplifies the logic for not show multiple errors.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21138
2025-06-17 14:03:57 +01:00
Jeff Young
6c5f682254 Ensure any mapped layers are enabled.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21138
2025-06-17 12:33:55 +01:00
Jeff Young
a3ae173159 Formatting. 2025-06-17 11:36:19 +01:00
Jeff Young
bdc3129db3 Don't allow repeat command when one is already running.
Also, performa undo during move locally, and bar redo events.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21145
2025-06-17 11:18:11 +01:00
Jeff Young
d55a454b2a Consistent naming. 2025-06-17 11:18:11 +01:00
Alex Shvartzkop
89961465e2 Add algorithm import for Clang 19.
Otherwise it can't find std::ranges::find_if
2025-06-17 11:38:38 +03:00
Jon Evans
f9d1a4d31b API: Don't accidentally copy board's net info
(cherry picked from commit c9668b81c8bd8547f97aa9c83893f5c2b7522171)

Co-authored-by: Jon Evans <jon@craftyjon.com>
2025-06-16 23:24:00 -04:00
Mark Roszko
9fb98449d9 Fix use-after-free crash in PCB_PICKER_TOOL 2025-06-16 22:32:07 -04:00
Mark Roszko
95235dc8ad Minor port updates 2025-06-16 21:03:44 -04:00
jean-pierre charras
27a036206c French translation update 2025-06-16 20:13:30 +02:00
Jeff Young
f0a2d6ffb6 Repair inadvertent change. 2025-06-16 17:33:33 +01:00
Mark Roszko
3c6ac7ddf8 Rename the job tmp var for future generalization and fix the unsetenv call 2025-06-16 16:04:34 +00:00
Jeff Young
edca1ee62d ADDED: check/uncheck all update option buttons.
Dialog is wide enough now not to require double lines for LIB_IDs.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21137
2025-06-16 16:04:21 +01:00
jean-pierre charras
714117eb1b Pcbnew, Bezier curve: do not show Fill option in dlg and prop manager.
In Pcbnew, a Bezier curve is not a closed shape, and fill it is not supported
(This is supported only in schematic editor)
2025-06-16 13:21:25 +02:00
Jeff Young
8d1119e5dd Uninitialized variables. 2025-06-16 12:01:20 +01:00
Jeff Young
ca1db93013 Iterator safety. 2025-06-16 11:46:18 +01:00
Jeff Young
3a3d1708d4 Variable initialization and nullptr safety. 2025-06-16 11:12:03 +01:00
Jeff Young
74bf678d99 Warp back from context menu before running command.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19560
2025-06-16 10:58:03 +01:00
jean-pierre charras
6471db70cd 3Dviewer: Fix crash created by commit 447b7426 when a board has Bezier shapes. 2025-06-16 11:06:44 +02:00
jean-pierre charras
1b29499452 Eeschema, hop over arcs: fix the case of two 45 deg segments intersecting. 2025-06-16 10:24:09 +02:00
jean-pierre charras
cd206a62ba Eeschema: hop over arcs: ensure they are drawn not filled. 2025-06-16 08:53:38 +02:00
Jeff Young
27ac2beac5 Nullptr safety. 2025-06-15 21:52:52 +01:00
Jeff Young
f6b814658e Fix typo. 2025-06-15 21:50:55 +01:00
Jeff Young
1bc60c32f0 Nullptr safety. 2025-06-15 21:45:09 +01:00
Jeff Young
17158f21da Ignore visibility and style attrs in instance data.
It appears that it's always null/0.  (At least in this
test-case.)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19734
2025-06-15 20:48:31 +01:00
jean-pierre charras
a987c98fc3 Restore hop over arcs on undo command. 2025-06-15 16:55:19 +02:00
jean-pierre charras
ca9df9986a Make show hop over a configurable option 2025-06-15 16:55:18 +02:00