21 Commits

Author SHA1 Message Date
Seth Hillbrand
6e2b20ed0e Update BS Threadpool to 5.0 2025-09-10 13:02:24 -07:00
Jeff Young
18e107529a Don't force callers of GetAppSettings to implement exception processing. 2025-06-14 20:25:59 +01:00
JamesJCode
a5be581b1b Add char_traits<T> specialisations for wxUniChar and NANODBC_SQLCHAR
when building on Apple with Clang >= 17.

These specialisations are not strictly required by the C++ standard,
and have been removed from LLVM.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20631
2025-04-15 20:57:23 +01:00
Alex Shvartzkop
88b56413d5 Fix crash when closing project manager during KiCad update check.
Also: allow to terminate the KiCad update check.
Also: update the status label when jobs are removed.
(cherry picked from commit 19890b7f99808a5c3f172c4dbffcf553ba0aed5b)
2025-01-22 20:56:03 +03:00
Seth Hillbrand
452e69de85 Move thread pool into true singleton
Thread pool needs to be stored in a single location for all of KiCad
otherwise each kiface will spin up its own pool of persistent threads
2025-01-09 09:03:08 -08:00
Seth Hillbrand
074e6df3bc Revert "Move thread pool to singleton class"
This reverts commit 361f61a02380881efb59b1cebfdc3e73322b3d3c.
2025-01-03 21:22:44 -08:00
Seth Hillbrand
361f61a023 Move thread pool to singleton class
Having thread pool as its own singleton in the library meant that each
kiface had its own threadpool, leading to many multiples of the threads
being started.  Placing a singleton class in PGM_BASE ensures that all
kifaces use the same thread pool.

The singleton class can be extended to provide single instance
guarantee for any element across kifaces
2025-01-03 13:51:11 -08:00
Seth Hillbrand
0b2d4d4879 Revise Copyright statement to align with TLF
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo.  Avoids needing to
repeatly update.

Also updates AUTHORS.txt from current repo with contributor names
2025-01-01 14:12:04 -08:00
Ian McInerney
c5d39698f2 Rename local variable to prevent shadow warning
This is probably just a false-positive from GCC, since the outer
variable isn't actually in the capture list of the lambda.
2024-12-31 00:18:10 +00:00
Jeff Young
753d385473 Reduce dependency on dynamic_cast.
Also switches to checking __clang__ instead of __WXMAC__.
2024-12-08 21:46:54 +00:00
jean-pierre charras
5ac8449e1f Minor compil and Coverity fixes 2024-03-06 13:05:21 +01:00
Marek Roszko
4602a27eb8 Revert "Update vcpkg baseline to newer"
This reverts commit d23a740ce3cb22db3e6531f4e3808fbedaffa54a.
2024-02-28 21:58:15 -05:00
Marek Roszko
d23a740ce3 Update vcpkg baseline to newer 2024-02-27 07:48:20 -05:00
Jeff Young
9ff66d0e71 Don't capture references to local variables for CallAfter.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16934

(cherry picked from commit 9d40374baff216b5dbe18438d2948bc3915ebf0a)
2024-02-23 16:53:30 +01:00
Marek Roszko
1717f39daf Use the semantic version for update checks 2024-02-16 21:42:43 -05:00
Seth Hillbrand
5f234211f9 Remove __WXWINDOWS__ defines
__WXWINDOWS__ is for all of our builds.  __WXMSW__ is for windows only
2023-12-21 08:57:28 -08:00
Wayne Stambaugh
a4b38fbb80 Coverity warning fixes. 2023-12-18 16:09:13 -05:00
Marek Roszko
8849891893 Add a update notice modal dialog instead of the incomplete notifications 2023-12-16 06:47:41 -05:00
Marek Roszko
140a734589 Remove hardcoded test version 2023-12-13 22:36:18 -05:00
Marek Roszko
2c7e56aec3 Fix include path 2023-12-13 21:18:22 -05:00
Marek Roszko
c8f646efb1 ADDED: KiCad update check
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15026
2023-12-13 20:47:40 -05:00