49093 Commits

Author SHA1 Message Date
John Beard
1832aba14e Eeschema: fix missing include 2025-08-07 00:55:48 +08:00
John Beard
2bf2e30af6 Pcbnew: squash shadowed variable warning in copper clearance DRC 2025-08-07 00:55:48 +08:00
John Beard
0eaedb770b Edit constraints: formalise ownership semantics 2025-08-07 00:55:47 +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
jean-pierre charras
de208b3f00 Kicad manager: display the number of GDI objects in About Dialog (Windows only)
On Windows, if the number of GDI objects reach a limit (usually 10000) some can
be not shown, thus creating  a strange behavior not easy to diagnose.
Displaying the number in use can help.
2025-08-06 18:17:05 +02:00
Jeff Young
54d8cf10fc Selected is not the same as highlighted.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19976
2025-08-06 15:27:58 +01: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
jean-pierre charras
d7cf008397 Try to fix a QA test. 2025-08-06 16:20:55 +02: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
ece58909ba Avoid infinite loop if the grid size is zero or less 2025-08-05 16:18:02 -07: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
d340fa1a12 Update translations 2025-08-05 15:14:21 +03:00
CloverGit
9063c1bbe7
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 97.7% (10166 of 10399 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2025-08-05 14:13:51 +02:00
dsa-t
5e5ce91400
Translated using Weblate (Russian)
Currently translated at 94.5% (9833 of 10399 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2025-08-05 14:13:51 +02:00
co8 j
c977640b90
Translated using Weblate (Japanese)
Currently translated at 100.0% (10399 of 10399 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2025-08-05 14:13:51 +02:00
2tama3
175c6f5e62
Translated using Weblate (Japanese)
Currently translated at 100.0% (10399 of 10399 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2025-08-05 14:13:51 +02:00
co8 j
12a1a3c028
Translated using Weblate (Japanese)
Currently translated at 100.0% (10399 of 10399 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2025-08-05 14:13:50 +02:00
Pferd O
ed7892d5b6
Translated using Weblate (German)
Currently translated at 99.3% (10330 of 10399 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2025-08-05 14:13:50 +02:00
Mahdi Ahmadzadeh
c062908b8f
Translated using Weblate (Persian)
Currently translated at 8.0% (840 of 10399 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/fa/
2025-08-05 14:13:50 +02: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
Mojca Miklavec Groenhuis
f145d8750d Name change 2025-08-05 10:40:10 +01:00
Seth Hillbrand
416e54f0d5 Update template selector to modern webview
Allow more attractive templates.  Start of building singular
template+new project layout

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15987
2025-08-04 22:20:54 -07:00
Seth Hillbrand
dd889ddac9 Add Tesselation QA tests 2025-08-04 22:20:42 -07: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
Seth Hillbrand
321b5793a2 Add some QA tests
Created basic tests for:
- Notification Manager
- Clipboard
- File history
- Filename Resolver
- Hotkey store
- Collector
- Reporters
2025-08-04 11:36:43 -07: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
Jeff Young
2c3408aad5 Grid is already updated by AddFile() callback.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20565
2025-08-04 19:11:59 +01:00
Jeff Young
724e44d5a0 Move assignment operators for some hot-path classes. 2025-08-04 19:11:59 +01:00
Seth Hillbrand
43a9c760b1 Add some QA tests for FILE_HISTORY, SEARCH_PATH and FILENAME_RESOLVER 2025-08-04 09:59:30 -07: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
Seth Hillbrand
e379e91081 Store hierarchy expansion/collapse state
Defaults to fully expanded but stores the names for nodes that are
collapsed in project local settings.  Because project local settings are
generally changed by modifying views or selection filters, these should
be saved on close rather than only when the project is saved

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19276
2025-08-04 08:34:09 -07:00
Jeff Young
b67b467483 Uninitialized variable. 2025-08-04 11:18:20 +01:00
Jeff Young
82124c9cef Leave decision to show mandatory field columns to user.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13600
2025-08-04 11:11:19 +01:00
John Beard
2b69e118e0 Pcbnew: fix mistaken angle int cast in arc properties 2025-08-04 17:37:55 +08:00
dsa-t
6eb68aaf6e Revert "Fix copy-pasta in common PCH command (-5.4% time on MSVC/Debug)"
This reverts commit af8491e788323bfc3316001730d88c364ef2a665
2025-08-04 08:16:41 +03:00
Alex Shvartzkop
af8491e788 Fix copy-pasta in common PCH command (-5.4% time on MSVC/Debug) 2025-08-04 08:02:05 +03:00
Seth Hillbrand
bf16dcfbe8 Make all windows remember their preferences
Hook into DIALOG_SHIM to remember stylistic preferences for windows such
as position, size, sash position, notebook selection, etc.

Dialogs and controls can opt out of this by setting a client data user
property "persist" to false.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19992

Fixes https://gitlab.com/kicad/code/kicad/-/issues/10756

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21108
2025-08-03 20:22:30 -07:00
Seth Hillbrand
11d0bb466b ADDED: PROPERTY_HOLDER class
Useful for attaching arbitrary properties to userdata
2025-08-03 20:22:30 -07:00