Jeff Young
a45f8bc2f7
Don't store m_severities. It won't follow save control state.
2025-08-09 19:11:27 +01:00
Jeff Young
5dabfaf26e
Remove more old open-coded dialog state saving.
...
(State saving is now handled uniformly in DIALOG_SHIM.)
2025-08-09 16:11:36 +01:00
Jeff Young
d1dd446e4e
Remove more old open-coded dialog state saving.
...
(State saving is now handled uniformly in DIALOG_SHIM.)
2025-08-09 16:11:36 +01:00
Seth Hillbrand
b207ec8817
Remove negative index access from CPoint
...
Callers should be responsible for index count and/or use iterators
2025-08-08 10:46:45 -07:00
Jeff Young
5df10e23b9
Cleanup. (And fix compile issue with test.)
2025-08-08 18:16:33 +01:00
Jeff Young
9930e3b252
Remove more old open-coded dialog state saving.
...
(State saving is now handled uniformly in DIALOG_SHIM.)
2025-08-08 18:15:53 +01:00
Jeff Young
69c4526358
Fix broken build.
2025-08-08 14:30:51 +01:00
Jeff Young
373d91336b
Fix broken build.
2025-08-08 14:17:35 +01:00
Jeff Young
4819487ea2
Save/restore state of UNIT_BINDER and other textboxes.
2025-08-08 13:54:27 +01:00
Jeff Young
60dbfd3eec
Don't show locked shadow in pad preview.
2025-08-08 13:54:26 +01:00
Jeff Young
66ee17cdcd
Start removing old open-coded dialog state saving.
...
(State saving is now handled uniformly in DIALOG_SHIM.)
2025-08-08 13:54:26 +01:00
Seth Hillbrand
1a4eba56a7
ADDED: Skip Via support
...
Skip vias are vias that are flashed on their start and end layers but
have no annular rings on the interior layers and do not connect to zones
in those layers
You can now select Annular ring type "Start and end layers only". This
will prevent annular ring flashing on intermediate layers and zones
fills will provide clearance. You can still connect tracks to
intermediate layers but preventing that will fall to the designer
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21433
2025-08-07 15:48:10 -07:00
Ben Gamari
a07db6763a
api/common: Fix units of Time
...
Times are internally represented in attoseconds, not picoseconds.
2025-08-07 18:06:59 +01:00
Seth Hillbrand
9e326c29db
Disable snap when moving with keyboard
...
Keyboard movement is for precision control, so avoid snapping behavior
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21235
2025-08-07 08:25:53 -07:00
John Beard
6bdfe2bce6
Pcbnew: fix outline drawing of PTH pads
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/21448
2025-08-07 22:48:22 +08:00
Jeff Young
241d9a4c30
Separate locked & unlocked vias in global deletions.
...
Also allows a dialog to opt out of control-state
saving at the top level (rather than on every control).
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21441
2025-08-07 11:44:47 +01:00
Jeff Young
3f8709ff55
Missed checking in file in earlier commit.
2025-08-07 11:44:47 +01:00
Jeff Young
1e9da4684a
Move properties inspector font-listing to SetChoicesFunc().
2025-08-07 11:44:47 +01:00
Seth Hillbrand
1a8dac9296
Have Find dialog update its cache on board mod
...
We don't want to find stale references
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21445
2025-08-06 16:37:03 -07:00
Seth Hillbrand
73aa437259
Finalize lasso selection tool
...
- Move under rectangular selection
- Simplify available modes
- Link to new icon
- Make selection state persistent
- Allow additive/subtractive with KiCad configurable keys
2025-08-06 16:07:43 -07:00
Andrzej Wolski
c73d555fe2
ADDED: Lasso selection in pcbnew
...
Adds a lasso or freeform selection tool to KiCad in addition to standard
rectangular selection. Adds supporting HitTest routines
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/1977
2025-08-06 16:06:40 -07:00
John Beard
da1495cd67
Pcbnew: Zero-thickness layers are not specified rather than actually zero
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/21443
2025-08-07 03:56:41 +08:00
JamesJCode
b87a050bd8
Use full start / end copper layer heights in length calculations
...
Previously we halved the start / end copper layer heights, which is
not in line with how other EDA tools behave. This was also inconsistent
with adding pad-to-die lengths as we did not add back in the missing
half.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21365
2025-08-06 20:30:13 +01:00
Seth Hillbrand
fa02553d53
Don't special case custom pads from Altium
...
All pads should follow the same behavior. Remains todo to
differentiate between missing values (inherit in Altium) and custom 0mil
values (force no expansion)
2025-08-06 11:41:42 -07:00
John Beard
2bf2e30af6
Pcbnew: squash shadowed variable warning in copper clearance DRC
2025-08-07 00:55:48 +08:00
jean-pierre charras
9ccc47cf0b
panel_setup_rules_help_8expression_functions: use style similar to other help texts
2025-08-06 18:33:36 +02:00
Jeff Young
e16c8fdba0
Formatting.
2025-08-06 15:27:58 +01:00
Jeff Young
43a1134397
Performance tweak.
2025-08-06 15:27:58 +01:00
Jeff Young
400fd96ee2
Make use of new move assignment operators.
2025-08-06 15:27:58 +01:00
Jeff Young
8e534449af
Forgot to bump file format version for 5a70fc0bd5985416f3ed279eae221c41704bb349.
2025-08-06 11:28:34 +01:00
Jeff Young
b2ecaf1ddc
Don't set m_IsPreviewer to force 3D models.
...
It has unintended side-effects (such as showing
user drawings and user comments layers).
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21428
2025-08-06 11:21:55 +01:00
Seth Hillbrand
29eee9f126
Refactor grid_helper to allow testing
...
Make view and tool manager optional so that we can implement QA on the
actual snapping
2025-08-05 16:10:17 -07:00
Alex Shvartzkop
fb6bc9ca11
Improve Library link label to text field alignment in symbol/footprint properties dialogs.
2025-08-05 20:23:41 +03:00
Jeff Young
2e629ca55c
ADDED: follow-pcb and follow-plot-settings to render job settings.
...
Also added Follow-board-stackup-colors to both
render job settings and render CLI arguments
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21341
2025-08-05 18:01:50 +01:00
Jeff Young
fa9df08f94
Quiet assert.
...
Fixes KICAD-V9P.
2025-08-05 13:49:31 +01:00
Jeff Young
5a70fc0bd5
Convert (island) to (island yes).
2025-08-05 13:49:31 +01:00
Jeff Young
d3f2bec6a6
Performance tweaks.
2025-08-05 13:49:31 +01:00
Alex Shvartzkop
f4c356a4f8
Update generated custom DRC rules help files, required for Weblate.
2025-08-05 14:37:17 +03:00
Alex Shvartzkop
188e0fc545
Revert "Ignore autogenerated files"
...
This reverts commit 36366e254d2526be009f2bf3c33ed52b7e3efafd.
2025-08-05 14:33:20 +03:00
Jeff Young
dc7312efd6
Frame needs an extra kick to toggle grid visibility.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21409
2025-08-04 21:19:21 +01:00
Jeff Young
ea84879b06
Allow deletion of nested embedded files.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20581
2025-08-04 19:11:59 +01:00
Jeff Young
7240128130
Formatting.
2025-08-04 19:11:59 +01:00
Seth Hillbrand
50c7aff3ff
Simplify KiROUND using std::llround/clamp
...
Removes the bespoke rounding in favor of std::llround and std::clamp
routines
2025-08-04 09:26:25 -07:00
Seth Hillbrand
4aa2047f45
Replace alg::delete and alg::delete_if with std c++20
2025-08-04 09:03:16 -07:00
Seth Hillbrand
06d5503db1
Remove heap-managed WX custom list in BOM
...
No need to do the extra memory management for what is essentially a
vector
2025-08-04 08:49:47 -07:00
John Beard
2b69e118e0
Pcbnew: fix mistaken angle int cast in arc properties
2025-08-04 17:37:55 +08:00
Alex Shvartzkop
39978ab2e2
Fix erroneous hex parsing when opening legacy PCB files on MSVC.
...
e.g. "FFFF8007" does not fit into signed "long" type (4 bytes on MSVC),
so strtoul returns 0x7FFFFFFF and sets errno to EINVAL.
2025-08-04 06:06:13 +03:00
Jeff Young
34e075e112
Rework libtree SearchTerms to honour shownColumns.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21419
2025-08-03 20:32:19 +01:00
Jeff Young
a8df4b16e2
Range checking.
2025-08-03 20:32:19 +01:00
John Beard
cef8e77eed
Revert "Pcbnew point editor: avoid flickering when dragging"
...
This doesn't work properly as EDIT_CONSTRAINTs are using
references to the wrong point.
This reverts commit f632bad5768420776bd639303c0ecd2bf591cc28.
2025-08-04 00:25:25 +08:00