jean-pierre charras
da92279436
Pcbnew: add pad fabrication property Press-Fit
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21457
2025-08-11 15:59:19 +02:00
John Beard
ea8d0519bd
Eeschema: propagate alt mode icons to render settings on prefs change
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/21462
2025-08-11 20:58:15 +08:00
Seth Hillbrand
aa4bba3c94
Resistor calculator should minimize parts
...
If we can get a equivalent value match using the same parts, prefer
that.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7100
2025-08-10 21:09:43 -07:00
Seth Hillbrand
77b99968ed
Fix typo in previous commit
2025-08-10 20:25:35 -07:00
Seth Hillbrand
02e9dd697b
ADDED: Action to embed all 3d models referenced
...
Moves through the footprints and replaces external references with
internal embedded files
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20847
2025-08-10 20:20:32 -07:00
Seth Hillbrand
c4d78d2bce
Add plausibility check to DRC custom rules
...
- Checks for duplicate conditions
- Checks for non-existent netclasses
- Checks for non-existent layers
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13498
2025-08-10 19:28:20 -07:00
Jeff Young
88e97566c3
Fix build error.
2025-08-10 22:14:40 +01:00
Jeff Young
cf5c00bcf2
Make more use of shared dialogs.
2025-08-10 21:32:10 +01:00
Jeff Young
892f9031d7
More open-coded dialog state-saving cleanup.
2025-08-10 21:00:17 +01:00
Jeff Young
567c7aa96b
Separate control building from control value setting.
...
The first needs to happen before dialog layout, the
second after DIALOG_SHIM's control state restoration.
2025-08-10 18:43:09 +01:00
Jeff Young
8d26313d8d
Separate control building from control value setting.
...
The first needs to happen before dialog layout, the
second after DIALOG_SHIM's control state restoration.
2025-08-10 18:30:14 +01:00
Jeff Young
44bd29d592
More removal of open-coded dialog state saving.
2025-08-10 15:57:20 +01:00
Jeff Young
2909e984b6
There is no need to store the m_reporter pointer.
2025-08-10 11:40:04 +01:00
Jeff Young
661be06168
Use TransferDataToWindow() to init controls.
2025-08-09 21:52:08 +01:00
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
5805f67459
Save notebook page titles rather than index.
...
(Some notebooks have variable pages from invocation
to invocation.)
Also adds bounds-checking where appropriate.
2025-08-09 17:18:57 +01:00
Jeff Young
5a358d99bb
Save notebook page titles rather than index.
...
(Some notebooks have variable pages from invocation
to invocation.)
2025-08-09 17:11:54 +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
Carsten Schoenert
9fcee70827
python: Use raw-strings expressions
...
Python 3.12 is now more pedantic about the used string regexp syntax in
re.* functions.
Signed-off-by: Carsten Schoenert <c.schoenert@t-online.de>
Signed-off-by: Adrien Ricciardi <adrien.ricciardi@hotmail.fr>
[Adrien Ricciardi: This patch comes from Debian: https://sources.debian.org/src/kicad/9.0.3+dfsg-1/debian/patches/fixes/python-Use-raw-strings-expressions.patch ]
2025-08-08 21:29:53 -07:00
Seth Hillbrand
58c9893a3f
Add QA for COMMMIT/SCH_COMMIT/BOARD_COMMIT
2025-08-08 21:28:54 -07:00
Seth Hillbrand
a9121d4cd1
Add asan switch indicators
2025-08-08 21:25:19 -07: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
jean-pierre charras
69ab015d19
QA test: fix a compil issue.
2025-08-08 18:06:53 +02:00
jean-pierre charras
33826b4af3
DIALOG_TEMPLATE_SELECTOR: fix minor issues Windows specific.
...
- deselect the string showing the folder path (selected at opening the dlg)
- replace a linear-gradient HTML data not handled by wx webview library
standard build version on MSYS2 (MSYS2 specific)
2025-08-08 17:19:03 +02:00
John Beard
db97d77544
Netclass: allow multiple assignments with the same pattern
...
This isn't really a problem, and overwriting the entry allows
for silent data loss by making a new assignment with the
same pattern as an existing one.
The resolve netclasses are de-duplicated later, so it's even
OK if the whole assignment is duplicated (in theory), but
continue to clean these up.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/21316
2025-08-08 21:39:41 +08:00
JamesJCode
88c09517f2
Ignore empty net class fields in net class ERC
2025-08-08 14:37:11 +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
Jeff Young
ac867f6aa7
Add owner-drawn combos to control state saving.
...
(Also fixes LAYER_BOX_SELECTOR, etc.)
Also fixes a bug in saving wxComboBox state (we
need to save the value, not the index).
2025-08-08 13:54:26 +01:00
jean-pierre charras
9c051a8138
DIALOG_TEMPLATE_SELECTOR: fix a panel min size.
...
A min size panel was already set, but for some reason did not work.
Setting the min size of the sizer containing this panel works better.
2025-08-08 09:52:39 +02:00
Mark Roszko
5895c27f4a
Rename Prj() on schematic to avoid conflict with global function
2025-08-07 23:21:41 -04: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
Seth Hillbrand
d8a99ea38f
ADDED: New ERC test for mis-match GND pins
...
If you have a pin with a label containing the letters "GND" in it and it
is not connected to a net with a label also containing "GND" AND there
is another pin on your symbol that _is_ connected to a net containing
"GND", then there is a likelihood that you have accidentally mixed up
your connections to the GND pin
2025-08-07 15:42:56 -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
JamesJCode
37ba83a44b
Make delay base units documentation consistent with other usages
2025-08-07 17:59:46 +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
jean-pierre charras
0fccd846e6
Fix missing include.
2025-08-07 15:29:43 +02:00
Seth Hillbrand
762aa66d62
Try again to fix template assert
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21438
2025-08-07 05:18:25 -07:00
Jeff Young
d2293ab56a
Fix key generation for dialog control state.
...
(Previous algo overwrote className and then later
tried to use it to find siblings.)
2025-08-07 11:44:47 +01: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
3f1f9e8e72
Remove stale comment.
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