Marek Roszko
a5e4ed38a3
Move most of the sentry logic to a class inside the APP_MONITOR namespace
6 months ago
Marek Roszko
dea46f7780
Add a TRANSACTION class to experiment with performance metrics in nightlies
6 months ago
Jeff Young
86e1d4c684
Shorten opt-in text and improve Yes/No button labels.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20027
8 months ago
Seth Hillbrand
1b5c97d464
Remove partially translated languages <50%
9 months ago
Wayne Stambaugh
f161d94521
Common folder housekeeping part 2.
11 months ago
Jon Evans
54e8233b36
Don't scan for API plugins if server is disabled
11 months ago
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
11 months ago
Marek Roszko
02b3d03c23
Fix ctest for windows with env shim that is disabled for non windows, for now.
Also stuff a dummy fontconfig file to silence the dumb error on stdout, which interferes with testing
11 months ago
Seth Hillbrand
074e6df3bc
Revert "Move thread pool to singleton class"
This reverts commit 361f61a023 .
11 months ago
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
11 months ago
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
11 months ago
Seth Hillbrand
ea6c53ba5d
Re-enable low-translation testing languages
Languages lower on the translation level need to be enabled in the
master branch for testing
1 year ago
Marek Roszko
acec5552c0
Don't use message as part of the assert dedup
kimath overflow can generate thousands of unique messages in one run lolol
1 year ago
Marek Roszko
3d56494652
Add weirdly missing header for msvc
2 years ago
Marek Roszko
9ffa5db667
Delete m_locale in the pgm_base destructor instead of manual destroy method
We need the object in m_locale for a bit more things during program cleanup,
especially on macOS
The destructor of PGM_BASE is sufficient allowance of lifetime.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17369
2 years ago
Jon Evans
1dbe78c68b
Add QA tests and expand serialization for API
2 years ago
Jon Evans
6bd02cae6d
Refactor; add user control over API server
2 years ago
Jon Evans
a3b6ab48a4
Add a new plugin system for the new API
2 years ago
Jon Evans
f613cd1cb4
ADDED: A new IPC API based on protobuf and nng
Details, documentation, and language bindings are works in
progress and will be evolving over the course of KiCad 9
development.
3 years ago
Ian McInerney
921358b096
Make instance checker path globally writable
On Linux, this directory is shared between users, so a multi-user
machine needs to let the other users have access to the directory to
create their own lockfiles.
2 years ago
Marek Roszko
83ef5fd7d6
Move PGM_BASE to kicommon
2 years ago
Jon Evans
e9456201a7
Don't rely on dynamic_cast across DLLs
See https://gitlab.com/kicad/code/kicad/-/issues/16998
2 years ago
Laurens Holst
755d4ada6d
Correct Dutch language name to "Nederlands".
"Nederlandse" is the adjective form which is not appropriate here;
only used stand-alone when referring to nationality.
2 years ago
Jon Evans
4622738c93
Deconflict instance-checker dir with 7.0
2 years ago
Jon Evans
874be359e0
Use a more specific path for instance checker
2 years ago
Ian McInerney
6ed71e1a1a
Don't translate the label for traditional Chinese, it must be in its own language
2 years ago
Jon Evans
57c40d4f17
Disable the splash screen for now
2 years ago
Marek Roszko
fc62d36441
Add share/locale to catalog paths on windows
2 years ago
Marek Roszko
284df4adf8
Move two pgm_base method definitions back to pgm_base.cpp
2 years ago
Wayne Stambaugh
19e309d2d2
Dialog layout and coding policy fixes.
2 years ago
Marek Roszko
d0b26ae600
Add a hack to avoid spamming sentry events due to recursive asserts
2 years ago
Marek Roszko
5a1c300cff
Remove unused headers in pgm_base
2 years ago
Mark Roszko
3c0f9ec510
Revert "Give wxTheApp to python scripts that end up touching Pgm().App()"
This reverts commit 672265b564
2 years ago
Marek Roszko
672265b564
Give wxTheApp to python scripts that end up touching Pgm().App()
Fixes KICAD-QG
2 years ago
Marek Roszko
37e8a008ab
Remove obsolete config_params.h includes
2 years ago
Marek Roszko
98b35b1a7f
Start using the sentry environment tag
2 years ago
Marek Roszko
e3285c234a
Move executable path to PATHS to avoid a circular dependency
2 years ago
Jon Evans
9973dd3e5d
Fix sentry compile issues on macOS
2 years ago
Marek Roszko
11de95778b
Unwrap the FROM_UTF8 macro in favor of direct function
The extern just gets annoying to try to export the func later. We also yeet TO_UTF8 to string_utils.h for parity.
2 years ago
Marek Roszko
6e04c2835a
Remove unused header
2 years ago
Marek Roszko
4d77fd48ef
Shove thread_pool to core
2 years ago
Marek Roszko
07ecdc5fbb
Force close the splash
2 years ago
Marek Roszko
ec64ceeff2
Add a custom wx splash class to nullify the filterevent that causes crashes
2 years ago
Marek Roszko
cd884211ef
Actually use the sentry dsn define
2 years ago
Marek Roszko
87513b4a04
Change the sentry dsn to be build time defined
We ultimately don't want people running personal builds to turn on sentry and start sending us crash logs we can't decipher
2 years ago
Marek Roszko
208d146a03
Force fontconfig to look at the correct path for fonts.conf on windows
2 years ago
Seth Hillbrand
db8e15ce88
Require wxWidgets 3.2
Removes old defines and work arounds for earlier wx versions and adds a
CMake requirement to use at least 3.2 (or the minimum matching wxPython
version)
2 years ago
Marek Roszko
5319316815
Enhance the status bar with background progress and notifications
2 years ago
Seth Hillbrand
7fe83993cf
Be smarter about releasing lockfiles
If KiCad crashes or exits without deleting the lockfile, don't show the
warning message unless we are not the one who locked it or there are
other KiCad instances running locally.
This should catch 99% of the cases where the message is shown
incorrectly. There may be some corner cases where the lock file is
created on a network drive using two different machines with the same
name and same user but these cases should be (famous last words)
sufficiently rare as to not be observed in practice
2 years ago
Marek Roszko
b0fa2561b6
Add support for enum based policies
2 years ago